How do you update Discourse?


(Victor Aprea) #1

Discourse tells me version 0.9.7.4 is available and very courteously asks me to “Please upgrade!”. Do I do that by simply doing a “git pull” on the installation, or is there more to it than that?


(Jeff Atwood) #2

Provided you are on the only form of officially supported install, our Docker install, visit the URL

/admin/upgrade

And click the Upgrade button.

If for some reason that does not work, SSH into your server and issue these commands at a console:

cd /var/discourse
git pull
./launcher rebuild app

If you are somehow on a pre-V1 version of Discourse, you’ll need to upgrade to V1.


(Erlend Sogge Heggen) #32

Official howto here:


(Erlend Sogge Heggen) #33