keepass2android icon indicating copy to clipboard operation
keepass2android copied to clipboard

[BUG] Keepass2Android cannot save changes to WebDAV (1&1 Cloud) anymore – Rename/Move failed (v1.14.r4, Android 11)

Open badjules opened this issue 1 month ago • 2 comments

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

badjules avatar Dec 08 '25 18:12 badjules

I meet this issue too, same symptoms.

wangdongcheng avatar Dec 08 '25 21:12 wangdongcheng

I meet this issue too, hope to be fixed ,thank you!

DereckZhang avatar Dec 09 '25 15:12 DereckZhang

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.

Pollux27 avatar Dec 12 '25 09:12 Pollux27

https://github.com/PhilippC/keepass2android/issues/3010

Try to disable this: setting->App->File handling->File transactions

IanSmith123 avatar Dec 16 '25 05:12 IanSmith123

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 :-)

MichaelZ4714 avatar Dec 16 '25 11:12 MichaelZ4714

@IanSmith123 I nevertheless read a lot of things but I missed that. Thanks a lot.

Pollux27 avatar Dec 16 '25 15:12 Pollux27

@IanSmith123 Thank you for the advice. It now works correctly. Is this a bug, or what does this setting do?

badjules avatar Dec 16 '25 16:12 badjules

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

IanSmith123 avatar Dec 17 '25 10:12 IanSmith123