I tried to update our Mattermost Server running Version 7.1 in a Docker Container.
I pulled the newest changes from the mattermost repo, changed the Version in the .env from 7.1 to 7.8.
Everything seemed finde with one problem: Boards do not function anymore.
Further investigation lead to the following database error:
“2023-09-22 08:34:00.610 UTC [1] LOG: database system is ready to accept connections
2023-09-22 08:34:05.075 UTC [39] ERROR: column “name” does not exist at character 17
2023-09-22 08:34:05.075 UTC [39] STATEMENT: SELECT version, name FROM focalboard_schema_migrations
2023-09-22 08:34:05.194 UTC [41] ERROR: column “name” does not exist at character 17
2023-09-22 08:34:05.194 UTC [41] STATEMENT: SELECT version, name FROM focalboard_schema_migrations
2023-09-22 08:43:53.140 UTC [62] ERROR: duplicate key value violates unique constraint “pluginkeyvaluestore_pkey”
2023-09-22 08:43:53.140 UTC [62] DETAIL: Key (pluginid, pkey)=(com.mattermost.nps, UserLock-shfjshbgf348njkr48) already exists.
2023-09-22 08:43:53.140 UTC [62] STATEMENT: INSERT INTO PluginKeyValueStore (PluginId,PKey,PValue,ExpireAt) VALUES ($1,$2,$3,$4)”
Has anyone an idea how to fix this?
Thank you