mattermost / mattermost-docker

Deprecated
Apache License 2.0
963 stars 575 forks source link

How to upgrade mattermost-docker version #445

Open craph opened 4 years ago

craph commented 4 years ago

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 commented 4 years ago

You can find the update instructions here: https://github.com/mattermost/mattermost-docker#update-mattermost-to-latest-version

gpopesc commented 3 years ago

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

In application version still show 5.31.

It is very confusing. Could somebody clarify for me?

thanks

caugner commented 3 years ago

@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 commented 3 years ago

@gpopesc Don't update to release-5.32 though, it's broken: https://github.com/mattermost/mattermost-docker/issues/489

simonyipeter commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.