# Self-hosting

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

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

**Page:** 53

---

## [Fail2ban or frivilous login blockers for discourse docker instance?](https://meta.discourse.org/t/fail2ban-or-frivilous-login-blockers-for-discourse-docker-instance/256600)

<div class="topic-metadata">

**Author:** [@Danran](https://meta.discourse.org/u/Danran)\
**Replies:** 1\
**Last updated:** [March 2, 2023, 8:58am UTC](https://meta.discourse.org/t/fail2ban-or-frivilous-login-blockers-for-discourse-docker-instance/256600 "2023-03-02T08:58:24Z")

</div>

Does anyone know of a way to implement fail2ban within a discourse docker setup with the proper filters and rules? If not, is there any way to block too many incorrect password attempts on discourse docker? Any help and …

---

## [Hosting Plan Suggestion for 500 Concurrent Online Users](https://meta.discourse.org/t/hosting-plan-suggestion-for-500-concurrent-online-users/131521)

<div class="topic-metadata">

**Author:** [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)\
**Replies:** 16\
**Last updated:** [March 2, 2023, 8:45am UTC](https://meta.discourse.org/t/hosting-plan-suggestion-for-500-concurrent-online-users/131521 "2023-03-02T08:45:45Z")

</div>

I’m Completely new to Discourse. You can say, I’m a virgin :stuck\_out\_tongue\_winking\_eye: at Discourse. I’m Expecting User interactions Max 500 Online Concurrent Users Reading Posts Max 50 Posts/Replay Per Minute Eve…

---

## [CLI Command for Deleting Category](https://meta.discourse.org/t/cli-command-for-deleting-category/256656)

<div class="topic-metadata">

**Author:** [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 4:55pm UTC](https://meta.discourse.org/t/cli-command-for-deleting-category/256656 "2023-03-01T16:55:31Z")

</div>

Can somebody tell me if there is a CLI command for deleting a category? Thanks. – Aaron

---

## [Sshfs and backup](https://meta.discourse.org/t/sshfs-and-backup/256225)

<div class="topic-metadata">

**Author:** [@puchal](https://meta.discourse.org/u/puchal)\
**Replies:** 5\
**Last updated:** [March 1, 2023, 4:52pm UTC](https://meta.discourse.org/t/sshfs-and-backup/256225 "2023-03-01T16:52:33Z")

</div>

Hi, I host discourse for a small community. We have a very small, old VPS. The disk space cannot accommodate backups anymore, so I did a quick trick and mounted remote file system (using sshfs) as /var/discourse/shared/…

---

## [Rake:rebake crashes with errors: PG::ConnectionBad: PQsocket](https://meta.discourse.org/t/rake-rebake-crashes-with-errors-pg-pqsocket/256344)

<div class="topic-metadata">

**Author:** [@j127](https://meta.discourse.org/u/j127)\
**Replies:** 11\
**Last updated:** [February 28, 2023, 11:55pm UTC](https://meta.discourse.org/t/rake-rebake-crashes-with-errors-pg-pqsocket/256344 "2023-02-28T23:55:20Z")

</div>

I migrated a 200,000-post forum to a new server. The live site was put in read-only mode so there wouldn’t be downtime. I restored the backup on a different subdomain so that users wouldn’t see the install screens or an…

---

## [Worked and now can't even rebuild](https://meta.discourse.org/t/worked-and-now-cant-even-rebuild/256332)

<div class="topic-metadata">

**Author:** [@Stew\_Pid](https://meta.discourse.org/u/Stew_Pid)\
**Replies:** 3\
**Last updated:** [February 27, 2023, 2:27am UTC](https://meta.discourse.org/t/worked-and-now-cant-even-rebuild/256332 "2023-02-27T02:27:40Z")

</div>

Right now I can’t even build in a new directory. 2023-02-27 01:18:46.421 UTC \[42\] LOG: database system is shut down FAILED -------------------- Pups::ExecError: cd /var/www/discourse && sudo -H -E -u discourse git fe…

---

## [After Docker installation of Discourse, can't reach domain using my web browser](https://meta.discourse.org/t/after-docker-installation-of-discourse-cant-reach-domain-using-my-web-browser/256195)

<div class="topic-metadata">

**Author:** [@kabooshki](https://meta.discourse.org/u/kabooshki)\
**Replies:** 3\
**Last updated:** [February 24, 2023, 11:17pm UTC](https://meta.discourse.org/t/after-docker-installation-of-discourse-cant-reach-domain-using-my-web-browser/256195 "2023-02-24T23:17:44Z")

</div>

I am using Mail gun for my SMTP, Name Cheap for my DNS and Digital Ocean for my droplet. named domains to discourse.jakubbanners.com on all 3 websites and made sure spelling is correct when using Docker. Installation say…

---

## [Data explorer taking instance down on rebuild](https://meta.discourse.org/t/data-explorer-taking-instance-down-on-rebuild/256078)

<div class="topic-metadata">

**Author:** [@Stephen](https://meta.discourse.org/u/Stephen)\
**Replies:** 18\
**Last updated:** [February 24, 2023, 1:06am UTC](https://meta.discourse.org/t/data-explorer-taking-instance-down-on-rebuild/256078 "2023-02-24T01:06:00Z")

</div>

So I just rebuilt an instance, it uses the standard install template, SSL is enabled and there’s nothing sat in front of it (reverse proxy or otherwise). I’m seeing an error 502 from nginx after rebuilding. @pfaffman j…

---

## [Can't install on my main domain, what's wrong?](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829)

<div class="topic-metadata">

**Author:** [@AriHoresh](https://meta.discourse.org/u/AriHoresh)\
**Replies:** 4\
**Last updated:** [February 23, 2023, 6:39pm UTC](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829 "2023-02-23T18:39:21Z")

</div>

Hello everyone, I am having trouble getting my new domain, futuredoctor.ai, to work with Discourse. I have been searching for a solution for a few hours now, but unfortunately, I haven’t had any luck so far. I have ins…

---

## [After upgrading to discourse 3.. can only access to admin using safe-mode](https://meta.discourse.org/t/after-upgrading-to-discourse-3-can-only-access-to-admin-using-safe-mode/256062)

<div class="topic-metadata">

**Author:** [@albjeremias](https://meta.discourse.org/u/albjeremias)\
**Replies:** 19\
**Last updated:** [February 23, 2023, 5:58pm UTC](https://meta.discourse.org/t/after-upgrading-to-discourse-3-can-only-access-to-admin-using-safe-mode/256062 "2023-02-23T17:58:58Z")

</div>

Current Behavior: When i go to the hamburguer menu on the top right, i expect to click and see a menu, instead nothing comes. and i get this on my console Expected behavior: I expect to click the hambuger menu, and…

---

## [SSH Login asking me to configure discourse forum](https://meta.discourse.org/t/ssh-login-asking-me-to-configure-discourse-forum/255711)

<div class="topic-metadata">

**Author:** [@jcmckay](https://meta.discourse.org/u/jcmckay)\
**Replies:** 2\
**Last updated:** [February 22, 2023, 5:08pm UTC](https://meta.discourse.org/t/ssh-login-asking-me-to-configure-discourse-forum/255711 "2023-02-22T17:08:41Z")

</div>

Hi everyone, I’m attempting to login to my discourse via digitalocean and terminal on my mac. When I connect to the server I am getting the ‘Thanks for using the DigitalOcean Discourse Application Image’ despite alread…

---

## [After some hair pulling, I installed Discourse](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932)

<div class="topic-metadata">

**Author:** [@Solarus](https://meta.discourse.org/u/Solarus)\
**Replies:** 2\
**Last updated:** [February 22, 2023, 2:07pm UTC](https://meta.discourse.org/t/after-some-hair-pulling-i-installed-discourse/255932 "2023-02-22T14:07:16Z")

</div>

Hello! After 2 days of banging my head against the wall and realising Discourse doesn’t like apex domains (and yes, i’ve read the article on the forums explaying that) i was able to install on a subdomain. My fresh Dis…

---

## [My Discourse is Down. Certificate Issue?](https://meta.discourse.org/t/my-discourse-is-down-certificate-issue/228347)

<div class="topic-metadata">

**Author:** [@WesPenre](https://meta.discourse.org/u/WesPenre)\
**Replies:** 23\
**Last updated:** [February 22, 2023, 10:46am UTC](https://meta.discourse.org/t/my-discourse-is-down-certificate-issue/228347 "2023-02-22T10:46:17Z")

</div>

Hi, When people try to log in, depending on the browser, they get the following messages: BRAVE: This site can’t be reached The webpage at https://wespenreboards.com/ might be temporarily down or it may have moved pe…

---

## [Self hosting for free (with caveats!) with Oracle Cloud](https://meta.discourse.org/t/self-hosting-for-free-with-caveats-with-oracle-cloud/139184)

<div class="topic-metadata">

**Author:** [@Hector](https://meta.discourse.org/u/Hector)\
**Replies:** 106\
**Last updated:** [February 22, 2023, 10:19am UTC](https://meta.discourse.org/t/self-hosting-for-free-with-caveats-with-oracle-cloud/139184 "2023-02-22T10:19:08Z")

</div>

https://blogs.oracle.com/developers/install-run-discourse-for-free-in-the-oracle-cloud This blog post is from last year. I didn’t see any mention here; I think Oracle as a hosting company is off the radar for most peopl…

---

## [Discourse install and SMTP issue](https://meta.discourse.org/t/discourse-install-and-smtp-issue/255631)

<div class="topic-metadata">

**Author:** [@nanohits](https://meta.discourse.org/u/nanohits)\
**Replies:** 2\
**Last updated:** [February 21, 2023, 5:20pm UTC](https://meta.discourse.org/t/discourse-install-and-smtp-issue/255631 "2023-02-21T17:20:14Z")

</div>

Hi All, Been racking my brain on finding a solution to this. So basically I have done a fresh install of Discourse on a VPS with Ubuntu 20.04. Everything has gone well, except that I ran into a snag with SMTP. So I use…

---

## [Suddenly Can't Log Into Discourse](https://meta.discourse.org/t/suddenly-cant-log-into-discourse/255660)

<div class="topic-metadata">

**Author:** [@WesPenre](https://meta.discourse.org/u/WesPenre)\
**Replies:** 2\
**Last updated:** [February 20, 2023, 7:33pm UTC](https://meta.discourse.org/t/suddenly-cant-log-into-discourse/255660 "2023-02-20T19:33:40Z")

</div>

Hello, Since yesterday, we can’t log into Discourse, and it’s not a Digital Ocean problem (ISP). See attachments on what is happening. To describe: When I and others try to log in, the “wheel” just keeps spinning, and …

---

## [Cloudflare Guidance](https://meta.discourse.org/t/cloudflare-guidance/255701)

<div class="topic-metadata">

**Author:** [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)\
**Replies:** 1\
**Last updated:** [February 20, 2023, 6:48pm UTC](https://meta.discourse.org/t/cloudflare-guidance/255701 "2023-02-20T18:48:50Z")

</div>

I’ve been having a hard time finding a discussion thread that directly addresses the topic of whether or not Cloudflare should be used on a Discourse website. What are the pros and cons? I want to make sure our site is…

---

## [Connection reset by peer error - SendGrid](https://meta.discourse.org/t/connection-reset-by-peer-error-sendgrid/255513)

<div class="topic-metadata">

**Author:** [@zgy](https://meta.discourse.org/u/zgy)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 6:32pm UTC](https://meta.discourse.org/t/connection-reset-by-peer-error-sendgrid/255513 "2023-02-18T18:32:11Z")

</div>

I am getting a generic “Job exception - Connection reset by peer” error everytime Discourse tries to send an email. I know this error is related to some settings of the current server that it is hosted on because I tried…

---

## [Unable to send email](https://meta.discourse.org/t/unable-to-send-email/158509)

<div class="topic-metadata">

**Author:** [@Sasiko](https://meta.discourse.org/u/Sasiko)\
**Replies:** 8\
**Last updated:** [February 17, 2023, 8:00pm UTC](https://meta.discourse.org/t/unable-to-send-email/158509 "2023-02-17T20:00:42Z")

</div>

telnet smtp.mydomain 587 Trying IP.. Connected to smtp.mydomain.com. Escape character is '^\]'. 220 smtp.mydomain.com ESMTP i rebuilt countless time and i am able to successfully send email with the online test site t…

---

## [Reccomendations for online hosts which don’t block port 25?](https://meta.discourse.org/t/reccomendations-for-online-hosts-which-don-t-block-port-25/283812)

<div class="topic-metadata">

**Author:** [@saulshanabrook](https://meta.discourse.org/u/saulshanabrook)\
**Replies:** 4\
**Last updated:** [February 17, 2023, 12:21am UTC](https://meta.discourse.org/t/reccomendations-for-online-hosts-which-don-t-block-port-25/283812 "2023-02-17T00:21:39Z")

</div>

Does anyone have reccomendations for online hosts which don’t block port 25? I am hosting my discourse server locally on my home ISP, but they block it… Ideally, maybe there is some service out there I could point my do…

---

## [Rebuild app runs out of memory](https://meta.discourse.org/t/rebuild-app-runs-out-of-memory/255355)

<div class="topic-metadata">

**Author:** [@stormfinger](https://meta.discourse.org/u/stormfinger)\
**Replies:** 1\
**Last updated:** [February 16, 2023, 3:19pm UTC](https://meta.discourse.org/t/rebuild-app-runs-out-of-memory/255355 "2023-02-16T15:19:50Z")

</div>

hi im reinstalling discourse from previous non docker instalation in lxc container to docker version as suggested in forum ..just now the script ran long time and i’ve got to a stop with following errors. internet is sa…

---

## [Email for new user not sent](https://meta.discourse.org/t/email-for-new-user-not-sent/254633)

<div class="topic-metadata">

**Author:** [@stormfinger](https://meta.discourse.org/u/stormfinger)\
**Replies:** 10\
**Last updated:** [February 16, 2023, 2:22pm UTC](https://meta.discourse.org/t/email-for-new-user-not-sent/254633 "2023-02-16T14:22:52Z")

</div>

Hi we have just set up discourse and all is fine until first user signed in ..in log says user was created fine i have him marked as grey in list ..testing mails come to my inbox but in email diary/log section there is …

---

## [Plugin not being installed](https://meta.discourse.org/t/plugin-not-being-installed/255097)

<div class="topic-metadata">

**Author:** [@AV\_C](https://meta.discourse.org/u/AV_C)\
**Replies:** 6\
**Last updated:** [February 15, 2023, 9:18pm UTC](https://meta.discourse.org/t/plugin-not-being-installed/255097 "2023-02-15T21:18:02Z")

</div>

Hi! I’m trying to install plugins but when i rebuild the app it looks like they aren’t being even acknowledged. The app compiles properly but not plugins whatsoever. I have a default discourse installation on my own s…

---

## [Why was I charged $5 when I signed up for a free Discourse hosting trial?](https://meta.discourse.org/t/why-was-i-charged-5-when-i-signed-up-for-a-free-discourse-hosting-trial/115246)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Replies:** 0\
**Last updated:** [April 16, 2019, 5:50pm UTC](https://meta.discourse.org/t/why-was-i-charged-5-when-i-signed-up-for-a-free-discourse-hosting-trial/115246 "2019-04-16T17:50:22Z")

</div>

:information\_source: As of mid-2022, credit cards are no longer required to start a trial. Discourse trials are 100% free. We do not charge you to start a trial, and we do not charge you when the trial ends. Subscrip…

---

## [Installing multiple discourse forums on one Ubuntu server](https://meta.discourse.org/t/installing-multiple-discourse-forums-on-one-ubuntu-server/255234)

<div class="topic-metadata">

**Author:** [@Danran](https://meta.discourse.org/u/Danran)\
**Replies:** 1\
**Last updated:** [February 15, 2023, 1:51pm UTC](https://meta.discourse.org/t/installing-multiple-discourse-forums-on-one-ubuntu-server/255234 "2023-02-15T13:51:37Z")

</div>

I can’t really find much documentation on this. But I am running an Ubuntu 20.04 lemp server, and would like to install 2 discourse servers on the same box. How do I go about doing this?

---

## [Gzip compression on by default?](https://meta.discourse.org/t/gzip-compression-on-by-default/255069)

<div class="topic-metadata">

**Author:** [@AquaL1te](https://meta.discourse.org/u/AquaL1te)\
**Replies:** 0\
**Last updated:** [February 14, 2023, 7:32am UTC](https://meta.discourse.org/t/gzip-compression-on-by-default/255069 "2023-02-14T07:32:33Z")

</div>

Continuing the discussion from Discourse not using brotli or gzip compression?: In the discussion above it’s mentioned to set some nginx proxy lines to disable compression. My forum uses content-encoding gzip. Since thi…

---

## [How to diagnose a slowdown?](https://meta.discourse.org/t/how-to-diagnose-a-slowdown/254504)

<div class="topic-metadata">

**Author:** [@piffy](https://meta.discourse.org/u/piffy)\
**Replies:** 9\
**Last updated:** [February 14, 2023, 7:38pm UTC](https://meta.discourse.org/t/how-to-diagnose-a-slowdown/254504 "2023-02-14T19:38:16Z")

</div>

My site has seen a slight and sudden slowdown when loading pages lately. I had an issue where a backup was generated and exceeded the space on my digital ocean volume and took down the site. Since then I have had a hard …

---

## [Upgrade Error: migration is a blocker](https://meta.discourse.org/t/upgrade-error-migration-is-a-blocker/255099)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 1:18pm UTC](https://meta.discourse.org/t/upgrade-error-migration-is-a-blocker/255099 "2023-02-14T13:18:56Z")

</div>

Getting this: PG::DuplicateTable: ERROR: relation "index\_users\_on\_username\_lower\_trgm" already exists So build is failing. This seems to relate to: discourse/db/migrate/20230201192925\_add\_trigram\_indexes\_to\_users.rb …

---

## [Pups error on rebuild 🐕](https://meta.discourse.org/t/pups-error-on-rebuild/255025)

<div class="topic-metadata">

**Author:** [@piffy](https://meta.discourse.org/u/piffy)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 11:44pm UTC](https://meta.discourse.org/t/pups-error-on-rebuild/255025 "2023-02-13T23:44:01Z")

</div>

I’ve been having an issue rebuilding for at least a week now. ▶ Complete rebuild log FAILED -------------------- Pups::ExecError: apt-get update failed with return #\<Process::Status: pid 132 exit 100\> Location of failure…

---

## [Do the discourse hosting plans include SSL certificate and support my own domain name?](https://meta.discourse.org/t/do-the-discourse-hosting-plans-include-ssl-certificate-and-support-my-own-domain-name/255018)

<div class="topic-metadata">

**Author:** [@Frankz](https://meta.discourse.org/u/Frankz)\
**Replies:** 5\
**Last updated:** [February 13, 2023, 7:26pm UTC](https://meta.discourse.org/t/do-the-discourse-hosting-plans-include-ssl-certificate-and-support-my-own-domain-name/255018 "2023-02-13T19:26:50Z")

</div>

Hi, Do the discourse hosting plans include SSL certificate and support my own domain name? If not, how can I get a SSL certificate and use my own domain name? Thank you, Frank

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

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