# Self-hosting

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

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

**Page:** 26

---

## [Cannot upgrade - app rebuild fails to boostrap](https://meta.discourse.org/t/cannot-upgrade-app-rebuild-fails-to-boostrap/310074)

<div class="topic-metadata">

**Author:** [@gilgongo](https://meta.discourse.org/u/gilgongo)\
**Replies:** 7\
**Last updated:** [May 31, 2024, 6:08pm UTC](https://meta.discourse.org/t/cannot-upgrade-app-rebuild-fails-to-boostrap/310074 "2024-05-31T18:08:53Z")

</div>

I had a notification that I needed to upgrade our installation, so I went to the admin and saw this: Hitting the upgrade link triggered a check, but both came back with “up to date”. So I tried ./launcher rebuild ap…

---

## [Help with Rails console to edit text template](https://meta.discourse.org/t/help-with-rails-console-to-edit-text-template/308691)

<div class="topic-metadata">

**Author:** [@nordize](https://meta.discourse.org/u/nordize)\
**Replies:** 7\
**Last updated:** [May 30, 2024, 2:08am UTC](https://meta.discourse.org/t/help-with-rails-console-to-edit-text-template/308691 "2024-05-30T02:08:19Z")

</div>

I’d like to edit directly in rails a text template, say user\_notifications.user\_watching\_first\_post.text\_body\_template. Can someone please help point me to the rails console commands for this? I’m not rails savvy and co…

---

## [Yarn error](https://meta.discourse.org/t/yarn-error/307319)

<div class="topic-metadata">

**Author:** [@Genisis](https://meta.discourse.org/u/Genisis)\
**Replies:** 22\
**Last updated:** [May 29, 2024, 12:42pm UTC](https://meta.discourse.org/t/yarn-error/307319 "2024-05-29T12:42:46Z")

</div>

stuck on this for like 6 mins now while rebuilding

---

## [DiscourseConnect generates HTTP redirects even with force\_https on](https://meta.discourse.org/t/discourseconnect-generates-http-redirects-even-with-force-https-on/309338)

<div class="topic-metadata">

**Author:** [@matiasgarciaisaia](https://meta.discourse.org/u/matiasgarciaisaia)\
**Replies:** 4\
**Last updated:** [May 27, 2024, 4:33pm UTC](https://meta.discourse.org/t/discourseconnect-generates-http-redirects-even-with-force-https-on/309338 "2024-05-27T16:33:10Z")

</div>

I’m running Discourse behind Traefik in a custom setup - giving Discourse its own VM is not an option here. My Discourse doesn’t have SSL/Let’sEncrypt templates enabled, since Traefik won’t let plain HTTP requests reach…

---

## [Does the Discourse install set a default postgres password?](https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**Replies:** 3\
**Last updated:** [May 26, 2024, 9:29am UTC](https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639 "2024-05-26T09:29:58Z")

</div>

Hi, I’m trying to get into the Discourse PostgreSQL database to learn how it’s laid out so I can do some tweaks to the import script to meet my specific needs. Only problem is that I can’t get into psql in the docker. W…

---

## [How to view sidekiq dashboard?](https://meta.discourse.org/t/how-to-view-sidekiq-dashboard/309228)

<div class="topic-metadata">

**Author:** [@Mudit\_Maheshwari](https://meta.discourse.org/u/Mudit_Maheshwari)\
**Replies:** 0\
**Last updated:** [May 23, 2024, 11:59pm UTC](https://meta.discourse.org/t/how-to-view-sidekiq-dashboard/309228 "2024-05-23T23:59:25Z")

</div>

We recently discovered that we are running sidekiq using both the Unicorn (bin/unicorn -c config/unicorn.conf.rb) and Sidekiq (sidekiq -C ./sidekiq.yml) commands. However, when checking the Sidekiq dashboard ({DISCOURSE\_…

---

## [Can't get Ruby to update so ./launcher rebuild app keeps failing](https://meta.discourse.org/t/cant-get-ruby-to-update-so-launcher-rebuild-app-keeps-failing/307959)

<div class="topic-metadata">

**Author:** [@robobobo](https://meta.discourse.org/u/robobobo)\
**Replies:** 15\
**Last updated:** [May 22, 2024, 10:21pm UTC](https://meta.discourse.org/t/cant-get-ruby-to-update-so-launcher-rebuild-app-keeps-failing/307959 "2024-05-22T22:21:43Z")

</div>

Hi there, I have recently migrated a server image that has Docker Discourse installed on it I can get everything up and running, but I need to re-issue the SSL cert Since the old server had SSL configured, I’m followi…

---

## [How to create local Discourse with only http (no https)?](https://meta.discourse.org/t/how-to-create-local-discourse-with-only-http-no-https/300836)

<div class="topic-metadata">

**Author:** [@Isambard](https://meta.discourse.org/u/Isambard)\
**Replies:** 4\
**Last updated:** [May 22, 2024, 7:27am UTC](https://meta.discourse.org/t/how-to-create-local-discourse-with-only-http-no-https/300836 "2024-05-22T07:27:56Z")

</div>

I’m trying to install discourse on my laptop to do some tests before making changes on my real version. (writing scripts that will run on the real docker instance) My laptop has no domain name, so I can’t get a let’s …

---

## [Disable HTTPS or configure get Let's Encrypt DNS challenge](https://meta.discourse.org/t/disable-https-or-configure-get-lets-encrypt-dns-challenge/308746)

<div class="topic-metadata">

**Author:** [@Marek\_Wojtaszek](https://meta.discourse.org/u/Marek_Wojtaszek)\
**Replies:** 1\
**Last updated:** [May 21, 2024, 7:10am UTC](https://meta.discourse.org/t/disable-https-or-configure-get-lets-encrypt-dns-challenge/308746 "2024-05-21T07:10:24Z")

</div>

This is my third post on that, I am so sorry to flood you with that, but I here wanted make the thread as simple as possible. I have horrible issues with getting the HTTP based Let’s Encrypt certificates since my server…

---

## [Problems with upgrading from 3.3.0-beta2-dev to 3.3.0-beta2](https://meta.discourse.org/t/problems-with-upgrading-from-3-3-0-beta2-dev-to-3-3-0-beta2/308430)

<div class="topic-metadata">

**Author:** [@Marek\_Wojtaszek](https://meta.discourse.org/u/Marek_Wojtaszek)\
**Replies:** 7\
**Last updated:** [May 20, 2024, 4:21pm UTC](https://meta.discourse.org/t/problems-with-upgrading-from-3-3-0-beta2-dev-to-3-3-0-beta2/308430 "2024-05-20T16:21:26Z")

</div>

I was prompted to do the upgrade on the Administration page. First I had to upgrade the docker\_manager, so I did it from the web UI. After doing so i got the following message: Updates via the web UI are disabled until …

---

## [Rebuilding the application makes forum unresponsive](https://meta.discourse.org/t/rebuilding-the-application-makes-forum-unresponsive/308700)

<div class="topic-metadata">

**Author:** [@Marek\_Wojtaszek](https://meta.discourse.org/u/Marek_Wojtaszek)\
**Replies:** 1\
**Last updated:** [May 20, 2024, 2:00pm UTC](https://meta.discourse.org/t/rebuilding-the-application-makes-forum-unresponsive/308700 "2024-05-20T14:00:32Z")

</div>

I wanted to change my SMTP server password, so I followed the instruction here to update the variables: After updating the app.yml file I ran the following commands: As soon as I run it-- my forum stops responding to…

---

## [I want to install Discourse AI on Discourse](https://meta.discourse.org/t/i-want-to-install-discourse-ai-on-discourse/307622)

<div class="topic-metadata">

**Author:** [@Truest](https://meta.discourse.org/u/Truest)\
**Replies:** 12\
**Last updated:** [May 19, 2024, 1:28pm UTC](https://meta.discourse.org/t/i-want-to-install-discourse-ai-on-discourse/307622 "2024-05-19T13:28:50Z")

</div>

I want to install Discourse AI on Discourse. Which of the following three methods should I use to install it? 1-1. add the address of Discourse AI’s .git to ‘nono’ as shown in the plugin’s installation instructions 1-…

---

## [I have error when upgrade the latest discourse](https://meta.discourse.org/t/i-have-error-when-upgrade-the-latest-discourse/308593)

<div class="topic-metadata">

**Author:** [@cmdntd](https://meta.discourse.org/u/cmdntd)\
**Replies:** 3\
**Last updated:** [May 19, 2024, 1:07pm UTC](https://meta.discourse.org/t/i-have-error-when-upgrade-the-latest-discourse/308593 "2024-05-19T13:07:32Z")

</div>

I have error when upgrade the latest discourse: Get:13 https://dl.yarnpkg.com/debian stable/main all Packages \[10.9 kB\] Get:14 https://deb.nodesource.com/node\_18.x nodistro/main amd64 Packages \[8,669 B\] Err:15 http://ap…

---

## [What is the minimum server power required?](https://meta.discourse.org/t/what-is-the-minimum-server-power-required/308591)

<div class="topic-metadata">

**Author:** [@Pirat](https://meta.discourse.org/u/Pirat)\
**Replies:** 2\
**Last updated:** [May 19, 2024, 9:04am UTC](https://meta.discourse.org/t/what-is-the-minimum-server-power-required/308591 "2024-05-19T09:04:55Z")

</div>

Hello everyone, can anyone tell me what the minimum server power requirements are for the new version of Discourse 3.1?

---

## [Discourse Forum is Down. Strange Error Message](https://meta.discourse.org/t/discourse-forum-is-down-strange-error-message/308592)

<div class="topic-metadata">

**Author:** [@WesPenre](https://meta.discourse.org/u/WesPenre)\
**Replies:** 4\
**Last updated:** [May 19, 2024, 9:26am UTC](https://meta.discourse.org/t/discourse-forum-is-down-strange-error-message/308592 "2024-05-19T09:26:18Z")

</div>

Hello Support Group, My forum went down about 6 hours ago, and the error message is strange. I’m not even sure where to start… They call it “Error Message 500.” "Oops The software powering this discussion forum encou…

---

## [Server load issues (after rebuild hanged)](https://meta.discourse.org/t/server-load-issues-after-rebuild-hanged/308511)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Replies:** 4\
**Last updated:** [May 19, 2024, 7:06am UTC](https://meta.discourse.org/t/server-load-issues-after-rebuild-hanged/308511 "2024-05-19T07:06:07Z")

</div>

Ever since a rebuild hanged we’ve been experiencing high loads periodically with no obvious cause (other than it started after that upgrade/hang). Well tonight I think I was able to manually trigger it - by going to the…

---

## [3.3.0.beta2-dev update error](https://meta.discourse.org/t/3-3-0-beta2-dev-update-error/308163)

<div class="topic-metadata">

**Author:** [@KCAS](https://meta.discourse.org/u/KCAS)\
**Replies:** 7\
**Last updated:** [May 18, 2024, 9:57pm UTC](https://meta.discourse.org/t/3-3-0-beta2-dev-update-error/308163 "2024-05-18T21:57:06Z")

</div>

Hello, We’ve got a engine “node” module compatibility issue when upgrading. error ember-template-lint@6.0.0: The engine “node” is incompatible with this module. Expected version “^18.18.0 || ^20.9.0 || \>=21.1.0”. Got “…

---

## [No documentation for Google login for fresh installations](https://meta.discourse.org/t/no-documentation-for-google-login-for-fresh-installations/308559)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 0\
**Last updated:** [May 18, 2024, 8:07pm UTC](https://meta.discourse.org/t/no-documentation-for-google-login-for-fresh-installations/308559 "2024-05-18T20:07:46Z")

</div>

Google is deprecating their less secure applications feature in September of 2024. Currently that is the only documented method for setting up Google Gmail/Workspace as your SMTP provider for a new, supported, standa…

---

## [Rebuild failed - with exit code 128 (fix: SSL cert for plugin domain needed updating)](https://meta.discourse.org/t/rebuild-failed-with-exit-code-128-fix-ssl-cert-for-plugin-domain-needed-updating/308555)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Replies:** 3\
**Last updated:** [May 18, 2024, 8:06pm UTC](https://meta.discourse.org/t/rebuild-failed-with-exit-code-128-fix-ssl-cert-for-plugin-domain-needed-updating/308555 "2024-05-18T20:06:36Z")

</div>

Appears to be related to plug-ins: exec failed with the params {"cd"=\>"$home/plugins", "cmd"=\>\["git clone https://github.com/discourse/docker\_manager.git", "git clone https://github.com/discourse/discourse-data-explorer…

---

## [Discourse setup on official Digital Ocean droplet not producing emails](https://meta.discourse.org/t/discourse-setup-on-official-digital-ocean-droplet-not-producing-emails/308553)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 3\
**Last updated:** [May 18, 2024, 8:00pm UTC](https://meta.discourse.org/t/discourse-setup-on-official-digital-ocean-droplet-not-producing-emails/308553 "2024-05-18T20:00:33Z")

</div>

I’m using the officially supported installation of Discourse through the official Digital Ocean droplet. I set one site up successfully (jordanviolet.dev) and currently setting up a second site (violetfamily.com). Doma…

---

## [Self-hosters what has your experience been?](https://meta.discourse.org/t/self-hosters-what-has-your-experience-been/307579)

<div class="topic-metadata">

**Author:** [@forummaster](https://meta.discourse.org/u/forummaster)\
**Replies:** 5\
**Last updated:** [May 18, 2024, 6:38pm UTC](https://meta.discourse.org/t/self-hosters-what-has-your-experience-been/307579 "2024-05-18T18:38:18Z")

</div>

I am trying to decide on self-hosting Discourse on a VPS or paying for a fully managed instance. I’ve been running Linux for 25 years, and I manage my own basic servers for a few personal applications like Nextcloud and…

---

## [Sorry, there was an error updating Discourse. Please check the logs below: Docker Manager: FAILED TO UPGRADE](https://meta.discourse.org/t/sorry-there-was-an-error-updating-discourse-please-check-the-logs-below-docker-manager-failed-to-upgrade/308551)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Replies:** 1\
**Last updated:** [May 18, 2024, 6:36pm UTC](https://meta.discourse.org/t/sorry-there-was-an-error-updating-discourse-please-check-the-logs-below-docker-manager-failed-to-upgrade/308551 "2024-05-18T18:36:02Z")

</div>

Just got this: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \*\*\* Please be patient, next steps might take a while \*\*\* \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Cycling Unicorn, to free up memor…

---

## [Unable to install on ubuntu](https://meta.discourse.org/t/unable-to-install-on-ubuntu/308389)

<div class="topic-metadata">

**Author:** [@KingEZFLOW](https://meta.discourse.org/u/KingEZFLOW)\
**Replies:** 6\
**Last updated:** [May 18, 2024, 2:30pm UTC](https://meta.discourse.org/t/unable-to-install-on-ubuntu/308389 "2024-05-18T14:30:48Z")

</div>

I’m running ./launcher rebuild app and I end up getting this error: fatal: unable to access 'https://github.com/discourse/discourse.git/': Could not resolve host: github.com I’m following this install guide.

---

## [Site down after UI update](https://meta.discourse.org/t/site-down-after-ui-update/308273)

<div class="topic-metadata">

**Author:** [@ismail](https://meta.discourse.org/u/ismail)\
**Replies:** 7\
**Last updated:** [May 18, 2024, 2:24pm UTC](https://meta.discourse.org/t/site-down-after-ui-update/308273 "2024-05-18T14:24:53Z")

</div>

My forum was just working yesterday normally, now it’s not. https//techrebels.info

---

## [How much RAM is needed to host discourse along with other services?](https://meta.discourse.org/t/how-much-ram-is-needed-to-host-discourse-along-with-other-services/170751)

<div class="topic-metadata">

**Author:** [@Hady\_Ibrahim](https://meta.discourse.org/u/Hady_Ibrahim)\
**Replies:** 8\
**Last updated:** [May 18, 2024, 10:44am UTC](https://meta.discourse.org/t/how-much-ram-is-needed-to-host-discourse-along-with-other-services/170751 "2024-05-18T10:44:23Z")

</div>

On discourse’s forums, I have read 1Gb and max 2Gb of memory should be good, however, those two options do not run my website smoothly and when I run my docker-compose file on 4Gb of memory, it works at around 90-95%, wh…

---

## [Forum doesn't work after latest upgrade](https://meta.discourse.org/t/forum-doesnt-work-after-latest-upgrade/308434)

<div class="topic-metadata">

**Author:** [@dudintv](https://meta.discourse.org/u/dudintv)\
**Replies:** 17\
**Last updated:** [May 17, 2024, 4:49pm UTC](https://meta.discourse.org/t/forum-doesnt-work-after-latest-upgrade/308434 "2024-05-17T16:49:22Z")

</div>

I’ve just pressed button to update the Discourse engine and got 500 error now: The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience. The safe mode also doe…

---

## [Error 500 how to fix?](https://meta.discourse.org/t/error-500-how-to-fix/308264)

<div class="topic-metadata">

**Author:** [@Abbas\_Muhammad](https://meta.discourse.org/u/Abbas_Muhammad)\
**Replies:** 5\
**Last updated:** [May 17, 2024, 12:20pm UTC](https://meta.discourse.org/t/error-500-how-to-fix/308264 "2024-05-17T12:20:48Z")

</div>

Docker Manager: FAILED TO UPGRADE #\<RuntimeError: RuntimeError\> /var/www/discourse/plugins/docker\_manager/lib/docker\_manager/upgrader.rb:210:in \`run' /var/www/discourse/plugins/docker\_manager/lib/docker\_manager/upgrader.…

---

## [3.3.0.beta2-dev fc76622b56 Less backup data exists and cannot be restored normally](https://meta.discourse.org/t/3-3-0-beta2-dev-fc76622b56-there-is-less-backup-data-and-it-cannot-be-restored-normally/307720)

<div class="topic-metadata">

**Author:** [@sober](https://meta.discourse.org/u/sober)\
**Replies:** 17\
**Last updated:** [May 17, 2024, 1:25am UTC](https://meta.discourse.org/t/3-3-0-beta2-dev-fc76622b56-there-is-less-backup-data-and-it-cannot-be-restored-normally/307720 "2024-05-17T01:25:42Z")

</div>

Backup data suddenly decreased, recovery of reduced data is abnormal, website cannot interact normally, fortunately historical data can be found in Amazon S3 storage bucket, otherwise the loss would be immeasurable

---

## [Internal error: undefined method \`visibility\_reason\_id'](https://meta.discourse.org/t/internal-error-undefined-method-visibility-reason-id/308317)

<div class="topic-metadata">

**Author:** [@jeanas](https://meta.discourse.org/u/jeanas)\
**Replies:** 3\
**Last updated:** [May 16, 2024, 9:45pm UTC](https://meta.discourse.org/t/internal-error-undefined-method-visibility-reason-id/308317 "2024-05-16T21:45:38Z")

</div>

I manage a Discourse instance on https://lilypond.community. A few hours ago, I used the Web interface to upgrade Discourse to 3.3.0beta2. It failed with the same error as on 3.3.0.beta2-dev update error - #8 by david. A…

---

## [Setting DISCOURSE\_MAXMIND\_LICENSE\_KEY breaks docker image/container build](https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564)

<div class="topic-metadata">

**Author:** [@cbreit](https://meta.discourse.org/u/cbreit)\
**Replies:** 22\
**Last updated:** [May 16, 2024, 7:06pm UTC](https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564 "2024-05-16T19:06:01Z")

</div>

Hey people, When running a docker based install, and setting DISCOURSE\_MAXMIND\_LICENSE\_KEY the image creation process aborts with this error: /var/www/discourse/lib/discourse\_ip\_info.rb:48:in \`mmdb\_download': undefined…

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

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