Nova Resource:Chat

From Wikitech
Jump to navigation Jump to search


Project Name chat
Details,
admins/members
openstack-browser
Monitoring
Add documentation

Server admin log

2020-07-02

  • 09:57 arturo: create project with ladsgroup (Amir1) as projectadmin (T255046)



Documentation

90 days deletion

Add this cron to the databases node (right now: chat-database01):

0 0 * * * sudo mysql -D mattermost -e "delete from Posts where UpdateAt < $(date +%s -d '90 days ago');" > ~/cleaner.out  2> ~/cleaner.err

Upgrade

Anti virus for file uploads

The node needs to have an antivirus for file uploads (using the ClamAV plugin: https://github.com/mattermost/mattermost-plugin-antivirus). You can install it

sudo apt-get install clamav clamav-daemon

Then reconfigure it to listen to port 3310 (by default it listens to its unix socket):

sudo dpkg-reconfigure clamav-daemon

Then run it:

sudo clamd