You are browsing a read-only backup copy of Wikitech. The live site can be found at

Nova Resource:Chat/Upgrade

From Wikitech-static
< Nova Resource:Chat
Revision as of 11:58, 27 September 2020 by imported>Ladsgroup
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: