# Self-hosting

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

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

**Page:** 91

---

## [Extreme load/ Disk IO/ CPU/ memory usage question](https://meta.discourse.org/t/extreme-load-disk-io-cpu-memory-usage-question/171097)

<div class="topic-metadata">

**Author:** [@ckshen](https://meta.discourse.org/u/ckshen)\
**Replies:** 3\
**Last updated:** [November 24, 2020, 5:35pm UTC](https://meta.discourse.org/t/extreme-load-disk-io-cpu-memory-usage-question/171097 "2020-11-24T17:35:39Z")

</div>

Hi, Recently our instance have been getting more “extreme load” messages. Today it happened at 9:40am. I looked at our server log. CPU and load seemed ok at 9:40am: Memory is also quite consistent during the day: …

---

## [Cannot receive the mail from email server](https://meta.discourse.org/t/cannot-receive-the-mail-from-email-server/171119)

<div class="topic-metadata">

**Author:** [@chiehpower](https://meta.discourse.org/u/chiehpower)\
**Replies:** 2\
**Last updated:** [November 24, 2020, 7:22am UTC](https://meta.discourse.org/t/cannot-receive-the-mail-from-email-server/171119 "2020-11-24T07:22:56Z")

</div>

Dear all, I knew this issue which is a known issue and quite easily to meet it. I have read and tried a lot of testings, but I already got stuck on “sending email” this step. I was following this discourse/docs/INSTALL…

---

## [Badges data to my website database](https://meta.discourse.org/t/badges-data-to-my-website-database/170843)

<div class="topic-metadata">

**Author:** [@pinder99](https://meta.discourse.org/u/pinder99)\
**Replies:** 6\
**Last updated:** [November 23, 2020, 7:31pm UTC](https://meta.discourse.org/t/badges-data-to-my-website-database/170843 "2020-11-23T19:31:15Z")

</div>

Dear Team, I want to save all badges data from my discourse forum to be saved in my php website database automatically , right now i am doing it manually but i want to setup something like webhooks or use API to automat…

---

## [Email config help](https://meta.discourse.org/t/email-config-help/170880)

<div class="topic-metadata">

**Author:** [@Hady\_Ibrahim](https://meta.discourse.org/u/Hady_Ibrahim)\
**Replies:** 3\
**Last updated:** [November 22, 2020, 1:19am UTC](https://meta.discourse.org/t/email-config-help/170880 "2020-11-22T01:19:31Z")

</div>

Does this look off? When i run discourse doctor it says: Testing sending to hadyib@gmail.com using smtp.sendgrid.net:587. SMTP server connection successful. Sending to hadyib@gmail.com. . . Mail accepted by SMTP serv…

---

## [UNICORN\_WORKERS vs UNICORN\_SIDEKIQS, DISCOURSE\_DB\_POOL?](https://meta.discourse.org/t/unicorn-workers-vs-unicorn-sidekiqs-discourse-db-pool/41814)

<div class="topic-metadata">

**Author:** [@Caswal\_Parker](https://meta.discourse.org/u/Caswal_Parker)\
**Replies:** 6\
**Last updated:** [February 23, 2020, 10:20pm UTC](https://meta.discourse.org/t/unicorn-workers-vs-unicorn-sidekiqs-discourse-db-pool/41814 "2020-02-23T22:20:08Z")

</div>

Like a lot of people I am wanting to migrate my phpbb3 forum across to discourse. It’s a reasonable sized forum of 38,000 users and 98,000 threads. I have done one trial run and impressed by the import process so far. T…

---

## [Port busy and app.yml not found](https://meta.discourse.org/t/port-busy-and-app-yml-not-found/170797)

<div class="topic-metadata">

**Author:** [@EinfachNur\_Lars](https://meta.discourse.org/u/EinfachNur_Lars)\
**Replies:** 1\
**Last updated:** [November 20, 2020, 8:57pm UTC](https://meta.discourse.org/t/port-busy-and-app-yml-not-found/170797 "2020-11-20T20:57:38Z")

</div>

Hey i trying to install Discource on my V-Server but my Problem is Port 80 is busy. And if i try to run the installer it stops Port 80 appears to already be in use. This will show you what command is using port 80 COM…

---

## [Tuning high-volume site 429 Errors on message bus--should I worry?](https://meta.discourse.org/t/tuning-high-volume-site-429-errors-on-message-bus-should-i-worry/170651)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 6\
**Last updated:** [November 20, 2020, 5:18pm UTC](https://meta.discourse.org/t/tuning-high-volume-site-429-errors-on-message-bus-should-i-worry/170651 "2020-11-20T17:18:59Z")

</div>

I’m working on a fairly high-volume site (\>150K pageviews/day). I’m getting some 429 errors, at least mostly on the message bus. I earlier had some issues due to a misconfiguration of set\_real\_ip\_from, but that’s resolve…

---

## [How to open via internal IP?](https://meta.discourse.org/t/how-to-open-via-internal-ip/170456)

<div class="topic-metadata">

**Author:** [@chiehpower](https://meta.discourse.org/u/chiehpower)\
**Replies:** 5\
**Last updated:** [November 20, 2020, 2:56am UTC](https://meta.discourse.org/t/how-to-open-via-internal-ip/170456 "2020-11-20T02:56:46Z")

</div>

Dear experts, I really appreciate your contributions!! Currently I have successfully built the Discourse on local computer and I can open it by localhost:3000. It is so great including creating the topic, post somethin…

---

## [How to host Discourse in China?](https://meta.discourse.org/t/how-to-host-discourse-in-china/170327)

<div class="topic-metadata">

**Author:** [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**Replies:** 6\
**Last updated:** [November 20, 2020, 1:30am UTC](https://meta.discourse.org/t/how-to-host-discourse-in-china/170327 "2020-11-20T01:30:06Z")

</div>

I tried on VPS in China. But always, my server cannot connect to “github.com”, and usually cannot connect to ruby, etc. How should I build discourse in China? Can I simply copy the full folder to a VPS in China? I’v…

---

## [How "safe" is running Discourse on your own without server security knowledge](https://meta.discourse.org/t/how-safe-is-running-discourse-on-your-own-without-server-security-knowledge/170527)

<div class="topic-metadata">

**Author:** [@thibault](https://meta.discourse.org/u/thibault)\
**Replies:** 4\
**Last updated:** [November 18, 2020, 8:58pm UTC](https://meta.discourse.org/t/how-safe-is-running-discourse-on-your-own-without-server-security-knowledge/170527 "2020-11-18T20:58:46Z")

</div>

Hi! I have some experience with hosting a website with Digital Ocean, but I’m no server administrator or cyber security expert at all. However, I am completely paranoid about server security. So i was wondering: how sa…

---

## [504 AUTH command used when not advertised](https://meta.discourse.org/t/504-auth-command-used-when-not-advertised/170443)

<div class="topic-metadata">

**Author:** [@vWebDev](https://meta.discourse.org/u/vWebDev)\
**Replies:** 1\
**Last updated:** [November 18, 2020, 5:31pm UTC](https://meta.discourse.org/t/504-auth-command-used-when-not-advertised/170443 "2020-11-18T17:31:00Z")

</div>

I’ve just installed Discourse on a fresh Ubuntu 20.04LTS install as per the 30 min install guide on github. I’ve setup an email account on a cPanel host I use, which I can send/receive email from. However, when Discour…

---

## [Old Postgres on Docker Image with two containers: web and data](https://meta.discourse.org/t/old-postgres-on-docker-image-with-two-containers-web-and-data/170503)

<div class="topic-metadata">

**Author:** [@stuts](https://meta.discourse.org/u/stuts)\
**Replies:** 9\
**Last updated:** [November 18, 2020, 4:42pm UTC](https://meta.discourse.org/t/old-postgres-on-docker-image-with-two-containers-web-and-data/170503 "2020-11-18T16:42:38Z")

</div>

Hi All, I’m stuck trying to upgrade a docker Discourse instance. I get the following error when I attempt to rebuild, bootstrap or in any other way setup the container: I, \[2020-11-18T15:23:37.357104 #1\] INFO -- : \> c…

---

## [Upgrade ends with FAILED TO BOOTSTRAP](https://meta.discourse.org/t/upgrade-ends-with-failed-to-bootstrap/170326)

<div class="topic-metadata">

**Author:** [@nesnera](https://meta.discourse.org/u/nesnera)\
**Replies:** 4\
**Last updated:** [November 17, 2020, 3:09pm UTC](https://meta.discourse.org/t/upgrade-ends-with-failed-to-bootstrap/170326 "2020-11-17T15:09:47Z")

</div>

I tried unsuccessfully to upgrade. Any advice? DISCOURSE DOCTOR output

---

## [Question about the email address domain used by Discourse](https://meta.discourse.org/t/question-about-the-email-address-domain-used-by-discourse/170301)

<div class="topic-metadata">

**Author:** [@mk0r](https://meta.discourse.org/u/mk0r)\
**Replies:** 2\
**Last updated:** [November 16, 2020, 9:16pm UTC](https://meta.discourse.org/t/question-about-the-email-address-domain-used-by-discourse/170301 "2020-11-16T21:16:32Z")

</div>

Hi, I am getting ready to create a Discourse installation and am trying to plan ahead so I don’t have to backtrack. I am leaning toward installing Discourse on a domain example.com instead of the common subdomain.exampl…

---

## [Failed to rebuild: no such file /usr/local/etc/ImageMagick-6/policy.xml](https://meta.discourse.org/t/failed-to-rebuild-no-such-file-usr-local-etc-imagemagick-6-policy-xml/170016)

<div class="topic-metadata">

**Author:** [@nyaru](https://meta.discourse.org/u/nyaru)\
**Replies:** 3\
**Last updated:** [November 16, 2020, 5:08pm UTC](https://meta.discourse.org/t/failed-to-rebuild-no-such-file-usr-local-etc-imagemagick-6-policy-xml/170016 "2020-11-16T17:08:18Z")

</div>

Hi, I tried to update discourse with ./launcher rebuild app refer from Manually update Discourse and Docker image to latest But I got failure about ENOENT. I did below commands to improve this situation. dpkg-reconf…

---

## [Timeout when restoring a backup](https://meta.discourse.org/t/timeout-when-restoring-a-backup/170103)

<div class="topic-metadata">

**Author:** [@mmcc](https://meta.discourse.org/u/mmcc)\
**Replies:** 1\
**Last updated:** [November 16, 2020, 4:43am UTC](https://meta.discourse.org/t/timeout-when-restoring-a-backup/170103 "2020-11-16T04:43:59Z")

</div>

I’m working on migrating a decently large Discourse installation from a single instance (3 years going strong!) to managed Digital Ocean databases and separate frontends. Everything is fine for the initial installation o…

---

## [NoMethodError on docker run](https://meta.discourse.org/t/nomethoderror-on-docker-run/60927)

<div class="topic-metadata">

**Author:** [@pmayer](https://meta.discourse.org/u/pmayer)\
**Replies:** 9\
**Last updated:** [November 15, 2020, 7:53am UTC](https://meta.discourse.org/t/nomethoderror-on-docker-run/60927 "2020-11-15T07:53:18Z")

</div>

Hi guys, I must admit, that I’m not a docker guru… only doing baby steps. I’ve installed Discourse about a year ago for testing on a local server. But as you know, things for “testing” suddenly get addopted and used on …

---

## ["Couldn't find IP Address for (my discourse forum link)"](https://meta.discourse.org/t/couldnt-find-ip-address-for-my-discourse-forum-link/170130)

<div class="topic-metadata">

**Author:** [@Bit0101](https://meta.discourse.org/u/Bit0101)\
**Replies:** 6\
**Last updated:** [November 15, 2020, 5:11pm UTC](https://meta.discourse.org/t/couldnt-find-ip-address-for-my-discourse-forum-link/170130 "2020-11-15T17:11:20Z")

</div>

Hello! I’ve been having an issue, a friend of mine is trying to enter to my discourse forum, but when she tries to enter it says "This site can’t be reached, couldn’t find IP Address for (my discourse forum). I already c…

---

## [Mailjet subdomain problem](https://meta.discourse.org/t/mailjet-subdomain-problem/170176)

<div class="topic-metadata">

**Author:** [@Fxrce3987](https://meta.discourse.org/u/Fxrce3987)\
**Replies:** 1\
**Last updated:** [November 15, 2020, 3:36pm UTC](https://meta.discourse.org/t/mailjet-subdomain-problem/170176 "2020-11-15T15:36:00Z")

</div>

My problem is as title says, a mailjet subdomain registration problem. Using my normal domain; midnitestudios.tk worked fine while setting up subdomain forum.midnitestudios.tk is not finding my TXT record. I don’t know…

---

## [Clarifications Regarding Deploying Discourse Docker Image on AWS ECS](https://meta.discourse.org/t/clarifications-regarding-deploying-discourse-docker-image-on-aws-ecs/170071)

<div class="topic-metadata">

**Author:** [@trying2survive](https://meta.discourse.org/u/trying2survive)\
**Replies:** 1\
**Last updated:** [November 13, 2020, 9:13pm UTC](https://meta.discourse.org/t/clarifications-regarding-deploying-discourse-docker-image-on-aws-ecs/170071 "2020-11-13T21:13:42Z")

</div>

Hello, I have been trying to run the Discourse Docker image on ECS (container service in AWS) for more than a week already so I thought of reaching out here for advise. When trying on my standalone EC2 server, Discourse…

---

## [Forwarding to Discourse container with nginx proxy\_pass and links from Discourse to host server](https://meta.discourse.org/t/forwarding-to-discourse-container-with-nginx-proxy-pass-and-links-from-discourse-to-host-server/169851)

<div class="topic-metadata">

**Author:** [@phixx](https://meta.discourse.org/u/phixx)\
**Replies:** 3\
**Last updated:** [November 12, 2020, 11:01am UTC](https://meta.discourse.org/t/forwarding-to-discourse-container-with-nginx-proxy-pass-and-links-from-discourse-to-host-server/169851 "2020-11-12T11:01:37Z")

</div>

Hi Discouse Team, I am running an nginx server on my host machine and a pretty standard Discourse container in Docker. Basically, I have a small number of specific (http) folders served by the host nginx, and everything…

---

## [Discourse install problem](https://meta.discourse.org/t/discourse-install-problem/169800)

<div class="topic-metadata">

**Author:** [@e-learning-109](https://meta.discourse.org/u/e-learning-109)\
**Replies:** 11\
**Last updated:** [November 12, 2020, 12:29am UTC](https://meta.discourse.org/t/discourse-install-problem/169800 "2020-11-12T00:29:02Z")

</div>

Hi, I’m a new guy for install discourse .I am facing this problem . When this step I input command " ./disdourse-setup" my Terminal don’t show message "Ports 80 and 443 are free for use " then show this message "…

---

## [Discourse SMTP Error](https://meta.discourse.org/t/discourse-smtp-error/169762)

<div class="topic-metadata">

**Author:** [@NamVr](https://meta.discourse.org/u/NamVr)\
**Replies:** 2\
**Last updated:** [November 11, 2020, 6:01am UTC](https://meta.discourse.org/t/discourse-smtp-error/169762 "2020-11-11T06:01:30Z")

</div>

I dont know but why… cPanel SMTP never works with Discourse. Actually, I recently installed discourse on my brand new ubuntu vps. I have a cPanel server on a different dedicated server. cPanel SMTP settings always work …

---

## [Email not sending after update](https://meta.discourse.org/t/email-not-sending-after-update/169411)

<div class="topic-metadata">

**Author:** [@CryptoRux](https://meta.discourse.org/u/CryptoRux)\
**Replies:** 11\
**Last updated:** [November 10, 2020, 1:00am UTC](https://meta.discourse.org/t/email-not-sending-after-update/169411 "2020-11-10T01:00:12Z")

</div>

hello my favorite forum systems :slight\_smile: Im having a problem with sending email from discourse forum. When i try to test SMTP, everything goes well, as you can see on printscreen Im using 587 port for SMTP wish …

---

## [Using nginx as proxy server is very slow, but it is very fast if using nginx in docker! Why?](https://meta.discourse.org/t/using-nginx-as-proxy-server-is-very-slow-but-it-is-very-fast-if-using-nginx-in-docker-why/168972)

<div class="topic-metadata">

**Author:** [@cosoc](https://meta.discourse.org/u/cosoc)\
**Replies:** 0\
**Last updated:** [November 2, 2020, 8:44am UTC](https://meta.discourse.org/t/using-nginx-as-proxy-server-is-very-slow-but-it-is-very-fast-if-using-nginx-in-docker-why/168972 "2020-11-02T08:44:35Z")

</div>

Using nginx as proxy server is very slow, but it is very fast if using nginx in docker! Why? app.yml templates: #- "templates/postgres.template.yml" - "templates/redis.template.yml" - "templates/web.template.yml"…

---

## [Mail error 504 5.7.4 Unrecognized authentication type](https://meta.discourse.org/t/mail-error-504-5-7-4-unrecognized-authentication-type/168921)

<div class="topic-metadata">

**Author:** [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)\
**Replies:** 5\
**Last updated:** [November 9, 2020, 1:22pm UTC](https://meta.discourse.org/t/mail-error-504-5-7-4-unrecognized-authentication-type/168921 "2020-11-09T13:22:13Z")

</div>

Hi there, just installed a new board @ aws and want to get the mailing running. I tried to send mail with swaks from host → ok I tried to send mail from within the container (with swaks) → ok The command i used is s…

---

## [What hosting providers support sending 200k or more emails per month?](https://meta.discourse.org/t/what-hosting-providers-support-sending-200k-or-more-emails-per-month/76923)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**Replies:** 23\
**Last updated:** [November 8, 2020, 11:00pm UTC](https://meta.discourse.org/t/what-hosting-providers-support-sending-200k-or-more-emails-per-month/76923 "2020-11-08T23:00:20Z")

</div>

Looking at Vultr and experimenting with it, I just noticed they have an Antispam Policy - Vultr.com that would prevent me from sending 200k-300k emails per month from Discourse, which is the case for our rather small com…

---

## [Database seems inexplicably large](https://meta.discourse.org/t/database-seems-inexplicably-large/77872)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 5\
**Last updated:** [November 8, 2020, 3:31pm UTC](https://meta.discourse.org/t/database-seems-inexplicably-large/77872 "2020-11-08T15:31:37Z")

</div>

tl;dr: it looks like there are about 10GB of data reported by rake db:stats, but postgres\_data is taking up 18GB. Does it seem likely that there are 8GB of indexes taking up the rest of the space, or is there some kind o…

---

## [OAuth2 + email login without sign up form](https://meta.discourse.org/t/oauth2-email-login-without-sign-up-form/169389)

<div class="topic-metadata">

**Author:** [@steve.bussey](https://meta.discourse.org/u/steve.bussey)\
**Replies:** 8\
**Last updated:** [November 8, 2020, 3:26am UTC](https://meta.discourse.org/t/oauth2-email-login-without-sign-up-form/169389 "2020-11-08T03:26:45Z")

</div>

I am building a community portal where I will use OAuth2 to link the provider and Discourse. I want to allow email login only if the email is invited to the community (so there should be no registration button), but I wa…

---

## [How to script the setup wizard?](https://meta.discourse.org/t/how-to-script-the-setup-wizard/169288)

<div class="topic-metadata">

**Author:** [@dachary](https://meta.discourse.org/u/dachary)\
**Replies:** 18\
**Last updated:** [November 6, 2020, 8:45pm UTC](https://meta.discourse.org/t/how-to-script-the-setup-wizard/169288 "2020-11-06T20:45:32Z")

</div>

Bonjour, It sounds like it is a FAQ and I apologize in advance if it is: I apparently did not look hard enough :blush: How could I write a script to do the same as the wizard instead of doing it via the web interface ? …

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

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