Automating upgrade of Discourse and plugins

Hi, I’m managing few instances of Discourse installed using this method with Docker https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md

I would like to automate upgrading forum version using Ansible, including Discourse plugins.

What commands do I need to execute?
Is this enough?

cd /var/discourse
./launcher rebuild

I’m not Ruby person and I want to ask before I break something :slight_smile:

1 Like

Yes, just add git pull after the cd and that should work fine.

1 Like

Awesome, it works, thanks :slight_smile:

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

The other thing you eventually need to worry about is Docker upgrades. Though that technically is covered by OS updates.

2 Likes