Summary
Can’t deploy mattermost 7.5.2 team édition using helm
Steps to reproduce
Try to deploy mattermost by launching the container
Expected behavior
Mattermost is appliying dB migration and start
Observed behavior
Mattermost failed to do a migration. There is the log error :
{“timestamp”:“2022-12-28 09:32:42.402 Z”,“level”:“debug”,“msg”:“morph.go:175: == create_users: migrating =======================================================================\n”,“caller”:“sqlstore/utils.go:167”}
{“timestamp”:“2022-12-28 09:32:42.453 Z”,“level”:“fatal”,“msg”:“Failed to apply database migrations.”,“caller”:“sqlstore/store.go:166”,“error”:"driver: mysql, message: failed when applying migration, command: apply_migration, originalError: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘{"automaticTimezone":"","manualTimezone":"","useAutomaticTimezone":"true"}\’;‘\n)’ at line 9, query: \n\nCREATE TABLE IF NOT EXISTS Users (\n Id varchar(26) NOT NULL,\n CreateAt bigint(20) DEFAULT NULL,\n UpdateAt bigint(20) DEFAULT NULL,\n DeleteAt bigint(20) DEFAULT NULL,\n Username varchar(64) DEFAULT NULL,\n Password varchar(128) DEFAULT NULL,\n AuthData varchar(128) DEFAULT NULL,\n AuthService varchar(32) DEFAULT NULL,\n Email varchar(128) DEFAULT NULL,\n EmailVerified tinyint(1),\n Nickname varchar(64) DEFAULT NULL,\n FirstName varchar(64) DEFAULT NULL,\n LastName varc…
The db is a MySQL dB in version 8.0.31 that should be supported by mattermost.
The user used by mattermost to log into the db is owner.
Can someone help me please ?