# Self-hosting

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

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

**Page:** 75

---

## [Mirror forum on Tor](https://meta.discourse.org/t/mirror-forum-on-tor/210328)

<div class="topic-metadata">

**Author:** [@RiversideRocks](https://meta.discourse.org/u/RiversideRocks)\
**Replies:** 3\
**Last updated:** [November 28, 2021, 3:04pm UTC](https://meta.discourse.org/t/mirror-forum-on-tor/210328 "2021-11-28T15:04:45Z")

</div>

I’m trying to mirror my forum on the dark web as a .onion site. To set up the config in Tor, I need to run my site on another port that doesn’t redirect to https along with site still running on the clearnet on 80 and 44…

---

## [Upgrade failed admin console](https://meta.discourse.org/t/upgrade-failed-admin-console/210282)

<div class="topic-metadata">

**Author:** [@kdmilelr45](https://meta.discourse.org/u/kdmilelr45)\
**Replies:** 10\
**Last updated:** [November 27, 2021, 10:42pm UTC](https://meta.discourse.org/t/upgrade-failed-admin-console/210282 "2021-11-27T22:42:43Z")

</div>

when I used the admin console I got this message before it was working fine. Upgrades via the web UI are disabled until you run the latest image. To do so log in to your server using SSH and run: cd /var/discourse…

---

## [Discourse upgrade via Web UI Fails & SSH Upgrade Brings Down Discourse Instance](https://meta.discourse.org/t/discourse-upgrade-via-web-ui-fails-ssh-upgrade-brings-down-discourse-instance/210164)

<div class="topic-metadata">

**Author:** [@billmaya](https://meta.discourse.org/u/billmaya)\
**Replies:** 16\
**Last updated:** [November 26, 2021, 2:40pm UTC](https://meta.discourse.org/t/discourse-upgrade-via-web-ui-fails-ssh-upgrade-brings-down-discourse-instance/210164 "2021-11-26T14:40:24Z")

</div>

NOTE: Original post updated 11/25/21 PM EST with new information Notified of critical security updates to my Discourse installation I attempted to update my installation using the Web UI (/admin/upgrade) as I have done …

---

## [SMTP error: Must issue a STARTTLS command first](https://meta.discourse.org/t/smtp-error-must-issue-a-starttls-command-first/181050)

<div class="topic-metadata">

**Author:** [@blsrds](https://meta.discourse.org/u/blsrds)\
**Replies:** 9\
**Last updated:** [November 23, 2021, 5:49pm UTC](https://meta.discourse.org/t/smtp-error-must-issue-a-starttls-command-first/181050 "2021-11-23T17:49:25Z")

</div>

I am trying to configure Discourse 2.7.0.beta4 with the Mailersend SMTP service. After running ./discourse-doctor I got the error below. SMTP error: Must issue a STARTTLS command first This is my current app.yml con…

---

## [Upgrade link no longer works](https://meta.discourse.org/t/upgrade-link-no-longer-works/209732)

<div class="topic-metadata">

**Author:** [@kdmilelr45](https://meta.discourse.org/u/kdmilelr45)\
**Replies:** 7\
**Last updated:** [November 22, 2021, 4:21am UTC](https://meta.discourse.org/t/upgrade-link-no-longer-works/209732 "2021-11-22T04:21:52Z")

</div>

Most everyday I run the upgrade in the admin console, it came up today and said all was fine, I went in to check for changes and this message came up You are running an old version of the Discourse image. Upgrades via t…

---

## [Site splash screen shows on localhost, not on URL](https://meta.discourse.org/t/site-splash-screen-shows-on-localhost-not-on-url/209802)

<div class="topic-metadata">

**Author:** [@Nycrite](https://meta.discourse.org/u/Nycrite)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 2:21am UTC](https://meta.discourse.org/t/site-splash-screen-shows-on-localhost-not-on-url/209802 "2021-11-22T02:21:34Z")

</div>

I’m using Cloudflare and XAMPP to configure Discourse. After setup I realized that my site, teknet.app, does not show the Discourse congratulations screen. I checked localhost and there it was, not to be seen on the URL…

---

## [Help with setting up discourse An error occurred while installing xorcist (1.1.2), and Bundler cannot continue](https://meta.discourse.org/t/help-with-setting-up-discourse-an-error-occurred-while-installing-xorcist-1-1-2-and-bundler-cannot-continue/209741)

<div class="topic-metadata">

**Author:** [@PowerPlays](https://meta.discourse.org/u/PowerPlays)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 11:55pm UTC](https://meta.discourse.org/t/help-with-setting-up-discourse-an-error-occurred-while-installing-xorcist-1-1-2-and-bundler-cannot-continue/209741 "2021-11-20T23:55:47Z")

</div>

When I do bundle install I get this error: An error occurred while installing xorcist (1.1.2), and Bundler cannot continue. Can someone help. Here is the docs Im following currently: here is the full error if that h…

---

## [Change discourse-setup wording](https://meta.discourse.org/t/change-discourse-setup-wording/208855)

<div class="topic-metadata">

**Author:** [@geoff777](https://meta.discourse.org/u/geoff777)\
**Replies:** 16\
**Last updated:** [November 18, 2021, 12:10pm UTC](https://meta.discourse.org/t/change-discourse-setup-wording/208855 "2021-11-18T12:10:33Z")

</div>

Hi I’ve done quite a few fresh installs recently. What I noticed was that the wording of the first response in the process of checking if Docker is installed. "Failed to find Docker … etc The use of the word ‘failed…

---

## [Please help me with Discourse installation i am a super newbie](https://meta.discourse.org/t/please-help-me-with-discourse-installation-i-am-a-super-newbie/208924)

<div class="topic-metadata">

**Author:** [@moonsplit](https://meta.discourse.org/u/moonsplit)\
**Replies:** 6\
**Last updated:** [November 12, 2021, 7:31am UTC](https://meta.discourse.org/t/please-help-me-with-discourse-installation-i-am-a-super-newbie/208924 "2021-11-12T07:31:40Z")

</div>

Hello And in advance thank you so much for all the future help. I am trying to install Discourse on this domain : http://etrangerforum.fr/ i folowed all the steps in tutorial : Comment installer Discourse sur Ubuntu 2…

---

## [Rate Limiting w/ Reverse Proxy](https://meta.discourse.org/t/rate-limiting-w-reverse-proxy/209354)

<div class="topic-metadata">

**Author:** [@forkythetoy](https://meta.discourse.org/u/forkythetoy)\
**Replies:** 3\
**Last updated:** [November 16, 2021, 11:57pm UTC](https://meta.discourse.org/t/rate-limiting-w-reverse-proxy/209354 "2021-11-16T23:57:19Z")

</div>

Had a question on what header is being used for rate-limiting. For context we have an nginx.conf w/ set\_real\_ip and we’re using a provider that sends us traffic with the client’s actual IP in Some-Client-IP header. se…

---

## [Socialengine importer](https://meta.discourse.org/t/socialengine-importer/127748)

<div class="topic-metadata">

**Author:** [@rmccown](https://meta.discourse.org/u/rmccown)\
**Replies:** 5\
**Last updated:** [November 16, 2021, 12:45am UTC](https://meta.discourse.org/t/socialengine-importer/127748 "2021-11-16T00:45:25Z")

</div>

Has anyone hacked together an import script from Socialengine to Discourse? I’d hate to reinvent the wheel here.

---

## [Discourse - SMTP from OVH](https://meta.discourse.org/t/discourse-smtp-from-ovh/104670)

<div class="topic-metadata">

**Author:** [@NallDev](https://meta.discourse.org/u/NallDev)\
**Replies:** 21\
**Last updated:** [November 15, 2021, 2:48pm UTC](https://meta.discourse.org/t/discourse-smtp-from-ovh/104670 "2021-11-15T14:48:08Z")

</div>

Hi, I’m using SMTP server from OVH. I created login, password and opened discourse-setup file. After all, I do rebuild, but Discourse still don’t send mails. I saw topic on meta, but change configuration still don’t hel…

---

## [Update failed - PG::UniqueViolation: ERROR](https://meta.discourse.org/t/update-failed-pg-error/103684)

<div class="topic-metadata">

**Author:** [@AlexMl](https://meta.discourse.org/u/AlexMl)\
**Replies:** 7\
**Last updated:** [December 21, 2018, 7:51am UTC](https://meta.discourse.org/t/update-failed-pg-error/103684 "2018-12-21T07:51:24Z")

</div>

Hi guys, I tried to update Discourse forum to the latest version 2.2.0.beta5 on stage instance, but it failed. The error is: I, INFO -- : \> cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' rake a…

---

## [How to get Discourse to work with Postfix](https://meta.discourse.org/t/how-to-get-discourse-to-work-with-postfix/160602)

<div class="topic-metadata">

**Author:** [@Anv](https://meta.discourse.org/u/Anv)\
**Replies:** 17\
**Last updated:** [November 4, 2021, 10:08am UTC](https://meta.discourse.org/t/how-to-get-discourse-to-work-with-postfix/160602 "2021-11-04T10:08:49Z")

</div>

Hello. I have a discourse without a docker on my local server. Also installed iRedMail. First I tried to use an smtp-server from mail.ru. Test messages were sent, as well as invitations. But no email notifications came i…

---

## [A lot of CPU cores or fast cores?](https://meta.discourse.org/t/a-lot-of-cpu-cores-or-fast-cores/169826)

<div class="topic-metadata">

**Author:** [@ljpp](https://meta.discourse.org/u/ljpp)\
**Replies:** 10\
**Last updated:** [December 17, 2020, 6:17am UTC](https://meta.discourse.org/t/a-lot-of-cpu-cores-or-fast-cores/169826 "2020-12-17T06:17:44Z")

</div>

Our community has high traffic spikes based on real world events. Ice hockey games to be exact, that result about 1000 messages to a dedicated topic in about 2,5..3 hours. As discussed in another topic, we have trouble d…

---

## [Does it make sense to use Discourse on any server or is it with the hosting service Discourse provides?](https://meta.discourse.org/t/does-it-make-sense-to-use-discourse-on-any-server-or-is-it-with-the-hosting-service-discourse-provides/208952)

<div class="topic-metadata">

**Author:** [@Emre\_Son](https://meta.discourse.org/u/Emre_Son)\
**Replies:** 2\
**Last updated:** [November 12, 2021, 11:29am UTC](https://meta.discourse.org/t/does-it-make-sense-to-use-discourse-on-any-server-or-is-it-with-the-hosting-service-discourse-provides/208952 "2021-11-12T11:29:19Z")

</div>

hello, I’m very new to discourse and I couldn’t decide anything. To use Discourse, should I keep it on the same server as my web application that I wrote with react, or should I use it with discourse hosting? Which would…

---

## [Discourse on nginx WITHOUT Passenger?](https://meta.discourse.org/t/discourse-on-nginx-without-passenger/208867)

<div class="topic-metadata">

**Author:** [@dylanhpt](https://meta.discourse.org/u/dylanhpt)\
**Replies:** 1\
**Last updated:** [November 11, 2021, 9:53am UTC](https://meta.discourse.org/t/discourse-on-nginx-without-passenger/208867 "2021-11-11T09:53:45Z")

</div>

Discourse is hosted on nginx. After using the official install guide in 2016, I found a guide to use Passenger with Nginx to reverse proxy serve Discourse. Apparently this was the only way, back then, unless you wanted t…

---

## [Hostname doesn't match server certificate (Let's Encrypt)](https://meta.discourse.org/t/hostname-doesnt-match-server-certificate-lets-encrypt/104568)

<div class="topic-metadata">

**Author:** [@dun](https://meta.discourse.org/u/dun)\
**Replies:** 2\
**Last updated:** [December 20, 2018, 8:31am UTC](https://meta.discourse.org/t/hostname-doesnt-match-server-certificate-lets-encrypt/104568 "2018-12-20T08:31:17Z")

</div>

Hi, I have a problem with receiving the activation mail after Discourse was installed. My process: I currently have no mailserver so I wanted to run mailserver and Discourse on the same machine. I decided to use docker…

---

## [How do I run Discourse on Pterodactyl Panel?](https://meta.discourse.org/t/how-do-i-run-discourse-on-pterodactyl-panel/208763)

<div class="topic-metadata">

**Author:** [@TwoBrake](https://meta.discourse.org/u/TwoBrake)\
**Replies:** 9\
**Last updated:** [November 10, 2021, 9:44pm UTC](https://meta.discourse.org/t/how-do-i-run-discourse-on-pterodactyl-panel/208763 "2021-11-10T21:44:06Z")

</div>

I have a server ready to go for Discourse, I just don’t know how to set it up. Is there an egg for Discourse that I can import into the Pterodactyl panel on my server? Anyways, thank you in advance.

---

## [How to make uploads available only to logged-in users](https://meta.discourse.org/t/how-to-make-uploads-available-only-to-logged-in-users/208662)

<div class="topic-metadata">

**Author:** [@Elivs](https://meta.discourse.org/u/Elivs)\
**Replies:** 5\
**Last updated:** [November 9, 2021, 6:56pm UTC](https://meta.discourse.org/t/how-to-make-uploads-available-only-to-logged-in-users/208662 "2021-11-09T18:56:22Z")

</div>

Hi, I want to use Nginx to protect the directory, and I found discourse-auth-proxy . How to configure nginx to require users to log in before they can access the directory?

---

## [SMTPAuthenticationError: 535 Incorrect authentication data](https://meta.discourse.org/t/smtpauthenticationerror-535-incorrect-authentication-data/208493)

<div class="topic-metadata">

**Author:** [@DavidO](https://meta.discourse.org/u/DavidO)\
**Replies:** 3\
**Last updated:** [November 8, 2021, 7:56pm UTC](https://meta.discourse.org/t/smtpauthenticationerror-535-incorrect-authentication-data/208493 "2021-11-08T19:56:08Z")

</div>

Where would I find out how to handle all of the “ SMTPAuthenticationError: 535 Incorrect authentication data” errors that I’m seeing in my logs? Apologies if this has been addressed before. I searched and didn’t find an…

---

## [Hostname does not match the server certificate - none of the other threads provide solutions to this](https://meta.discourse.org/t/hostname-does-not-match-the-server-certificate-none-of-the-other-threads-provide-solutions-to-this/208553)

<div class="topic-metadata">

**Author:** [@Codes09](https://meta.discourse.org/u/Codes09)\
**Replies:** 1\
**Last updated:** [November 8, 2021, 3:54pm UTC](https://meta.discourse.org/t/hostname-does-not-match-the-server-certificate-none-of-the-other-threads-provide-solutions-to-this/208553 "2021-11-08T15:54:06Z")

</div>

Searching threads in this Forum came up blank. It’s seems this is the issue everyone is asking about but there are little solutions. I’ve got working credentials and a working DirectAdmin mail server that I share among …

---

## [CPU, Memory and Swap at 100%](https://meta.discourse.org/t/cpu-memory-and-swap-at-100/208512)

<div class="topic-metadata">

**Author:** [@tnolin](https://meta.discourse.org/u/tnolin)\
**Replies:** 6\
**Last updated:** [November 8, 2021, 9:17am UTC](https://meta.discourse.org/t/cpu-memory-and-swap-at-100/208512 "2021-11-08T09:17:38Z")

</div>

Recently, I’ve been getting a HTTP 500 Error on my Discourse forum. I’m hosted on a Droplet with Digital Ocean and checked to see that my CPU, DISK, and Memory are constantly at 100%. Restarting the droplet seems to fix…

---

## [EC2 Origin Exposed By Google Web Crawler With Discourse & CloudFlare](https://meta.discourse.org/t/ec2-origin-exposed-by-google-web-crawler-with-discourse-cloudflare/104521)

<div class="topic-metadata">

**Author:** [@TempusOwl](https://meta.discourse.org/u/TempusOwl)\
**Replies:** 9\
**Last updated:** [December 18, 2018, 8:36pm UTC](https://meta.discourse.org/t/ec2-origin-exposed-by-google-web-crawler-with-discourse-cloudflare/104521 "2018-12-18T20:36:17Z")

</div>

I apologize if this is web hosting problem it was a toss-up, I am running the site on reverse NGINX proxy and the problem seems to be with Discourse side of things as my other site hosted on this server is unaffected. It…

---

## [Service not available | Update Error due to broken plugin](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499)

<div class="topic-metadata">

**Author:** [@Robodaniel](https://meta.discourse.org/u/Robodaniel)\
**Replies:** 6\
**Last updated:** [December 18, 2018, 12:10pm UTC](https://meta.discourse.org/t/service-not-available-update-error-due-to-broken-plugin/104499 "2018-12-18T12:10:08Z")

</div>

Dear all, I’m still wanted to do some updates and got the message I should execute the following commands: cd /var/discourse git pull ./launcher rebuild app I have done so, but I got a Error message and the forum is…

---

## [Large Javascript file under assets folder](https://meta.discourse.org/t/large-javascript-file-under-assets-folder/204571)

<div class="topic-metadata">

**Author:** [@TechGeek](https://meta.discourse.org/u/TechGeek)\
**Replies:** 7\
**Last updated:** [November 5, 2021, 4:04am UTC](https://meta.discourse.org/t/large-javascript-file-under-assets-folder/204571 "2021-11-05T04:04:28Z")

</div>

One of the file /assets/application-7c87db9088046beb643be94b61428105469e084e8d02f141c57adfaf14168c63.js is almost 3.1 MB in size and causing lots of warning in error.log for Nginx reverse proxy. an upstream response is …

---

## [Install issues with docker-compose](https://meta.discourse.org/t/install-issues-with-docker-compose/208105)

<div class="topic-metadata">

**Author:** [@Karolina](https://meta.discourse.org/u/Karolina)\
**Replies:** 3\
**Last updated:** [November 3, 2021, 3:02pm UTC](https://meta.discourse.org/t/install-issues-with-docker-compose/208105 "2021-11-03T15:02:08Z")

</div>

Hello, I tried to install discourse with docker compose file, using AWS SES as SMTP server, but the emails are not working. I am sure the credentials and overall config is valid, I think there might be an issue with the…

---

## [Error importing backup: "could not create unique index"](https://meta.discourse.org/t/error-importing-backup-could-not-create-unique-index/207766)

<div class="topic-metadata">

**Author:** [@glynhudson](https://meta.discourse.org/u/glynhudson)\
**Replies:** 6\
**Last updated:** [November 1, 2021, 2:12am UTC](https://meta.discourse.org/t/error-importing-backup-could-not-create-unique-index/207766 "2021-11-01T02:12:14Z")

</div>

Hi, I’m attempting to migrate a forum to a new server. Both servers are running the latest version of discourse docker. When importing the backup via command line, I get the following error: ERROR: could not create un…

---

## [Discourse Vulnerability CVE-2021-41163](https://meta.discourse.org/t/discourse-vulnerability-cve-2021-41163/207476)

<div class="topic-metadata">

**Author:** [@sarahann](https://meta.discourse.org/u/sarahann)\
**Replies:** 10\
**Last updated:** [October 30, 2021, 6:06pm UTC](https://meta.discourse.org/t/discourse-vulnerability-cve-2021-41163/207476 "2021-10-30T18:06:26Z")

</div>

Hey all, I was recently made aware of this security vulnerability in Discourse NVD - CVE-2021-41163 (nist.gov) I was curious because its on the /webhooks/aws url, is Discourse in Azure affected by this as well?

---

## [Postgres problem... again!](https://meta.discourse.org/t/postgres-problem-again/207568)

<div class="topic-metadata">

**Author:** [@Wanderer](https://meta.discourse.org/u/Wanderer)\
**Replies:** 3\
**Last updated:** [October 30, 2021, 12:49pm UTC](https://meta.discourse.org/t/postgres-problem-again/207568 "2021-10-30T12:49:46Z")

</div>

Hi, I’ve two big problem when stopping and starting again Discourse. First After 2/3 times I do it (no matter if with ./launcher stop or via Portainer stop), container refuses to start again, continuosly stuck on “rm: …

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

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