Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

I wrote an upgrade script and want to share it

$
0
0

Hi there,

a few months ago I wanted to speed up the upgrade precedure of minor release upgrades, so I wrote a script for it.
I wanted to share it for quite some time, but didn't get around to actually doing that. @it33 reminded me that it would be a good idea :slight_smile:

I put it into a gist: https://gist.github.com/reach3r/faed21778269a21a353eced9a7051b7d

Example usage: ./mattermost_upgrade.sh 3.4.0

As of now the script has some limitations:

  • it does not backup the database
  • it is only useful for minor updates; major releases that require manual user actions can not be handled correctly

These limitations stem from my scenario, where a database backup is not necessary. I might get around to implementing it at some point, but obviously everyone is welcome to improve the script :slight_smile:.

Have a nice day!


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>