Nova Resource:Chat/Upgrade

From Wikitech
Jump to navigation Jump to search

In order to upgrade a chat instance:

  • Create a new empty node, like mattermost02
  • Follow installing mattermost guide (Pick and find Team version):
    • 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
  • Redirect the traffic to the new node by changing the DNS proxy
  • Clean up.

Simple upgrades: