# Self-hosting

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

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

**Page:** 105

---

## [CDN URL must be added to csp script src](https://meta.discourse.org/t/cdn-url-must-be-added-to-csp-script-src/148270)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 3\
**Last updated:** [April 16, 2020, 6:41pm UTC](https://meta.discourse.org/t/cdn-url-must-be-added-to-csp-script-src/148270 "2020-04-16T18:41:54Z")

</div>

I’ve got a site configured with ENV like this: DISCOURSE\_FORCE\_HTTPS: true DISCOURSE\_S3\_ACCESS\_KEY\_ID: 'KEY' DISCOURSE\_S3\_SECRET\_ACCESS\_KEY: 'SECRET' DISCOURSE\_BACKUP\_LOCATION: 's3' DISCOURSE\_ENABLE\_S3\_UPLOAD…

---

## [Setting Up Mail](https://meta.discourse.org/t/setting-up-mail/148159)

<div class="topic-metadata">

**Author:** [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Replies:** 10\
**Last updated:** [April 16, 2020, 5:17pm UTC](https://meta.discourse.org/t/setting-up-mail/148159 "2020-04-16T17:17:02Z")

</div>

Hello, I’m in the process of setting up Discourse with digital ocean. Everything is good, but I’m having trouble with the mail services. I have a .ca domain name and MailGun doesn’t accept that. If you know any good mai…

---

## [How to install on localhost](https://meta.discourse.org/t/how-to-install-on-localhost/148181)

<div class="topic-metadata">

**Author:** [@sysdl132](https://meta.discourse.org/u/sysdl132)\
**Replies:** 10\
**Last updated:** [April 16, 2020, 10:10am UTC](https://meta.discourse.org/t/how-to-install-on-localhost/148181 "2020-04-16T10:10:13Z")

</div>

I’m working on windows 10.How to install discourse on localhost?

---

## [Buying A Domain Name](https://meta.discourse.org/t/buying-a-domain-name/148039)

<div class="topic-metadata">

**Author:** [@Infinite\_Flight\_Sims](https://meta.discourse.org/u/Infinite_Flight_Sims)\
**Replies:** 3\
**Last updated:** [April 16, 2020, 6:24am UTC](https://meta.discourse.org/t/buying-a-domain-name/148039 "2020-04-16T06:24:00Z")

</div>

Hi there, I’m planning to host my own Discourse forum in the near future and have question: Do you have to buy a domain name separately when hosting with Digital Ocean? Thank You, IFS

---

## [Http logo urls after enabling LetsEncrypt](https://meta.discourse.org/t/http-logo-urls-after-enabling-letsencrypt/108261)

<div class="topic-metadata">

**Author:** [@dovydasm](https://meta.discourse.org/u/dovydasm)\
**Replies:** 12\
**Last updated:** [April 16, 2020, 6:13am UTC](https://meta.discourse.org/t/http-logo-urls-after-enabling-letsencrypt/108261 "2020-04-16T06:13:05Z")

</div>

I recently enabled letsencrypt for my instance by following this tutorial. Now all the images uploaded via settings panel (logo, small logo, favicon) have http links in the design, resulting in mixed content error (alth…

---

## [Plesk/Ubuntu/Docker Install Fail](https://meta.discourse.org/t/plesk-ubuntu-docker-install-fail/147493)

<div class="topic-metadata">

**Author:** [@Eduar\_Ramos](https://meta.discourse.org/u/Eduar_Ramos)\
**Replies:** 6\
**Last updated:** [April 16, 2020, 4:12am UTC](https://meta.discourse.org/t/plesk-ubuntu-docker-install-fail/147493 "2020-04-16T04:12:03Z")

</div>

I am using digitalocean with Ubuntu, plesk and docker for my installation. Deploy my application using ./launcher bootstrap app ./launcher start app But it doesn’t start in the domain, the docker ps command: CONTAINER…

---

## [\[SOLVED\]Install issues with 2 separate servers](https://meta.discourse.org/t/solved-install-issues-with-2-separate-servers/148015)

<div class="topic-metadata">

**Author:** [@oldman](https://meta.discourse.org/u/oldman)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 4:33pm UTC](https://meta.discourse.org/t/solved-install-issues-with-2-separate-servers/148015 "2020-04-15T16:33:04Z")

</div>

So here is what im running into more-less. I have 2 hardware servers. 1 runs unraid and the second unit is for running esxi VM’s The unraid unit us running nginx reverse proxy manager. I have an Ubuntu 18.04 VM on the …

---

## [Remove DISCOURSE\_CDN\_URL](https://meta.discourse.org/t/remove-discourse-cdn-url/148096)

<div class="topic-metadata">

**Author:** [@goingoutofbusiness](https://meta.discourse.org/u/goingoutofbusiness)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 11:55am UTC](https://meta.discourse.org/t/remove-discourse-cdn-url/148096 "2020-04-15T11:55:03Z")

</div>

Hi, I’ve just removed tthe CDN url from my app.yml (DISCOURSE\_CDN\_URL) and did a rebuild. However, images uploaded to posts are still pointing towards the CDN url. Did i forget something? Thanks!

---

## [Connection error after resizing DO Droplet](https://meta.discourse.org/t/connection-error-after-resizing-do-droplet/78596)

<div class="topic-metadata">

**Author:** [@tkrunning](https://meta.discourse.org/u/tkrunning)\
**Replies:** 5\
**Last updated:** [January 23, 2018, 6:46pm UTC](https://meta.discourse.org/t/connection-error-after-resizing-do-droplet/78596 "2018-01-23T18:46:45Z")

</div>

Hi guys, I resized my DigitalOcean droplet today, and after that process was completed I haven’t been able to access my Discourse forum (I’m getting ERR\_CONNECTION\_REFUSED). It looks like something other than Discourse …

---

## [How to backup Discourse Docker Container?](https://meta.discourse.org/t/how-to-backup-discourse-docker-container/148016)

<div class="topic-metadata">

**Author:** [@noorqureshi](https://meta.discourse.org/u/noorqureshi)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 8:47pm UTC](https://meta.discourse.org/t/how-to-backup-discourse-docker-container/148016 "2020-04-14T20:47:59Z")

</div>

I’ve discourse installed on VPS but I wanna shift it to a dedicated server and it has some other sites running too (CentOS 7) I installed the docker already. What I wanna do it backup my correct running discourse and re…

---

## [Backup failed when migrating from AWS to Digitalocean](https://meta.discourse.org/t/backup-failed-when-migrating-from-aws-to-digitalocean/147974)

<div class="topic-metadata">

**Author:** [@Pravi](https://meta.discourse.org/u/Pravi)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 5:48pm UTC](https://meta.discourse.org/t/backup-failed-when-migrating-from-aws-to-digitalocean/147974 "2020-04-14T17:48:18Z")

</div>

Back failed when migrating from AWS to digitalocean. I have tried both command line method and GUI. Both methods failed. I have no idea what to do next. Need some help. ALTER TABLE ALTER TABLE ALTER TABLE Migrating the …

---

## [Site not showing after following official installation walkthrough](https://meta.discourse.org/t/site-not-showing-after-following-official-installation-walkthrough/147734)

<div class="topic-metadata">

**Author:** [@Joe\_Perkins](https://meta.discourse.org/u/Joe_Perkins)\
**Replies:** 3\
**Last updated:** [April 13, 2020, 7:53pm UTC](https://meta.discourse.org/t/site-not-showing-after-following-official-installation-walkthrough/147734 "2020-04-13T19:53:59Z")

</div>

Hey guys, really excited to get set up with Discourse, but run into a problem whereby my site just doesn’t load. I have followed this walkthrough on Discourse GH to set up using Digital Ocean. The domain I am using was…

---

## [Updates failed; 'bundle exec rake assets:precompile' failed](https://meta.discourse.org/t/updates-failed-bundle-exec-rake-assets-precompile-failed/147466)

<div class="topic-metadata">

**Author:** [@waffleslop](https://meta.discourse.org/u/waffleslop)\
**Replies:** 8\
**Last updated:** [April 13, 2020, 4:54am UTC](https://meta.discourse.org/t/updates-failed-bundle-exec-rake-assets-precompile-failed/147466 "2020-04-13T04:54:33Z")

</div>

166:M 09 Apr 2020 19:22:49.160 \* Saving the final RDB snapshot before exiting. 166:M 09 Apr 2020 19:22:49.183 \* DB saved on disk 166:M 09 Apr 2020 19:22:49.183 # Redis is now ready to exit, bye bye... FAILED ----------…

---

## [Using Swarmify CDN on a Discourse instance?](https://meta.discourse.org/t/using-swarmify-cdn-on-a-discourse-instance/147675)

<div class="topic-metadata">

**Author:** [@jord8on](https://meta.discourse.org/u/jord8on)\
**Replies:** 0\
**Last updated:** [April 12, 2020, 5:02am UTC](https://meta.discourse.org/t/using-swarmify-cdn-on-a-discourse-instance/147675 "2020-04-12T05:02:43Z")

</div>

Would it be possible to use the white-label video player called Swarmify CDN within a Discourse forum? There’s a great lifetime deal on this over at AppSumo that I was thinking about getting, but I was wondering if ther…

---

## [Unable to restore backup data, unique index is duplicated](https://meta.discourse.org/t/unable-to-restore-backup-data-unique-index-is-duplicated/147588)

<div class="topic-metadata">

**Author:** [@Mezbah](https://meta.discourse.org/u/Mezbah)\
**Replies:** 3\
**Last updated:** [April 12, 2020, 3:34am UTC](https://meta.discourse.org/t/unable-to-restore-backup-data-unique-index-is-duplicated/147588 "2020-04-12T03:34:55Z")

</div>

I am trying to restore from backup and its failing. Can anyone help? Here is the error \[2020-04-10 22:41:19\] Marking restore as running... \[2020-04-10 22:41:19\] Making sure /var/www/discourse/tmp/restores/default/2020…

---

## [Stop and remove docker container by mistake](https://meta.discourse.org/t/stop-and-remove-docker-container-by-mistake/141118)

<div class="topic-metadata">

**Author:** [@Eduar\_Ramos](https://meta.discourse.org/u/Eduar_Ramos)\
**Replies:** 6\
**Last updated:** [April 12, 2020, 2:39am UTC](https://meta.discourse.org/t/stop-and-remove-docker-container-by-mistake/141118 "2020-04-12T02:39:41Z")

</div>

Hello everyone, by mistake I gave stop and remove to the docker container of discourse and when trying to launch again, when trying / launcher start I get the following error: "Your Docker installation is not using a su…

---

## [Trouble with Admin Mail on Signup](https://meta.discourse.org/t/trouble-with-admin-mail-on-signup/147622)

<div class="topic-metadata">

**Author:** [@RakTheGoose](https://meta.discourse.org/u/RakTheGoose)\
**Replies:** 10\
**Last updated:** [April 11, 2020, 6:28pm UTC](https://meta.discourse.org/t/trouble-with-admin-mail-on-signup/147622 "2020-04-11T18:28:28Z")

</div>

So.. i’ve been at this for around 6 hours and thought to finally reach out for a bit of help. I’ve setup discourse on a server, launched the container and attempted to sign up my 1st admin account. The issue: I’m not g…

---

## [/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint app](https://meta.discourse.org/t/usr-bin-docker-error-response-from-daemon-driver-failed-programming-external-connectivity-on-endpoint-app/147577)

<div class="topic-metadata">

**Author:** [@jameshahnii](https://meta.discourse.org/u/jameshahnii)\
**Replies:** 9\
**Last updated:** [April 11, 2020, 6:25pm UTC](https://meta.discourse.org/t/usr-bin-docker-error-response-from-daemon-driver-failed-programming-external-connectivity-on-endpoint-app/147577 "2020-04-11T18:25:00Z")

</div>

Hey guys, been stuck on this for over a week. I’ve read all of the relevant topics on meta and tried all the solutions here and elsewhere and nothing’s working. I’m just stumped. Every time I try to ./launcher rebuild a…

---

## [Nginx rewrite cat name](https://meta.discourse.org/t/nginx-rewrite-cat-name/147632)

<div class="topic-metadata">

**Author:** [@Fausto\_Dassenno](https://meta.discourse.org/u/Fausto_Dassenno)\
**Replies:** 1\
**Last updated:** [April 11, 2020, 4:34pm UTC](https://meta.discourse.org/t/nginx-rewrite-cat-name/147632 "2020-04-11T16:34:08Z")

</div>

Hi all, happy Easter! I am trying to rewrite this URL /international to /c/international-cafe/14 without the URL in the address bar to change. I tried using this: location /international { return 301 https://d…

---

## [Nginx configuration for discourse](https://meta.discourse.org/t/nginx-configuration-for-discourse/59962)

<div class="topic-metadata">

**Author:** [@Alavi1412](https://meta.discourse.org/u/Alavi1412)\
**Replies:** 12\
**Last updated:** [January 22, 2018, 1:17am UTC](https://meta.discourse.org/t/nginx-configuration-for-discourse/59962 "2018-01-22T01:17:26Z")

</div>

I have isntalled discourse on a VPS. Now I want to run a nodeJS app running on port 3030 on the vps. I have added the following to the /etc/nginx/sites-available/default: location /recommender/ { proxy\_pass http://l…

---

## [Can you use Yahoo mail SMTP for Discourse?](https://meta.discourse.org/t/can-you-use-yahoo-mail-smtp-for-discourse/70721)

<div class="topic-metadata">

**Author:** [@charlie2112](https://meta.discourse.org/u/charlie2112)\
**Replies:** 10\
**Last updated:** [April 11, 2020, 11:10am UTC](https://meta.discourse.org/t/can-you-use-yahoo-mail-smtp-for-discourse/70721 "2020-04-11T11:10:56Z")

</div>

I am trying to test using Discourse on CentOS 71. I have Docker and Discourse installed…but the problem is configuring SMTP for Email for the initial registration. After installation I can bring up the web interface, con…

---

## [Very slow Sidekiq issue with large queue due to massive numbers of unread user notifications](https://meta.discourse.org/t/very-slow-sidekiq-issue-with-large-queue-due-to-massive-numbers-of-unread-user-notifications/140716)

<div class="topic-metadata">

**Author:** [@markersocial](https://meta.discourse.org/u/markersocial)\
**Replies:** 68\
**Last updated:** [April 11, 2020, 11:09am UTC](https://meta.discourse.org/t/very-slow-sidekiq-issue-with-large-queue-due-to-massive-numbers-of-unread-user-notifications/140716 "2020-04-11T11:09:02Z")

</div>

So have an issue with sidekiq. It will run amazingly fast through jobs when monitoring via the sidekiq web ui. But occasionally it appears like it gets overwhelmed and starts running extremely slow. Running at 1-5% or s…

---

## [How to remove discourse website](https://meta.discourse.org/t/how-to-remove-discourse-website/56503)

<div class="topic-metadata">

**Author:** [@eminov](https://meta.discourse.org/u/eminov)\
**Replies:** 12\
**Last updated:** [April 11, 2020, 10:50am UTC](https://meta.discourse.org/t/how-to-remove-discourse-website/56503 "2020-04-11T10:50:39Z")

</div>

This CMS is a very good, but a lot of things modified. As difficult installation, modification, and so the addition of a plugin and etc. I want uninstall my discourse website? Which command do I have to write for that?

---

## [What are the differences between self-host and discourse business host?](https://meta.discourse.org/t/what-are-the-differences-between-self-host-and-discourse-business-host/147391)

<div class="topic-metadata">

**Author:** [@haipt](https://meta.discourse.org/u/haipt)\
**Replies:** 9\
**Last updated:** [April 11, 2020, 10:16am UTC](https://meta.discourse.org/t/what-are-the-differences-between-self-host-and-discourse-business-host/147391 "2020-04-11T10:16:47Z")

</div>

Hi discourse team & community , I am a newbie with discourse , after some days researching about discourse , I plan to use this with my company’ s business. Here are the list of my concerns & question about discourse …

---

## [X-Forwarded-For proxy tag not recognized by Discourse?](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961)

<div class="topic-metadata">

**Author:** [@Anil\_Gupta](https://meta.discourse.org/u/Anil_Gupta)\
**Replies:** 9\
**Last updated:** [January 19, 2018, 1:27am UTC](https://meta.discourse.org/t/x-forwarded-for-proxy-tag-not-recognized-by-discourse/77961 "2018-01-19T01:27:13Z")

</div>

Our Set Up Discourse is installed on Google Compute VM machine with no SSL certificates on this server. Force\_https discourse setting is set to true (checked to force https). We have the front end running with ‘Go…

---

## [What's the Difference Between Discourse.git and Discourse\_Docker.git?](https://meta.discourse.org/t/whats-the-difference-between-discourse-git-and-discourse-docker-git/147386)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**Replies:** 12\
**Last updated:** [April 9, 2020, 9:53pm UTC](https://meta.discourse.org/t/whats-the-difference-between-discourse-git-and-discourse-docker-git/147386 "2020-04-09T21:53:11Z")

</div>

I noticed the official install instructions call for cloning this repository: GitHub - discourse/discourse\_docker: A Docker image for Discourse · GitHub But it doesn’t have many of the extra files found in this one such…

---

## [Xhr search requests return 406](https://meta.discourse.org/t/xhr-search-requests-return-406/147428)

<div class="topic-metadata">

**Author:** [@NotAnonymous](https://meta.discourse.org/u/NotAnonymous)\
**Replies:** 9\
**Last updated:** [April 9, 2020, 8:03pm UTC](https://meta.discourse.org/t/xhr-search-requests-return-406/147428 "2020-04-09T20:03:20Z")

</div>

When doing a search on our discourse site, if I do a regular GET request to /search?q=my search it works fine. But if I use the search box and it submits the search request via an XHR GET request I get a 406 status retu…

---

## [Determining the correct Discourse docker path for the current install?](https://meta.discourse.org/t/determining-the-correct-discourse-docker-path-for-the-current-install/147454)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 7:14pm UTC](https://meta.discourse.org/t/determining-the-correct-discourse-docker-path-for-the-current-install/147454 "2020-04-09T19:14:15Z")

</div>

I’m working on setting up a dev site and I noticed that as I’ve trialed and errored through this, I managed to have the files duplicated four times within the /var/lib/docker/overlay2/ path. Within here, I have four dif…

---

## [Ideas or guides on how to setup an auto-install platform for discourse?](https://meta.discourse.org/t/ideas-or-guides-on-how-to-setup-an-auto-install-platform-for-discourse/147438)

<div class="topic-metadata">

**Author:** [@Hugo\_Roger](https://meta.discourse.org/u/Hugo_Roger)\
**Replies:** 0\
**Last updated:** [April 9, 2020, 5:07pm UTC](https://meta.discourse.org/t/ideas-or-guides-on-how-to-setup-an-auto-install-platform-for-discourse/147438 "2020-04-09T17:07:55Z")

</div>

Hi everyone! Does anyone know how to create a sub-hosting system where users can create their own Discourse instance in your server? As in, their own community? Just like we have multi-wiki platforms, and lots of multi…

---

## [Cannot send any email with AWS SES](https://meta.discourse.org/t/cannot-send-any-email-with-aws-ses/147406)

<div class="topic-metadata">

**Author:** [@Mustafa\_Demir](https://meta.discourse.org/u/Mustafa_Demir)\
**Replies:** 8\
**Last updated:** [April 9, 2020, 11:41am UTC](https://meta.discourse.org/t/cannot-send-any-email-with-aws-ses/147406 "2020-04-09T11:41:44Z")

</div>

Hello, I’ve just installed Discourse on my Ubuntu server. It’s running on production and I can’t send any email from the Discourse. I created an IAM user on SES and entered my SES SMTP credentials correctly to Discourse’…

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

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