# Self-hosting

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

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

**Page:** 17

---

## [LetsEncrypt certificate not renewing](https://meta.discourse.org/t/letsencrypt-certificate-not-renewing/341026)

<div class="topic-metadata">

**Author:** [@Ryan\_Hyer](https://meta.discourse.org/u/Ryan_Hyer)\
**Replies:** 6\
**Last updated:** [December 9, 2024, 9:49pm UTC](https://meta.discourse.org/t/letsencrypt-certificate-not-renewing/341026 "2024-12-09T21:49:44Z")

</div>

Hello all. My LetsEncrypt certificate expired recently, on the 4th, and all attempts to renew it have failed. I’ve read quite a few posts here by people with similar issues, but none of those solutions (rebuilding the co…

---

## [Docker image problem: failed to register layer](https://meta.discourse.org/t/docker-image-problem-failed-to-register-layer/341428)

<div class="topic-metadata">

**Author:** [@dashohoxha](https://meta.discourse.org/u/dashohoxha)\
**Replies:** 0\
**Last updated:** [December 9, 2024, 6:49pm UTC](https://meta.discourse.org/t/docker-image-problem-failed-to-register-layer/341428 "2024-12-09T18:49:31Z")

</div>

When I try docker pull discourse/base:2.0.20240825-0027, I get this error: 2.0.20240825-0027: Pulling from discourse/base . . . . . . . . . . . d2fb91f4643c: Pull complete 88fc9778a448: Pull complete 2a19d28a5a17: Ext…

---

## [Launcher rebuild closed accidentally](https://meta.discourse.org/t/launcher-rebuild-closed-accidentally/341171)

<div class="topic-metadata">

**Author:** [@MihirR](https://meta.discourse.org/u/MihirR)\
**Replies:** 2\
**Last updated:** [December 8, 2024, 9:29am UTC](https://meta.discourse.org/t/launcher-rebuild-closed-accidentally/341171 "2024-12-08T09:29:07Z")

</div>

My launcher rebuild was accidentally closed as I’m using digital ocean console, will it crash my forum or i can just again run launcher rebuild and will it be fine?

---

## [Rebuild goes into a loop](https://meta.discourse.org/t/rebuild-goes-into-a-loop/339731)

<div class="topic-metadata">

**Author:** [@lilacbull](https://meta.discourse.org/u/lilacbull)\
**Replies:** 9\
**Last updated:** [December 3, 2024, 1:09am UTC](https://meta.discourse.org/t/rebuild-goes-into-a-loop/339731 "2024-12-03T01:09:48Z")

</div>

Hello, my apologies in advance as I’m relatively new to Discourse. When I go to the /var/discourse/ directory to run ./launcher rebuild app I have the following loop posted below. So far the GUI is fine and I can run u…

---

## [After a brand new installation, there are no settings Discourse 3.4.0.beta3-dev installation logs error/GeoLite2-City.mmdb GeoLite2-ASN.mmdb](https://meta.discourse.org/t/after-a-brand-new-installation-there-are-no-settings-discourse-3-4-0-beta3-dev-installation-logs-error-geolite2-city-mmdb-geolite2-asn-mmdb/338453)

<div class="topic-metadata">

**Author:** [@qiancsf](https://meta.discourse.org/u/qiancsf)\
**Replies:** 8\
**Last updated:** [November 27, 2024, 11:12am UTC](https://meta.discourse.org/t/after-a-brand-new-installation-there-are-no-settings-discourse-3-4-0-beta3-dev-installation-logs-error-geolite2-city-mmdb-geolite2-asn-mmdb/338453 "2024-11-27T11:12:22Z")

</div>

After a brand new installation, there are no settings discourse 3.4.0.beta3-dev安装后 日志报错/GeoLite2-City.mmdb GeoLite2-ASN.mmdb ﻿ MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such f…

---

## [Install Discourse by environment variables in host](https://meta.discourse.org/t/install-discourse-by-environment-variables-in-host/338032)

<div class="topic-metadata">

**Author:** [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)\
**Replies:** 4\
**Last updated:** [November 27, 2024, 6:02am UTC](https://meta.discourse.org/t/install-discourse-by-environment-variables-in-host/338032 "2024-11-27T06:02:34Z")

</div>

Hi all, just setting up an discourse environment with AWS CDK (Typescript). Wanted to ask, if there is a way to install discourse silently without discourse-setup over environment variables or something similar ? Than…

---

## [How to add AWS Cloudfront as a Discourse CDN](https://meta.discourse.org/t/how-to-add-aws-cloudfront-as-a-discourse-cdn/338115)

<div class="topic-metadata">

**Author:** [@jimmy0017](https://meta.discourse.org/u/jimmy0017)\
**Replies:** 6\
**Last updated:** [November 25, 2024, 1:36pm UTC](https://meta.discourse.org/t/how-to-add-aws-cloudfront-as-a-discourse-cdn/338115 "2024-11-25T13:36:33Z")

</div>

We’ve moved the objects (such as image, and others) to AWS S3. Those have been great. Now we want to speed up the site a bit more. How should I add the AWS cloudfront as the DISCOURSE\_CDN? I tried to setup myself. It w…

---

## [Mailgun is $1/month per 1,000 emails sent (and first 1,000 are free)](https://meta.discourse.org/t/mailgun-is-1-month-per-1-000-emails-sent-and-first-1-000-are-free/140187)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Replies:** 53\
**Last updated:** [November 24, 2024, 9:18pm UTC](https://meta.discourse.org/t/mailgun-is-1-month-per-1-000-emails-sent-and-first-1-000-are-free/140187 "2024-11-24T21:18:51Z")

</div>

:mega: This does not apply to or impact hosted Discourse customers. This applies to self-hosted customers who use Mailgun for their outgoing email. 2022.05.16 Pfaffman adds: I contacted support about people being con…

---

## [Integrating Discourse, Caddy, and WordPress with Docker Ports for Reverse Proxy](https://meta.discourse.org/t/integrating-discourse-caddy-and-wordpress-with-docker-ports-for-reverse-proxy/337656)

<div class="topic-metadata">

**Author:** [@BrianC](https://meta.discourse.org/u/BrianC)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 4:18am UTC](https://meta.discourse.org/t/integrating-discourse-caddy-and-wordpress-with-docker-ports-for-reverse-proxy/337656 "2024-11-22T04:18:09Z")

</div>

This is my first post and wanted to provide a guide I made with our friend ChatGPT after struggling for days to figure out how to get Caddy working for reverse proxy for Discourse installed with the office instructions. …

---

## [Exclusive Sandbox or Staging Environs for Orgs?](https://meta.discourse.org/t/exclusive-sandbox-or-staging-environs-for-orgs/44897)

<div class="topic-metadata">

**Author:** [@MelissaK](https://meta.discourse.org/u/MelissaK)\
**Replies:** 6\
**Last updated:** [November 20, 2024, 7:44am UTC](https://meta.discourse.org/t/exclusive-sandbox-or-staging-environs-for-orgs/44897 "2024-11-20T07:44:24Z")

</div>

One small challenge we’ve found with Discourse is the the lack of a staging or sandbox environment that is exclusive to our org. We’d like a place where to stage and test any planned changes (everything from CSS changes…

---

## [Git Error when rebuilding app - couldn’t find remote ref refs/heads/tests-passed](https://meta.discourse.org/t/git-error-when-rebuilding-app-couldn-t-find-remote-ref-refs-heads-tests-passed/336911)

<div class="topic-metadata">

**Author:** [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)\
**Replies:** 8\
**Last updated:** [November 20, 2024, 7:11am UTC](https://meta.discourse.org/t/git-error-when-rebuilding-app-couldn-t-find-remote-ref-refs-heads-tests-passed/336911 "2024-11-20T07:11:29Z")

</div>

Hi guys, I´m getting this error when I rebuild the app Pups::ExecError: cd /var/www/discourse && sudo -H -E -u discourse bash -c ’ set -o errexit if \[ $(git rev-parse --is-shallow-repository) == “true” \]; then git …

---

## [Discourse-doctor does not initiate connection towards smtp server](https://meta.discourse.org/t/discourse-doctor-does-not-initiate-connection-towards-smtp-server/336504)

<div class="topic-metadata">

**Author:** [@laplasz](https://meta.discourse.org/u/laplasz)\
**Replies:** 3\
**Last updated:** [November 19, 2024, 6:47pm UTC](https://meta.discourse.org/t/discourse-doctor-does-not-initiate-connection-towards-smtp-server/336504 "2024-11-19T18:47:59Z")

</div>

Hi There! So the website can send out emails using the configured smtp server. However the discourse-doctor does not. So how can I debug the rake 'emails:test\[user@domain.my\]' command. I would like to see that there a…

---

## [ERROR: Can't find Ruby library file or shared library pups](https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Replies:** 3\
**Last updated:** [November 19, 2024, 11:00am UTC](https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438 "2024-11-19T11:00:54Z")

</div>

Running ./launcher rebuild mail-receiver today I saw: Status: Downloaded newer image for discourse/mail-receiver:release docker.io/discourse/mail-receiver:release ERROR: Can't find Ruby library file or shared library p…

---

## [How do you scale discourse horizontally?](https://meta.discourse.org/t/how-do-you-scale-discourse-horizontally/183701)

<div class="topic-metadata">

**Author:** [@dscat](https://meta.discourse.org/u/dscat)\
**Replies:** 3\
**Last updated:** [November 18, 2024, 10:37pm UTC](https://meta.discourse.org/t/how-do-you-scale-discourse-horizontally/183701 "2024-11-18T22:37:43Z")

</div>

Hi there, I’m confused by the installation instructions. Is there a way to scale discourse horizontally? For ex: having 2+ docker containers on different servers each running discourse? In the instructions from GitHub…

---

## [How to Migrate a Discourse Forum from DigitalOcean to Linveo $25/year VPS](https://meta.discourse.org/t/how-to-migrate-a-discourse-forum-from-digitalocean-to-linveo-25-year-vps/335893)

<div class="topic-metadata">

**Author:** [@curiositry](https://meta.discourse.org/u/curiositry)\
**Replies:** 2\
**Last updated:** [November 13, 2024, 7:33pm UTC](https://meta.discourse.org/t/how-to-migrate-a-discourse-forum-from-digitalocean-to-linveo-25-year-vps/335893 "2024-11-13T19:33:44Z")

</div>

Following on from my post in the Recommended Hosting Providers for Self Hosters, here is a full tutorial on my experience migrating a long-running self-hosted Discourse forum from DigitalOcean to Linveo:

---

## [Cheapest way to run Discourse?](https://meta.discourse.org/t/cheapest-way-to-run-discourse/310447)

<div class="topic-metadata">

**Author:** [@Micah\_hoffmann](https://meta.discourse.org/u/Micah_hoffmann)\
**Replies:** 12\
**Last updated:** [November 13, 2024, 3:48pm UTC](https://meta.discourse.org/t/cheapest-way-to-run-discourse/310447 "2024-11-13T15:48:28Z")

</div>

hello, What is the cheapest way to run a discourse forum with custom domain? Hosting (DO/etc) ~15/month + smtp (mailgun/etc) ~15/month. Why is discourse hosting 100/month? Thanks

---

## [Can I build a separate image/container for other devices to use?](https://meta.discourse.org/t/can-i-build-a-separate-image-container-for-other-devices-to-use/335680)

<div class="topic-metadata">

**Author:** [@wszgrcy](https://meta.discourse.org/u/wszgrcy)\
**Replies:** 2\
**Last updated:** [November 12, 2024, 3:32pm UTC](https://meta.discourse.org/t/can-i-build-a-separate-image-container-for-other-devices-to-use/335680 "2024-11-12T15:32:10Z")

</div>

Assuming all configurations remain unchanged (build and start the same) To accelerate the construction process I hope to build an image on a dedicated packaging server and upload it to Harbor, then download it before us…

---

## [Port 80 succeeds but 443 does not](https://meta.discourse.org/t/port-80-succeeds-but-443-does-not/335305)

<div class="topic-metadata">

**Author:** [@Zenti](https://meta.discourse.org/u/Zenti)\
**Replies:** 3\
**Last updated:** [November 9, 2024, 8:23am UTC](https://meta.discourse.org/t/port-80-succeeds-but-443-does-not/335305 "2024-11-09T08:23:26Z")

</div>

I am trying to setup Discourse on Hostinger. When following the Discourse setup, upon entering my domain infamousforum.com (which is pointed to Hostinger from Namecheap), I recieve this error: WARNING: Port 443 of comp…

---

## ['localdomain' in my mail-receiver SMTP greeting -- fixable?](https://meta.discourse.org/t/localdomain-in-my-mail-receiver-smtp-greeting-fixable/334900)

<div class="topic-metadata">

**Author:** [@ToddZ](https://meta.discourse.org/u/ToddZ)\
**Replies:** 0\
**Last updated:** [November 7, 2024, 7:24am UTC](https://meta.discourse.org/t/localdomain-in-my-mail-receiver-smtp-greeting-fixable/334900 "2024-11-07T07:24:05Z")

</div>

Continuing the discussion from Email to custom address fails: "lost connection after EHLO": A probe of my mail-receiver begins: telnet forum.tasat.org 25 Trying 64.176.213.39... Connected to forum.tasat.org. Escape cha…

---

## [Development install fails when running bin/rails db:migrate](https://meta.discourse.org/t/development-install-fails-when-running-bin-rails-db-migrate/332754)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 12\
**Last updated:** [November 8, 2024, 1:43am UTC](https://meta.discourse.org/t/development-install-fails-when-running-bin-rails-db-migrate/332754 "2024-11-08T01:43:15Z")

</div>

Basically, I am trying to do a dev install on my Pi, following this guide. I ran bin/rails db:create, which worked fine. Then when trying to run bin/rails db:migrate, it ends by saying something about oxipng binary file …

---

## [I need help with install](https://meta.discourse.org/t/i-need-help-with-install/330861)

<div class="topic-metadata">

**Author:** [@woozievert](https://meta.discourse.org/u/woozievert)\
**Replies:** 9\
**Last updated:** [November 7, 2024, 3:42pm UTC](https://meta.discourse.org/t/i-need-help-with-install/330861 "2024-11-07T15:42:24Z")

</div>

(Before asking, did you search first? Press :magnifying\_glass\_tilted\_left: at the upper right to search) : Yea, I searched but there have no solutions. Error: ActiveRecord::RecordNotFound: Couldn't find Upload with …

---

## [Is there a way to have a free forum?](https://meta.discourse.org/t/is-there-a-way-to-have-a-free-forum/295820)

<div class="topic-metadata">

**Author:** [@ssityeghd](https://meta.discourse.org/u/ssityeghd)\
**Replies:** 18\
**Last updated:** [March 1, 2024, 2:18pm UTC](https://meta.discourse.org/t/is-there-a-way-to-have-a-free-forum/295820 "2024-03-01T14:18:46Z")

</div>

My friends and I are on a forum that have very tight rules, so we can never interact. We were hoping we could find a forum that free, where you can chat, is that possible? @not-ethan, how does this work?

---

## [Production install on 3.4.0.beta2-dev failing to update to 3.4.0.beta2](https://meta.discourse.org/t/production-install-on-3-4-0-beta2-dev-failing-to-update-to-3-4-0-beta2/333805)

<div class="topic-metadata">

**Author:** [@manton](https://meta.discourse.org/u/manton)\
**Replies:** 11\
**Last updated:** [November 2, 2024, 11:33am UTC](https://meta.discourse.org/t/production-install-on-3-4-0-beta2-dev-failing-to-update-to-3-4-0-beta2/333805 "2024-11-02T11:33:03Z")

</div>

Good evening, Once again, I am having update issues. Server system load: System load: 0.15 Usage of /: 56.4% of 157.22GB Memory usage: 34% Swap usage: 42% Processes: …

---

## [Solution for FREE mail servers (for RU community hosted smtp)](https://meta.discourse.org/t/solution-for-free-mail-servers-for-ru-community-hosted-smtp/333583)

<div class="topic-metadata">

**Author:** [@TOWUK](https://meta.discourse.org/u/TOWUK)\
**Replies:** 0\
**Last updated:** [October 30, 2024, 11:11am UTC](https://meta.discourse.org/t/solution-for-free-mail-servers-for-ru-community-hosted-smtp/333583 "2024-10-30T11:11:32Z")

</div>

A solution for FREE BUSINESS domain/mail server providers used through VK WorkSpace known as / / and so on in the Russian community: If you are not from Russia, you should not use this service outside of Russia, fin…

---

## [Publish Discourse under URL](https://meta.discourse.org/t/publish-discourse-under-url/332795)

<div class="topic-metadata">

**Author:** [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)\
**Replies:** 8\
**Last updated:** [October 28, 2024, 7:57pm UTC](https://meta.discourse.org/t/publish-discourse-under-url/332795 "2024-10-28T19:57:44Z")

</div>

Hi, i have a selfhosted installation of discourse with an nginx in front of discourse in docker. I can reach it by forum.my.tld. I also have installed Wordpress, which is also reachable from public. I now want to integr…

---

## [How can I migrate from Discourse Hosted to self-hosting](https://meta.discourse.org/t/how-can-i-migrate-from-discourse-hosted-to-self-hosting/332728)

<div class="topic-metadata">

**Author:** [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)\
**Replies:** 22\
**Last updated:** [October 26, 2024, 7:17am UTC](https://meta.discourse.org/t/how-can-i-migrate-from-discourse-hosted-to-self-hosting/332728 "2024-10-26T07:17:46Z")

</div>

We were previously using Discourse Hosted, but we’ve moved to self-hosting. How can we transfer our data from Discourse Hosted to our self-hosted setup? Thank you in advance!

---

## [Migrating uploads to S3 fails](https://meta.discourse.org/t/migrating-uploads-to-s3-fails/167134)

<div class="topic-metadata">

**Author:** [@alexk](https://meta.discourse.org/u/alexk)\
**Replies:** 1\
**Last updated:** [October 25, 2024, 10:19pm UTC](https://meta.discourse.org/t/migrating-uploads-to-s3-fails/167134 "2024-10-25T22:19:48Z")

</div>

Hello! I’m having a lot of trouble getting my local file uploads to be migrated to S3. I’ve done the following: Restored to a new environment Disabled “enable S3 uploads” Ranrails c SiteSetting.migrate\_to\_new\_scheme =…

---

## [Let's Encrypt SSL Certificate Not Renewing](https://meta.discourse.org/t/lets-encrypt-ssl-certificate-not-renewing/332124)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**Replies:** 1\
**Last updated:** [October 23, 2024, 1:45pm UTC](https://meta.discourse.org/t/lets-encrypt-ssl-certificate-not-renewing/332124 "2024-10-23T13:45:58Z")

</div>

Hello everyone, I have an issue with my Discourse instance related to SSL certificates. The problem: My SSL certificate has been expired for 5 days. I’ve tried to fix it by updating the instance with:./launcher rebuil…

---

## [Email errors](https://meta.discourse.org/t/email-errors/319414)

<div class="topic-metadata">

**Author:** [@xpamych](https://meta.discourse.org/u/xpamych)\
**Replies:** 1\
**Last updated:** [October 24, 2024, 4:12pm UTC](https://meta.discourse.org/t/email-errors/319414 "2024-10-24T16:12:22Z")

</div>

if settings: DISCOURSE\_DEVELOPER\_EMAILS: 'admin@plemya-x.ru' DISCOURSE\_SMTP\_ADDRESS: smtp.beget.com DISCOURSE\_SMTP\_PORT: 2525 or 25 DISCOURSE\_SMTP\_USER\_NAME: admin@plemya-x.ru DISCOURSE\_SMTP\_PASSWORD: "" #DISCOURSE\_SMTP…

---

## [Discourse Upgrade from 3.2.0 to 3.3.0 Postgress issue](https://meta.discourse.org/t/discourse-upgrade-from-3-2-0-to-3-3-0-postgress-issue/323034)

<div class="topic-metadata">

**Author:** [@Ali\_UĞUR](https://meta.discourse.org/u/Ali_U%C4%9EUR)\
**Replies:** 2\
**Last updated:** [October 24, 2024, 10:42am UTC](https://meta.discourse.org/t/discourse-upgrade-from-3-2-0-to-3-3-0-postgress-issue/323034 "2024-10-24T10:42:01Z")

</div>

Hi! I tried to upgrade my Discourse v3.2.0 instance to v3.3.0. When it was running the database migrations it failed. Execute db:migrate rake aborted! StandardError: An error has occurred, this and all later migrations …

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

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