# Watch the logs of the newly created pod
ubuntu@k8s:~$ kubectl logs -n mattermost -f mattermost-app-b68b5cdb-5jlhj
</pre>
=== Old ===
* This is outdated since we migrated to Kubernetes
<pre>
# ssh root@chat.fixme.ch
systemctl stop mattermost
autopostgresqlbackup
ls -l /var/lib/autopostgresqlbackup/daily/mattermost/
su - chat
# Get the TEAM edition (not the enterprise version)
# VERSION from http://about.mattermost.com/download/
cd mattermost
VERSION=3.6.2
OLDVERSION=$(/home/chat/mattermost/bin/platform version 2>&1 | head -n 1 | awk '{print $2}')
cd
wget https://releases.mattermost.com/$VERSION/mattermost-team-$VERSION-linux-amd64.tar.gz
mv mattermost mattermost-$OLDVERSION
tar xvf mattermost-team-$VERSION-linux-amd64.tar.gz
rsync -a ./mattermost-$OLDVERSION/config/ ./mattermost/config/
exit
setcap cap_net_bind_service=+ep /home/chat/mattermost/bin/platform
systemctl start mattermost
tail -F /home/chat/mattermost/logs/mattermost.log
</pre>