<pre>
# ssh root@chat.fixme.ch
systemctl stop mattermost
autopostgresqlbackup
su - chat
# Download Get the TEAM edition (not the enterprise version), check the # VERSION from http://about.mattermost.com/download/
VERSION=3.6.2
OLDVERSION=$(/home/chat/mattermost/bin/platform version 2>&1 | head -n 1 | awk '{print $2}')