Install Discourse in production with the official, supported instructions

If you want to install Discourse the official, supported way, have a look at the install Discourse document on Github. If you install Discourse any other way, you’re likely to have trouble, and if you do, you’ll be less likely to get any help here.

This guide covers the official guide to install Discourse which can be used on your bare metal hosting or the cloud. If you have issues with your installation, feel free to start a topic over at our #installation support category, and someone from the community will help.

Alternatively, if you wish to try out Discourse without installing you can visit Discourse pricing | Discourse - Civilized Discussion and start a free hosted trial.

24 Likes
How to install discourse in Hosting?
Deploy in heroku
Trouble with signing in to my admin account on a Discord VM powered by bitnami
Unable to connect to PostgreSQL despite configuration
Sidekiq not running. Sidekiq heartbeat test failed, restarting
Why the icon address is localhost when I use an ip as hostname
Setup wont send me the email
How do I run Discourse on a folder on my site running PHP on LAMP on DigitalOcean
Noob installation : email not working, trouble with the digitalocean console
Synology docker installs
Not getting activation email
Very frequent 500 errors after server reinstallation
SMTP works with test emails but not with new activations
Sorry if this is a dumb Q, but how to I install/enable the fancy edtor?
Sorry if this is a dumb Q, but how to I install/enable the fancy edtor?
Multisite Configuration with Let's Encrypt and no reverse proxy
Cannot rebake after setting up CDN
Install Plugins in Discourse
PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
Management of NVTs and CVEs
2.7.0.beta2 upgrade failed
No information requested on install
Site won't load / can't open in safari / other issues
Domain & Subdomains
Installation Help on namehero.com
Where can I find help building a Discourse community?
It Is Necessary to select Discourse?
Composer stalls on "Processing Upload" when using events plugin
Discourse Forum not working with Digital Ocean
Discourse get started screen is too big
Install and hosted related issues
Stop and remove docker container by mistake
Trust Level 4 should be allowed to access moderation tab
How do you scale discourse horizontally?
PostgreSQL 12 update
Assets:precompile is giving error
Questions about Discourse Forum and Digital Ocean? Hosting?
Some devices can't connect to server
PostgreSQL 12 update
Port issue - Please help
Port issue - Please help
Bootsnap::CompileCache::PermissionError
Migrate quickly to separate web and data containers
Site setting is different Every time on Ubuntu development installation
Let's encrypt SSL certificate expired: `urn:ietf:params:acme:error:rateLimited`
My discourse speed is very slow
Imgur images broken
Error connecting to Redis on localhost:6379 (Errno::EADDRNOTAVAIL)
Discourse not opening
Improved Bookmarks with Reminders
Fresh Install gives "Too many redirects" error
Droplet install not working
Docker Maximum Supported Version Number?
Server not listening on IPv6
Few questions about the software (new comer)
Can't rebuild due to failed postgres 12 upgrade [SOLVED]
Using Postfix with Discourse
How much RAM is required for Discourse?
How much RAM is required for Discourse?
Install going well but now blank white page
Discourse Swap Memory (1GB Warning)
How to upgrade if `/var/discourse` has only `shared` and is not git repo
How to install Discourse locally?
Backup restored and images are broken
Installing Discourse on DigitalOcean - got stuck
PWA (twa, offline)
Access Denied error message when trying to upload images
I don't understand what's the problem
Rebuilding faild 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 4979 exit 1>
Application not opening after admin:create
Aws deployed discourse is fetching assets from database url
Can I install discourse on this unmanaged vps? If yes how to?
How to access container app?
Automatic session management with OAuth SSO
Error when upgrading and would like to solve or reset
WooCommerce Discourse Website newbie help
Assets precompile require redis
Discourse Voting missing table on postgresql
Assets precompile require redis
Discourse not working in domain
Uploading Files to Discourse
"Couldn't find IP Address for (my discourse forum link)"
Image upload size/resize question
How much RAM is needed to host discourse along with other services?
Fresh Discourse installation ERR_CONNECTION_TIMED_OUT
Fresh Discourse installation ERR_CONNECTION_TIMED_OUT
Docker image update: Redis 6 and 25% smaller image size
Redis Unix Socket, Ubuntu Install
Email error: Connection reset by peer
Redis Unix Socket, Ubuntu Install
How to install Discourse in WWW
What is the best way to install Discourse Forum on a Proxmox VM and expose it on the internet
Discourse on Debian 10
404 Error after installaton
EMBER_CLI_PROD_ASSETS to 1 crashes precompiling assets
Votes don't Merge when we combine posts
Category Icon Image Issue
Install Discourse on Ubuntu for Development
Install Discourse with plesk on a virtual server
Install Discourse on Bluehost Sub Domain
Discourse on Google Cloud port issue?
Nginx to server static files?
Nginx upstream timed out (110: Connection timed out)
System emails being sent by my personal account
Help 503 service unavailable error CyberPanel
DigtalOcean one-click install doesn't finish
Unable to login
Plugins don't show up
Migrating site from Personal vmware server to VPS
Custom discourse with limited features
Latest site upgrade not working
Error upon installing - failed to register layer: Error processing tar file(exit status 1):
502 Bad Gateway and Discourse version NOT FOUND
How to setup discourse with cloudflare
How to install Discourse on Webhosting Server (without ssh control)?
Discourse update plugin without docker
Upgrading from 2.9.0.beta8 broke the site, unrecoverable
Upgrading from 2.9.0.beta8 broke the site, unrecoverable
Do I need to install NGINX and PHP to optimize my Discourse forum?
How to Install Discourse on CyberPanel?
Bootstrap failing
Install Discourse Docker on Ubuntu 11
Discourse on a residential internet with Cloudflare Tunnel
Rake task "assets:precompile" is failing due to JS Compilation issue
Configure an S3 compatible object storage provider for uploads
How do I run Discourse on Pterodactyl Panel?
Upgrade to Failure Discourse 2.8
Rake task "assets:precompile" is failing due to JS Compilation issue
How do I extract raw data from my discourse community site?
How can I add this to wordpress?
View IP address of guests / anonymous visitors?
My postgres isn't starting with my docker container
My postgres isn't starting with my docker container
Problems installing Spoiler plugin
Call AdminDashboardGeneralData.refresh_stats at boot?
Letsencrypt issued on every build?
Email Hostname Certificate Mismatch Causing sidekiq Queue Overload, Severe Site Instability
My postgres isn't starting with my docker container
Overriding Site Settings from env variable
Lightbox not working on Discourse
Lightbox not working on Discourse
Lightbox not working on Discourse
How to disable or reduce "update available" emails sent to admins
Non www to www without certificate error
Discourse Running With Nginx Issue
Can't connect to database server
403 forbidden and other errors
Lightbox not working on Discourse
Failure to pay attention to SKIP POST DEPLOYMENT MIGRATIONS causes problems
Error when updating Discourse to latest version - potential db:migrate issue
Discourse or RoR Course
Update problem : Broken Forum
Problems with Patreon Login, Force HTTPS, and S3 CDN (three) Issues
Email notifications fail if duplicate headers exist
Email notifications fail if duplicate headers exist
Problems with Patreon Login, Force HTTPS, and S3 CDN (three) Issues
Changing SMTP password
Problem with a new Discourse installation
Failed Upgrade from 2.3.0 to 2.8.1
Trouble restoring backup--SiteSetting::Upload.s3_base_url is failing--because enable_s3_uploads was set in database
Failed Upgrade from 2.3.0 to 2.8.1
Trouble restoring backup--SiteSetting::Upload.s3_base_url is failing--because enable_s3_uploads was set in database
Upgrades via UI disabled - and not being re-enabled after SSH upgrade
Recovering from failed/partially applied upgrade
Upgrades via UI disabled - and not being re-enabled after SSH upgrade
Site's down - app won't start, port 443 conflict?
Discourse installation successful, but still nothing on the domain and IP of the server
How do I Change Email Adress in admin/settings/emails?
Detail pages won't load, but homepage loads, restart solves it
Mixed Content: The page at '<URL>' was loaded over HTTPS error
Different Device, Same IP with Nginx
Update problem : Broken Forum
Recommended Hosting Providers for Self Hosters
Sidekiq email errors and settings issue
Problem with post revisions after updating to 2.8.6 stable or 2.9.0.beta7
Introducing Discourse Chat (BETA)
Introducing Discourse Chat (BETA)
Error at LetsEncrypt validation
Can't build Discourse on Ubuntu 20.10
Can't build Discourse on Ubuntu 20.10
Rebuild fails on db:migrate w/PG12
Just Created My First Instance But Need Help
Just Created My First Instance But Need Help
SSL Certificate
Theme automation
Discourse email setup for notification
Discourse run error in k8s
Is Discourse always in "beta"?
My website is always down
Caprover install
Upgrade container - keeping config and data
Sign-In with Ethereum plugin
Sign-In with Ethereum plugin
Error trying to edit a post with an image in (NginX Proxy Manager?)
Error trying to edit a post with an image in (NginX Proxy Manager?)
Buttons not working on new site install
Error trying to edit a post with an image in (NginX Proxy Manager?)
Error trying to edit a post with an image in (NginX Proxy Manager?)
Manually create and restore Discourse backups
Unable to install Data Explorer Plugin last version
Discourse update keeps failing
Discourse standalone
Domain is not resolvable. How can I fix this?
"Review" disappeared from top-level menu
Discourse standalone
DigitalOcean Port Closed after Installation
DigitalOcean Port Closed after Installation
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml
NoMethodError: undefined method `min_tags_from_required_group'
Set up Let’s Encrypt with multiple domains
Server reboot necessitates disco container reboot
Allow SSL / HTTPS for your Discourse Docker setup
Install Discourse on Ubuntu for Development
Yet Another Fun One
Trouble sending emails
Unable to send email from my forum
Unable to install Data Explorer Plugin last version
Failed to update Discourse new version
Failed to update Discourse new version
Discourse-app container starts then silently stops
Discourse-app container starts then silently stops
Set up Let’s Encrypt with multiple domains
Discourse-app container starts then silently stops
Cant setup admin account
Discourse-app container starts then silently stops
Cant setup admin account
Discourse-app container starts then silently stops
Install Discourse on macOS for development
Setup fails: Cannot allocate memory
Set up Let’s Encrypt with multiple domains
Set up Let’s Encrypt with multiple domains
Redirect URL with Nginx in Digital Ocean
Problem with post revisions after updating to 2.8.6 stable or 2.9.0.beta7
Email not sending
Configure SMTP in Docker container
Recommended Hosting Providers for Self Hosters
Problem with post revisions after updating to 2.8.6 stable or 2.9.0.beta7
Unable to send email from my forum
Unable to send email from my forum
Enabling prometheus-exporter plugin with Discourse Docker instance
500 errors and failing update
Migrate a phpBB3 forum to Discourse
SendInBlue Smtp Setting not working correctly
Need a better way to explain what branch to be on, why, and what happens
Need a better way to explain what branch to be on, why, and what happens
Need a better way to explain what branch to be on, why, and what happens
Install Discourse on Amazon Web Services (AWS) with Lightsail, SES, and Route 53
Database issues migrating form old version 20150822141540
Configure SMTP in Docker container
Database issues migrating form old version 20150822141540
Discourse on Cloud Run
Ads showing to Trust Levels that should not see them?
Ads showing to Trust Levels that should not see them?
Troubles executing import/migration scripts
Discourse on Cloud Run
Discourse on a Raspberry Pi | Blog
Troubles executing import/migration scripts
Setup Nginx as a reverse proxy for discourse forum without dockers &any containers
Composer stalls on "Processing Upload" when using events plugin
Migration failed on update calendar plugin to last commit
Vagrantfile in discourse_docker repo - for production?
Discourse is not letting me run setup
Ghost & Discourse SSO implementation
Ghost & Discourse SSO implementation
It Is Necessary to select Discourse?
Please help me with Discourse installation i am a super newbie
Cannot open discourse after installation
How to determine performance bottleneck?
Ghost & Discourse SSO implementation
Hoow to setup Discourse on AAAA (IPv6)?
Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
UI randomly fails during a short period
UI randomly fails during a short period
UI randomly fails during a short period
Sidekiq not running. Sidekiq heartbeat test failed, restarting
Configure an S3 compatible object storage provider for uploads
After server migration the images in posts aren't downloadable anymore