[Bug]: Files Are Not Automatically Deleted When Deleted Through WebUI, Notifying About Error

by ADMIN 93 views

Introduction

As a Nextcloud user, it's essential to have a seamless experience when sharing files with others. However, a recent issue has been reported where files are not automatically deleted when deleted through the web UI, resulting in sync errors and manual deletion of files. In this article, we'll delve into the details of this bug, its reproduction steps, expected behavior, and the affected files.

Bug Description

With the latest updates of the Nextcloud desktop client, users have been experiencing sync errors where files cannot be synced as they have been deleted earlier. This issue arises when a file is deleted by another user through the web UI, and the user who owns the file is out of network. As a result, the user has to manually delete the file from their File Browser to restart the syncing process.

Steps to Reproduce

To reproduce this bug, follow these steps:

  1. Create a shared group folder: User A and User B are members of the same group, GroupX, which has a shared group folder, GroupFolderX.
  2. Delete a file through web UI: User A deletes a file through the web UI in a subfolder of GroupFolderX.
  3. User B is out of network: User B is currently out of network and cannot access the shared folder.
  4. User B starts desktop client: User B starts their desktop client and observes an error that the file cannot be synced as it has been deleted earlier.
  5. Manual deletion: User B has to manually delete the file from their File Browser to restart the syncing process.

Expected Behavior

The expected behavior is that the file should be deleted seamlessly during the sync operation if it has been deleted by another user. This ensures that the user's file list remains up-to-date, and they don't have to manually delete files to restart the syncing process.

Affected Files

All shared files are affected by this bug. This means that any file shared with others through a group folder or shared link may not be automatically deleted when deleted by another user.

Operating System and Package Information

  • Operating System: Windows
  • Version of Operating System: Windows 10
  • Package: Official Windows MSI
  • Nextcloud Server version: 30.0.10
  • Nextcloud Desktop Client version: 3.16.3

Bug Presence

This bug is present after an update from a minor version (e.g., 3.4.2 to 3.4.4).

Encryption and User Backend

  • Encryption: Disabled
  • External User Backend: Default internal user-backend

Nextcloud Server Logs

# No logs provided

Additional Information

No additional information is provided.

Conclusion

Q&A: Frequently Asked Questions about the Bug

Q: What is the bug about?

A: The bug is about files not being automatically deleted when deleted through the web UI, resulting in sync errors and manual deletion of files.

Q: What are the steps to reproduce the bug?

A: To reproduce the bug, follow these steps:

  1. Create a shared group folder with another user.
  2. Delete a file through the web UI in a subfolder of the group folder.
  3. The other user is out of network and cannot access the shared folder.
  4. The other user starts their desktop client and observes an error that the file cannot be synced as it has been deleted earlier.
  5. The other user has to manually delete the file from their File Browser to restart the syncing process.

Q: What is the expected behavior?

A: The expected behavior is that the file should be deleted seamlessly during the sync operation if it has been deleted by another user.

Q: Which files are affected by this bug?

A: All shared files are affected by this bug.

Q: What are the operating system and package information?

A: The operating system is Windows 10, and the package is the Official Windows MSI. The Nextcloud Server version is 30.0.10, and the Nextcloud Desktop Client version is 3.16.3.

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

A: This bug is present after an update from a minor version (e.g., 3.4.2 to 3.4.4).

Q: Are you using the Nextcloud Server Encryption module?

A: No, encryption is disabled.

Q: Are you using an external user-backend?

A: No, the default internal user-backend is being used.

Q: What are the Nextcloud Server logs?

A: No logs are provided.

Q: Is there any additional information?

A: No additional information is provided.

Q: How can I report this bug?

A: If you are experiencing this bug, please report it to the Nextcloud community by following the guidelines in the Bug Reporting section of the Nextcloud documentation.

Q: How can I help resolve this bug?

A: You can help resolve this bug by providing more information about your setup, such as your operating system, package version, and Nextcloud Server version. Additionally, you can try to reproduce the bug and provide more detailed steps to help the developers understand the issue.

Q: When can I expect a fix for this bug?

A: The developers are working on resolving this bug, but no estimated time of fix is available. You can follow the Nextcloud community and development updates to stay informed about the progress of the bug fix.