Hi
I have been using mattermost version 5.4.0 for more than 7 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 source code
I have tried to migrate database directly and installed new version but many private channel public all and mattermost did not work properly specially with users and groups.
I would be thankful if you help me as soon as possible.
Have you read the docs? The recommended upgrade path is described here: Prepare to upgrade Mattermost - Mattermost documentation
For example, if there are three ESR versions ESR1, ESR2, and ESR3, upgrading from ESR1 to ESR2, and then ESR2 to ESR3 will ensure backwards compatibility, but not from ESR1 to ESR3 directly.
and
In the case of delayed upgrades, we recommend upgrading to the closest ESR version first, and from there to the next ESR. Do not attempt to directly upgrade to the latest version as it might break backwards compatibility of the older nodes in the cluster during the upgrade.
Don’t forget to read the upgrade notices: Important Upgrade Notes - Mattermost documentation
@rtfm98 is dead on. Version archive - Mattermost documentation is how you’d find each step in the process.