Hello, forum! I installed Syncthing-Fork from F-Droid to keep various folders synced between my phone and my GNU+Linux laptop. Everything works great with one small but important exception.
My .kdbx password file is in one of the sync directories. Every time I make a change to that file on my phone or on my computer, Syncthing-Fork syncs the changes as expected. However, after Syncthing touches the file, next time I try to open the .kdbx file in the KeePassDroid app, it claims the file does not exist. I tried a different KeePass app (KeePassDX Passkey Vault) with similar results.
The workaround is to go into KeePassDroid, delete the URI for the .kdbx file (which looks like “content://com.android.externalstorage.documents/document/primary/%3Astuff%2Fpasswords.kdbx”), then re-create the URI by selecting the .kdbx file from scratch.
I’m a bit bewildered because the URI seems to contain nothing but the path to the .kdbx file, which obviously does not change when the file is synced. This is probably a bug (or at least needlessly complicated behavior) in AOSP–for invisibly including metadata in a URI that appears to be simply a path–but I didn’t know where to ask for help…so I came here.
Is there a way to use Syncthing-Fork with a KeePass client which does not involve having to re-select the .kdbx database file every time the file is synced?
Versions:
Phone: Fairphone 6+
OS: LineageOS 23.2
Syncthing-fork: 2.1.5.0
KeePassDroid: 2.6.9.2