Skip to content

hobbyquaker/mattermost-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mattermost-update

License

Simple script for comfortable update of Mattermost

Install

cd /usr/local/bin
wget https://raw.githubusercontent.com/hobbyquaker/mattermost-update/master/mmupdate.sh
chmod a+x mmupdate.sh

In the first few lines of the script you possibly have to change the variable MM_PATH (default is `/opt/mattermost).

This script utilizes jq, wget and sudo, so these need to be installed as prerequisite.

Usage

Copy the URL of the latest Mattermost tarball from http://about.mattermost.com/download/ and call mmupdate.sh with the path of you Mattermost installation and the tarball url as parameters.

Example:

mmupdate.sh /opt/mattermost https://releases.mattermost.com/3.10.0/mattermost-3.10.0-linux-amd64.tar.gz

Todo

  • Backup of MySQL Database (until now only Postgres is implemented)
  • More testing
  • Nicer console output (e.g. colored unicode checkmarks)?
  • Fully automated update: another script that checks the Mattermost webpage for updates and calls mmupdate.sh
  • Omit data dir backup if FileSettings.DriverName != "local"

Contributing

Pull Requests Welcome! :-)

License

MIT © Sebastian Raff

About

Simple script for comfortable update of Mattermost

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages