Nova Resource:Chat/Upgrade
In order to upgrade a chat instance:
- Create a new empty node, like mattermost02
- Follow installing mattermost guide (Pick and find Team version): https://docs.mattermost.com/install/install-debian.html#installing-mattermost-server
- Don't setup the database
- Add IP of the host to MySQL of mattermost database so it can reach them
- Move the data in /opt/mattermost from the old instance
- Move the config in /opt/mattermost from the old instance
- Move the plugins in /opt/mattermost from the old instance
- Add the cronjobs to the new instance
- Enable ClamAV daemon for file antivirus on port 3310
- Test the traffic with an ad-hoc proxy, like chat-next.wmcloud.org
- Redirect the traffic to the new node by changing the DNS proxy
- Clean up.
Simple upgrades:
- For minor bumps, follow https://docs.mattermost.com/administration/upgrade.html?src=dl