I’ve been running syncthing for a couple of years now and it does what it says on the tin quite well. One thing I’m missing is the ability to share files (e.g. a common Keepass database between myself and my wife) and maintain these synced. It appears that File Browser Quantum may support me here although I’m not sure I understand how. A.t.m., I have a folder on my laptop that is shared with a server and the server shares it to my mobile and my wife’s mobile. But if I try to share that folder with my wife’s account on my laptop (Debian), things get complicated. So maybe what I should do is use the folder on my laptop (my account) as the root folder for FBQ and then let FBQ sync it with my wifes devices and accounts? Just a bit worried that if I let both Syncthing and FBQ operate on the same folder, I may get conflicts arising. Anyone have similar use cases and what to share their experience? I’ve read of people using both these tools effectively.
VaultWarden with a shared account/password would work. You really can’t resolve conflicts in binary/encrypted files with Syncthing or anything.
I have thought about Vaultwarden but is it still the de facto oos solution? I read that people aren’t very happy with it
Frankly the web UI is Angular, I’d prefer something lighter. The rest just works.
There is no easy solution to this for your case, because you want versioning, not syncing. Versioning is what makes collaboration on google docs or o365 possible, with some merge logic to bring together non-colliding changes. Syncthing cannot do that beyond the granularity of individual files.
Syncthing works well when one of the sync members holds the “true” copy and everyone accepts changes one at a time.
Keepass (some clients anyway) helpfully merges changes to the underlying file if it changes whilst open so a simple sync of the file is enough.
Do you have a how-to on this? I haven’t found keepass to be all that reliable when merging changes, and I’ve lost a few passwords because of it.
Syncthing forks a file at each client access, so I’m not sure how keepass would accomplish this, although it’s been a few years, things might have changed.
https://keepass.info/help/v2/sync.html
https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync#data-synchronization
I cannot find confirmation for keepassxc but they check for changes before saving (and I believe offer to merge) as confirmed in this non-issue:
https://github.com/keepassxreboot/keepassxc/issues/12690#issuecomment-3538942799
You could still get conflict files being created by the sync software and would need to watch and merge those manually. However you can mitigate that by saving on every change (this is the default I think) and synching as often as possible between devices.
However you can mitigate that by saving on every change
Agreed. That’s what I’m doing now.
Not quite following you there, let me see if my system helps.
I have a NAS with multiple syncthing instances (services) running:
- me, my laptops, my phone
- my partner, their laptop & phone
- other equipment in the house (for Music, etc) For me & my partner, I added a shared folder that both syncthing instances used.
It works fine if you ignore file ownerships and set the underlying permissions so both users (ie the group
users) have write access. But, if we’re both editing something, syncthing will nuke one of them (so I have versioning on). But for us this never happens as they’re rarely writing to those files.Yes, I have exactly the same setup. But we’ve lost a couple of password because we had Keepass open at the same time. This never happened with Nextcloud.
Pretty sure KeepassXC keeps its DB closed unless editing, I’ve not had trouble syncthinging it to my phone. That said, if I was worried, I’d designate a network accessible DB as ‘the truth’ and have everyone edit that, then set up a systemd service using a rsync (guts of syncthing) script to put it on all the sometimes network inaccessible endpoints on a regular basis, daily maybe?
But do you have File Versioning setup on all the syncthing end points?
If so, you’ll at least get
sync-conflictcopies - yes, you’ll still need to fix them, but at least they won’t (shouldn’t) be totally lost.I guess another idea is to have separate personal keepass files to help reduce the editing on a common file…? (That’s what we have)
I don’t understand why you want to introduce fqb, syncthing seems to be enough for your usecase ?
My solution would be to have a sync-thinged folder, then, using filebrowser, create users for everyone you want to have access, and limit their access to that specific directory. Then your syncthing works like always, and the current directory is available online at anytime. It would be up to you whether to allow read/write/delete privileges on the firebrowser accounts. This way, whatever syncthing can’t work with, there’s still online access. Cloudflared access would be another good layer of protection.
I don’t foresee any conflicts other than the delay of your syncthing folder on your phone updating the one on the FBQ server. The server will show whatever is in that directory - it doesn’t really care how it got there.



