PhilippC / keepass2android

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

The file is only temporarily available on Synology DSM 7 #1826

Open DonKyle opened 2 years ago

DonKyle commented 2 years ago

Attempting to open kdbx on a Synology NAS running DSM 7. Message received on selecting the file; The file is only temporarily available for Keepass2Android. To use it, you must copy it to another location. Click OK to select a location where the file should be copied.

Used Synology DSFile as 3rd party provider DSFile 4.13.1-420 Samsung S10+ Android 11

Attached is the debug log. dbfailtoopen.txt

PhilippC commented 2 years ago

can't you open through WebDav or one of the other built-in options? Or does Synology provide the file as part of the "System file browser"? (technically speaking as a Storage Access Framework provider, that's what they should?)

DonKyle commented 2 years ago

Yea, I saw your WebDav response on another ticket of the same vein. Reluctant to go done that path for same reasons that author gave.

Not sure I understand your “system file browser” question, but to take a shot at an answer, after choosing the 3rd party provider, able to navigate the NAS file tree to the desired file. (image below)

Any thoughts on what the server (or android client?) is throwing back at you that would trigger a ‘temporarily available’ file syndrome?

From: PhilippC @.> Sent: Monday, October 25, 2021 6:10 AM To: PhilippC/keepass2android @.> Cc: DonKyle @.>; Author @.> Subject: Re: [PhilippC/keepass2android] The file is only temporarily available on Synology DSM 7 (Issue #1826)

can't you open through WebDav or one of the other built-in options? Or does Synology provide the file as part of the "System file browser"? (technically speaking as a Storage Access Framework provider, that's what they should?)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PhilippC/keepass2android/issues/1826#issuecomment-950755841 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWFVSDZFHAVK4QP3ZHWZQRLUIUUF7ANCNFSM5GRVEPIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/AWFVSDZ6Q3K5VOHN2PA23PDUIUUF7A5CNFSM5GRVEPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHCVWEAI.gif

DonKyle commented 2 years ago

I played around with it more after sending the email response above, (appears embedded image files are not handled from an email...sorry, nubie mistake) and now the Synology DSFile app does not surface as a provider within Keepass2Android anymore. In fact, the 'Get from third-party app' option only shows the local file system now, exactly the same as the 'System File picker'. Removing data/cache, uninstalling reinstalling, reboot device, nothing works to show the DSFile app anymore. Broke it real good. After opening a local db, I can see providers from the hamburger menu, and picking one of the file managers I have installed that has the NAS defined, (guess I didn't need DSFile after all) yields the same results of 'temporarily available' messagebox. So.... following thru with the message, the logic wants to copy the db from the server to a local folder. I picked a local folder and it successfully copies the db down. What criteria is it basing 'temporarily available' on? Is that just a catch-all error message?