PhilippC / keepass2android

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

[BUG] ENOENT (No such file or directory) #2586

Open Welved opened 2 months ago

Welved commented 2 months ago

Checks

Describe the bug you encountered:

Attempting to access my passwords on my android phone. Had no issues accessing it until now. For some reason a ENOENT (No such file or directory) error occurs.

Within android, there are some cloud services that mount themselves. Seeing as nextcloud mounts itself I switched over to the offline version of K2A as the online version eats up my battery life.

Describe what you expected to happen:

Be able to access my passwords.

What version of Keepass2Android are you using?

Keepass2Android Offline

Which version of Android are you on?

14

eldiep commented 2 months ago

Since some days I experience the same issue. Also Android 14. I was using ma kdbx file via the inbuild Nextcloud-Mount of my Android device (comes with the nextcloud-app). I've also tried to use the nextcloud-connection of keepass2android, but the same error occours.

After that I reinstalled Keepass2Android but that didn't help me at all. Other remote Databases didn't work, too. But as soon as I have a copy on my local file system (e.g. Downloads-folder) I can open the databases.

I hope there will be a fix of this bug soon. Because I can't user the app currently anymore.

WeirdCircumstances commented 2 months ago

Same problem here as well. Still on Android 12 and also Nextcloud. I will try to use a local DB as you suggested :)

Welved commented 2 months ago

Since some days I experience the same issue. Also Android 14. I was using ma kdbx file via the inbuild Nextcloud-Mount of my Android device (comes with the nextcloud-app). I've also tried to use the nextcloud-connection of keepass2android, but the same error occours.

After that I reinstalled Keepass2Android but that didn't help me at all. Other remote Databases didn't work, too. But as soon as I have a copy on my local file system (e.g. Downloads-folder) I can open the databases.

I hope there will be a fix of this bug soon. Because I can't user the app currently anymore.

I just switched to the online version of K2A... not ideal, but... huh... I'd much rather sync my passwords and access it locally via the mounted nextcloud, instead of the need to connect to the server.

Welved commented 2 months ago

Update: What is happening right now? Now the online variant of the app is refusing to connect to my nextcloud. I've tried clearing my cache and cookies. I've tried using the app password I have issued myself and I've even tried to login to my user account. What is going on with Keepass2Android? I legit can not access my passwords on my phone.

WeirdCircumstances commented 2 months ago

I fixed this problem by (manually) updating the Nexcloud app to 3.28.2 from Play Store. In the old version my Passwords.kdbx file was shown with 0 kb. Now it shows the correct size and my KeyPassDX is working again.

Welved commented 2 months ago

Welp. It is looking like, I am going to switch to KeepassDX. is there a way to unlock the data base with my biometrics alone? Having to use my hardware key every time is annoying. In K2A, after I had set up to unlock via biometrics; I only ever used my yubikey to save changes or update/sync the database.