# Self-hosting

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

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

**Page:** 11

---

## [Major upgrade -- best practices?](https://meta.discourse.org/t/major-upgrade-best-practices/380545)

<div class="topic-metadata">

**Author:** [@dylanb](https://meta.discourse.org/u/dylanb)\
**Replies:** 11\
**Last updated:** [August 29, 2025, 4:19pm UTC](https://meta.discourse.org/t/major-upgrade-best-practices/380545 "2025-08-29T16:19:56Z")

</div>

My Discourse installation has fallen out of date (3.2.0.beta4-dev) and I need to upgrade to 3.5. I am worried about disturbing things and use a few plugins/integrations that I haven’t wanted to change (WP Discourse, logi…

---

## [Can Discourse run on CodeSandbox?](https://meta.discourse.org/t/can-discourse-run-on-codesandbox/380456)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 0\
**Last updated:** [August 27, 2025, 12:43am UTC](https://meta.discourse.org/t/can-discourse-run-on-codesandbox/380456 "2025-08-27T00:43:40Z")

</div>

I wonder, is it possible to run Discourse (as a dev environment) in CodeSandbox? IIRC it has sudo access and a 4 vCPU, 8 GB RAM tier for sandboxes.

---

## [Failing update](https://meta.discourse.org/t/failing-update/379986)

<div class="topic-metadata">

**Author:** [@rlauriston](https://meta.discourse.org/u/rlauriston)\
**Replies:** 32\
**Last updated:** [August 26, 2025, 3:38pm UTC](https://meta.discourse.org/t/failing-update/379986 "2025-08-26T15:38:22Z")

</div>

I, \[2025-08-23T07:21:01.134641 #1\] INFO -- : \> cd /var/www/discourse && su discourse -c 'find /var/www/discourse/vendor/bundle -name cache -not -path "\*/gems/\*" -type d -exec rm -rf {} +' I, \[2025-08-23T07:21:02.162053 …

---

## [Does the mail-receiver work with arm?](https://meta.discourse.org/t/does-the-mail-receiver-work-with-arm/283908)

<div class="topic-metadata">

**Author:** [@PrettyGirl](https://meta.discourse.org/u/PrettyGirl)\
**Replies:** 14\
**Last updated:** [August 22, 2025, 12:53am UTC](https://meta.discourse.org/t/does-the-mail-receiver-work-with-arm/283908 "2025-08-22T00:53:02Z")

</div>

I’m in ARM architecture and it throws errors at the above command. I guess this plugin is not suitable for arm? Is there any other plugin to receive mails for arms?

---

## [Crash after last update](https://meta.discourse.org/t/crash-nach-letztem-update/379435)

<div class="topic-metadata">

**Author:** [@biologist](https://meta.discourse.org/u/biologist)\
**Replies:** 3\
**Last updated:** [August 20, 2025, 9:13am UTC](https://meta.discourse.org/t/crash-nach-letztem-update/379435 "2025-08-20T09:13:15Z")

</div>

Hello everyone, I just tried to update to what I believe is beta 9 via the web interface. Unfortunately, this led to an error, so I ran rebuild app. Unfortunately, this also leads to an error…

---

## [Best practices for testing before upgrade?](https://meta.discourse.org/t/best-practices-for-testing-before-upgrade/379364)

<div class="topic-metadata">

**Author:** [@rahim123](https://meta.discourse.org/u/rahim123)\
**Replies:** 1\
**Last updated:** [August 19, 2025, 10:55pm UTC](https://meta.discourse.org/t/best-practices-for-testing-before-upgrade/379364 "2025-08-19T22:55:27Z")

</div>

Hi there, when I migrated my large conventional forum community to Discourse I had to implement a bunch of CSS tweaks in a theme component to make things work the way most of my users prefer. Generally most of these twea…

---

## [Fresh install discourse 3.4.7 fail : Failed to create 'badge\_posts' view](https://meta.discourse.org/t/fresh-install-discourse-3-4-7-fail-failed-to-create-badge-posts-view/378853)

<div class="topic-metadata">

**Author:** [@janfy](https://meta.discourse.org/u/janfy)\
**Replies:** 1\
**Last updated:** [August 16, 2025, 9:32am UTC](https://meta.discourse.org/t/fresh-install-discourse-3-4-7-fail-failed-to-create-badge-posts-view/378853 "2025-08-16T09:32:49Z")

</div>

Hi, Discourse v3.4.7 install from scratch failed with the following error : 08:18:53.15 INFO ==\> Populating database rake aborted! StandardError: An error has occurred, this and all later migrations canceled: (Standa…

---

## [10-year self-hosted discourse admin asks: why not launcher cleanup as part of rebuild?](https://meta.discourse.org/t/10-year-self-hosted-discourse-admin-asks-why-not-launcher-cleanup-as-part-of-rebuild/378204)

<div class="topic-metadata">

**Author:** [@Lee\_Ars](https://meta.discourse.org/u/Lee_Ars)\
**Replies:** 14\
**Last updated:** [August 15, 2025, 4:17pm UTC](https://meta.discourse.org/t/10-year-self-hosted-discourse-admin-asks-why-not-launcher-cleanup-as-part-of-rebuild/378204 "2025-08-15T16:17:18Z")

</div>

Hey all. My name is Lee, and I’ve been self-hosting Discourse on and off since 2013. I remember having to screw around with rbenv to even get started. I remember having to compile nginx with Phusion Passenger to make thi…

---

## [How can I minimize the discourse Docker image size?](https://meta.discourse.org/t/how-can-i-minimize-the-discourse-docker-image-size/378249)

<div class="topic-metadata">

**Author:** [@harishg33](https://meta.discourse.org/u/harishg33)\
**Replies:** 6\
**Last updated:** [August 14, 2025, 12:06am UTC](https://meta.discourse.org/t/how-can-i-minimize-the-discourse-docker-image-size/378249 "2025-08-14T00:06:08Z")

</div>

Hi All, We had to build a discourse image for deployment in our K8s cluster, which has some restrictions like no open internet access etc. The forum is meant to be internal, so no issues there. To acheive this, I follow…

---

## [Moving discourse instance to a new server](https://meta.discourse.org/t/moving-discourse-instance-to-a-new-server/378200)

<div class="topic-metadata">

**Author:** [@Headless](https://meta.discourse.org/u/Headless)\
**Replies:** 6\
**Last updated:** [August 11, 2025, 9:50pm UTC](https://meta.discourse.org/t/moving-discourse-instance-to-a-new-server/378200 "2025-08-11T21:50:11Z")

</div>

Before asking, did you search first? Press :magnifying\_glass\_tilted\_left: at the upper right to search Hello, I first want to thank you for any support you may offer. With that being said, I would like to discuss my …

---

## [Infinite loop during postgres upgrade](https://meta.discourse.org/t/infinite-loop-during-postgres-upgrade/91767)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**Replies:** 9\
**Last updated:** [August 11, 2025, 6:55am UTC](https://meta.discourse.org/t/infinite-loop-during-postgres-upgrade/91767 "2025-08-11T06:55:22Z")

</div>

Hi! Each time I launch /launcher rebuild app I get the following message (even if I launch it again) : UPGRADE OF POSTGRES COMPLETE Old 9.5 database is stored at /shared/postgres\_data\_old To complete the upgrade, rebuil…

---

## [Unable to upgrade Kore Community Instance](https://meta.discourse.org/t/unable-to-upgrade-kore-community-instance/377239)

<div class="topic-metadata">

**Author:** [@Srujan\_Madderla](https://meta.discourse.org/u/Srujan_Madderla)\
**Replies:** 4\
**Last updated:** [August 7, 2025, 6:16pm UTC](https://meta.discourse.org/t/unable-to-upgrade-kore-community-instance/377239 "2025-08-07T18:16:20Z")

</div>

Hi Team, We are trying to upgrade our on premise instance from the below version. 3.2.0.beta5-dev to 3.5.0.beta7 And we are seeing the below error. /var/discourse# ./launcher rebuild app ERROR: Docker version 18.06…

---

## [Guide to configure Discourse on Amazon Web services (AWS) EC2](https://meta.discourse.org/t/guide-to-configure-discourse-on-amazon-web-services-aws-ec2/147914)

<div class="topic-metadata">

**Author:** [@Axel\_Fernandes](https://meta.discourse.org/u/Axel_Fernandes)\
**Replies:** 3\
**Last updated:** [August 5, 2025, 12:02pm UTC](https://meta.discourse.org/t/guide-to-configure-discourse-on-amazon-web-services-aws-ec2/147914 "2025-08-05T12:02:42Z")

</div>

I’ve have written a guide on how to help you install the Discourse forum software on Ubuntu 18.04.4 LTS AWS EC2 instance with domain routing on AWS Route 53, SMTP on AWS SES and SSL certificate. Take a look at it, may…

---

## [Discourse Fails to update in the Admin UI - No matter what](https://meta.discourse.org/t/discourse-fails-to-update-in-the-admin-ui-no-matter-what/376244)

<div class="topic-metadata">

**Author:** [@jdc20181](https://meta.discourse.org/u/jdc20181)\
**Replies:** 31\
**Last updated:** [August 5, 2025, 9:11am UTC](https://meta.discourse.org/t/discourse-fails-to-update-in-the-admin-ui-no-matter-what/376244 "2025-08-05T09:11:53Z")

</div>

When updating using the UI updater in the admin section - It always fails. It has failed since I installed Discourse over a year ago. I can easily SSH into my server and update manually, but it is frustrating to have a f…

---

## [Issues Updating/Rebuilding to Beta7](https://meta.discourse.org/t/issues-updating-rebuilding-to-beta7/376181)

<div class="topic-metadata">

**Author:** [@hannsr](https://meta.discourse.org/u/hannsr)\
**Replies:** 11\
**Last updated:** [August 4, 2025, 12:21pm UTC](https://meta.discourse.org/t/issues-updating-rebuilding-to-beta7/376181 "2025-08-04T12:21:58Z")

</div>

Hi, I’m currently trying to update our DEV-Instance to the most recent Beta 7, coming from Beta 2. It’s running on the default \`tests-passed’ branch. My issue is that rebuilding the container ends in a connectivity is…

---

## [Selfhosting with Cloudflare/OPNSense/Dynamic External IP](https://meta.discourse.org/t/selfhosting-with-cloudflare-opnsense-dynamic-external-ip/377175)

<div class="topic-metadata">

**Author:** [@MorphZan](https://meta.discourse.org/u/MorphZan)\
**Replies:** 0\
**Last updated:** [August 4, 2025, 9:32am UTC](https://meta.discourse.org/t/selfhosting-with-cloudflare-opnsense-dynamic-external-ip/377175 "2025-08-04T09:32:43Z")

</div>

Hi All I would like to install Discourse and host from my home lab and I would like to use Cloudflare. Is there anyone who is currently doing this that can point me in the right direction. I “host” the domain name with…

---

## [Archived Plugins Now Bundled into Core – Migration & Version Compatibility Questions](https://meta.discourse.org/t/archived-plugins-now-bundled-into-core-migration-version-compatibility-questions/376819)

<div class="topic-metadata">

**Author:** [@Evie\_Tao](https://meta.discourse.org/u/Evie_Tao)\
**Replies:** 1\
**Last updated:** [August 1, 2025, 8:05am UTC](https://meta.discourse.org/t/archived-plugins-now-bundled-into-core-migration-version-compatibility-questions/376819 "2025-08-01T08:05:31Z")

</div>

Hi, I’m running Discourse via the official discourse\_docker setup, and in my web\_only container I currently install several plugins by cloning their repositories under /var/www/discourse/plugins using Docker hooks: a…

---

## [Notes on methods for bulk posting using API](https://meta.discourse.org/t/api/278771)

<div class="topic-metadata">

**Author:** [@zengyunsi](https://meta.discourse.org/u/zengyunsi)\
**Replies:** 2\
**Last updated:** [July 31, 2025, 10:38am UTC](https://meta.discourse.org/t/api/278771 "2025-07-31T10:38:25Z")

</div>

Notes on Batch Posting Using the API env: LC\_ALL: en\_US.UTF-8 LANG: en\_US.UTF-8 LANGUAGE: en\_US.UTF-8 # Maximum number of API requests per minute for a user # DISCOURSE\_MAX\_USER\_API\_REQS\_PER\_MINUTE: 10000 …

---

## [Help me debug failed migrations PushFixTopicEmbedAuthorsJob](https://meta.discourse.org/t/help-me-debug-failed-migrations-pushfixtopicembedauthorsjob/376496)

<div class="topic-metadata">

**Author:** [@MichaIng](https://meta.discourse.org/u/MichaIng)\
**Replies:** 8\
**Last updated:** [July 30, 2025, 1:57am UTC](https://meta.discourse.org/t/help-me-debug-failed-migrations-pushfixtopicembedauthorsjob/376496 "2025-07-30T01:57:45Z")

</div>

Okay, that makes sense :+1:. As long as those added plugins are not enabled by default, at least not for existing instances, all good. But regarding the gem dependency changes, and the multiple database migration fail…

---

## [No secure Connection to self-hosted Discourse after latest update](https://meta.discourse.org/t/no-secure-connection-to-self-hosted-discourse-after-latest-update/376163)

<div class="topic-metadata">

**Author:** [@lubezniy](https://meta.discourse.org/u/lubezniy)\
**Replies:** 10\
**Last updated:** [July 29, 2025, 11:06am UTC](https://meta.discourse.org/t/no-secure-connection-to-self-hosted-discourse-after-latest-update/376163 "2025-07-29T11:06:39Z")

</div>

Hi. I have updated some hours ago Discourse Image and Discourse using ./launcher rebuild app . In process, i’ve got some errors which were fixed by removing deprecated plugin installation lines from app.yml . No other co…

---

## [Troubleshooting bootstrap failures in Discourse](https://meta.discourse.org/t/troubleshooting-bootstrap-failures-in-discourse/376072)

<div class="topic-metadata">

**Author:** [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**Replies:** 13\
**Last updated:** [July 28, 2025, 8:23am UTC](https://meta.discourse.org/t/troubleshooting-bootstrap-failures-in-discourse/376072 "2025-07-28T08:23:10Z")

</div>

I am still struggling with the new “pre-bundling” process. The bootstrap fails on my test instance and I dont know why. Note that this is is a setup with an external postgres database. The containers run behind a haproxy…

---

## [How do I find out what is causing this spike?](https://meta.discourse.org/t/how-do-i-find-out-what-is-causing-this-spike/376092)

<div class="topic-metadata">

**Author:** [@SubStrider](https://meta.discourse.org/u/SubStrider)\
**Replies:** 5\
**Last updated:** [July 28, 2025, 8:16am UTC](https://meta.discourse.org/t/how-do-i-find-out-what-is-causing-this-spike/376092 "2025-07-28T08:16:11Z")

</div>

So I noticed something spiking up the server resources abnormally and excessively high during the last few hours. What could cause this? The graph has the following data in that order Bandwidth CPU DISK

---

## [How to Install Discourse Plugins Hosted in Private Repositories Using SSH Key?](https://meta.discourse.org/t/how-to-install-discourse-plugins-hosted-in-private-repositories-using-ssh-key/375854)

<div class="topic-metadata">

**Author:** [@copymonopoly](https://meta.discourse.org/u/copymonopoly)\
**Replies:** 8\
**Last updated:** [July 26, 2025, 7:13am UTC](https://meta.discourse.org/t/how-to-install-discourse-plugins-hosted-in-private-repositories-using-ssh-key/375854 "2025-07-26T07:13:18Z")

</div>

I followed the official Discourse guide for installing plugins on a self-hosted site (official tutorial), but it dates back to 2014, and I’m quite sure much of the information is now outdated. I also tried some of the m…

---

## [Is there a free vps or container that can run Discourse?](https://meta.discourse.org/t/is-there-a-free-vps-or-container-that-can-run-discourse/333019)

<div class="topic-metadata">

**Author:** [@14569](https://meta.discourse.org/u/14569)\
**Replies:** 6\
**Last updated:** [July 25, 2025, 5:04pm UTC](https://meta.discourse.org/t/is-there-a-free-vps-or-container-that-can-run-discourse/333019 "2025-07-25T17:04:55Z")

</div>

I don’t have a credit card or a TG account.There is not even a payment method. I know vpsfree.es, but this vps is out of stock. I believe it is difficult to solve this problem.

---

## [Bootstrap failed with exit code 128](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-128/373873)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 30\
**Last updated:** [July 25, 2025, 2:39pm UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-128/373873 "2025-07-25T14:39:02Z")

</div>

Hi, my old container still works, but i’m having trouble rebuilding. The same error appeared on both attempts before and after updating the ubuntu kernel by apt upgrade regardless of the implementation of this

---

## [Cannot ./launcher rebuild app](https://meta.discourse.org/t/cannot-launcher-rebuild-app/375615)

<div class="topic-metadata">

**Author:** [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)\
**Replies:** 5\
**Last updated:** [July 24, 2025, 10:15pm UTC](https://meta.discourse.org/t/cannot-launcher-rebuild-app/375615 "2025-07-24T22:15:13Z")

</div>

Hi All i have the below error any idea on how to fix it ? FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #\<Process::Status: pid 571…

---

## [Discourse Online Updater & ./launcher rebuild app failed from Discourse gamification](https://meta.discourse.org/t/discourse-online-updater-launcher-rebuild-app-failed-from-discourse-gamification/375682)

<div class="topic-metadata">

**Author:** [@joshhabka](https://meta.discourse.org/u/joshhabka)\
**Replies:** 2\
**Last updated:** [July 24, 2025, 7:03pm UTC](https://meta.discourse.org/t/discourse-online-updater-launcher-rebuild-app-failed-from-discourse-gamification/375682 "2025-07-24T19:03:58Z")

</div>

I think Discourse-gamification plugin is causing this issue since it is right before the “Terminating async processes” and shuts down the Redis. It spits this error out below: FAILED -------------------- Pups::ExecError…

---

## ["Your local changes.... templates/postgres.template.yml"](https://meta.discourse.org/t/your-local-changes-templates-postgres-template-yml/375582)

<div class="topic-metadata">

**Author:** [@joshhabka](https://meta.discourse.org/u/joshhabka)\
**Replies:** 7\
**Last updated:** [July 24, 2025, 7:02pm UTC](https://meta.discourse.org/t/your-local-changes-templates-postgres-template-yml/375582 "2025-07-24T19:02:58Z")

</div>

Discourse is not starting. The logs for the container show: ok: run: redis: (pid 47) 791s ok: run: postgres: (pid 44) 791s supervisor pid: 4051 unicorn pid: 4056 ./config/unicorn\_launcher: line 71: kill: (4056) - No suc…

---

## [How to install specific version/release?](https://meta.discourse.org/t/how-to-install-specific-version-release/375028)

<div class="topic-metadata">

**Author:** [@lejeczek](https://meta.discourse.org/u/lejeczek)\
**Replies:** 6\
**Last updated:** [July 21, 2025, 10:58pm UTC](https://meta.discourse.org/t/how-to-install-specific-version-release/375028 "2025-07-21T22:58:56Z")

</div>

Hi guys. I’ve browsed the forum in search for an answer/docs - found something that was supposed to work - but cannot, am unable to find a way to get specific release. I’m reading that adding, eg.: version: v3.4.6 into…

---

## [New to Discourse and find that my install is slow](https://meta.discourse.org/t/new-to-discourse-and-find-that-my-install-is-slow/373054)

<div class="topic-metadata">

**Author:** [@hobbyDB](https://meta.discourse.org/u/hobbyDB)\
**Replies:** 8\
**Last updated:** [July 21, 2025, 10:13pm UTC](https://meta.discourse.org/t/new-to-discourse-and-find-that-my-install-is-slow/373054 "2025-07-21T22:13:23Z")

</div>

We’ve been running our Discourse instance for a few months on forum.hobbydb.com now to support our growing collectible database with a community (replacing various Facebook groups). While everything is functionally stabl…

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

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