[BUG] Keepass2Android cannot save changes to WebDAV (1&1 Cloud) anymore – Rename/Move failed (v1.14.r4, Android 11)
Checks
- [x] I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:
Description
For some time now, changes made to the database in Keepass2Android on my smartphone are no longer written back to the WebDAV cloud storage (1&1). When saving, the error shown below appears.
Synchronization from the PC (KeePass for Windows) to Keepass2Android still works without issues. Bidirectional synchronization used to work correctly with the same configuration. With the previous version of Keepass2Android, saving changes worked properly.
Error Message Rename/Move failed for 1und1_filepath_.datei.kdbx.tmp.17471909 to 1und1_filepath_.datei.kdbx:400
Steps to Reproduce Open Keepass2Android Load the database via WebDAV (1&1 Cloud) Edit an existing entry or create a new entry Save or trigger synchronization Error message occurs
Expected Behavior Changes should be saved back to the WebDAV database successfully and later become visible on the PC (Keepass).
Actual Behavior The error message appears when saving Changes are not written back to the cloud The PC does not display these changes afterwards
Environment App: Keepass2Android Version: 1.14.r4 Device: realme 6 Pro Android version: 11 Cloud storage: 1&1 Cloud via HTTPS (WebDAV) Desktop: KeePass (Windows)
Keepass2Android Settings Default configuration, except: Notifications disabled Biometric password enabled Setting “Synchronize after QuickUnlock” enabled
Additional Information Issue occurs consistently on every change WebDAV configuration and credentials unchanged Network connection stable Issue appeared recently; saving worked properly before Error suggests the file cannot be renamed or overwritten via WebDAV
Describe what you expected to happen:
Expected Behavior Changes should be saved back to the WebDAV database successfully and later become visible on the PC.
What version of Keepass2Android are you using?
1.14.r4
Which version of Android are you on?
11
I meet this issue too, same symptoms.
I meet this issue too, hope to be fixed ,thank you!
Hi, I have a similar issue with webdav. I red on forums that a version 1.15 pre-release exist. When can we have it on playstore ? Thanks.
https://github.com/PhilippC/keepass2android/issues/3010
Try to disable this: setting->App->File handling->File transactions
I also had a similar problem with kdbx on WebDAV since change of webdav-code in Keepass2Android. I received the error message Quelldatei konnte nicht gespeichert werden: Unexpected char 0xf6 at 35 in Destination value: https://myservice/file.kdbx.
After changing the setting as IanSmith123 suggested, the problem is gone :-)
@IanSmith123 I nevertheless read a lot of things but I missed that. Thanks a lot.
@IanSmith123 Thank you for the advice. It now works correctly. Is this a bug, or what does this setting do?
This might be the root cause. https://github.com/PhilippC/keepass2android/pull/3078#issue-3604461832 The next KeePass2Android release is expected to work better with WebDAV.
@badjules @Pollux27 @MichaelZ4714