Open Ouxhi opened 6 years ago
why not use Android file browser which does not have the "temporary file" restriction?
I'm not sure how to use the file browser to access my google drive account that has the database. I downloaded a file browser but I don't see a way to do that, it seems that I can only browse files that are on the phone/sd card.
you don't need to download anything. Just select "System file picker". You might go to the settings then (three vertical dots on the upper right) to see more than internal memory.
To my knowledge, only the Google Drive app has accesses to the "Computers" location. It would appear that the API that is used by other apps (including file browsers) are locked into the "My Drive" portion. It looks like it's up to Google to fix the API to allow access to Computers as well as My Drive.
Still having this problem, any progress on the Google API side?
Same problem here! Any news about how to access to "Computers" location? The Backup & Sync utility provided by Google store the database in the "Computers" location on Drive. I don't know how to access directly to this file from Keepass2Android...
Same here. Ended up just syncing the local folder with the drive directly, which merged them and created some mess, but at least it now works.
As the Google "Backup & Sync" is going to be replaced with "Google Drive", this is possibly becoming an issue. On PC, I used to access the kdbx file on a folder used by Backup & Sync. Such folder is available even if B&S is not started. Now I have to use GDrive that create a virtual disk available only when the app is running. The only alternative to make the file accessible even when GDrive is not running is to use a synchronized folder that ends up to the "My Computer" section on android GDrive, but since the "My Computer" is not available to access from keepass2android I cannot keep the two synchronized this way. To be more clear: the alternative is to keep running GDrive for desktop every time I run KeePass desktop, even when I know there is no need to sync data, otherwise the file (in a virtual disk) is not available on desktop
I think I found a workaround. It's not ideal but it seems to work. You need to star your kdbx file in Google Drive app. Then choose the file system picker (the exact app/interface probably depends on your phone brand, but you need one that can access Drive) When you choose Drive from the System File Picker menu, you should see 3 folders: My Drive, Shared With Me and Starred. You should find your kdbx in the latter.
@morallo The system picker with starred file access worked for me too, but I am not sure this will get synchronization to work properly, i.e., when the file in drive changes, not sure if the changes will be automatically detected. Have you already tested this?
Unfortunately it seems it's not 2-way sync. The changes done in Keepas2Android are not synced back to Drive 😔 It seems to be a permissions issue.
That is unfortunate! Thanks for reporting back.
I tried to add in Computers a shortcut to the folder with the files. Then I specified a place for the shortcut in My Drive. Now I can open the file but I have read-only access only. The whole folder is read-only. I hope this helps.
In my Windows Keepass install, I use a plugin to backup the database (keeping the last 5) into a separate folder on another hard drive. This folder is synced to Google Drive. In Google Drive, in order to access this folder, I have to go to a section called Computers -> My Computer -> "Database backup folder". In the Keepass2android app, selecting Google Drive takes you directly into the "My Drive" section in my Google Drive account, which is not where the computer synced folder is.
There is a solution I can use to get around this problem though. In the Keepass2android app, I can select "Get from third party app" instead and use the Google Drive app on my phone in order to navigate to the Computer -> My Computer folder and access the database files. However, there is a prompt telling me the file I chose is only temporarily available to use and I have to save the file somewhere else before I can even use it. I don't want to save the database file locally on my phone/sd card and I'd rather not save it on another cloud service and delete it afterwards.
This is a image referring to what I'm describing: https://i.imgur.com/tcoH38d.png As you can see, the "Computer" section is entirely separated from "My Drive", which is unfortunately where the navigation begins in the Keepass2android app. Can an option be implemented to open the Google Drive account's "Computer" section as well as the "My Drive" section?