How to install Discourse in production (Discourse official install / standard install)

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
Setup wont send me the email
Noob installation : email not working, trouble with the digitalocean console
Not getting activation email
Very frequent 500 errors after server reinstallation
How do I run Discourse on a folder on my site running PHP on LAMP on DigitalOcean
SMTP works with test emails but not with new activations
Synology docker installs
Installation Help on namehero.com
It Is Necessary to select Discourse?
Discourse Forum not working with Digital Ocean
Install and hosted related issues
Stop and remove docker container by mistake
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
Why the icon address is localhost when I use an ip as hostname
Bootsnap::CompileCache::PermissionError
How to 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
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
Beginners Guide to 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
Beginners Guide to Install Discourse on macOS for Development
Beginners Guide to Install Discourse on Ubuntu for Development
How to setup discourse with cloudflare
Discourse update plugin without docker
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
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?
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?
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
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
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?)
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?)
Advanced, manual method of manually creating and restoring Discourse backups
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
Vagrantfile in discourse_docker repo - for production?
Server reboot necessitates disco container reboot
It Is Necessary to select Discourse?
Please help me with Discourse installation i am a super newbie
Cannot open discourse after installation
Hoow to setup Discourse on AAAA (IPv6)?
Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
Sidekiq not running. Sidekiq heartbeat test failed, restarting
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)
2.7.0.beta2 upgrade failed
No information requested on install
Site won't load / can't open in safari / other issues
Domain & Subdomains