nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.99k stars 788 forks source link

[Bug]: My nextcloud instance is unable to sync my KeepassXC password file. #6628

Open Welved opened 5 months ago

Welved commented 5 months ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

There is no issue using nextcloud as a basic cloud service. The issue I have with it is, being able save/sync changes made to my password file. It looks like it is adding a random extension after the normal keepass extension, it's like it's failing to write the temp file over to permanence.

I do not have a password manager plugin enabled on my nextcloud instance and never will. Nextcloud solely serves as a medium for syncing between my devices. How do I fix/stop nextcloud adding extra extensions? This behavior is stopping my passwords from syncing.

Steps to reproduce

  1. Make a normal change to my password entries using KeepassXC on Windows 10 Home.
  2. I force the change to save.
  3. Instead of nextcloud going ahead and syncing as normal, it much rather tack on random letters and numbers to the normal extension. It litterally looks like [File Name].kdbx.[random letters and numbers]. It should look like [File Name].kdbx.
  4. Nextcloud fails to sync due to this action made by itself. It shot itself in the foot.

Expected behavior

Make change to my password file. Sync as normal.

Elevating my user, giving it full control over the C drive; does not resolve the issue.

Which files are affected by this bug

[File Name].kdbx

Operating system

Windows

Which version of the operating system you are running.

Windows 10

Package

Other

Nextcloud Server version

28.0.2

Nextcloud Desktop Client version

3.12.3

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

I have nextcloud running in docker. nextcloud.log

weinbrenner commented 5 months ago

This seems to be more a problem of KeePassXC on Windows and not specific to Nextcloud. If you search for KeePassXC/Dropbox/Windows you can find the same problem there ;) There are some options in KeePassXC settings to finetune the way of saving database files including optimizations for cloud sync folders - maybe you can find a solution this way.