mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #1488] Upgrade to new version 2.19 #981
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#981
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @gkl1368 on GitHub (Mar 15, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1488
Running migration 20210311190243
BitWarden | Executing migration script 20210311190243/up.sql
BitWarden | [2021-03-15 10:39:46.977][bitwarden_rs::util][WARN] Can't connect to database, retrying: DieselMigError.
BitWarden | [CAUSE] QueryError(
BitWarden | DatabaseError(
BitWarden | __Unknown,
BitWarden | "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NOT NULL,\n password_hash BLOB,\n password_salt BLOB,\n password_iter...' at line 11",
I have this problem when I upgrade to 2.19,I use docker with MySQL. It work ok before update.
@BlackDex commented on GitHub (Mar 15, 2021):
Please check your database Collation.
See: https://github.com/dani-garcia/bitwarden_rs/issues/1305#issuecomment-774558466 for some info.
This could cause some strange issues when it has a different collation, it could very well be this issue.
@dani-garcia commented on GitHub (Mar 15, 2021):
I think MySQL doesn’t allow using key as a column name, might need to rename it to akey like with the user table.
We’ll need to modify the existing MySQL migration and create two new ones for the other two.
@gkl1368 commented on GitHub (Mar 15, 2021):
OK. I will wait for your modify. Thanks
@gkl1368 commented on GitHub (Mar 16, 2021):
After upgrade to new docker image, it works. Thanks.