nextcloud / desktop

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

Restoring older file version causes sync error #7104

Open redRolf opened 2 years ago

redRolf commented 2 years ago

How to use GitHub

Steps to reproduce

  1. Create a file in a group folder and save it on your desktop.
  2. Make changes to the file and save them on your desktop, close the application you used to edit the file.
  3. Make sure the file and changes are synced to the server.
  4. Open the file in the WebUI and restore an older version of the file.
  5. Once the nextcloud client tries to sync the restored version it will fail with the following error

image

This issue only occurs with files in group folders. Files outside the group folders are not affected by this behaviour.

Expected behaviour

Restoring files works without any issue in Groupfolders

Actual behaviour

Restoring files in a group folder causes a sync error.

Server configuration

Operating system: Docker

Web server: NGINX

Database: PostgreSQL 14.3

PHP version: 8.0.19

Nextcloud version: (see Nextcloud admin page) 24.0.1

Group folders version: 12.0.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 23.x

Where did you install Nextcloud from: Docker Image

Are you using external storage, if yes which one: local/s3/smb/sftp/... no

Are you using encryption: yes/no no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/... no

Client configuration

Browser: Chrome - Latest

Operating system:

MacOS

Logs

I will be more than happy to provide logs if needed. But I will not post them here, as they may contain sensitive information.

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Insert your Nextcloud log here ```

Browser log

Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
joshtrichards commented 2 months ago

Are you still experiencing this, @redRolf?