mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #5057] Error running migrations due to duplicate column name device_type #2062
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#2062
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 @oSumAtrIX on GitHub (Oct 6, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/5057
Vaultwarden Support String
Vaultwarden can not be started, so no support string can be retrieved.
Vaultwarden Build Version
v1.32.1
Deployment method
Official Container Image
Reverse Proxy
nginx
Host/Server Operating System
Linux
Operating System Version
Ubuntu 24
Clients
Web Vault, Browser Extension
Steps To Reproduce
This is tricky. I reverted to the v1.32.0 image, and the issue disappeared. I was able to access the web vault. Upgrading to the latest gave the same panic. It is unknown how to reproduce this.
Expected Result
The migration succeeds.
Actual Result
The migration fails due to a panic.
Logs
Screenshots or Videos
Additional Context
No response
@BlackDex commented on GitHub (Oct 7, 2024):
Looks like something didn't door completed, or you used the testing tagged images also recently.
The only way to fix this correctly is by removing the extra column
device_typefrom thetwofactor_incompletetabel, and let Vaultwarden run the migration again.