Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

How to upgrade mattermost-docker version #445

Open
craph opened this issue Jan 20, 2020 · 7 comments
Open

How to upgrade mattermost-docker version #445

craph opened this issue Jan 20, 2020 · 7 comments

Comments

@craph
Copy link
Contributor

craph commented Jan 20, 2020

Hi all,

I write this issue because I'm using mattermost-docker in version :

Mattermost Version: 5.16.3
Database Schema Version: 5.16.0
Database: postgres

I would like to upgrade my installed version to the latest one but I can't find the correct way to achieve it in the documentation here : https://docs.mattermost.com/administration/upgrade.html

So, what is the correct way to do that ?

I have followed this documentation to install it on production server based on this repo : https://docs.mattermost.com/install/prod-docker.html?highlight=docker#production-docker-setup-on-ubuntu

Thank you very much.

Best regards,

@caugner
Copy link
Contributor

caugner commented Feb 20, 2020

@gpopesc
Copy link

gpopesc commented Feb 18, 2021

I have a question also related to this topic.

I followed the instructions, but in the in gihtub is still old version
ENV MM_VERSION=5.31.0
https://github.com/mattermost/mattermost-docker/blob/master/app/Dockerfile

It means that the 5.32 is not available for docker?

in the same time, when I run github pull

From https://github.com/mattermost/mattermost-docker

  • [new branch] bump-version -> origin/bump-version
  • [new branch] release-5.32 -> origin/release-5.32
  • [new tag] v5.32.1 -> v5.32.1
  • [new tag] v5.32.0 -> v5.32.0

In application version still show 5.31.

It is very confusing. Could somebody clarify for me?

thanks

@caugner
Copy link
Contributor

caugner commented Feb 18, 2021

@gpopesc I agree, this is confusing. I used to have master checked out, just like you, but it seems you now have to check out one of the release branches, e.g. release-5.32.

@caugner
Copy link
Contributor

caugner commented Feb 18, 2021

@gpopesc Don't update to release-5.32 though, it's broken: #489

@simonyipeter
Copy link

Hi,

I've followed this instructions to update the Mattermost:
https://github.com/mattermost/mattermost-docker#update-mattermost-to-latest-version
It was error free, but mobile app still alerting it's an 5.30 version.
Mattermost Version: 5.31.0
Database Schema Version: 5.30.0
Database: postgres

How can I upgrade the database to 5.31?!
Thanks is advance

@AntoineDavidSupersoniks

Hi,

I've followed this instructions to update the Mattermost:
https://github.com/mattermost/mattermost-docker#update-mattermost-to-latest-version
It was error free, but mobile app still alerting it's an 5.30 version.
Mattermost Version: 5.31.0
Database Schema Version: 5.30.0
Database: postgres

How can I upgrade the database to 5.31?!
Thanks is advance

I've the same issue, do you have a solution ?

@caugner
Copy link
Contributor

caugner commented Jun 25, 2021

How can I upgrade the database to 5.31?!

I don't recall having had this problem, but make sure to docker-compose build and docker-compose up -d, which should migrate the database without problems.

edit: FWIW I managed to manually upgrade to 5.32 (and PostgreSQL 10) with the instructions from this comment, and was meanwhile able to upgrade to 5.36 without any further problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants