Database migration failed with "Index column size too large. The maximum column size is 767 bytes" while upgrading to 3.0.0 #1403
Answered
by
brownsugar
brownsugar
asked this question in
Help wanted
-
How Shlink is set-up
SummaryError occurred while upgrading Shlink instance from 2.10 to 3.0.x, looks like related to DB charset.
|
Beta Was this translation helpful? Give feedback.
Answered by
brownsugar
Mar 11, 2022
Replies: 3 comments
-
Probably related with this #1358 You will have to update to a newest Mariadb version |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
acelaya
-
Thanks for the tip. I'll check if it's possible to incorporate this to Shlink. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think my MariaDB version is new enough as it's still under supported, and it's quite dangerous to upgrade the version as it's also used in other services.
Finally I found the solution to fix this, the
Row_format
of original tables was set toCompact
.SHOW TABLE STATUS FROM {DB_NAME}
Just alter them all to
Dynamic
.