# Self-hosting

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

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

**Page:** 68

---

## [Can't build Discourse on Ubuntu 20.10](https://meta.discourse.org/t/cant-build-discourse-on-ubuntu-20-10/223924)

<div class="topic-metadata">

**Author:** [@Replicationz](https://meta.discourse.org/u/Replicationz)\
**Replies:** 12\
**Last updated:** [April 12, 2022, 10:21am UTC](https://meta.discourse.org/t/cant-build-discourse-on-ubuntu-20-10/223924 "2022-04-12T10:21:04Z")

</div>

Hello everyone! When I build the app (./launcher rebuild app), it sort of works and then it fails. You can take a look at the log which includes the last 45 lines of my Terminal (and some messages that stand out). I am…

---

## [Installation on AWS using RDS](https://meta.discourse.org/t/installation-on-aws-using-rds/14548)

<div class="topic-metadata">

**Author:** [@yavor\_atanasov](https://meta.discourse.org/u/yavor_atanasov)\
**Replies:** 6\
**Last updated:** [April 11, 2022, 3:19pm UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548 "2022-04-11T15:19:52Z")

</div>

Hey guys, I’ve been looking at different topics here and your docs on github, but I can’t seem to find any details on running Discourse on AWS using RDS. I can see you have a “recommended” and pretty straight forward wa…

---

## [Sidekiq email errors and settings issue](https://meta.discourse.org/t/sidekiq-email-errors-and-settings-issue/223544)

<div class="topic-metadata">

**Author:** [@spamless](https://meta.discourse.org/u/spamless)\
**Replies:** 11\
**Last updated:** [April 8, 2022, 3:59pm UTC](https://meta.discourse.org/t/sidekiq-email-errors-and-settings-issue/223544 "2022-04-08T15:59:55Z")

</div>

I’ve just succeeded in installing Discourse (on an aarch64 Oracle Cloud server). After some difficulties, it works. I got the email confirming my registration as the admin for my site, and the site is set up now. I have…

---

## [Redis verision bad](https://meta.discourse.org/t/redis-verision-bad/223656)

<div class="topic-metadata">

**Author:** [@Xcept](https://meta.discourse.org/u/Xcept)\
**Replies:** 1\
**Last updated:** [April 7, 2022, 7:16pm UTC](https://meta.discourse.org/t/redis-verision-bad/223656 "2022-04-07T19:16:14Z")

</div>

i’m running discourse development, and after command bundle exec rake db:create i get: Couldn’t connect to Redis

---

## [Getting charged in aws for data transfer?](https://meta.discourse.org/t/getting-charged-in-aws-for-data-transfer/214941)

<div class="topic-metadata">

**Author:** [@freebie](https://meta.discourse.org/u/freebie)\
**Replies:** 8\
**Last updated:** [March 18, 2022, 6:14pm UTC](https://meta.discourse.org/t/getting-charged-in-aws-for-data-transfer/214941 "2022-03-18T18:14:12Z")

</div>

Hello, I am getting charged for data transfer on was. It is a new account (1-month-old) and only has one instance (running discourse). This is what they say, When you transfer data from AWS resources to the internet, …

---

## [Completely Out of Disk Space](https://meta.discourse.org/t/completely-out-of-disk-space/63792)

<div class="topic-metadata">

**Author:** [@Ericsworld](https://meta.discourse.org/u/Ericsworld)\
**Replies:** 20\
**Last updated:** [April 7, 2022, 9:35am UTC](https://meta.discourse.org/t/completely-out-of-disk-space/63792 "2022-04-07T09:35:19Z")

</div>

My forum is 1 month old, ~15000 posts… I tried checking it tonight and received a 502 error. I then reloaded my Droplet and tried a ./launcher rebuild and was met with a "785ef3cb0f4bbe86b21afde2620a966a63e03427e89484b0…

---

## [Do you routinely do 'docker system prune' or anything else to maintain your Discourse instances?](https://meta.discourse.org/t/do-you-routinely-do-docker-system-prune-or-anything-else-to-maintain-your-discourse-instances/141708)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Replies:** 8\
**Last updated:** [April 6, 2022, 2:17am UTC](https://meta.discourse.org/t/do-you-routinely-do-docker-system-prune-or-anything-else-to-maintain-your-discourse-instances/141708 "2022-04-06T02:17:39Z")

</div>

I’m having a tidy up and just reclaimed 28GB by doing this. Ensure all forums are running (so NOT stopped) then: docker system prune And confirm with Y. Does anybody else do it? Is it (and/or anything else) routinel…

---

## [Tuning a Discourse server for performance](https://meta.discourse.org/t/tuning-a-discourse-server-for-performance/94927)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Replies:** 11\
**Last updated:** [April 4, 2022, 10:43pm UTC](https://meta.discourse.org/t/tuning-a-discourse-server-for-performance/94927 "2022-04-04T22:43:56Z")

</div>

Are there any guides (or Topics here on the forum) that provide tips on tuning a server that hosts Discourse sites for performance? I ran the ./Discourse-set and it set a quarter of the ram (to 4096mb) and added 8 unico…

---

## [Discourse-calendar error](https://meta.discourse.org/t/discourse-calendar-error/222867)

<div class="topic-metadata">

**Author:** [@jucajuca](https://meta.discourse.org/u/jucajuca)\
**Replies:** 4\
**Last updated:** [April 2, 2022, 4:37pm UTC](https://meta.discourse.org/t/discourse-calendar-error/222867 "2022-04-02T16:37:01Z")

</div>

Hello, I am having som troubles instlling the discourse calendar plugin. Any ideas what could be the problem? Attached the whole html error report. Here a extract with the error: ERROR: While executing gem … (Errno::…

---

## [Error when updating Discourse to latest version - potential db:migrate issue](https://meta.discourse.org/t/error-when-updating-discourse-to-latest-version-potential-db-migrate-issue/219895)

<div class="topic-metadata">

**Author:** [@hollyw](https://meta.discourse.org/u/hollyw)\
**Replies:** 4\
**Last updated:** [April 1, 2022, 7:30pm UTC](https://meta.discourse.org/t/error-when-updating-discourse-to-latest-version-potential-db-migrate-issue/219895 "2022-04-01T19:30:38Z")

</div>

We’re seeing the following error in our logs when attempting to update our instance of Discourse to the latest version: FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec …

---

## [Redis template throws "permission denied" error](https://meta.discourse.org/t/redis-template-throws-permission-denied-error/222787)

<div class="topic-metadata">

**Author:** [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**Replies:** 2\
**Last updated:** [April 1, 2022, 4:20pm UTC](https://meta.discourse.org/t/redis-template-throws-permission-denied-error/222787 "2022-04-01T16:20:14Z")

</div>

When using the redis.template.yml on rebuild in a setup with separate containers (web\_only, data), i see ... /.launcher rebuild web\_only I, \[2022-04-01T06:14:05.621316 #1\] INFO -- : End of custom commands I, \[2022-04-…

---

## [Is it normal to take more than 1900 seconds in yarn install during rebuild?](https://meta.discourse.org/t/is-it-normal-to-take-more-than-1900-seconds-in-yarn-install-during-rebuild/222805)

<div class="topic-metadata">

**Author:** [@topological](https://meta.discourse.org/u/topological)\
**Replies:** 0\
**Last updated:** [April 1, 2022, 11:25am UTC](https://meta.discourse.org/t/is-it-normal-to-take-more-than-1900-seconds-in-yarn-install-during-rebuild/222805 "2022-04-01T11:25:38Z")

</div>

Hello everyone! I’m running a server locating in China. I know it is hard to connect to github and npm mirror, so I set up a network proxy in containers/app.yml by templates: - "templates/web.china.template.yml" ... e…

---

## [Rake task "assets:precompile" is failing due to JS Compilation issue](https://meta.discourse.org/t/rake-task-assets-precompile-is-failing-due-to-js-compilation-issue/222602)

<div class="topic-metadata">

**Author:** [@hpathak2132](https://meta.discourse.org/u/hpathak2132)\
**Replies:** 6\
**Last updated:** [March 31, 2022, 11:10pm UTC](https://meta.discourse.org/t/rake-task-assets-precompile-is-failing-due-to-js-compilation-issue/222602 "2022-03-31T23:10:03Z")

</div>

I am trying to do a fresh install for discourse and seeing the below error while running assets:precompile task. I am seeing the below compilation error but not sure what the error is about. rake aborted! Barber::Precom…

---

## [Rate limiter issues when uploading a backup file / can't disable rate limiter](https://meta.discourse.org/t/rate-limiter-issues-when-uploading-a-backup-file-cant-disable-rate-limiter/222471)

<div class="topic-metadata">

**Author:** [@xyzzy](https://meta.discourse.org/u/xyzzy)\
**Replies:** 4\
**Last updated:** [March 31, 2022, 5:56am UTC](https://meta.discourse.org/t/rate-limiter-issues-when-uploading-a-backup-file-cant-disable-rate-limiter/222471 "2022-03-31T05:56:03Z")

</div>

I’m moving an existing Discourse instance from its current home to an AWS EC2 VM. The site sits behind Amazon load balancers. I’ve already successfully tweaked app.yml with the appropriate set\_real\_ip\_from directives s…

---

## [Different Device, Same IP with Nginx](https://meta.discourse.org/t/different-device-same-ip-with-nginx/222545)

<div class="topic-metadata">

**Author:** [@bloodshot\_pico](https://meta.discourse.org/u/bloodshot_pico)\
**Replies:** 5\
**Last updated:** [March 30, 2022, 11:40pm UTC](https://meta.discourse.org/t/different-device-same-ip-with-nginx/222545 "2022-03-30T23:40:23Z")

</div>

Am I supposed to do anything special when installing Discourse on a different device compared to Nginx if they’re sharing the same IP? Am I supposed to open different ports for them due to them sharing the same IP, migh…

---

## [Update failed for some reason?](https://meta.discourse.org/t/update-failed-for-some-reason/222611)

<div class="topic-metadata">

**Author:** [@Nick\_Tomlinson](https://meta.discourse.org/u/Nick_Tomlinson)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 9:52pm UTC](https://meta.discourse.org/t/update-failed-for-some-reason/222611 "2022-03-30T21:52:09Z")

</div>

Hi guys, As usual, the admin dashboard told me to update, so i did. but a message came up to update image data (which ive accessed through my digital ocean drop consol) I entered in: cd /var/discourse git pu…

---

## [Discourse upgrade fails due to insufficient disk space on 25G droplet](https://meta.discourse.org/t/discourse-upgrade-fails-due-to-insufficient-disk-space-on-25g-droplet/222062)

<div class="topic-metadata">

**Author:** [@AndyBr](https://meta.discourse.org/u/AndyBr)\
**Replies:** 38\
**Last updated:** [March 30, 2022, 7:31pm UTC](https://meta.discourse.org/t/discourse-upgrade-fails-due-to-insufficient-disk-space-on-25g-droplet/222062 "2022-03-30T19:31:21Z")

</div>

I have a 25g droplet, which Discourse claims should be big enough, but I cannot do the upgrade to the latest version as I’ve run out of storage. My forum is very small with very little traffic. I ran ./launcher cleanup a…

---

## [Using Prometheous with Cloudflare](https://meta.discourse.org/t/using-prometheous-with-cloudflare/265022)

<div class="topic-metadata">

**Author:** [@helmi](https://meta.discourse.org/u/helmi)\
**Replies:** 8\
**Last updated:** [March 30, 2022, 6:56pm UTC](https://meta.discourse.org/t/using-prometheous-with-cloudflare/265022 "2022-03-30T18:56:51Z")

</div>

Has anyone yet tried this behind cloudflare without opening metrics to the whole public? Problem is that the original IP of prometheus is not at the usual spot in HTTP headers when behind cloudflare (or basically any pr…

---

## [Updated discourse and now my spacing is off](https://meta.discourse.org/t/updated-discourse-and-now-my-spacing-is-off/222355)

<div class="topic-metadata">

**Author:** [@stance455](https://meta.discourse.org/u/stance455)\
**Replies:** 7\
**Last updated:** [March 29, 2022, 6:43pm UTC](https://meta.discourse.org/t/updated-discourse-and-now-my-spacing-is-off/222355 "2022-03-29T18:43:17Z")

</div>

Not sure what happened here. While updating through the admin I got an error- so I went and used ./launcher rebuild app using terminal Seems the update went through however my spacing is off ( the site ) I also noticed…

---

## [Discourse login "unknown error" with socketed operation](https://meta.discourse.org/t/discourse-login-unknown-error-with-socketed-operation/222405)

<div class="topic-metadata">

**Author:** [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**Replies:** 0\
**Last updated:** [March 29, 2022, 6:32pm UTC](https://meta.discourse.org/t/discourse-login-unknown-error-with-socketed-operation/222405 "2022-03-29T18:32:16Z")

</div>

I have a problem with “unknown error” error message during login. From the logfiles, it looks like some kind of CSRF issue when opening the session (POST operation causes 403 response), but I dont understand the real roo…

---

## [Raspberry Pi 4 Installation](https://meta.discourse.org/t/raspberry-pi-4-installation/222338)

<div class="topic-metadata">

**Author:** [@bloodshot\_pico](https://meta.discourse.org/u/bloodshot_pico)\
**Replies:** 6\
**Last updated:** [March 29, 2022, 4:53pm UTC](https://meta.discourse.org/t/raspberry-pi-4-installation/222338 "2022-03-29T16:53:48Z")

</div>

So I’m trying to install this on a Raspberry Pi 4 with 4GB of RAM and it seems to be stuck at, “LOG: database system is shut down” Edit: I waited a little more for the Pi to continue to see if it was me being impatien…

---

## [Postgres connection error on 'bundle exec rails c'](https://meta.discourse.org/t/postgres-connection-error-on-bundle-exec-rails-c/222153)

<div class="topic-metadata">

**Author:** [@helmi](https://meta.discourse.org/u/helmi)\
**Replies:** 6\
**Last updated:** [March 28, 2022, 2:24pm UTC](https://meta.discourse.org/t/postgres-connection-error-on-bundle-exec-rails-c/222153 "2022-03-28T14:24:08Z")

</div>

I’m trying to change some forum settings through the console. I didn’t do that a lot yet so I searched for similar questions on the forum. Unfortunately when executing ‘bundle exec rails c’ i get an error trace that end…

---

## [Docker not found/working](https://meta.discourse.org/t/docker-not-found-working/109888)

<div class="topic-metadata">

**Author:** [@Jereme\_Wong](https://meta.discourse.org/u/Jereme_Wong)\
**Replies:** 9\
**Last updated:** [February 25, 2019, 11:07pm UTC](https://meta.discourse.org/t/docker-not-found-working/109888 "2019-02-25T23:07:08Z")

</div>

Hi, I can’t seem to get my docker to work after the upgrade. Can some kind soul point me the right way? I’m a noob at this. Thanks. I’m hosted on DigitalOcean. Cheers.

---

## [Rebake with rails command or rake task doesn't work, but rebuilding HTML does. Why?](https://meta.discourse.org/t/rebake-with-rails-command-or-rake-task-doesnt-work-but-rebuilding-html-does-why/220841)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**Replies:** 9\
**Last updated:** [March 27, 2022, 9:12pm UTC](https://meta.discourse.org/t/rebake-with-rails-command-or-rake-task-doesnt-work-but-rebuilding-html-does-why/220841 "2022-03-27T21:12:47Z")

</div>

Hi! I’m trying to repair posts with broken images, imported and containing BBcode. The images show up in the composer previews, but the final post content contains broken images: after using the “rebuild HTML” feat…

---

## [Error upgrading, failed to bootstrap](https://meta.discourse.org/t/error-upgrading-failed-to-bootstrap/221871)

<div class="topic-metadata">

**Author:** [@undasein](https://meta.discourse.org/u/undasein)\
**Replies:** 20\
**Last updated:** [March 26, 2022, 9:26pm UTC](https://meta.discourse.org/t/error-upgrading-failed-to-bootstrap/221871 "2022-03-26T21:26:36Z")

</div>

Hi there! I have a problem in last update: FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundl…

---

## [Need help with multisite configuration](https://meta.discourse.org/t/need-help-with-multisite-configuration/109831)

<div class="topic-metadata">

**Author:** [@foros](https://meta.discourse.org/u/foros)\
**Replies:** 12\
**Last updated:** [February 22, 2019, 7:54pm UTC](https://meta.discourse.org/t/need-help-with-multisite-configuration/109831 "2019-02-22T19:54:39Z")

</div>

Is there any speceifics for a newbie (in both, Ubuntu server + nginx web server) in regard to how to set up two domains (two totally different forums) in one server? I have been searching about this, but all the stuff I…

---

## [Failed to bootstrap (/tmp/add-cloudflare-ips)](https://meta.discourse.org/t/failed-to-bootstrap-tmp-add-cloudflare-ips/221667)

<div class="topic-metadata">

**Author:** [@GreenOWL](https://meta.discourse.org/u/GreenOWL)\
**Replies:** 17\
**Last updated:** [March 22, 2022, 7:45pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-tmp-add-cloudflare-ips/221667 "2022-03-22T19:45:46Z")

</div>

Hello! I have this error when try rebuild: FAILED -------------------- Pups::ExecError: /tmp/add-cloudflare-ips failed with return #\<Process::Status: pid 1484 exit 8\> Location of failure: /usr/local/lib/ruby/gems/2.7.0…

---

## [Discourse Hosting Limits?](https://meta.discourse.org/t/discourse-hosting-limits/221587)

<div class="topic-metadata">

**Author:** [@curly](https://meta.discourse.org/u/curly)\
**Replies:** 1\
**Last updated:** [March 22, 2022, 1:37pm UTC](https://meta.discourse.org/t/discourse-hosting-limits/221587 "2022-03-22T13:37:15Z")

</div>

I am wondering if there are some caveats with the custom extensions or plugins with the Discourse hosting as opposed to self-hosting? Looking to use a single sign on that is tied back to my games login credentials. For …

---

## [Cloudfront cdn with discourse?](https://meta.discourse.org/t/cloudfront-cdn-with-discourse/221439)

<div class="topic-metadata">

**Author:** [@freebie](https://meta.discourse.org/u/freebie)\
**Replies:** 13\
**Last updated:** [March 20, 2022, 4:08pm UTC](https://meta.discourse.org/t/cloudfront-cdn-with-discourse/221439 "2022-03-20T16:08:12Z")

</div>

Hey, I am a noob :frowning:. can someone help me add CloudFront CDN to my forum? Thanks for any help :jobs:

---

## [Adding www. to Domain](https://meta.discourse.org/t/adding-www-to-domain/221428)

<div class="topic-metadata">

**Author:** [@jamierobinson](https://meta.discourse.org/u/jamierobinson)\
**Replies:** 12\
**Last updated:** [March 20, 2022, 3:37pm UTC](https://meta.discourse.org/t/adding-www-to-domain/221428 "2022-03-20T15:37:32Z")

</div>

I have set up my Discourse community with Digital Ocean, but the domain name is “naked”, at just https://example.com. I would like to add the www., but not quite sure what I am doing when it comes to DNS settings! At th…

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

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