mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Error running migrations due to duplicate column name device_type
#2057
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 @oSumAtrIX on GitHub (Oct 7, 2024).
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.