# Self-hosting

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

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

**Page:** 99

---

## [502 Gateway Error: Discourse Installation with SSL form Cloudflare](https://meta.discourse.org/t/502-gateway-error-discourse-installation-with-ssl-form-cloudflare/157986)

<div class="topic-metadata">

**Author:** [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)\
**Replies:** 2\
**Last updated:** [July 17, 2020, 12:49am UTC](https://meta.discourse.org/t/502-gateway-error-discourse-installation-with-ssl-form-cloudflare/157986 "2020-07-17T00:49:27Z")

</div>

Hi guys, I’m installing the official Discourse for the first time. I followed the standard instructions: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub except I also followed these modifications …

---

## [Install going well but now blank white page](https://meta.discourse.org/t/install-going-well-but-now-blank-white-page/157833)

<div class="topic-metadata">

**Author:** [@kaivalyam](https://meta.discourse.org/u/kaivalyam)\
**Replies:** 4\
**Last updated:** [July 16, 2020, 1:42pm UTC](https://meta.discourse.org/t/install-going-well-but-now-blank-white-page/157833 "2020-07-16T13:42:18Z")

</div>

Hey all, Discourse looks amazing .. I’m setting it up for a local community project here in the Canaries. Using an ubuntu 18.04 VPS on Linode. and this tutorial; So it was all going fine and I had the ‘congratulatio…

---

## [Using Postfix with Discourse](https://meta.discourse.org/t/using-postfix-with-discourse/153841)

<div class="topic-metadata">

**Author:** [@cmoi](https://meta.discourse.org/u/cmoi)\
**Replies:** 8\
**Last updated:** [July 14, 2020, 3:10pm UTC](https://meta.discourse.org/t/using-postfix-with-discourse/153841 "2020-07-14T15:10:54Z")

</div>

So I installed Postfix in my server with discourse (I know its not suggested). My Postfix works fine and I send email with it. The issue is with Discourse/docker not wanting to send email (can’t even get the admin acti…

---

## [Browser refuses to show site logo after restore from backup](https://meta.discourse.org/t/browser-refuses-to-show-site-logo-after-restore-from-backup/157843)

<div class="topic-metadata">

**Author:** [@firefly-serenity](https://meta.discourse.org/u/firefly-serenity)\
**Replies:** 2\
**Last updated:** [July 15, 2020, 6:03pm UTC](https://meta.discourse.org/t/browser-refuses-to-show-site-logo-after-restore-from-backup/157843 "2020-07-15T18:03:09Z")

</div>

I moved a Forum from punBB to discourse, set it up with branding and everything. The VM with the discourse docker Container is located behind a nginx reverse proxy. After two days discourse was not accessible anymore and…

---

## [PostgreSQL Error While Rebuilding](https://meta.discourse.org/t/postgresql-error-while-rebuilding/157830)

<div class="topic-metadata">

**Author:** [@allan000](https://meta.discourse.org/u/allan000)\
**Replies:** 10\
**Last updated:** [July 15, 2020, 5:35pm UTC](https://meta.discourse.org/t/postgresql-error-while-rebuilding/157830 "2020-07-15T17:35:41Z")

</div>

Hello, When i-rebuild my discourse today via ./launcher rebuild app. i’m receiving this errors: root@discourse:/opt# cd /var/discourse\_docker/ root@discourse:/var/discourse\_docker# ./launcher rebuild app Ensuring launc…

---

## [Discourse not loading with Apache and proxy redirect](https://meta.discourse.org/t/discourse-not-loading-with-apache-and-proxy-redirect/157512)

<div class="topic-metadata">

**Author:** [@OrbitStorm](https://meta.discourse.org/u/OrbitStorm)\
**Replies:** 7\
**Last updated:** [July 15, 2020, 10:49am UTC](https://meta.discourse.org/t/discourse-not-loading-with-apache-and-proxy-redirect/157512 "2020-07-15T10:49:05Z")

</div>

I’ve spent the last few days trying to find a way to pair Discourse with Apache on the same DigitalOcean droplet and the tutorials available here on Discourse are either outdated or not applicable to me. One tutorial use…

---

## [Discourse + web server. Possible or better to avoid?](https://meta.discourse.org/t/discourse-web-server-possible-or-better-to-avoid/157489)

<div class="topic-metadata">

**Author:** [@OrbitStorm](https://meta.discourse.org/u/OrbitStorm)\
**Replies:** 16\
**Last updated:** [July 15, 2020, 10:51am UTC](https://meta.discourse.org/t/discourse-web-server-possible-or-better-to-avoid/157489 "2020-07-15T10:51:01Z")

</div>

Quick disclaimer: I’m relatively new to building a VPS environment from scratch but have enough experience with web hosting (specifically shared and managed-dedi) to have an idea what I am doing and make sense of tutoria…

---

## [Website does not forward to https (part2)](https://meta.discourse.org/t/website-does-not-forward-to-https-part2/157713)

<div class="topic-metadata">

**Author:** [@pr0cesor](https://meta.discourse.org/u/pr0cesor)\
**Replies:** 8\
**Last updated:** [July 14, 2020, 5:59pm UTC](https://meta.discourse.org/t/website-does-not-forward-to-https-part2/157713 "2020-07-14T17:59:12Z")

</div>

Hello it’s me again ^^. I have a slight problem that I believe I had before but it could be now something else. The problem is the following: if you open cp2077.eu on browser, then the page says its “under maintenan…

---

## [Discourse Installation](https://meta.discourse.org/t/discourse-installation/123054)

<div class="topic-metadata">

**Author:** [@Aasha\_Mohammed](https://meta.discourse.org/u/Aasha_Mohammed)\
**Replies:** 9\
**Last updated:** [July 14, 2020, 4:45am UTC](https://meta.discourse.org/t/discourse-installation/123054 "2020-07-14T04:45:09Z")

</div>

I want to update the Discourse CE with the latest version using Docker. But it installs the older version 2.0 with Docker installation. It would be great if you can guide us with the same.

---

## [Can't rebuild due to failed postgres 12 upgrade](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428)

<div class="topic-metadata">

**Author:** [@pr0cesor](https://meta.discourse.org/u/pr0cesor)\
**Replies:** 44\
**Last updated:** [July 13, 2020, 5:59pm UTC](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428 "2020-07-13T17:59:57Z")

</div>

Hi there, I am stuck with the following. When executing the commande ./discourse-setup, I have the following error Im not sure I understand the message, my website is live and running https://cp2077.eu/ with SSL. H…

---

## [Manual upgrade Failing](https://meta.discourse.org/t/manual-upgrade-failing/157557)

<div class="topic-metadata">

**Author:** [@Neeraj\_Saini](https://meta.discourse.org/u/Neeraj_Saini)\
**Replies:** 1\
**Last updated:** [July 13, 2020, 8:10am UTC](https://meta.discourse.org/t/manual-upgrade-failing/157557 "2020-07-13T08:10:41Z")

</div>

Hi I have been trying to upgrade my server but have been unsuccessful a few time. Keep running into this error \[Mon 13 Jul 2020 07:39:55 AM UTC\] Installing cron job \[Mon 13 Jul 2020 07:39:55 AM UTC\] Good, bash is f…

---

## [Use a postgres schema](https://meta.discourse.org/t/use-a-postgres-schema/157549)

<div class="topic-metadata">

**Author:** [@dfee](https://meta.discourse.org/u/dfee)\
**Replies:** 0\
**Last updated:** [July 13, 2020, 5:19am UTC](https://meta.discourse.org/t/use-a-postgres-schema/157549 "2020-07-13T05:19:42Z")

</div>

Is it possible for Discourse to use a Postgres schema rather than a full Postgres database?

---

## [Help for installing Discourse alongside Apache2](https://meta.discourse.org/t/help-for-installing-discourse-alongside-apache2/157504)

<div class="topic-metadata">

**Author:** [@avndp](https://meta.discourse.org/u/avndp)\
**Replies:** 2\
**Last updated:** [July 12, 2020, 9:07pm UTC](https://meta.discourse.org/t/help-for-installing-discourse-alongside-apache2/157504 "2020-07-12T21:07:55Z")

</div>

Hello, I’ve been hosting 3 wordpress blogs and a Nextcloud instance on my Digitalocean droplet. I would like to setup Discourse on this droplet. I do have backups, so I don’t mind if something goes wrong. I have tried…

---

## [Not Able To Send Mail - Access Denied](https://meta.discourse.org/t/not-able-to-send-mail-access-denied/149380)

<div class="topic-metadata">

**Author:** [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Replies:** 15\
**Last updated:** [July 11, 2020, 4:16pm UTC](https://meta.discourse.org/t/not-able-to-send-mail-access-denied/149380 "2020-07-11T16:16:34Z")

</div>

Hello, I’m trying to set up mail with MailJet. The domain name and email is approved on my MailJet dashboard, but I can’t receive mail to access my admin account. In the guide it says to check the logs at /var/discourse…

---

## [Does Discourse work well with CloudLinux](https://meta.discourse.org/t/does-discourse-work-well-with-cloudlinux/157443)

<div class="topic-metadata">

**Author:** [@Tony\_Soprano](https://meta.discourse.org/u/Tony_Soprano)\
**Replies:** 2\
**Last updated:** [July 11, 2020, 1:47pm UTC](https://meta.discourse.org/t/does-discourse-work-well-with-cloudlinux/157443 "2020-07-11T13:47:13Z")

</div>

Currently I use Discourse on Ubuntu and it runs perfectly with super easy installation. We are planning on switching our main server to a CloudLinuxOS based server and I want to make sure Discourse works on CloudLinuxOS…

---

## [Can not activation mail to smtp.yandex.ru mail server](https://meta.discourse.org/t/can-not-activation-mail-to-smtp-yandex-ru-mail-server/157020)

<div class="topic-metadata">

**Author:** [@kudos](https://meta.discourse.org/u/kudos)\
**Replies:** 2\
**Last updated:** [July 10, 2020, 6:13am UTC](https://meta.discourse.org/t/can-not-activation-mail-to-smtp-yandex-ru-mail-server/157020 "2020-07-10T06:13:22Z")

</div>

I’m trying to install Discourse Docker on an AWS server. After the build process completed, I must register an account for admin. Then, I click to the Register button but it doesn’t send any email for me. I used the…

---

## [What are some reputable managed Discourse hosting providers out there?](https://meta.discourse.org/t/what-are-some-reputable-managed-discourse-hosting-providers-out-there/54702)

<div class="topic-metadata">

**Author:** [@viet](https://meta.discourse.org/u/viet)\
**Replies:** 5\
**Last updated:** [December 28, 2016, 2:53pm UTC](https://meta.discourse.org/t/what-are-some-reputable-managed-discourse-hosting-providers-out-there/54702 "2016-12-28T14:53:52Z")

</div>

I don’t want to setup hosting myself, I’d rather pay for hosting. What are some solutions out there, in addition to the official host by Discourse team? I’m looking for a solution lower than $100/mo

---

## [The primary user creation command does not work rake admin:create](https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950)

<div class="topic-metadata">

**Author:** [@tatar](https://meta.discourse.org/u/tatar)\
**Replies:** 3\
**Last updated:** [July 8, 2020, 12:01pm UTC](https://meta.discourse.org/t/the-primary-user-creation-command-does-not-work-rake-admin-create/156950 "2020-07-08T12:01:48Z")

</div>

Hi All! I started deploying and configuring discourse from a ready made DigitalOcean droplet as a mail server - I decided to use smtp from yandex but I ran into a problem sending mail, because of which I can not verif…

---

## [Discourse help on digitalocean](https://meta.discourse.org/t/discourse-help-on-digitalocean/157031)

<div class="topic-metadata">

**Author:** [@Alex8](https://meta.discourse.org/u/Alex8)\
**Replies:** 9\
**Last updated:** [July 7, 2020, 2:29pm UTC](https://meta.discourse.org/t/discourse-help-on-digitalocean/157031 "2020-07-07T14:29:47Z")

</div>

So When I am trying to setup discourse after the setup it says login to admin account and the domain refuses to connect I have the dns set up Thanks If I can get any help

---

## [Error During Install Discourse on linode](https://meta.discourse.org/t/error-during-install-discourse-on-linode/156899)

<div class="topic-metadata">

**Author:** [@Sahil\_Dadwal](https://meta.discourse.org/u/Sahil_Dadwal)\
**Replies:** 4\
**Last updated:** [July 7, 2020, 12:38pm UTC](https://meta.discourse.org/t/error-during-install-discourse-on-linode/156899 "2020-07-07T12:38:59Z")

</div>

unable to install discourse please help

---

## [URl not resolving to the ip](https://meta.discourse.org/t/url-not-resolving-to-the-ip/156838)

<div class="topic-metadata">

**Author:** [@xdfiif](https://meta.discourse.org/u/xdfiif)\
**Replies:** 2\
**Last updated:** [July 6, 2020, 4:39pm UTC](https://meta.discourse.org/t/url-not-resolving-to-the-ip/156838 "2020-07-06T16:39:07Z")

</div>

So I am getting " Connection to http://forums.boopnetworks.com (port 80) also fails. " I don’t know how to fix this. I am hosting with Vultr on Plesk and I have a sub domain created for it and a A Record for it pointing…

---

## [How to run Discourse as an Apache VirtualHost](https://meta.discourse.org/t/how-to-run-discourse-as-an-apache-virtualhost/154707)

<div class="topic-metadata">

**Author:** [@nap](https://meta.discourse.org/u/nap)\
**Replies:** 4\
**Last updated:** [July 6, 2020, 1:41am UTC](https://meta.discourse.org/t/how-to-run-discourse-as-an-apache-virtualhost/154707 "2020-07-06T01:41:22Z")

</div>

I’ve successfully been able to install Discourse on my server, register as the first user, and post my first topic. So everything on the Discourse side of things seems to be working. However, in order to get Discourse …

---

## [Digitalocean help](https://meta.discourse.org/t/digitalocean-help/156782)

<div class="topic-metadata">

**Author:** [@Alex8](https://meta.discourse.org/u/Alex8)\
**Replies:** 3\
**Last updated:** [July 5, 2020, 12:06am UTC](https://meta.discourse.org/t/digitalocean-help/156782 "2020-07-05T00:06:21Z")

</div>

So On digitalocean I get the error message WARNING: Port 443 of computer does not appear to be accessible using hostname: It there a fix?

---

## [Restore fails - could not create unique index](https://meta.discourse.org/t/restore-fails-could-not-create-unique-index/151380)

<div class="topic-metadata">

**Author:** [@Chandra](https://meta.discourse.org/u/Chandra)\
**Replies:** 21\
**Last updated:** [July 4, 2020, 3:55pm UTC](https://meta.discourse.org/t/restore-fails-could-not-create-unique-index/151380 "2020-07-04T15:55:07Z")

</div>

Hi, restore of backup fails with error: CREATE INDEX ERROR: could not create unique index "index\_incoming\_referers\_on\_path\_and\_incoming\_domain\_id" DETAIL: Key (path, incoming\_domain\_id)=(/m/search, 25) is duplicated. …

---

## [Forum crashes after upgrading from 2.4.0](https://meta.discourse.org/t/forum-crashes-after-upgrading-from-2-4-0/156712)

<div class="topic-metadata">

**Author:** [@skozz](https://meta.discourse.org/u/skozz)\
**Replies:** 9\
**Last updated:** [July 4, 2020, 1:45pm UTC](https://meta.discourse.org/t/forum-crashes-after-upgrading-from-2-4-0/156712 "2020-07-04T13:45:11Z")

</div>

Hi! today I upgraded the forum in a regular way (admin \> dashboard \> upgrade) from 2.4.0. After that, back to the upgrades view to keep upgrading the rest of the plunging this message came up You are running an old ve…

---

## [Droplet install not working](https://meta.discourse.org/t/droplet-install-not-working/156465)

<div class="topic-metadata">

**Author:** [@playford](https://meta.discourse.org/u/playford)\
**Replies:** 10\
**Last updated:** [July 2, 2020, 1:42pm UTC](https://meta.discourse.org/t/droplet-install-not-working/156465 "2020-07-02T13:42:26Z")

</div>

Hi, I have created a discourse droplet. I have followed the instructions in the console screen and at the end it say the open the browser to go to the admin page. If i go to the domain I created, i get connection was re…

---

## [freeCodeCamp.org Discourse is Collapsing from Spammer Scripts](https://meta.discourse.org/t/freecodecamp-org-discourse-is-collapsing-from-spammer-scripts/155738)

<div class="topic-metadata">

**Author:** [@ossia](https://meta.discourse.org/u/ossia)\
**Replies:** 15\
**Last updated:** [July 3, 2020, 7:02am UTC](https://meta.discourse.org/t/freecodecamp-org-discourse-is-collapsing-from-spammer-scripts/155738 "2020-07-03T07:02:16Z")

</div>

We started seeing heightened loads on the freeCodeCamp.org Discourse on June 21. Our average CPU load started to grow to the point that the entire forum became unresponsive. Our Initial investigation We updated Discou…

---

## [Discourse Bad Gateway after reboot](https://meta.discourse.org/t/discourse-bad-gateway-after-reboot/156446)

<div class="topic-metadata">

**Author:** [@nap](https://meta.discourse.org/u/nap)\
**Replies:** 15\
**Last updated:** [July 2, 2020, 2:25am UTC](https://meta.discourse.org/t/discourse-bad-gateway-after-reboot/156446 "2020-07-02T02:25:19Z")

</div>

My server runs on in a Virtual Machine hosted by one of the major cloud providers. I successfully installed discourse on it and it’s been running fine for the last month. Today, I decided to change the specifications o…

---

## [How do I run Discourse on a folder on my site running PHP on LAMP on DigitalOcean](https://meta.discourse.org/t/how-do-i-run-discourse-on-a-folder-on-my-site-running-php-on-lamp-on-digitalocean/156453)

<div class="topic-metadata">

**Author:** [@organizedfellow](https://meta.discourse.org/u/organizedfellow)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 6:54pm UTC](https://meta.discourse.org/t/how-do-i-run-discourse-on-a-folder-on-my-site-running-php-on-lamp-on-digitalocean/156453 "2020-07-01T18:54:34Z")

</div>

My website has been active for a while. As the topic says, my php/msql site is on a DigitalOcean droplet. How would I install Discourse on a subfolder or subdomain?

---

## [Hosting Optimization with Digital Ocean](https://meta.discourse.org/t/hosting-optimization-with-digital-ocean/156487)

<div class="topic-metadata">

**Author:** [@abgeter](https://meta.discourse.org/u/abgeter)\
**Replies:** 5\
**Last updated:** [July 1, 2020, 3:47pm UTC](https://meta.discourse.org/t/hosting-optimization-with-digital-ocean/156487 "2020-07-01T15:47:36Z")

</div>

Hi there, I am currently building out a site with a Discourse droplet on Digital Ocean, that will host 20K-30K users over the course of July. I am trying to figure out the best storage option on DO in order to optimize …

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

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