# Self-hosting

**URL:** https://meta.discourse.org/c/support/self-hosting/31.md?page=37

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 38

---

## [Is there a reason why the forum won't connect?-The issue has been resolved](https://meta.discourse.org/t/is-there-a-reason-why-the-forum-wont-connect-the-issue-has-been-resolved/284168)

<div class="topic-metadata">

**Author:** [@wenqin](https://meta.discourse.org/u/wenqin)\
**Replies:** 17\
**Last updated:** [November 16, 2023, 8:32am UTC](https://meta.discourse.org/t/is-there-a-reason-why-the-forum-wont-connect-the-issue-has-been-resolved/284168 "2023-11-16T08:32:51Z")

</div>

My forum is suddenly not connecting since this morning. After a ping query, my domain is still active. What exactly is causing my forum not to be connected for use? Updated November 16, 2023 The issue has been resolved…

---

## [Oops... after upgrade (highlight.min.js)](https://meta.discourse.org/t/oops-after-upgrade-highlight-min-js/285512)

<div class="topic-metadata">

**Author:** [@Arimov](https://meta.discourse.org/u/Arimov)\
**Replies:** 1\
**Last updated:** [November 15, 2023, 10:05am UTC](https://meta.discourse.org/t/oops-after-upgrade-highlight-min-js/285512 "2023-11-15T10:05:58Z")

</div>

Friends, please advise how to solve the following problem: after the last Discourse update I get the error “Oops…”, I looked at the logs, I see in them this: Processing by CategoriesController#index as HTML Rendered ca…

---

## [Legacy OR LTS version?](https://meta.discourse.org/t/legacy-or-lts-version/285322)

<div class="topic-metadata">

**Author:** [@haydenjames](https://meta.discourse.org/u/haydenjames)\
**Replies:** 4\
**Last updated:** [November 13, 2023, 5:56pm UTC](https://meta.discourse.org/t/legacy-or-lts-version/285322 "2023-11-13T17:56:36Z")

</div>

I would like to install Discourse for a non profit that is base, basic, lite or LTS or similarthat will not require frequent updating. Does such a branch or version exist? Thanks.

---

## [Nginx.http.sock bind failed after reboot](https://meta.discourse.org/t/nginx-http-sock-bind-failed-after-reboot/29550)

<div class="topic-metadata">

**Author:** [@countcb](https://meta.discourse.org/u/countcb)\
**Replies:** 19\
**Last updated:** [November 11, 2023, 9:09pm UTC](https://meta.discourse.org/t/nginx-http-sock-bind-failed-after-reboot/29550 "2023-11-11T21:09:35Z")

</div>

Hello all, I have a discourse forum up and running for 2 months now. I installed it via Docker following the official Instructions. I have it running with nginx to proxy pass requests to discourse. Everything was work…

---

## [Limiting the number of unicorns, memory usage and swapping](https://meta.discourse.org/t/limiting-the-number-of-unicorns-memory-usage-and-swapping/274954)

<div class="topic-metadata">

**Author:** [@RBoy](https://meta.discourse.org/u/RBoy)\
**Replies:** 4\
**Last updated:** [November 11, 2023, 8:14pm UTC](https://meta.discourse.org/t/limiting-the-number-of-unicorns-memory-usage-and-swapping/274954 "2023-11-11T20:14:27Z")

</div>

I’m running a small server (1G RAM) and also a small site (official discourse install been running for almost 8 years now). There’s more disk swapping than I would like so I started looking at memory usage. I noticed th…

---

## [Moving postgres db to central db server: build error](https://meta.discourse.org/t/moving-postgres-db-to-central-db-server-build-error/284615)

<div class="topic-metadata">

**Author:** [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**Replies:** 13\
**Last updated:** [November 11, 2023, 9:00am UTC](https://meta.discourse.org/t/moving-postgres-db-to-central-db-server-build-error/284615 "2023-11-11T09:00:08Z")

</div>

Hi, I am currently migrating from a classical two container setup (separated web\_only and data containers) to a setup where the database is hosted on a central database server (not inside a docker container). The cent…

---

## [Plesk server migration](https://meta.discourse.org/t/plesk-server-migration/285074)

<div class="topic-metadata">

**Author:** [@ozkn](https://meta.discourse.org/u/ozkn)\
**Replies:** 5\
**Last updated:** [November 10, 2023, 8:09pm UTC](https://meta.discourse.org/t/plesk-server-migration/285074 "2023-11-10T20:09:46Z")

</div>

If I move the server with the Plesk migration plugin, will my ‘discourse’ website work on the new server? I have a WordPress subdomain site and a discourse site on the same server I am currently using. I want to install …

---

## [Running on t3.micro getting Warning "Requires 1GB of RAM"](https://meta.discourse.org/t/running-on-t3-micro-getting-warning-requires-1gb-of-ram/285055)

<div class="topic-metadata">

**Author:** [@Idan](https://meta.discourse.org/u/Idan)\
**Replies:** 1\
**Last updated:** [November 10, 2023, 1:06pm UTC](https://meta.discourse.org/t/running-on-t3-micro-getting-warning-requires-1gb-of-ram/285055 "2023-11-10T13:06:39Z")

</div>

I try to install Discourse on t3.micro instance on AWS. I run the ./discourse-setup and it doesn’t run, shows me “Warning: Discourse requires 1GB RAM to run, This system does not appear to have sufficient memory”. I do h…

---

## [Image Hosting on S3](https://meta.discourse.org/t/image-hosting-on-s3/255809)

<div class="topic-metadata">

**Author:** [@Timelord](https://meta.discourse.org/u/Timelord)\
**Replies:** 2\
**Last updated:** [November 10, 2023, 8:45am UTC](https://meta.discourse.org/t/image-hosting-on-s3/255809 "2023-11-10T08:45:04Z")

</div>

Good morning. I am contemplating moving most of the images on my site to S3, simply to reduce the amount of storage needed on my local server, and to reduce the size of the backup files. That being said, here is my con…

---

## [Can't download required gems - undefined references to GLIBC\_PRIVATE](https://meta.discourse.org/t/cant-download-required-gems-undefined-references-to-glibc-private/284201)

<div class="topic-metadata">

**Author:** [@Honeyxilia](https://meta.discourse.org/u/Honeyxilia)\
**Replies:** 1\
**Last updated:** [November 9, 2023, 9:16am UTC](https://meta.discourse.org/t/cant-download-required-gems-undefined-references-to-glibc-private/284201 "2023-11-09T09:16:51Z")

</div>

hello everyone ! i’m hosting a local instance of Discourse for dev purposes, and i had already succeeded in installing the required packages and gems and running an instance :slight\_smile: i wanted to update the gems i…

---

## [What should be the server requirements](https://meta.discourse.org/t/what-should-be-the-server-requirements/284558)

<div class="topic-metadata">

**Author:** [@ozkn](https://meta.discourse.org/u/ozkn)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 4:22pm UTC](https://meta.discourse.org/t/what-should-be-the-server-requirements/284558 "2023-11-06T16:22:57Z")

</div>

Hello, what should be the server requirements for 8.000-10.000 users instantly. Is this server in Hetzner sufficient for this visitor?

---

## [Keyboard and mouse stopped working + content-security-policy error](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544)

<div class="topic-metadata">

**Author:** [@ygramoel](https://meta.discourse.org/u/ygramoel)\
**Replies:** 6\
**Last updated:** [November 6, 2023, 3:06pm UTC](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544 "2023-11-06T15:06:34Z")

</div>

I’m running a self-hosted instance of Discourse at forum.embeetle.com. It has been running well for multiple years now. This morning, I noticed that all keyboard and mouse interaction with the forum in the browser stopp…

---

## [Lets Encrypt Certificate - Issuing Problem](https://meta.discourse.org/t/lets-encrypt-certificate-issuing-problem/284503)

<div class="topic-metadata">

**Author:** [@Timelord](https://meta.discourse.org/u/Timelord)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 3:05pm UTC](https://meta.discourse.org/t/lets-encrypt-certificate-issuing-problem/284503 "2023-11-06T15:05:12Z")

</div>

Hey gang. Brand new install on Ubuntu 22.04. I am running into the EXACT same error as found in this thread. I edited discourse-setup, to remove the -p, however the issue persists. Any ideas here?

---

## [The Docker manager update part is stuck and is not progressing](https://meta.discourse.org/t/the-docker-manager-update-part-is-stuck-and-is-not-progressing/284495)

<div class="topic-metadata">

**Author:** [@Wleksion](https://meta.discourse.org/u/Wleksion)\
**Replies:** 3\
**Last updated:** [November 5, 2023, 4:01pm UTC](https://meta.discourse.org/t/the-docker-manager-update-part-is-stuck-and-is-not-progressing/284495 "2023-11-05T16:01:22Z")

</div>

The Docker manager update part is stuck and is not progressing.

---

## [S3 and Cloudfront - Setup Not Working](https://meta.discourse.org/t/s3-and-cloudfront-setup-not-working/284332)

<div class="topic-metadata">

**Author:** [@akhil](https://meta.discourse.org/u/akhil)\
**Replies:** 18\
**Last updated:** [November 5, 2023, 4:53am UTC](https://meta.discourse.org/t/s3-and-cloudfront-setup-not-working/284332 "2023-11-05T04:53:16Z")

</div>

Hello all! I followed this guide to setup s3. The only option I couldn’t find is " make sure the “Programmatic access ” checkbox is checked" I couldn’t find any option like that. But S3 is not working. Note…

---

## [Postgres: psql:dump.sql:488868: ERROR: schema "discourse\_functions" does not exist](https://meta.discourse.org/t/postgres-psql-dump-sql-error-schema-discourse-functions-does-not-exist/284414)

<div class="topic-metadata">

**Author:** [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**Replies:** 0\
**Last updated:** [November 4, 2023, 4:42pm UTC](https://meta.discourse.org/t/postgres-psql-dump-sql-error-schema-discourse-functions-does-not-exist/284414 "2023-11-04T16:42:44Z")

</div>

Hi, I am currently migrating a discourse instance from dockerized operation with separate web\_only and data containers to a setup where the database is hosted on a central database instance (in this case an lxc containe…

---

## [S3 programmatic access checkbox](https://meta.discourse.org/t/s3-programmatic-access-checkbox/270701)

<div class="topic-metadata">

**Author:** [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Replies:** 2\
**Last updated:** [November 3, 2023, 2:47pm UTC](https://meta.discourse.org/t/s3-programmatic-access-checkbox/270701 "2023-11-03T14:47:17Z")

</div>

I’m following the instructions to set up AWS S3 for uploads and backups. I’ve got as far as creating a user account and the instruction: Type in a descriptive user name and make sure the “Programmatic access” checkbox…

---

## [Copy custom file in discourse container while build](https://meta.discourse.org/t/copy-custom-file-in-discourse-container-while-build/284185)

<div class="topic-metadata">

**Author:** [@Jishan\_Ansari](https://meta.discourse.org/u/Jishan_Ansari)\
**Replies:** 4\
**Last updated:** [November 3, 2023, 6:04am UTC](https://meta.discourse.org/t/copy-custom-file-in-discourse-container-while-build/284185 "2023-11-03T06:04:46Z")

</div>

any one help me i make custom code add in app.yml run: - exec: chmod -R 777 /var/www/discourse/customize - exec: chmod -R 777 /var/www/discourse/app/controllers/ - exec: mkdir -p /var/www/discourse/controll - e…

---

## [Cloud meta data potentially exposed - Pen. testing](https://meta.discourse.org/t/cloud-meta-data-potentially-exposed-pen-testing/284094)

<div class="topic-metadata">

**Author:** [@PrettyGirl](https://meta.discourse.org/u/PrettyGirl)\
**Replies:** 4\
**Last updated:** [November 2, 2023, 12:55am UTC](https://meta.discourse.org/t/cloud-meta-data-potentially-exposed-pen-testing/284094 "2023-11-02T00:55:37Z")

</div>

These are from ZAP pen testing software in attack mode. I see it says confidence is low and the output response says HTTP/1.1 301 Moved Permanently, so hope everything is alright? 1. Cloud meta data potentially exposed …

---

## [Discourse installation in docker in portainer](https://meta.discourse.org/t/discourse-installation-in-docker-in-portainer/283366)

<div class="topic-metadata">

**Author:** [@Sine321](https://meta.discourse.org/u/Sine321)\
**Replies:** 4\
**Last updated:** [October 31, 2023, 5:15pm UTC](https://meta.discourse.org/t/discourse-installation-in-docker-in-portainer/283366 "2023-10-31T17:15:27Z")

</div>

Hello, I’ve been attempting to install Discourse using Portainer, but I’m encountering issues. Whenever I try, I receive the error message: “Failed to deploy a stack: postgres Pulling app Pulling redis Pulling web Pull…

---

## [Custom code run after app building in app.yml file](https://meta.discourse.org/t/custom-code-run-after-app-building-in-app-yml-file/283644)

<div class="topic-metadata">

**Author:** [@Hitesh\_Sharma](https://meta.discourse.org/u/Hitesh_Sharma)\
**Replies:** 3\
**Last updated:** [October 30, 2023, 10:30pm UTC](https://meta.discourse.org/t/custom-code-run-after-app-building-in-app-yml-file/283644 "2023-10-30T22:30:04Z")

</div>

Hi @Discourse Can I run a custom code in the app.yml file when rebuilding the app?? Any custom commands to run after building run: exec: cd: /var/discourse cmd: - /var/discourse/rebuild/apply.sh Apply.sh file c…

---

## [Changing domain and getting certificate for www](https://meta.discourse.org/t/changing-domain-and-getting-certificate-for-www/283778)

<div class="topic-metadata">

**Author:** [@dogwaters404](https://meta.discourse.org/u/dogwaters404)\
**Replies:** 3\
**Last updated:** [October 28, 2023, 6:17pm UTC](https://meta.discourse.org/t/changing-domain-and-getting-certificate-for-www/283778 "2023-10-28T18:17:05Z")

</div>

Hi all, So I’m currently host discourse via the recommend method using the setup script with the docker container. I need advise on the following matters: I want to migrate the domain from example.com to forum. exam…

---

## [Onion link is redirected by nginx](https://meta.discourse.org/t/onion-link-is-redirected-by-nginx/283700)

<div class="topic-metadata">

**Author:** [@joerogan](https://meta.discourse.org/u/joerogan)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 4:07pm UTC](https://meta.discourse.org/t/onion-link-is-redirected-by-nginx/283700 "2023-10-27T16:07:49Z")

</div>

Is it recommended to disable the redirect in nginx or simply change the port of the onion and listen on the new port on nginx. I set up tor daemon, got me link, added the onion template and DISCOURSE\_ONION but something…

---

## [How to Install Discourse on Ubuntu](https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662)

<div class="topic-metadata">

**Author:** [@Bra](https://meta.discourse.org/u/Bra)\
**Replies:** 3\
**Last updated:** [October 27, 2023, 2:45pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662 "2023-10-27T14:45:21Z")

</div>

Hi. Because there is nowere any Guid or Tutorial how to install this software on Ubuntu, I need to ask how. I tryd Docker. With Nginx. Doesn’t work. No configs. The Configuration I made (app.yml) dissapears. Now I hav…

---

## [Using Discourse with external PostgreSQL and Redis](https://meta.discourse.org/t/using-discourse-with-external-postgresql-and-redis/283507)

<div class="topic-metadata">

**Author:** [@5hark](https://meta.discourse.org/u/5hark)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 3:11pm UTC](https://meta.discourse.org/t/using-discourse-with-external-postgresql-and-redis/283507 "2023-10-26T15:11:01Z")

</div>

There are multiple websites on my existing server, PostgreSQL (in Docker) and Redis (also in Docker). I would like to reuse existing Postgres and Redis with Discourse. Here is my containers/app.yml from Discourse: temp…

---

## [How to customize MIME media type emitted for certain attachments?](https://meta.discourse.org/t/how-to-customize-mime-media-type-emitted-for-certain-attachments/282111)

<div class="topic-metadata">

**Author:** [@xyzzy](https://meta.discourse.org/u/xyzzy)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 4:51am UTC](https://meta.discourse.org/t/how-to-customize-mime-media-type-emitted-for-certain-attachments/282111 "2023-10-26T04:51:21Z")

</div>

I have some users that wish to attach some files with uncommon file extensions to their posts. The files are basically text files so I’d like Discourse’s NGINX web server to emit the MIME media type “text/plain” when us…

---

## [Rebuild fails on db:migrate "relation "form\_templates" already exists"](https://meta.discourse.org/t/rebuild-fails-on-db-migrate-relation-form-templates-already-exists/283421)

<div class="topic-metadata">

**Author:** [@Aditya\_Patadia](https://meta.discourse.org/u/Aditya_Patadia)\
**Replies:** 9\
**Last updated:** [October 25, 2023, 8:21pm UTC](https://meta.discourse.org/t/rebuild-fails-on-db-migrate-relation-form-templates-already-exists/283421 "2023-10-25T20:21:24Z")

</div>

Discourse rebuild is failing. Here is log. What is best way to resolve it? We have Postgres hosted on RDS and run discourse with official docker container method. I, \[2023-10-25T14:47:59.607563 #1\] INFO -- : \> cd /var…

---

## ["error Command "patch-package" not found" when upgrading from the web UI](https://meta.discourse.org/t/error-command-patch-package-not-found-when-upgrading-from-the-web-ui/283382)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**Replies:** 1\
**Last updated:** [October 25, 2023, 10:12am UTC](https://meta.discourse.org/t/error-command-patch-package-not-found-when-upgrading-from-the-web-ui/283382 "2023-10-25T10:12:25Z")

</div>

My Discourse was 2 minor versions behind so I started the upgrade process from the web UI. Upgrading Docker Manager upgrade went fine (like for this poster) but upgrading Discourse (with some 3800 commits) failed like th…

---

## [Can't Update my Certificate](https://meta.discourse.org/t/cant-update-my-certificate/283084)

<div class="topic-metadata">

**Author:** [@WesPenre](https://meta.discourse.org/u/WesPenre)\
**Replies:** 11\
**Last updated:** [October 24, 2023, 11:20am UTC](https://meta.discourse.org/t/cant-update-my-certificate/283084 "2023-10-24T11:20:27Z")

</div>

Hello. My Discourse is up-to-date with version 3.2.0.beta3-dev. Still, yesterday by 5 pm European time the site went down (wespenreboards.com), and it’s obviously a certificate issue (see attachment. Open in New Tab and …

---

## [Several 503 errors after update](https://meta.discourse.org/t/several-503-errors-after-update/282969)

<div class="topic-metadata">

**Author:** [@mentalstring](https://meta.discourse.org/u/mentalstring)\
**Replies:** 5\
**Last updated:** [October 24, 2023, 11:18am UTC](https://meta.discourse.org/t/several-503-errors-after-update/282969 "2023-10-24T11:18:43Z")

</div>

We just updated from 3.0.6 to 3.1.2 and I’m seeing many 503 errors at mainly 3 points: Many avatars fail to load Image uploads only works sometimes Also seeing many errors for topics/timings I have looked at the serve…

[Previous page](https://meta.discourse.org/c/support/self-hosting/31.md?page=36)

[Next page](https://meta.discourse.org/c/support/self-hosting/31.md?page=38)
