Mattermost Board plugin cannot be started because of Dirty database version

Summary
Mattermost Board plugin cannot be started because of Dirty database version

Steps to reproduce
I am running Mattermost v6.3 deployed with docker, the image is mattermost/mattermost-enterprise-edition:release-6.3
I have upgraded an instance with version 5.35 to mattermost/mattermost-enterprise-edition:release-6.0
After the successful upgrade I upgraded to 6.3.
I do not know if the board plugin did work after upgrading to version 6.0 as I did not test that.

Expected behavior
The board plugin should be able to start.

Observed behavior
The board plugin can’t start.
Log:

{"timestamp":"2022-01-13 08:36:58.756 +01:00","level":"info","msg":"connectDatabase","caller":"app/plugin_api.go:925","plugin_id":"focalboard","dbType":"mysql"}
> {"timestamp":"2022-01-13 08:36:58.875 +01:00","level":"error","msg":"Table creation / migration failed","caller":"app/plugin_api.go:928","plugin_id":"focalboard","error":"\"Dirty database version 14. Fix and force version.\""}
> {"timestamp":"2022-01-13 08:36:58.879 +01:00","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:142","plugin_id":"focalboard","error":"error initializing the DB: Dirty database version 14. Fix and force version."}
> {"timestamp":"2022-01-13 08:36:58.959 +01:00","level":"info","msg":"connectDatabase","caller":"app/plugin_api.go:925","plugin_id":"focalboard","dbType":"mysql"}
> {"timestamp":"2022-01-13 08:36:59.062 +01:00","level":"error","msg":"Table creation / migration failed","caller":"app/plugin_api.go:928","plugin_id":"focalboard","error":"\"Dirty database version 14. Fix and force version.\""}
> {"timestamp":"2022-01-13 08:36:59.062 +01:00","level":"info","msg":"2022/01/13 08:36:59 [ERR] plugin: plugin server: accept unix /tmp/plugin328667983: use of closed network connection\n","caller":"io/io.go:425","plugin_id":"focalboard","source":"plugin_stderr"}
> {"timestamp":"2022-01-13 08:36:59.063 +01:00","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:142","plugin_id":"focalboard","error":"error initializing the DB: Dirty database version 14. Fix and force version."}

Any help is appreciated, thanks!

Cheers
Michael

Would you be open to reporting this at Issues · mattermost/focalboard · GitHub?

We’ve opened an Issue here: Bug: Issue upgrading from 6.2.1 to 6.3.0 · Issue #2119 · mattermost/focalboard · GitHub.