PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.73k stars 382 forks source link

[BUG] Invalid path when trying to load a local database #2417

Open StasMercer opened 1 year ago

StasMercer commented 1 year ago

Checks

Describe the bug you encountered:

When I'm trying to load my local backup of the database, the actual path is wrong. Some dashes are missing I suppose. Sorry, had to hide my email. The actual name of my file with passwords is only Passwords.kdbx. I lost my access to one drive because it was the oneDrive of the school I already graduated. So local backup is the only hope, to get my passwords back. Please contact me if you need more info. Thank you. image

Describe what you expected to happen:

I expect to open my local backup of the database.

What version of Keepass2Android are you using?

1.09e-r7

Which version of Android are you on?

android 11

amarradi commented 1 year ago

Have you given Keepass2Android write-read access to the location? If not, try using the Android Settings app

StasMercer commented 11 months ago

Hello @amarradi yes, sure I gave all needed permissions image

amarradi commented 11 months ago

Try copy the file to a desktop pc and open it with keepassx. Im using linux and keepassx but it's always available for win or mac.

Then delete all data for keepass2Android and copy the file back to your phone.

amarradi commented 11 months ago

Now I tried to open the path on my not rooted phone I can't use the path /data/data/keepass2.../

StasMercer commented 11 months ago

@amarradi , the problem is that I don't have access to the file, because it is only the local internal copy made by keepass2android, and this copy can only be accessed by the app itself. I just have it restored when switched to new phone