keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.01k stars 1.42k forks source link

Database file corrupted #11007

Closed janithmalshan closed 2 days ago

janithmalshan commented 2 days ago

Overview

NOTE: # I had 2 db files and one of them has been corrupted. I am not sure about the reason. Somehow it shows 0kb. I suspect this happens due to low storage.

Error while reading the database: Failed to read database file.

This is the error message shows in the FE

Steps to Reproduce

Expected Behavior

Actual Behavior

Context

KeePassXC - VERSION Revision: REVISION

Operating System: Windows10 Desktop Env: Windowing System:

droidmonkey commented 2 days ago

Sorry, but there is nothing we can do about that. Load a backup if you have one. Are you using a USB thumb drive? We don't recommend if you are.

janithmalshan commented 2 days ago

No problem, I had a backup. But you can try to find the issue by testing with low storage.

droidmonkey commented 2 days ago

If you have safe saves enabled then it won't be a problem as the temp file will fail to save properly before overwriting your main file.