mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Update to 1.17.0 fails - Bitwarden RS Mysql-Backend #826
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrem1987 on GitHub (Oct 12, 2020).
Subject of the issue
I am using multiple instances of Bitwarden with MySQL backend. After pulling the current Image (1.17.0) the migration of the
database does not work. When pulling and running the previous image (1.16.3) back again, there are no issues.
Your environment
Steps to reproduce
Pull the Bitwarden RS MySQL-Backend 1.17.0 and run it.
Expected behaviour
The migration of the tables should run flawless.
Actual behaviour
The migration-script does not run properly and stops the migration of the database.
Relevant logs
@jjlin commented on GitHub (Oct 12, 2020):
If you do a web search for that error message, most likely your bitwarden_rs tables don't have a consistent character set and/or collation. Your MySQL config may have been changed to use different defaults at some point.
@andrem1987 commented on GitHub (Oct 12, 2020):
Well, i should have searched for this failure before i post an issue.... Thanks for your answer, that was exactly the problem.
The Database, tables and columns had a different collation in some cases. After reapplying
utf8_general_cito the database, tables and columns the update worked like a charm.@BlackDex commented on GitHub (Oct 12, 2020):
Great, i think we will add some verification/warning regarding this collation.
Already put it on the list