# Self-hosting

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

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

**Page:** 76

---

## [Can't set DISCOURSE\_SMTP\_AUTHENTICATION: login](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461)

<div class="topic-metadata">

**Author:** [@drat3](https://meta.discourse.org/u/drat3)\
**Replies:** 10\
**Last updated:** [October 29, 2021, 4:56pm UTC](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461 "2021-10-29T16:56:22Z")

</div>

Hi I’m having trouble sending mail. I use mailjet and I’m getting the error Connection reset by peer So now I’m trying to set DISCOURSE\_SMTP\_AUTHENTICATION: login in app.yml. Maybe this will fix the issue. I ran ./lau…

---

## [Should the install guide tell people to run apt update & apt upgrade first?](https://meta.discourse.org/t/should-the-install-guide-tell-people-to-run-apt-update-apt-upgrade-first/207106)

<div class="topic-metadata">

**Author:** [@IAmGav](https://meta.discourse.org/u/IAmGav)\
**Replies:** 37\
**Last updated:** [October 29, 2021, 2:32pm UTC](https://meta.discourse.org/t/should-the-install-guide-tell-people-to-run-apt-update-apt-upgrade-first/207106 "2021-10-29T14:32:24Z")

</div>

Continuing the discussion from Problem with self hosted instance: I feel like I have seen this too many times where people follow the install guide and come back and say that their install did not work. IMHO, I think b…

---

## [Default app.yml file anywhere?](https://meta.discourse.org/t/default-app-yml-file-anywhere/74345)

<div class="topic-metadata">

**Author:** [@purldator](https://meta.discourse.org/u/purldator)\
**Replies:** 3\
**Last updated:** [October 28, 2021, 10:58pm UTC](https://meta.discourse.org/t/default-app-yml-file-anywhere/74345 "2021-10-28T22:58:37Z")

</div>

I am trying to find a default app.yml file to put into my containers folder so I can edit it as per here. For now, when I try to run set up, I get this message. Port 80 appears to already be in use. If you are trying …

---

## [After activating HTTPS Discourse doesn´t work](https://meta.discourse.org/t/after-activating-https-discourse-doesn-t-work/206907)

<div class="topic-metadata">

**Author:** [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)\
**Replies:** 16\
**Last updated:** [October 28, 2021, 9:07am UTC](https://meta.discourse.org/t/after-activating-https-discourse-doesn-t-work/206907 "2021-10-28T09:07:00Z")

</div>

Hallo, after activating Lets Enrypt Templates and rebuilding Discourse nothing works: NGINX gives a cryptical error: The strange thing is: there is no nginx directory in /ETC These templates are active: These …

---

## [Images cannot be seen after backup-recovery](https://meta.discourse.org/t/images-cannot-be-seen-after-backup-recovery/207303)

<div class="topic-metadata">

**Author:** [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)\
**Replies:** 2\
**Last updated:** [October 28, 2021, 6:47am UTC](https://meta.discourse.org/t/images-cannot-be-seen-after-backup-recovery/207303 "2021-10-28T06:47:01Z")

</div>

Hi, we have recovered a backup file of a cloud installation (of Discourse) on an own premise server. The site runs currently without https, this is the only difference between the two instances. After recovering the b…

---

## [How do you proxy your domain? \[so your server IP isn't visible\]](https://meta.discourse.org/t/how-do-you-proxy-your-domain-so-your-server-ip-isnt-visible/206996)

<div class="topic-metadata">

**Author:** [@Joshie\_B](https://meta.discourse.org/u/Joshie_B)\
**Replies:** 6\
**Last updated:** [October 25, 2021, 10:30pm UTC](https://meta.discourse.org/t/how-do-you-proxy-your-domain-so-your-server-ip-isnt-visible/206996 "2021-10-25T22:30:30Z")

</div>

I don’t really know on how to do that yet - I use cloudflare for my DNS management. And I would also like to use that to proxy, but I don’t believe it’s possible with discourse?

---

## [Integrating discourse into Django site?](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084)

<div class="topic-metadata">

**Author:** [@Openmind](https://meta.discourse.org/u/Openmind)\
**Replies:** 6\
**Last updated:** [October 24, 2021, 1:14am UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084 "2021-10-24T01:14:15Z")

</div>

Hi, is it possible to integrate Discourse into a Phyton based Django site? I ask because Discourse’s backend is written in Ruby on Rails. Many thanks, Torsten

---

## [PostgreSQL update wrecked my forum. Please help!](https://meta.discourse.org/t/postgresql-update-wrecked-my-forum-please-help/206839)

<div class="topic-metadata">

**Author:** [@AtlasGames](https://meta.discourse.org/u/AtlasGames)\
**Replies:** 2\
**Last updated:** [October 23, 2021, 8:57am UTC](https://meta.discourse.org/t/postgresql-update-wrecked-my-forum-please-help/206839 "2021-10-23T08:57:38Z")

</div>

I wrecked my Discourse install at forum.atlas-games.com. I had to update to PostgreSQL 12 but only had 11GB free for my 7GB database and kept throwing errors, so I used used the “manual update” method here: PostgreSQL 12…

---

## [Run out of space on Digital Ocean Droplet, can't update/restore](https://meta.discourse.org/t/run-out-of-space-on-digital-ocean-droplet-cant-update-restore/206653)

<div class="topic-metadata">

**Author:** [@Sikamikanico](https://meta.discourse.org/u/Sikamikanico)\
**Replies:** 9\
**Last updated:** [October 21, 2021, 1:44pm UTC](https://meta.discourse.org/t/run-out-of-space-on-digital-ocean-droplet-cant-update-restore/206653 "2021-10-21T13:44:59Z")

</div>

Okay, to set the appropriate scene - linux and command line interfaces are not my speciality, so please use big words and clear steps in your replies :wink: So I run a fairly active forum, and we noticed some perf issue…

---

## [Is it possible to host discourse on replit](https://meta.discourse.org/t/is-it-possible-to-host-discourse-on-replit/206625)

<div class="topic-metadata">

**Author:** [@Banjo](https://meta.discourse.org/u/Banjo)\
**Replies:** 3\
**Last updated:** [October 21, 2021, 10:18am UTC](https://meta.discourse.org/t/is-it-possible-to-host-discourse-on-replit/206625 "2021-10-21T10:18:38Z")

</div>

Hey, Me & my team were wondering if we could host discourse on repl.it

---

## [Mail-in-a-Box email](https://meta.discourse.org/t/mail-in-a-box-email/63443)

<div class="topic-metadata">

**Author:** [@r3d\_f0x](https://meta.discourse.org/u/r3d_f0x)\
**Replies:** 9\
**Last updated:** [October 20, 2021, 12:33pm UTC](https://meta.discourse.org/t/mail-in-a-box-email/63443 "2021-10-20T12:33:21Z")

</div>

I used Mail-in-a-Box email during setup to use with Discourse. Mail-in-a-Box is an automatic self hosted email system where you run the script on a new Ubuntu 14.04 box with a dedicated domain name for email and it sets…

---

## [Stuck in an update loop after PostgreSQL 13 update](https://meta.discourse.org/t/stuck-in-an-update-loop-after-postgresql-13-update/206362)

<div class="topic-metadata">

**Author:** [@alehandrof](https://meta.discourse.org/u/alehandrof)\
**Replies:** 14\
**Last updated:** [October 19, 2021, 5:42pm UTC](https://meta.discourse.org/t/stuck-in-an-update-loop-after-postgresql-13-update/206362 "2021-10-19T17:42:53Z")

</div>

I have read the docs here and they don’t cover my situation: PostgreSQL 13 update I’m stuck on the “Every rebuild does the upgrade again aka upgrade loop” situation: ----------------------------------------------------…

---

## [Discourse installed on subdomain but not working](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439)

<div class="topic-metadata">

**Author:** [@Phenix1997](https://meta.discourse.org/u/Phenix1997)\
**Replies:** 4\
**Last updated:** [October 19, 2021, 3:56pm UTC](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439 "2021-10-19T15:56:58Z")

</div>

I install new discourse app on my subdomain, I changed the ! port, added subdomain to DNS record Nothing to do , your container has already started , my subdomain url :https://forum.ongurutips.com but not working, s…

---

## [Problems installing discourse community on subdomain with Ghost CMS](https://meta.discourse.org/t/problems-installing-discourse-community-on-subdomain-with-ghost-cms/206421)

<div class="topic-metadata">

**Author:** [@Phenix1997](https://meta.discourse.org/u/Phenix1997)\
**Replies:** 0\
**Last updated:** [October 19, 2021, 9:51am UTC](https://meta.discourse.org/t/problems-installing-discourse-community-on-subdomain-with-ghost-cms/206421 "2021-10-19T09:51:53Z")

</div>

Hi, I installed a new discourse community in the subdomain, after setup yml files I am facing problems I run launcher start app Next : I run netstart -tlnp I installed ghost CMS patform on my main domain! any sugg…

---

## [Standard installation causes errors and warnings](https://meta.discourse.org/t/standard-installation-causes-errors-and-warnings/206345)

<div class="topic-metadata">

**Author:** [@goppi](https://meta.discourse.org/u/goppi)\
**Replies:** 2\
**Last updated:** [October 19, 2021, 7:34am UTC](https://meta.discourse.org/t/standard-installation-causes-errors-and-warnings/206345 "2021-10-19T07:34:02Z")

</div>

Hi there, I just installed Discourse fresh on a Ubuntu 20 server. I followed the standard installation procedure and noticed a few strange things in the logs inclusive a couple of errors and warnings. I ran the launcher…

---

## [Custom sender email address and SMTP](https://meta.discourse.org/t/custom-sender-email-address-and-smtp/206412)

<div class="topic-metadata">

**Author:** [@Heloise\_Andrade](https://meta.discourse.org/u/Heloise_Andrade)\
**Replies:** 1\
**Last updated:** [October 19, 2021, 6:22am UTC](https://meta.discourse.org/t/custom-sender-email-address-and-smtp/206412 "2021-10-19T06:22:13Z")

</div>

Hi, How can I get the invite emails and other related emails to go out from a different email address than the one that has been set up by default? Also is there a way we could use AWS SES to send out the emails instea…

---

## [Change SMTP on cloud discourse](https://meta.discourse.org/t/change-smtp-on-cloud-discourse/206323)

<div class="topic-metadata">

**Author:** [@Konrad\_Milewski](https://meta.discourse.org/u/Konrad_Milewski)\
**Replies:** 2\
**Last updated:** [October 18, 2021, 1:30pm UTC](https://meta.discourse.org/t/change-smtp-on-cloud-discourse/206323 "2021-10-18T13:30:28Z")

</div>

I tried to find some info about that but everything I found is in regards to self hosted version. As we are having problems with email delivery with basic cloud setup I would like to link our own SMTP, I see no such pos…

---

## [Hosting necessary for large forums](https://meta.discourse.org/t/hosting-necessary-for-large-forums/182626)

<div class="topic-metadata">

**Author:** [@pqMMA](https://meta.discourse.org/u/pqMMA)\
**Replies:** 5\
**Last updated:** [March 10, 2021, 6:38am UTC](https://meta.discourse.org/t/hosting-necessary-for-large-forums/182626 "2021-03-10T06:38:51Z")

</div>

I was hoping to get some advice from the community here about hosting configuration for my forum which I am in the process of migrating to Discourse. We have been running since 2000 and have migrated 1.15 million topics,…

---

## [Standalone discourse install issues and how to use a separate ip address?](https://meta.discourse.org/t/standalone-discourse-install-issues-and-how-to-use-a-separate-ip-address/206111)

<div class="topic-metadata">

**Author:** [@mzya](https://meta.discourse.org/u/mzya)\
**Replies:** 4\
**Last updated:** [October 15, 2021, 3:39am UTC](https://meta.discourse.org/t/standalone-discourse-install-issues-and-how-to-use-a-separate-ip-address/206111 "2021-10-15T03:39:42Z")

</div>

I’ve been trying to figure out how to install discourse alongside my other Nginx sites, however, I continue get this message upon setup: WARNING: Port 443 of computer does not appear to be accessible using hostname: lu…

---

## [PostgreSQL 13 update from PostgreSQL 10 fails](https://meta.discourse.org/t/postgresql-13-update-from-postgresql-10-fails/192865)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**Replies:** 10\
**Last updated:** [October 13, 2021, 9:28pm UTC](https://meta.discourse.org/t/postgresql-13-update-from-postgresql-10-fails/192865 "2021-10-13T21:28:53Z")

</div>

Continuing the discussion from PostgreSQL 13 update: I’m in a multisite with 2 container configuration (only postgres.10 and redis templates on the data container). The current version of postgres is 10 and I’d like to …

---

## [Install Discourse on Synology directly](https://meta.discourse.org/t/install-discourse-on-synology-directly/108786)

<div class="topic-metadata">

**Author:** [@chrisonline](https://meta.discourse.org/u/chrisonline)\
**Replies:** 12\
**Last updated:** [October 12, 2021, 7:17pm UTC](https://meta.discourse.org/t/install-discourse-on-synology-directly/108786 "2021-10-12T19:17:28Z")

</div>

Does anymore know if it is possible to install Discourse on my Synology NAS? I have tried the Package Manager Discourse Install but this is very old (version 1.2.1). So I want to install it manual via “discourse-setup”…

---

## [Using external Domain in the browser address line](https://meta.discourse.org/t/using-external-domain-in-the-browser-address-line/205827)

<div class="topic-metadata">

**Author:** [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)\
**Replies:** 4\
**Last updated:** [October 12, 2021, 5:48pm UTC](https://meta.discourse.org/t/using-external-domain-in-the-browser-address-line/205827 "2021-10-12T17:48:52Z")

</div>

Hi, we have moved a discourse installation to an internal VM, where SNI is used. (The VM has no unique IP4 address.) Therefore we have used CNAME for the external domain that has been forwarded to the VM. The forwardin…

---

## [Image lightbox not working in subfolder install](https://meta.discourse.org/t/image-lightbox-not-working-in-subfolder-install/102930)

<div class="topic-metadata">

**Author:** [@Dave\_Sparks](https://meta.discourse.org/u/Dave_Sparks)\
**Replies:** 17\
**Last updated:** [December 6, 2018, 4:19am UTC](https://meta.discourse.org/t/image-lightbox-not-working-in-subfolder-install/102930 "2018-12-06T04:19:38Z")

</div>

I see that some images on this forum have an image lightbox where you can click on an image thumbnail and view the original image. Is there an admin setting to enable this as it does not appear to be working on our forum…

---

## [Discourse Setup on DigitalOcean](https://meta.discourse.org/t/discourse-setup-on-digitalocean/205774)

<div class="topic-metadata">

**Author:** [@eazoppe](https://meta.discourse.org/u/eazoppe)\
**Replies:** 10\
**Last updated:** [October 11, 2021, 8:11pm UTC](https://meta.discourse.org/t/discourse-setup-on-digitalocean/205774 "2021-10-11T20:11:23Z")

</div>

Okay so I am trying to setup my own Discourse forum on DigitalOcean using the one click system but when I get to which domain I should set it up on, I just keep getting the error of Port 443 of computer does not appear t…

---

## [Are there issues if you install Discourse in the Main Domain / Directory vs. Subdomain / Subdirectory?](https://meta.discourse.org/t/are-there-issues-if-you-install-discourse-in-the-main-domain-directory-vs-subdomain-subdirectory/205670)

<div class="topic-metadata">

**Author:** [@BCHK](https://meta.discourse.org/u/BCHK)\
**Replies:** 1\
**Last updated:** [October 10, 2021, 7:46pm UTC](https://meta.discourse.org/t/are-there-issues-if-you-install-discourse-in-the-main-domain-directory-vs-subdomain-subdirectory/205670 "2021-10-10T19:46:04Z")

</div>

I’ve seen some messages that Discourse doesn’t like to run in the main directory / TLD, and I see the instructions in the discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub recommend something like d…

---

## [Migrate Existing Community to a Docker based Discourse](https://meta.discourse.org/t/migrate-existing-community-to-a-docker-based-discourse/205630)

<div class="topic-metadata">

**Author:** [@kusrc](https://meta.discourse.org/u/kusrc)\
**Replies:** 2\
**Last updated:** [October 10, 2021, 2:26pm UTC](https://meta.discourse.org/t/migrate-existing-community-to-a-docker-based-discourse/205630 "2021-10-10T14:26:34Z")

</div>

I already have Discourse instance on a VPS installed according to instructions and works perfectly. I have another bigger VPS with several Docker based projects, I would like to move the discourse instance to the VPS se…

---

## [Postgres error: subplan "SubPlan 2" was not initialized](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 4\
**Last updated:** [October 7, 2021, 12:55pm UTC](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440 "2021-10-07T12:55:53Z")

</div>

I have a user that says he’s getting 500 errors " when viewing random posts." Looking at the logs, all I see is these, which appear to affect only this user. This is a standard install up to date with PG13. I don’t see t…

---

## [Install Discourse Docker on Ubuntu 11](https://meta.discourse.org/t/install-discourse-docker-on-ubuntu-11/205196)

<div class="topic-metadata">

**Author:** [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)\
**Replies:** 6\
**Last updated:** [October 6, 2021, 9:00pm UTC](https://meta.discourse.org/t/install-discourse-docker-on-ubuntu-11/205196 "2021-10-06T21:00:08Z")

</div>

Hi, as I know it is pretty difficult / not possible to install Discourse on Debian 11. I have managed it to install on 10.5, but now, no matter how I try no access in the webGUI and no mail after the build-process. I …

---

## ["Your Droplet is nearing its memory capacity" email](https://meta.discourse.org/t/your-droplet-is-nearing-its-memory-capacity-email/205175)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Replies:** 11\
**Last updated:** [October 6, 2021, 4:53pm UTC](https://meta.discourse.org/t/your-droplet-is-nearing-its-memory-capacity-email/205175 "2021-10-06T16:53:53Z")

</div>

I’ve just received the following: One or more of your Droplets is nearing its memory capacity and its performance could be affected. Without sufficient RAM or memory, applications might run slowly, or can occasionally …

---

## [Discourse installation issue ubuntu 20.04](https://meta.discourse.org/t/discourse-installation-issue-ubuntu-20-04/205332)

<div class="topic-metadata">

**Author:** [@Haris\_Mateen](https://meta.discourse.org/u/Haris_Mateen)\
**Replies:** 4\
**Last updated:** [October 6, 2021, 3:53pm UTC](https://meta.discourse.org/t/discourse-installation-issue-ubuntu-20-04/205332 "2021-10-06T15:53:00Z")

</div>

Hi, I am having this issue while installing discours on ubuntu, already opened the ports as well but still having this issue, /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en\_US.UTF-8 -e …

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

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