# Self-hosting

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

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

**Page:** 21

---

## [Backups go to s3, but still a few random local backups stored](https://meta.discourse.org/t/backups-go-to-s3-but-still-a-few-random-local-backups-stored/314903)

<div class="topic-metadata">

**Author:** [@rahim123](https://meta.discourse.org/u/rahim123)\
**Replies:** 2\
**Last updated:** [August 10, 2024, 5:42pm UTC](https://meta.discourse.org/t/backups-go-to-s3-but-still-a-few-random-local-backups-stored/314903 "2024-08-10T17:42:36Z")

</div>

Hi there, I was checking my disk space and I found a significant amount of data in /var/discourse/shared/standalone/backups/default/ despite my backups being configured to s3. 3.6G Sep 15 2023 forum-com-2023-09-15-0606…

---

## [Rebuilding discourse when executing some place, my server will be a lot of lag](https://meta.discourse.org/t/rebuilding-discourse-when-executing-some-place-my-server-will-be-a-lot-of-lag/321033)

<div class="topic-metadata">

**Author:** [@0x22f1a6543a0](https://meta.discourse.org/u/0x22f1a6543a0)\
**Replies:** 0\
**Last updated:** [August 10, 2024, 1:47pm UTC](https://meta.discourse.org/t/rebuilding-discourse-when-executing-some-place-my-server-will-be-a-lot-of-lag/321033 "2024-08-10T13:47:57Z")

</div>

When the build is executed to print “Node.js heap\_size\_limit (888.75) is less than 2048MB. Setting --max-old-space-size=2048 and CHEAP\_SOURCE\_MAPS=1” servre will be a lot of lag, why? and i wait it over 1 hours…it’s usel…

---

## [My Discourse is down. Can't load anything](https://meta.discourse.org/t/my-discourse-is-down-cant-load-anything/321020)

<div class="topic-metadata">

**Author:** [@WesPenre](https://meta.discourse.org/u/WesPenre)\
**Replies:** 18\
**Last updated:** [August 10, 2024, 1:00pm UTC](https://meta.discourse.org/t/my-discourse-is-down-cant-load-anything/321020 "2024-08-10T13:00:39Z")

</div>

Hello support team, My Discourse page at https://wespenreboards.com/ is down. We can’t even pull up the login page. I have had a problem with certificates before, but that doesn’t seem to be the case this time. I ran th…

---

## [How to separate uploaded files to another server](https://meta.discourse.org/t/how-to-separate-uploaded-files-to-another-server/320994)

<div class="topic-metadata">

**Author:** [@Yt.w](https://meta.discourse.org/u/Yt.w)\
**Replies:** 4\
**Last updated:** [August 10, 2024, 7:59am UTC](https://meta.discourse.org/t/how-to-separate-uploaded-files-to-another-server/320994 "2024-08-10T07:59:04Z")

</div>

I have 2 VPS, and I would like set 1 VPS only save upload files. and another 1 only run discourse program. Is there any way to do it?

---

## [Rebuild appears to work, but site is not loading properly](https://meta.discourse.org/t/rebuild-appears-to-work-but-site-is-not-loading-properly/320934)

<div class="topic-metadata">

**Author:** [@keith2](https://meta.discourse.org/u/keith2)\
**Replies:** 3\
**Last updated:** [August 9, 2024, 10:58pm UTC](https://meta.discourse.org/t/rebuild-appears-to-work-but-site-is-not-loading-properly/320934 "2024-08-09T22:58:13Z")

</div>

How do I properly troubleshoot it? It looks like I might have an issue with letsencrypt not being able to renew the certificate. When running .launcher logs app the logs mention checking /shared/letsencrypt, but tha…

---

## [Discourse AI plugin failing container rebuilds/bootstrappings](https://meta.discourse.org/t/discourse-ai-plugin-failing-container-rebuilds-bootstrappings/320875)

<div class="topic-metadata">

**Author:** [@Bathinda](https://meta.discourse.org/u/Bathinda)\
**Replies:** 7\
**Last updated:** [August 9, 2024, 11:42am UTC](https://meta.discourse.org/t/discourse-ai-plugin-failing-container-rebuilds-bootstrappings/320875 "2024-08-09T11:42:03Z")

</div>

Today I tried to update thru UI/One Click upgrade. It failed. Currently I’m on: 3.4.0.beta1-dev (65895f44e9) I tried to rebuild the web\_only container, but it failed too, and succeeds only when I disable Discourse AI…

---

## [Latest update won't build due to various reasons](https://meta.discourse.org/t/latest-update-wont-build-due-to-various-reasons/314875)

<div class="topic-metadata">

**Author:** [@KCAS](https://meta.discourse.org/u/KCAS)\
**Replies:** 24\
**Last updated:** [August 9, 2024, 10:58am UTC](https://meta.discourse.org/t/latest-update-wont-build-due-to-various-reasons/314875 "2024-08-09T10:58:59Z")

</div>

Latest update wont build with the following errors. Failed on UI update and CLI. FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #\<P…

---

## [Mail gun permanently disabled my account after I created it for the first time](https://meta.discourse.org/t/mail-gun-permanently-disabled-my-account-after-i-created-it-for-the-first-time/281671)

<div class="topic-metadata">

**Author:** [@ojike](https://meta.discourse.org/u/ojike)\
**Replies:** 5\
**Last updated:** [August 8, 2024, 8:45pm UTC](https://meta.discourse.org/t/mail-gun-permanently-disabled-my-account-after-i-created-it-for-the-first-time/281671 "2024-08-08T20:45:48Z")

</div>

My Mailgun account was first temporarily disabled. I contacted the support team and they asked me my purpose of creating it. I told them it’s for discourse forum…then I got the following response from them: “ Hello , T…

---

## [Trouble upgrading from 3.3.0.beta1 to 3.3.0.beta6](https://meta.discourse.org/t/trouble-upgrading-from-3-3-0-beta1-to-3-3-0-beta6/320376)

<div class="topic-metadata">

**Author:** [@kf\_stbrst](https://meta.discourse.org/u/kf_stbrst)\
**Replies:** 22\
**Last updated:** [August 8, 2024, 6:40pm UTC](https://meta.discourse.org/t/trouble-upgrading-from-3-3-0-beta1-to-3-3-0-beta6/320376 "2024-08-08T18:40:00Z")

</div>

Hi all - we’re having trouble upgrading our Discourse Forum from 3.3.0.beta1 to 3.3.0.beta6. We followed the instructions in the admin panel: cd /var/discourse git pull ./launcher rebuild app We also upgra…

---

## [Error upgrading to 3.3.0-beta6 because of yarn timeout](https://meta.discourse.org/t/error-upgrading-to-3-3-0-beta6-because-of-yarn-timeout/320526)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 8\
**Last updated:** [August 7, 2024, 12:52pm UTC](https://meta.discourse.org/t/error-upgrading-to-3-3-0-beta6-because-of-yarn-timeout/320526 "2024-08-07T12:52:37Z")

</div>

I get this error: I, \[2024-08-07T11:22:31.056567 #1\] INFO -- : \> cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' warning Resolution field "unset-value@2.0.1" is incompatibl…

---

## [Cloudflare - can't provide a secure connection](https://meta.discourse.org/t/cloudflare-cant-provide-a-secure-connection/320304)

<div class="topic-metadata">

**Author:** [@ScrapBlox](https://meta.discourse.org/u/ScrapBlox)\
**Replies:** 0\
**Last updated:** [August 6, 2024, 7:00am UTC](https://meta.discourse.org/t/cloudflare-cant-provide-a-secure-connection/320304 "2024-08-06T07:00:42Z")

</div>

I’m using a self hosted version of discourse and have come across this issue where cloudflare SSL seems to only work with some browsers. I’ve tried asking this in cloudflare community already. The forum can be found: h…

---

## [Discourse with Cloudflare and Digital Ocean](https://meta.discourse.org/t/discourse-with-cloudflare-and-digital-ocean/320099)

<div class="topic-metadata">

**Author:** [@lilacbull](https://meta.discourse.org/u/lilacbull)\
**Replies:** 2\
**Last updated:** [August 5, 2024, 11:40pm UTC](https://meta.discourse.org/t/discourse-with-cloudflare-and-digital-ocean/320099 "2024-08-05T23:40:05Z")

</div>

Hello! I’m a newcomer here trying to perhaps start a community with Discourse. I started my journey with the following How-To on installing Discourse with Digital Ocean: I already had accounts with Cloudflare so it w…

---

## [Configure DISCOURSE\_DB\_BACKUP\_PORT=](https://meta.discourse.org/t/configure-discourse-db-backup-port/320188)

<div class="topic-metadata">

**Author:** [@Leonardosilva](https://meta.discourse.org/u/Leonardosilva)\
**Replies:** 0\
**Last updated:** [August 5, 2024, 1:58pm UTC](https://meta.discourse.org/t/configure-discourse-db-backup-port/320188 "2024-08-05T13:58:34Z")

</div>

How should I configure DISCOURSE\_DB\_BACKUP\_PORT= for external postgree?

---

## [How to Install Discourse on CyberPanel?](https://meta.discourse.org/t/how-to-install-discourse-on-cyberpanel/212512)

<div class="topic-metadata">

**Author:** [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)\
**Replies:** 11\
**Last updated:** [August 4, 2024, 7:00pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-cyberpanel/212512 "2024-08-04T19:00:02Z")

</div>

I Have Digital Ocean Droplet OS: Ubuntu Installed CyberPanel how to install Discourse on cyberpanel?

---

## [Error trying to restore my forum](https://meta.discourse.org/t/error-trying-to-restore-my-forum/319987)

<div class="topic-metadata">

**Author:** [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)\
**Replies:** 10\
**Last updated:** [August 4, 2024, 11:28am UTC](https://meta.discourse.org/t/error-trying-to-restore-my-forum/319987 "2024-08-04T11:28:11Z")

</div>

Hello, I’m trying to restore my forum from DO to lightsail. Everything went well, but when I try to restore, this error message appears: \[2024-08-03 19:46:08\] ERROR: memory required is 77 MB, maintenance\_work\_mem is 64…

---

## [Get Error Oops The software powering this discussion forum encountered an unexpected problem after upgrade](https://meta.discourse.org/t/get-error-oops-the-software-powering-this-discussion-forum-encountered-an-unexpected-problem-after-upgrade/315869)

<div class="topic-metadata">

**Author:** [@thaidb](https://meta.discourse.org/u/thaidb)\
**Replies:** 18\
**Last updated:** [August 4, 2024, 10:37am UTC](https://meta.discourse.org/t/get-error-oops-the-software-powering-this-discussion-forum-encountered-an-unexpected-problem-after-upgrade/315869 "2024-08-04T10:37:02Z")

</div>

I get this message after upgrade via command .launcher rebuild app : Oops The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience. Detailed information about t…

---

## [Business plugins and install on-premise](https://meta.discourse.org/t/business-plugins-and-install-on-premise/320028)

<div class="topic-metadata">

**Author:** [@Wojciech\_Szczepanik](https://meta.discourse.org/u/Wojciech_Szczepanik)\
**Replies:** 1\
**Last updated:** [August 4, 2024, 7:59am UTC](https://meta.discourse.org/t/business-plugins-and-install-on-premise/320028 "2024-08-04T07:59:06Z")

</div>

Hi! I’m a little bit confused. I understand that if I setup a Discourse on your servers I’ll have all the plugins (the business ones on the business plan and so on). But what if I want to setup Discourse on-premise? Are…

---

## [What Causes Error rake Aborted StandardError](https://meta.discourse.org/t/what-causes-error-rake-aborted-standarderror/319957)

<div class="topic-metadata">

**Author:** [@Aaron\_Walsh](https://meta.discourse.org/u/Aaron_Walsh)\
**Replies:** 9\
**Last updated:** [August 3, 2024, 12:57pm UTC](https://meta.discourse.org/t/what-causes-error-rake-aborted-standarderror/319957 "2024-08-03T12:57:18Z")

</div>

Every time I come to use my Discourse hosting server, it always fails, and I need to use ./discourse-doctor. Why is this? rake aborted! StandardError: An error has occurred, this and all later migrations canceled: (Stan…

---

## [Can the change of the IP of the host affect email delivery?](https://meta.discourse.org/t/can-the-change-of-the-ip-of-the-host-affect-email-delivery/319709)

<div class="topic-metadata">

**Author:** [@rrodrigueznt](https://meta.discourse.org/u/rrodrigueznt)\
**Replies:** 2\
**Last updated:** [August 2, 2024, 6:45pm UTC](https://meta.discourse.org/t/can-the-change-of-the-ip-of-the-host-affect-email-delivery/319709 "2024-08-02T18:45:38Z")

</div>

Hi! We have a Discourse instance running on an Ubuntu 22.04.4 LTS server. Fully updated. It is reachable at https://forum.igfae.usc.es/. Due to some changes in infrastructure, we need to change the IP address of the serv…

---

## [Error during the update ESOCKETTIMEDOUT registry.yarnpkg.com](https://meta.discourse.org/t/error-during-the-update-esockettimedout-registry-yarnpkg-com/268613)

<div class="topic-metadata">

**Author:** [@kovalr](https://meta.discourse.org/u/kovalr)\
**Replies:** 5\
**Last updated:** [August 2, 2024, 6:33pm UTC](https://meta.discourse.org/t/error-during-the-update-esockettimedout-registry-yarnpkg-com/268613 "2024-08-02T18:33:25Z")

</div>

Trying to update Discourse via the manual procedure git pull ./launcher rebuild app ... ./discourse-doctor shows an error I, \[2023-06-16T11:39:43.530890 #1\] INFO -- : \> cd /var/www/discourse && su discourse -c 'yarn…

---

## [Error during rebuild: registry.yarnpkg.com ESOCKETTIMEDOUT](https://meta.discourse.org/t/error-during-rebuild-registry-yarnpkg-com-esockettimedout/319714)

<div class="topic-metadata">

**Author:** [@ygramoel](https://meta.discourse.org/u/ygramoel)\
**Replies:** 4\
**Last updated:** [August 2, 2024, 6:25pm UTC](https://meta.discourse.org/t/error-during-rebuild-registry-yarnpkg-com-esockettimedout/319714 "2024-08-02T18:25:50Z")

</div>

I am running a self-hosted instance of Discourse at https://forum.embeetle.com. Yesterday, the one-click browser upgrade failed, so I logged in to the server and tried ./launcher rebuild app. This failed too, with the…

---

## [Google-protobuf version issue error updating to 3.2.2 from 3.2.1](https://meta.discourse.org/t/google-protobuf-version-issue-error-updating-to-3-2-2-from-3-2-1/312118)

<div class="topic-metadata">

**Author:** [@hendersj](https://meta.discourse.org/u/hendersj)\
**Replies:** 7\
**Last updated:** [August 1, 2024, 7:24pm UTC](https://meta.discourse.org/t/google-protobuf-version-issue-error-updating-to-3-2-2-from-3-2-1/312118 "2024-08-01T19:24:48Z")

</div>

Continuing the discussion from Breaking change for people on stable versions (v3.2.1 and down) with discourse\_docker: I’ve been attempting to upgrade from 3.2.1 to 3.2.2 and have run into this - I tried reverting back t…

---

## [Cannot rebuild with Discourse AI](https://meta.discourse.org/t/cannot-rebuild-with-discourse-ai/315823)

<div class="topic-metadata">

**Author:** [@aas](https://meta.discourse.org/u/aas)\
**Replies:** 1\
**Last updated:** [August 1, 2024, 4:12pm UTC](https://meta.discourse.org/t/cannot-rebuild-with-discourse-ai/315823 "2024-08-01T16:12:37Z")

</div>

I got this error after running ./launcher rebuild app ▶ Rebuild Error Removing discourse-ai from my list of plugins fixes the issue. @gpt4o\_bot suggested the following, which I didn’t try because I’m not sure if I shoul…

---

## [Rebuild Failed: bootstrap failed with exit code 137](https://meta.discourse.org/t/rebuild-failed-bootstrap-failed-with-exit-code-137/319356)

<div class="topic-metadata">

**Author:** [@isubbu](https://meta.discourse.org/u/isubbu)\
**Replies:** 5\
**Last updated:** [July 31, 2024, 1:11pm UTC](https://meta.discourse.org/t/rebuild-failed-bootstrap-failed-with-exit-code-137/319356 "2024-07-31T13:11:51Z")

</div>

I get the following error when trying to rebuild. Saw similar thread in here and removed some plugins but that didnt resolve the issue Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:p…

---

## [IP Lookup is Pulling CDN's X-Forwarded-For](https://meta.discourse.org/t/ip-lookup-is-pulling-cdns-x-forwarded-for/202918)

<div class="topic-metadata">

**Author:** [@hyphalos](https://meta.discourse.org/u/hyphalos)\
**Replies:** 8\
**Last updated:** [July 30, 2024, 9:10pm UTC](https://meta.discourse.org/t/ip-lookup-is-pulling-cdns-x-forwarded-for/202918 "2024-07-30T21:10:26Z")

</div>

Hi Discourse community! Am I correct to assume that IP Lookup gets the last IP from the X-Forwarded-For header? Cloudfront seems to be attaching their IP at the end. How would we modify nginx to remove the last IP in t…

---

## [User summary - guessable URL](https://meta.discourse.org/t/user-summary-guessable-url/319157)

<div class="topic-metadata">

**Author:** [@tkforbes](https://meta.discourse.org/u/tkforbes)\
**Replies:** 5\
**Last updated:** [July 30, 2024, 10:57am UTC](https://meta.discourse.org/t/user-summary-guessable-url/319157 "2024-07-30T10:57:03Z")

</div>

I’ve just installed a new Discourse and imported a history of interactions from another forum type. I’m executing some tests so that I can better learn about Discourse and so I can ensure it is locked up - the discussion…

---

## [How I can add plugin to my discourse](https://meta.discourse.org/t/how-i-can-add-plugin-to-my-discourse/319198)

<div class="topic-metadata">

**Author:** [@Campa](https://meta.discourse.org/u/Campa)\
**Replies:** 2\
**Last updated:** [July 30, 2024, 10:11am UTC](https://meta.discourse.org/t/how-i-can-add-plugin-to-my-discourse/319198 "2024-07-30T10:11:35Z")

</div>

I want to add plugin to my discourse https://github.com/Mittineague/discourse-plugin-outlet-locations

---

## [Change server to a two-container setup](https://meta.discourse.org/t/change-server-to-a-two-container-setup/316424)

<div class="topic-metadata">

**Author:** [@Saiano](https://meta.discourse.org/u/Saiano)\
**Replies:** 17\
**Last updated:** [July 29, 2024, 8:06pm UTC](https://meta.discourse.org/t/change-server-to-a-two-container-setup/316424 "2024-07-29T20:06:16Z")

</div>

Hi, I have two questions: Wich domain name should I use when setting up a staging server to a local server? Is it possibile to install the staging server with 2 containers mode and restore data automatically from s3? …

---

## [Issue with Database Not Found During Job Execution in Discourse](https://meta.discourse.org/t/issue-with-database-not-found-during-job-execution-in-discourse/317773)

<div class="topic-metadata">

**Author:** [@evenlo](https://meta.discourse.org/u/evenlo)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 8:55am UTC](https://meta.discourse.org/t/issue-with-database-not-found-during-job-execution-in-discourse/317773 "2024-07-29T08:55:20Z")

</div>

Hello Discourse Community, I am experiencing an issue with my Discourse setup, specifically when executing background jobs. The error does not affect the frontend of the forum, which continues to operate normally. The …

---

## [Discourse Admin not accessible (3.3.0beta4)](https://meta.discourse.org/t/discourse-admin-not-accessible-3-3-0beta4/318888)

<div class="topic-metadata">

**Author:** [@bkuntz](https://meta.discourse.org/u/bkuntz)\
**Replies:** 2\
**Last updated:** [July 28, 2024, 6:46pm UTC](https://meta.discourse.org/t/discourse-admin-not-accessible-3-3-0beta4/318888 "2024-07-28T18:46:02Z")

</div>

Dear all, Similar to this old post, I’m not able to access any admin function anymore. Yesterday evening I did a rebuild to upgrade from 3.2.0 to 3.3.0beta4, everything went fine. After the rebuild everything was alri…

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

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