How to upgrade from 5.19 to latest version

Hi
I have been using mattermost version 5.19 for more than 3 years but right now I have plan to migrate to the latest version
How can I upgrade it properly ? I think I might have issues in database due to huge changes.
My old mattermost is running on docker with three container include app and web version and, a postgresql database.
I have tried to migrate database directly and installed new version to not lose my data but I lost my files and mattermost did not work properly specially with users and groups.
I would be thankful if you help me as soon as possible.

If you’re on MySQL you’re going to need to migrate to Postgres https://docs.mattermost.com/deploy/postgres-migration.html

Upgrade guide is at Upgrade Mattermost Server - Mattermost documentation

You’re going to need to upgrade to 5.19.3, then to the next ESR release 5.25.7, then the next ESR 5.31.9, then 5.37.10, and so on through each ESR release. See Version archive - Mattermost documentation to find those releases and the downloads for each.

1 Like

Thanks for your response but I am already using postgresql and my mattermost has been deployed via docker-compose so it that possible to upgrade it ? as long as I know the docker compose I am using is deprecated

Not sure what you mean by this.

See https://docs.mattermost.com/install/install-docker.html#upgrade-from-mattermost-docker