Summary
Migration from mattermost/mattermost-prod-app:latest docker to mattermost/mattermost-team-edition:5.9.0 docker causes database schema version error.
Steps to reproduce
Install mattermost/mattermost-team-edition:5.9.0 docker image and connect it to database initially used by mattermost/mattermost-prod-app which was using Team Edition at the time of installment. The entire setup runs in kubernetes cluster.
Expected behavior
I could not find proper explanation on how to migrate the database to be used with the new mattermost-team-edition. Googling did not help. The closest thing I found was this: https://docs.mattermost.com/administration/legacy-upgrade.html
Observed behavior
We were previously running mattermost/mattermost-prod-app:latest docker image for our mattermost installation. However, This repo will be deprecated in Mattermost 6.0 so we want to move on to mattermost-team-edition. Upon installation of the new team-edition connected to the old database I get the error “Database schema version 5.10.0 is no longer supported. This Mattermost server supports automatic upgrades from schema version 3.0.0”