Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database file not syncing through Dropbox #1264

Closed
Android-X13 opened this issue Mar 7, 2022 · 3 comments
Closed

Database file not syncing through Dropbox #1264

Android-X13 opened this issue Mar 7, 2022 · 3 comments
Labels

Comments

@Android-X13
Copy link

After I installed KeePassDX, I opened my already existing database file from the Dropbox storage and everything was fine (all entries were as expected).

However any changes I make through KeePassXC on my computer do not reflect in KeePassDX. For example I created a "Test" entry via KeePassXC, saved/closed the database, made sure that Dropbox picked up the changes in the db file, and then opened KeePassDX on Android but the entry has not been added.

Dropbox is connected and working in both machines, Internet connection is working. I also verified though Keepass2Android, which immediately picked up the changes and the Test entry was visible.

What I tried:

  • Reloading the database from inside KeePassDX
  • Merging the database from inside KeePassDX
  • Manually removing the database from KeePassDX history and re-opening it
  • Deleting KeePassDX cache
  • Deleting KeePassDX data

But the Test entry is never shown.

On the other hand if I make a change via KeePassDX and save the database, this is reflected in KeePassXC on the computer.

KeePassDX 3.3.1 (libre build from F-Droid)

@Android-X13 Android-X13 added the bug label Mar 7, 2022
@J-Jamet
Copy link
Member

J-Jamet commented Mar 7, 2022

Duplicate : #1235

https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync
#840
#342

The problem comes from the Dropbox application. Clear the cache of this application.

@J-Jamet J-Jamet closed this as completed Mar 7, 2022
@J-Jamet J-Jamet added duplicate out of scope FileSync Linked to FileSync app labels Mar 7, 2022
@Android-X13
Copy link
Author

Hi @J-Jamet. Clearing Dropbox cache doesn't work, nor does clearing the cache + force stopping the app and then opening it again. Marking the file to be available "offline" and then opening that one in KeePassDX also doesn't work. I guess if I uninstall and re-install the Dropbox app it will probably work but I won't try it.

So my understanding is that Keepass2Android uses proprietary Dropbox API to circumvent this problem, is that correct? If yes then it's good that you don't implement it... as long as there is some way to make cloud/remote sync work.

I'm having trouble following some of the info laid out in the Wiki page and some tickets that you linked though. Is SyncThing the only viable solution?

@J-Jamet
Copy link
Member

J-Jamet commented Mar 7, 2022

So my understanding is that Keepass2Android uses proprietary Dropbox API to circumvent this problem, is that correct? If yes then it's good that you don't implement it... as long as there is some way to make cloud/remote sync work.

Yes. The solution to using proprietary cloud services that do not properly implement their file provider is to create a separate file manager application that implements the API. Kunzisoft/FileSync#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants