Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.55k stars 269 forks source link

Database file disappeared #1757

Closed cornsailing closed 6 months ago

cornsailing commented 8 months ago

Hello, I am a user of KeePassDX, and I have encountered a serious problem while using it. I hope you can help me solve it.

I am using KeePassDX version 4.0.5, and my Android device is Xiaomi 10, with system version MIUI12.5.8 stable version.

This morning I opened KeePassDX and found that my database file was gone, and the software was blank. I searched for files with .kdbx and .kdb extensions in the file manager of my phone, but I did not find my database file. I don’t know what happened, and I am very worried about whether my password data is lost.

I tried the following methods, but none of them worked:

Can you help me get my database file back? This is very important to me, I have a lot of important password data stored in it. If you need more information, please tell me, I will provide it as soon as possible. Thank you for developing such an excellent application, I hope you can solve this problem as soon as possible, thank you for your patience and cooperation.

shuvashish76 commented 8 months ago

Where you stored your database exactly? Any system cleaner app you use?

I'm afraid nothing can be done here as KPDX is just a keepass database editor, it has no functionality to delete files from the device storage. In general you should always keep backup copy of your database & store them in safely e.g SDcard, cloud storage etc.

J-Jamet commented 7 months ago

I agree with the assumptions of @shuvashish76 Xiaomi products often come with apps that delete files, telling you that this will free up memory. In any case, you should make a copy of your database file : https://github.com/Kunzisoft/KeePassDX/wiki/Backup#keepass-database-backup

nhwCoder commented 7 months ago

I have a very similar issue, but I think the file is just not displayed and was not deleted.

[TITLE] Cant see (all) *.kdbx file(s) in KeePassDX file-dialog (using button 'Open available database')

I use KeePassDX 4.05 downloaded from Google Play Store on and a Lenovo Tab P12 (newest systemupdates newest Android 13). When I use the Google Files app to open the folder \Internal Storage\Documents" I can see my .kdbx file. When I use KeePassDX file-dialog (when using button 'Open available database') i CAN NOT see my .kdbx file. PS: I copied the *.kdbx file from Win11 (newest updates) via USB-C cab le to the Android device.

Maybe an internal implemented file-filter is the issue (like it was for https://github.com/Kunzisoft/KeePassDX/issues/1408 filtering some mime-types).

@shuvashish76 Please try to use the native Google "Files" app and open the folder, likely you will see your *.kdbx file is still there and not deleted. Can you confirm?

@KeePassDX-team Can you confirm this?

nhwCoder commented 7 months ago

When I move the same .kdbx file to folder Downloads then KeePassDX file-dialog (when using button 'Open available database') CAN SEE and open this .kdbx file.

There this file has the FileType "File (BIN)".

Good luck & Thanks in advance for bug-fixing the open-file dialog

J-Jamet commented 6 months ago

The KeePassDX application's file display is not restricted at all, and it is normally possible to open any file with any extension. Your problem stems from the file manager you're using.