# Self-hosting

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

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

**Page:** 97

---

## [Upgrade failed: ERROR: relation "idx\_regular\_post\_search\_data" already exists](https://meta.discourse.org/t/upgrade-failed-error-relation-idx-regular-post-search-data-already-exists/161275)

<div class="topic-metadata">

**Author:** [@Terrapop](https://meta.discourse.org/u/Terrapop)\
**Replies:** 2\
**Last updated:** [August 21, 2020, 6:12am UTC](https://meta.discourse.org/t/upgrade-failed-error-relation-idx-regular-post-search-data-already-exists/161275 "2020-08-21T06:12:24Z")

</div>

I upgated the app yesterday and just wanted to upgrade the newest 27 comments. I did so via the docker manager in the admin backend. However, the upgrade stalled at some point. After 30 minutes I went into the console an…

---

## [How to Change noreply@ email address during installation](https://meta.discourse.org/t/how-to-change-noreply-email-address-during-installation/161538)

<div class="topic-metadata">

**Author:** [@MorphZan](https://meta.discourse.org/u/MorphZan)\
**Replies:** 4\
**Last updated:** [August 20, 2020, 5:30pm UTC](https://meta.discourse.org/t/how-to-change-noreply-email-address-during-installation/161538 "2020-08-20T17:30:48Z")

</div>

Hi Guys I have just setup a new discourse and I have set the admin email address as i need it but and I am using Mailjet for SMTP. The domain name I use for my server does not have any email addresses attached to it so…

---

## [I can't set nginx: \[emerg\] cannot load certificate "/var/discourse/shared/standalone/ssl/ssl.crt": BIO\_new\_file() failed](https://meta.discourse.org/t/i-cant-set-nginx-emerg-cannot-load-certificate-var-discourse-shared-standalone-ssl-ssl-crt-bio-new-file-failed/160976)

<div class="topic-metadata">

**Author:** [@slivo](https://meta.discourse.org/u/slivo)\
**Replies:** 12\
**Last updated:** [August 20, 2020, 2:31am UTC](https://meta.discourse.org/t/i-cant-set-nginx-emerg-cannot-load-certificate-var-discourse-shared-standalone-ssl-ssl-crt-bio-new-file-failed/160976 "2020-08-20T02:31:17Z")

</div>

(SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/dis (…) I’m following the guide, but I can’t find anything about this error

---

## [Mail issues making my head spin](https://meta.discourse.org/t/mail-issues-making-my-head-spin/161298)

<div class="topic-metadata">

**Author:** [@Matt\_Shields](https://meta.discourse.org/u/Matt_Shields)\
**Replies:** 8\
**Last updated:** [August 19, 2020, 8:06pm UTC](https://meta.discourse.org/t/mail-issues-making-my-head-spin/161298 "2020-08-19T20:06:06Z")

</div>

I’ve been fussing around with this for a few days now and I can’t seem to figure out why I’m not able to get mail working. The domain is registered with Namecheap and I pointed it to Cloudflare and then installed discou…

---

## [Git clone /var/discourse mandatory? Install as non-root possible?](https://meta.discourse.org/t/git-clone-var-discourse-mandatory-install-as-non-root-possible/161278)

<div class="topic-metadata">

**Author:** [@pihentagy](https://meta.discourse.org/u/pihentagy)\
**Replies:** 2\
**Last updated:** [August 19, 2020, 2:30am UTC](https://meta.discourse.org/t/git-clone-var-discourse-mandatory-install-as-non-root-possible/161278 "2020-08-19T02:30:35Z")

</div>

The install guide asks you to clone the repository to /var/discourse. Is there anything, which depends on it, or can I clone the repo to a totally different directory and have no problem with any part of discourse not fi…

---

## [Troubleshooting Port Access](https://meta.discourse.org/t/troubleshooting-port-access/161058)

<div class="topic-metadata">

**Author:** [@Matt\_Shields](https://meta.discourse.org/u/Matt_Shields)\
**Replies:** 25\
**Last updated:** [August 18, 2020, 7:01pm UTC](https://meta.discourse.org/t/troubleshooting-port-access/161058 "2020-08-18T19:01:48Z")

</div>

I’m attempting to install Discourse on Digital Ocean.. When I type the host name I get this error Hostname for your Discourse? \[discourse.example.com\]: discourse.somename.co Checking your domain name . . . WARNING: Po…

---

## [How do sidekiq jobs get re-created after a restore?](https://meta.discourse.org/t/how-do-sidekiq-jobs-get-re-created-after-a-restore/161070)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [August 17, 2020, 3:05pm UTC](https://meta.discourse.org/t/how-do-sidekiq-jobs-get-re-created-after-a-restore/161070 "2020-08-17T15:05:21Z")

</div>

I want to move a site’s postgres and redis servers to a different machine. Moving postgres is fairly straightforward. But there are several hundred jobs queued in sidekiq (ToggleTopicClosed and UnpinTopic at least mostly…

---

## [Confused about docker installation](https://meta.discourse.org/t/confused-about-docker-installation/160945)

<div class="topic-metadata">

**Author:** [@talkingBeat](https://meta.discourse.org/u/talkingBeat)\
**Replies:** 3\
**Last updated:** [August 16, 2020, 12:58am UTC](https://meta.discourse.org/t/confused-about-docker-installation/160945 "2020-08-16T00:58:02Z")

</div>

I was looking at the docker images available for Discourse today, I have a couple of questions On both images I came upon it lists that it installs Discourse (obviously) It then has a list of steps to get everything …

---

## [Custom docker network configuration - container to container comms](https://meta.discourse.org/t/custom-docker-network-configuration-container-to-container-comms/84654)

<div class="topic-metadata">

**Author:** [@gaiterjones](https://meta.discourse.org/u/gaiterjones)\
**Replies:** 12\
**Last updated:** [April 7, 2018, 8:16am UTC](https://meta.discourse.org/t/custom-docker-network-configuration-container-to-container-comms/84654 "2018-04-07T08:16:06Z")

</div>

I am installing Docker on a host where all applications are already containerised including the main smtp server. When I try and relay mail from discourse to this smtp server it fails because the server cannot do a reve…

---

## [Too Many Requests problem](https://meta.discourse.org/t/too-many-requests-problem/160859)

<div class="topic-metadata">

**Author:** [@slivo](https://meta.discourse.org/u/slivo)\
**Replies:** 9\
**Last updated:** [August 15, 2020, 1:29pm UTC](https://meta.discourse.org/t/too-many-requests-problem/160859 "2020-08-15T13:29:28Z")

</div>

I was testing the CDN service and everything worked fine. When I turned it off (uncomment line on app.yml) , there was nothing I could do. Each tab is a Too Many Requests or nothing is displayed. What’s going on?

---

## [Setup Free SMTP Services](https://meta.discourse.org/t/setup-free-smtp-services/160512)

<div class="topic-metadata">

**Author:** [@CorruptBlu](https://meta.discourse.org/u/CorruptBlu)\
**Replies:** 6\
**Last updated:** [August 13, 2020, 9:00pm UTC](https://meta.discourse.org/t/setup-free-smtp-services/160512 "2020-08-13T21:00:58Z")

</div>

Does anyone know any good free SMTP services that work in 2020, and how to set it up?

---

## [502 error on nginx](https://meta.discourse.org/t/502-error-on-nginx/160592)

<div class="topic-metadata">

**Author:** [@elopio](https://meta.discourse.org/u/elopio)\
**Replies:** 13\
**Last updated:** [August 13, 2020, 1:56pm UTC](https://meta.discourse.org/t/502-error-on-nginx/160592 "2020-08-13T13:56:17Z")

</div>

Hello, I’ve just run ./launcher rebuild app with no apparent errors. But when I try to open the site, I get a 502 error. The nginx error log (shared/standalone/log/var-log/nginx/error.log) shows: 2020/08/12 05:47:43 \[…

---

## [Port 443 of computer isn't accessible to forum.cloudybots.com?](https://meta.discourse.org/t/port-443-of-computer-isnt-accessible-to-forum-cloudybots-com/160455)

<div class="topic-metadata">

**Author:** [@callmehSpear](https://meta.discourse.org/u/callmehSpear)\
**Replies:** 15\
**Last updated:** [August 13, 2020, 8:39am UTC](https://meta.discourse.org/t/port-443-of-computer-isnt-accessible-to-forum-cloudybots-com/160455 "2020-08-13T08:39:02Z")

</div>

Digital Ocean, 2gb, NewYork, I am using the setup and not the one click. help

---

## [Trouble with postgre（maybe）](https://meta.discourse.org/t/trouble-with-postgre-maybe/160605)

<div class="topic-metadata">

**Author:** [@endless\_Lin](https://meta.discourse.org/u/endless_Lin)\
**Replies:** 5\
**Last updated:** [August 13, 2020, 2:49am UTC](https://meta.discourse.org/t/trouble-with-postgre-maybe/160605 "2020-08-13T02:49:37Z")

</div>

Here’s where I got the discourse setup script GitHub - discourse/discourse\_docker: A Docker image for Discourse · GitHub /var/discourse and it runs good when creating a new discourse instance. But problem comes when I…

---

## [How to turn off S3 storage?](https://meta.discourse.org/t/how-to-turn-off-s3-storage/160338)

<div class="topic-metadata">

**Author:** [@Pravi](https://meta.discourse.org/u/Pravi)\
**Replies:** 28\
**Last updated:** [August 12, 2020, 1:03pm UTC](https://meta.discourse.org/t/how-to-turn-off-s3-storage/160338 "2020-08-12T13:03:43Z")

</div>

Hello guys, How can I completely turn off AWS S3 storage and bring back all the files and backup in the S3 storage back to my EC2 server?

---

## [Running Discourse on Azure Web Sites vs. Azure VM?](https://meta.discourse.org/t/running-discourse-on-azure-web-sites-vs-azure-vm/14183)

<div class="topic-metadata">

**Author:** [@tsf](https://meta.discourse.org/u/tsf)\
**Replies:** 9\
**Last updated:** [August 12, 2020, 11:02am UTC](https://meta.discourse.org/t/running-discourse-on-azure-web-sites-vs-azure-vm/14183 "2020-08-12T11:02:07Z")

</div>

I’m already running (and paying for) a site using Azure Web Sites and want to know if anyone has been able to set up Discourse on Web Sites (the fully managed platform) as opposed to an Azure VM. I’d rather not pay for a…

---

## [Docker installation does not work with Cloudflare proxy](https://meta.discourse.org/t/docker-installation-does-not-work-with-cloudflare-proxy/160557)

<div class="topic-metadata">

**Author:** [@realisation](https://meta.discourse.org/u/realisation)\
**Replies:** 6\
**Last updated:** [August 12, 2020, 1:15am UTC](https://meta.discourse.org/t/docker-installation-does-not-work-with-cloudflare-proxy/160557 "2020-08-12T01:15:48Z")

</div>

I rigged up an Amazon EC2 instance to host Discourse and everything seems to be going well - until I have put all my information into the install script and it executes after which the Discourse docker image is supposed …

---

## [Insights Needed - Salesforce Community Integration or Replacement](https://meta.discourse.org/t/insights-needed-salesforce-community-integration-or-replacement/160530)

<div class="topic-metadata">

**Author:** [@Airwaves](https://meta.discourse.org/u/Airwaves)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 7:40pm UTC](https://meta.discourse.org/t/insights-needed-salesforce-community-integration-or-replacement/160530 "2020-08-11T19:40:50Z")

</div>

Our company is using Salesforce and we have Salesforce Community which is not being used as a community forum platform. My question - does anyone have insights regarding using only SF to build a community v. using Discou…

---

## [Email Troubleshooting](https://meta.discourse.org/t/email-troubleshooting/160424)

<div class="topic-metadata">

**Author:** [@CorruptBlu](https://meta.discourse.org/u/CorruptBlu)\
**Replies:** 2\
**Last updated:** [August 11, 2020, 2:18pm UTC](https://meta.discourse.org/t/email-troubleshooting/160424 "2020-08-11T14:18:29Z")

</div>

I used this article: https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/2 and I tried everything they suggested, the syntax is correct, my SMTP connections are not blocked, there are no…

---

## [Trackable / re-usable configuration](https://meta.discourse.org/t/trackable-re-usable-configuration/44901)

<div class="topic-metadata">

**Author:** [@enricostn](https://meta.discourse.org/u/enricostn)\
**Replies:** 4\
**Last updated:** [June 20, 2016, 1:01am UTC](https://meta.discourse.org/t/trackable-re-usable-configuration/44901 "2016-06-20T01:01:01Z")

</div>

Hello, is there any way to set configuration stuff like contact email, notification email, tags configuration, etc in the containers/app.yml or somewhere else in the code? I say so because I’m using Ansible to provisio…

---

## [How to use a volume mounted for PostgreSQL version upgrade by Launcher?](https://meta.discourse.org/t/how-to-use-a-volume-mounted-for-postgresql-version-upgrade-by-launcher/160423)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 3:41am UTC](https://meta.discourse.org/t/how-to-use-a-volume-mounted-for-postgresql-version-upgrade-by-launcher/160423 "2020-08-11T03:41:45Z")

</div>

The Launcher says I need extra 23GB in order to upgrade to PostgreSQL 12. There is no that much space available. However, there’s an extra volume mounted that has enough space. Is there a way to let the Launcher use th…

---

## [Self-Hosting Advice](https://meta.discourse.org/t/self-hosting-advice/160354)

<div class="topic-metadata">

**Author:** [@F\_Farnfield](https://meta.discourse.org/u/F_Farnfield)\
**Replies:** 13\
**Last updated:** [August 11, 2020, 2:03am UTC](https://meta.discourse.org/t/self-hosting-advice/160354 "2020-08-11T02:03:32Z")

</div>

Hi everyone, I love Discourse. I have for a long while. I am planning to set up my own community. I just need some advice on hosting. So, I don’t want to the extortionate discourse pricing at £100 per month. So, I am t…

---

## [Troubleshooting Email Config Mailjet](https://meta.discourse.org/t/troubleshooting-email-config-mailjet/160308)

<div class="topic-metadata">

**Author:** [@CorruptBlu](https://meta.discourse.org/u/CorruptBlu)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 3:14pm UTC](https://meta.discourse.org/t/troubleshooting-email-config-mailjet/160308 "2020-08-10T15:14:56Z")

</div>

I am using Mailjet, and it wasn’t sending the email for registering the admin account, so I tried the fix above, but whenever I add the single quotes around the email I get an error as shown below: (\<unknown\>): did not…

---

## [All files and directories disappeared from root](https://meta.discourse.org/t/all-files-and-directories-disappeared-from-root/160341)

<div class="topic-metadata">

**Author:** [@lyseoy](https://meta.discourse.org/u/lyseoy)\
**Replies:** 4\
**Last updated:** [August 10, 2020, 1:48pm UTC](https://meta.discourse.org/t/all-files-and-directories-disappeared-from-root/160341 "2020-08-10T13:48:24Z")

</div>

I’m in the process of spinning up Discourse for the first time. I just finished getting my mail server setup. I’m using Mailgun, and their DNS checking tool gives me all green check marks. Still I’m not receiving the act…

---

## [Theme Components - Can Discourse hosted sites install them?](https://meta.discourse.org/t/theme-components-can-discourse-hosted-sites-install-them/160288)

<div class="topic-metadata">

**Author:** [@lucaviness](https://meta.discourse.org/u/lucaviness)\
**Replies:** 7\
**Last updated:** [August 9, 2020, 10:01pm UTC](https://meta.discourse.org/t/theme-components-can-discourse-hosted-sites-install-them/160288 "2020-08-09T22:01:05Z")

</div>

Hi all! Can one install a theme component, say DiscoTOC, if they are hosted by Discourse (paid plan) or are theme components only for sites that host themselves? Thanks!

---

## [Any. plugin to maintain releases notes with history for a set of products?](https://meta.discourse.org/t/any-plugin-to-maintain-releases-notes-with-history-for-a-set-of-products/159589)

<div class="topic-metadata">

**Author:** [@bchesneau](https://meta.discourse.org/u/bchesneau)\
**Replies:** 4\
**Last updated:** [August 8, 2020, 1:20pm UTC](https://meta.discourse.org/t/any-plugin-to-maintain-releases-notes-with-history-for-a-set-of-products/159589 "2020-08-08T13:20:44Z")

</div>

Is there any plugin allowing to maintain a page like this one on the ubiquiti forum: https://community.ui.com/releases/EdgeMAX-EdgeRouter-Beta-Firmware-v2-0-9-beta-5/c6a139a3-9383-43f8-9f18-bd386c9fe2aa each release wi…

---

## [Questions about groups](https://meta.discourse.org/t/questions-a-propos-des-groupes/159658)

<div class="topic-metadata">

**Author:** [@Camille\_Augereau](https://meta.discourse.org/u/Camille_Augereau)\
**Replies:** 29\
**Last updated:** [August 7, 2020, 9:56pm UTC](https://meta.discourse.org/t/questions-a-propos-des-groupes/159658 "2020-08-07T21:56:48Z")

</div>

Hello, I am taking the liberty of speaking in French as it will be easier for me to explain the problem. I created groups and put them in a category (I think that is what needs to be done) however...

---

## [How can I host more than 1 Discourse forum on 1 VPS?](https://meta.discourse.org/t/how-can-i-host-more-than-1-discourse-forum-on-1-vps/159881)

<div class="topic-metadata">

**Author:** [@Aiden12114](https://meta.discourse.org/u/Aiden12114)\
**Replies:** 4\
**Last updated:** [August 7, 2020, 1:34pm UTC](https://meta.discourse.org/t/how-can-i-host-more-than-1-discourse-forum-on-1-vps/159881 "2020-08-07T13:34:09Z")

</div>

Hello! I as wondering if I can host more than one Discourse on 1 VPS. Since i’m a beginner, can I please have clear, step-by-step instructions? Thanks.

---

## [Post-install, Curl can send email, but Discourse cannot. Help to fix?](https://meta.discourse.org/t/post-install-curl-can-send-email-but-discourse-cannot-help-to-fix/159900)

<div class="topic-metadata">

**Author:** [@onar3d](https://meta.discourse.org/u/onar3d)\
**Replies:** 15\
**Last updated:** [August 6, 2020, 11:51am UTC](https://meta.discourse.org/t/post-install-curl-can-send-email-but-discourse-cannot-help-to-fix/159900 "2020-08-06T11:51:30Z")

</div>

Hi! In the below text replace \<DOT\> with . - as I am a new user discourse doesn’t let me post links. I installed Discourse on a newly created Hetzner cloud computer, the URL to it resolves well: forum\<DOT\>thewizardofos…

---

## [How to backup Discourse when The backup has failed?](https://meta.discourse.org/t/how-to-backup-discourse-when-the-backup-has-failed/159834)

<div class="topic-metadata">

**Author:** [@pauln](https://meta.discourse.org/u/pauln)\
**Replies:** 8\
**Last updated:** [August 5, 2020, 9:40pm UTC](https://meta.discourse.org/t/how-to-backup-discourse-when-the-backup-has-failed/159834 "2020-08-05T21:40:27Z")

</div>

Hi guys, how can I backup Discourse when the backup has failed. \[2020-08-04 23:22:28\] Marking backup as running... \[2020-08-04 23:22:28\] Making sure '/var/www/discourse/tmp/backups/default/2020-08-04-232228' exists..…

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

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