Difference between revisions of "Chat"

From Fixme.ch
Jump to: navigation, search
(Upgrade)
Line 15: Line 15:
 
== Upgrade ==
 
== Upgrade ==
  
* The upgrade takes place like this,
+
<pre>
<code>
+
ssh root@chat.fixme.ch
 
systemctl stop mattermost
 
systemctl stop mattermost
 
autopostgresqlbackup
 
autopostgresqlbackup
 
ls -l /var/lib/autopostgresqlbackup/daily/mattermost/
 
ls -l /var/lib/autopostgresqlbackup/daily/mattermost/
 +
 
su - chat
 
su - chat
 
# Download the TEAM edition (not the enterprise version) from http://about.mattermost.com/download/
 
# Download the TEAM edition (not the enterprise version) from http://about.mattermost.com/download/
Line 29: Line 30:
 
rsync -a ./mattermost-$OLDVERSION/config/ ./mattermost/config/
 
rsync -a ./mattermost-$OLDVERSION/config/ ./mattermost/config/
 
exit
 
exit
 +
 
setcap cap_net_bind_service=+ep /home/chat/mattermost/bin/platform
 
setcap cap_net_bind_service=+ep /home/chat/mattermost/bin/platform
 
systemctl start mattermost
 
systemctl start mattermost
 
tail -F /home/chat/mattermost/logs/mattermost.log
 
tail -F /home/chat/mattermost/logs/mattermost.log
</code>
+
</pre>
  
 
== Channel naming convention ==
 
== Channel naming convention ==

Revision as of 00:37, 10 February 2017

Description

Goal

  • Initial goal was to get out of slack
  • The other goal is to have a userfriendly chat, better than IRC (which still have its use cases of course)

Component

Upgrade

ssh root@chat.fixme.ch
systemctl stop mattermost
autopostgresqlbackup
ls -l /var/lib/autopostgresqlbackup/daily/mattermost/

su - chat
# Download the TEAM edition (not the enterprise 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}')
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

Channel naming convention

  • 10_* = general/association
  • 20_* = events
  • 30_* = projects/topics
  • 40_* = other
  • 99_* = archived channels

Participants