Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.71k stars 276 forks source link

Add to Wiki - I found a way to fix Dropbox sync issues #1580

Closed imsys closed 1 year ago

imsys commented 1 year ago

I was using the native file manager for Android along with Dropbox, but I was always getting sync issues, but the files would just duplicate, so I would just merge them later on my desktop, an Majaro Linux using the official dropbox app.

So a few days ago I added many new passwords using KeePassXC in the Desktop, and today I couldn't find those entries, even in the "conflicted files" copies. Lucky in their web app there is a way to see the 30 days file history. I saw that my last edit on the desktop with the lost entries was on June 12, I downloaded and merged with the current version. The mobile had overwritten the file on June 15, losing the entries.

After I merged in the desktop, I tried to test it again in the mobile, but I couldn't find the entries in the mobile. I would try to force close the app, and open the database again to check and I couldn't find the entries.

So I was almost going to try a 3rd party app like DropSync, but then I found the solution.

The official app has an option "Make available offline", as soon as I clicked on it, it showed a syncing symbol, and when I opened KeePassDX, it finally was able to show my entries.

It seems their app works in a way that we have to open their app to edit documents and download files, and unless we activate this sync mechanism, it just bugs out and provides a cached file. By the way, I also use a custom file extension to add a bit of obfuscation, that may trigger Dropbox to try to create a preview icon, but I don't think this could be the reason causing the caching.

I could not find this info in the Wiki, nor anywhere else, so I thought I should share it. So maybe this could be added somewhere in the Wiki, maybe in the syncing or in some troubleshooting section.

https://help.dropbox.com/sync/access-files-offline

The file will then show the green mark when activated the "Make available offline", as bellow: dropbox-sync1

dropbox-sync2

J-Jamet commented 1 year ago

Thanks, I've just added this doc to the wiki. ;)

imsys commented 1 year ago

I will just close the issue, but I will keep testing and see if this completely solve the problem or just partially, and I will report back in a few days.

matsgf commented 9 months ago

This saved my sanity! Thanks a million