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 on OneDrive breaks when updated #395

Closed
MVS opened this issue Oct 26, 2024 · 2 comments
Closed

Database on OneDrive breaks when updated #395

MVS opened this issue Oct 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@MVS
Copy link

MVS commented Oct 26, 2024

Description
I have a KeePassXC database that I am sharing with my iPhone on OneDrive. Whenever the database is updated on another device, KeePassium breaks and can no longer be updated unless you remove the database and add it again.

I saw #387 which has similar conditions, but I think it is a different issue (this is a personal drive and is not shared). Feel free to merge or close if you disagree.

How to reproduce
Steps to reproduce the behavior:

  1. Create a KeePassXC database on another device with a master password and a key file
  2. Store the kdbx file on OneDrive
  3. On KeePassium, go to Open Database
  4. Navigate to OneDrive and locate the kdbx file
  5. Unlock it using the master password and key file
  6. Update the database using KeePassXC on the other device and save it. Make sure OneDrive syncs the changes.
  7. Sync OneDrive on the iPhone using either the Files app or the OneDrive app
  8. Open KeePassium and refresh the databases
  9. An error message is shown: Couldn't communicate with a helper application. The error message never goes away, so you can continue using an old copy of the database, but there is no way to update it without removing it entirely.

Expected behavior
The database should refresh and show the updated data.

Screenshots
IMG_921C6E0F15A2-1

Environment:

  • Device: iPhone SE 2022
  • OS: iOS 17.7
  • App Version: 1.53.154
@MVS MVS added the bug Something isn't working label Oct 26, 2024
@keepassium
Copy link
Owner

Hmm, this is an interesting case…

Couldn't communicate with a helper application

This is a well-known iOS issue that has nothing to do with KeePassium. It has a dedicated troubleshooting article: If KeePassium couldn’t communicate with a helper application

The interesting part is that the issue occurs after editing the database with KeePassXC. This is a typical symptom of another issue, which usually ends up showing "File doesn't exist". I wonder if OneDrive handles the surprise differently and ends up unresponsive instead…

Out of curiosity, try changing KeePassXC settings as described over the second link, and try to reproduce the issue. If it works out without errors, I would be happy to add the solution to OneDrive's troubleshooting page.

Should the issue repeat anyway, the only reliable solution is to switch to direct OneDrive connection.

@MVS
Copy link
Author

MVS commented Oct 26, 2024

Yes, that solved it. I made the changes in the second link, and everything is working perfectly now. Thank you!

@MVS MVS closed this as completed Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants