For feature requests, please see: https://portal.productboard.com/mattermost/33-what-matters-to-you.
For troubleshooting questions, please post in the following format:
Summary
Mattermost service fails to start after upgrade with a sql error
Steps to reproduce
upgrading from 6.0.4 to 6.7.2 in order to keep upgrading to meet compliance
Expected behavior
ran the upgrade steps and mattermost service won’t start
– Unit mattermost.service has begun starting up.
Jan 26 04:29:26 ip-172-31-39-85 mattermost[24349]: {“timestamp”:“2023-01-26 04:29:26.122 Z”,“level”:“info”,“msg”:“Server is initializing…”,“caller”:“app/server.go:262”,“go_version”:“go1.18.1”}
Jan 26 04:29:26 ip-172-31-39-85 mattermost[24349]: {“timestamp”:“2023-01-26 04:29:26.125 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:226”,“database”:“master”}
Jan 26 04:29:26 ip-172-31-39-85 mattermost[24349]: {“timestamp”:“2023-01-26 04:29:26.150 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:226”,“database”:“master”}
Jan 26 04:29:26 ip-172-31-39-85 mattermost[24349]: {“timestamp”:“2023-01-26 04:29:26.175 Z”,“level”:“fatal”,“msg”:“Failed to apply database migrations.”,“caller”:“sqlstore/store.go:163”,“error”:"driver: mysql, mess
Jan 26 04:29:26 ip-172-31-39-85 systemd[1]: mattermost.service: Main process exited, code=exited, status=1/FAILURE
Jan 26 04:29:26 ip-172-31-39-85 systemd[1]: mattermost.service: Failed with result ‘exit-code’.
Jan 26 04:29:26 ip-172-31-39-85 systemd[1]: Failed to start Mattermost.
– Subject: Unit mattermost.service has failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu
– Unit mattermost.service has failed.
– The result is RESULT.
Trying not to restore as it’s on AWS