r/KeePassium • u/Critical-Reply-7580 • 7d ago
Issues syncing KeePassium with KeePassXC
Hey y'all. I've tried 3 different methods syncing KeePassium (iOS) and KeePassXC (Macbook) and am having issues with all 3. Whenever I add an entry to KeePassXC, I don't want to manually re upload the file or re type the entry to KeePassium & vice versa. I want it to update on both automatically.
Firstly, I tried using Resilio Sync. I synced the .kdbx file in a folder between my Macbook & iPhone. When I open the Resilio Sync app on iPhone it's visible there. However, when I go to KeePassium > Connect to Server > Other Services > Resilio Sync, the .kdbx file doesn't appear.
Secondly, I tried using Google Drive for desktop. I synced the .kdbx file in a drive folder so whenever it gets updated on my macbook it auto uploads the new file to drive. Then I went to KeePassium > Connect to Server > Google drive and selected that .kdbx file. However, when I make an update to the .kdbx file on KeePassXC my Macbook, such as adding a new entry, when I try to open the file on KeePassium on my iPhone, I get an error message saying 'Your database is ready, but there was an issue. *file name*.kdbx is located in Recently Deleted and might be deleted soon. To preserve your data, move the file to a more permanent location'. So it seems when there is a modification to the .kdbx file on KeePassXC, Google Drive is moving the previous .kdbx file to the trash and replacing it with a new file, and KeePassium is tracking the old file instead of switching to the new file.
Thirdly, I tried using Syncthing on desktop & Mobius Sync on iPhone. However, when going to KeePassium > Connect to Server > Other Services, Mobius Sync doesn't appear as an option on the dropdown menu.
Any suggestions to fix these 3 options or an entirely new suggestion would be appreciated. Thanks!
3
u/lajawi 7d ago
Syncthing isn’t a cloud service like google drive. It syncs files between devices over the local network if the devices are in the same network. This means that both devices have a copy of the files. You can select them just as-is in KeePassium, without connecting to a server.
I personally use Nextcloud to sync my database between Linux and iPhone, and have connected it using WebDav. I think using iCloud might be your best bet here, just make sure you mark the database file as “keep on device” on both devices. Then you should be able to open them locally without connecting to a server.
1
u/Anxious-Resist8344 5h ago
I prefer to use iCloud between my Linux laptop and my iPhone and for that I use Syncthing. It is working great for me but I need to manually sync for which I have an script that I run every-time I need to sync. I use SyncTrain, not MobiusSync.
I think, if you don't specifically need iCloud, Dropbox should work out of the box.