-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade memo 23.2 > 24.2 MYSQL error : Can't drop column tags. #4368
Comments
duplicate of #4365 , which is the error at the first container start. This error is showing at the second restart and is a consequence of the first failure |
All migration scripts(in a same version) of memos will be executed within a transaction, and it will only commit after everything is completed. So it shouldn’t be related to the count of server starts. https://github.com/usememos/memos/blob/main/store/migrator.go#L94 |
Most DDL queries are auto-commited by defaut, you can't encapsulate several of them in a single transaction |
@shagr4th Thanks, TIL. |
So, I am not sure how to fix, going back to 23.1 it's fine, but every time I pull down stable or latest I still get the same |
Describe the bug
ERROR failed to migrate error="Error 1091 (42000): Can't DROP COLUMN
tags
; check that it exists\nfailed to execute statement\ngithub.com/usememos/memos/store.(*Store).execute\n\t/backend-build/store/Steps to reproduce
upgrade docker from 23.2 to latest
The version of Memos you're using
23.2
Screenshots or additional context
No response
The text was updated successfully, but these errors were encountered: