mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Database error after upgrade "Table 'emergency_access' already exists" #1160
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 @SingingFrog7 on GitHub (Dec 4, 2021).
Hello,
I have been running Vaultwarden for quite a while and did an update of my docker images yesterday. Since then, Vautlwarden doesn't want to start
Here's the error:
Here's my docker-compose.yml file:
Nothing too wild there. I tried to find the migration script but can't find the "up.sql" file when I connect to the docker container and do a
find / -name "*up.sql"So I connected to MySQL and when trying to
select * from emergency_accessI gottable vaultwarden.emergency_access doesn't exists in engine. I dropped the table and removed the .idb files associated to it and now I have :I'm not sure what to do there.
If anyone can help, that would be nice!
Thanks
@BlackDex commented on GitHub (Dec 4, 2021):
See https://github.com/dani-garcia/vaultwarden/discussions/1559#discussioncomment-544070
@SingingFrog7 commented on GitHub (Dec 4, 2021):
Thanks a lot for your quick response. I did a search with my first errors but sadly didn't redo it after some debugging
That worked for me, thanks again