Automating upgrade of Discourse and plugins

Hi, I’m managing few instances of Discourse installed using this method with Docker

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

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


This topic was automatically closed after 2960 days. New replies are no longer allowed.