How to manually upgrade from 1.1 to 1.3

I use gitlab mattermost and I recently upgraded gitlab 8.1 to 8.3, and that skipped mattermost version 1.2. Now, mattermost is down with an error that the versions cannot be skipped. I couldn’t find any info on how to upgrade manually. Can someone help? Thanks.

Kirthi

The link provided at page https://github.com/mattermost/platform/blob/master/doc/install/Upgrade-Guide.md
is not working. (https://github.com/mattermost/platform/blob/master/var/log/gitlab/mattermost/current gives 404 error) Note: I’m trying to manually upgrade mattermost that is installed with gitlab.

Sorry about that, link fixed, not sure what happened there…

Mattermost is designed to be upgraded one version at a time, so if you skipped versions using GitLab’s automation, the Mattermost database schema won’t matched the updated binary.

You can fix this by either re-running the GitLab automation to upgrade one version at a time, or you can manually upgrade Mattermost using the documented steps so the database schema matches the binary.

Thanks @it33. I’m going through the link - the command ‘sudo stop mattermost’ is not recognized.
What am I missing? This is gitlab-mattermost installation

Hi @kirthi,

The goal of packaging Mattermost with GitLab was to make Mattermost easy to install.

If this is not the case, I’d propose installing Mattermost separately using step-by-step instructions and then configuring GitLab-Mattermost SSO integration directly.

Once it’s installed, Mattermost is just on binary file to replace on upgrade, and setting everything up cleanly makes everything simple to administer while keeping all the benefits of GitLab integration.

Does this help?