Now that Discourse 1.0 is released, you’re wondering how to update your existing Discourse installation to the first non-beta release.
Move discourse docker from
Our official location for docker install has moved, we recommend you keep your install in
/var/discourse as opposed to
cd /var/docker ./launcher stop app # Change all references to /var/docker to /var/discourse (volumes:...) nano containers/app.yml cd / mv /var/docker /var/discourse
To search and replace all instances in nano, use Ctrl+\.
The latest version of Docker contains many urgent fixes, most notably, restart policies ensure your Discourse image will come back to life after a reboot.
apt-get update apt-get dist-upgrade lxc-docker
Ensure you are tracking the desired Discourse branch
Discourse has 3 official branches:
- tests-passed: updated most frequently after our test suite runs. This is the branch we deploy most of our customers on.
- beta: updated weekly(ish), a snapshot of tests-passed.
- stable: where our major releases live (with security fixes backported as they arise)
Pick your desired branch. This find by editing the file
params: version: tests-passed # or beta or stable
Update to the latest Docker image
Our newest Docker image resolves quite a few issues (log rotation, syslog works correctly, permissions, security), we strongly recommend you upgrade.
cd /var/discourse git pull ./launcher rebuild app