Failed to delete xxx on target : (null)

  1. WebDav → local disk
  2. When I delete the whole folder with files in it on cloud, then CloudSync will get this error during sync: [ERROR ] [ 3] [CLOUDSYNC ] Failed to delete />xxx on target : (null)(retry left : 3)

Dear liuhuanian7,

Thank you for reaching out. The error message “Failed to delete xxx on target: (null)” indicates an issue during the synchronization process where CloudSync failed to delete a file or folder on either the WebDAV or the local disk.

This error commonly occurs due to the following reasons:

  1. Permission issues: The file or folder may not have the necessary deletion permissions on either WebDAV or the local disk.
  2. Path issues: The target path may be incorrect, or the file/folder may have already been deleted, causing the synchronization to fail.
  3. Storage configuration issues: Delayed responses or connectivity problems with the WebDAV server.

To identify the exact cause of the issue (whether it’s on WebDAV or the local disk), we kindly request you to share the CloudSync log files with us. These logs will help us determine the root cause and provide you with the necessary steps to resolve the issue.

We appreciate your cooperation and look forward to assisting you further.

Best regards.

Thanks tsjeong,

Here is the log file.
cloudsync.log (30.0 KB)

The error only happens when I delete a folder with files in it.
When I delete a empty folder it works well.
When I delete a file it also works well.

CloudSync already has full disk access in Mac System Setting.

I enable the ‘Remove files from destnation storage when they are remove from source storage’ in ADVANCED OPTION.

Dear liuhuanian7,

Thank you for sharing the log files and providing additional details. Based on the information and logs, it appears that the issue might be related to macOS local disk permissions.

While CloudSync has full disk access in your macOS System Settings, macOS security policies can sometimes interfere with operations like deleting non-empty folders.

Suggested Steps to Resolve the Issue

  1. Check Local Disk Permissions:
  • Ensure the destination folder on your local disk has full read/write/delete permissions.
  • Steps to check and adjust permissions:
    1. Right-click on the folder in Finder.
    2. Select “Get Info”.
    3. Scroll down to “Sharing & Permissions”.
    4. Set the access level to “Read & Write” for all users.

If the issue continues after these steps, please let us know. We are committed to resolving this matter promptly and can provide further assistance if necessary.

Best regards.

It doesn’t work, I have set the access level of the WebDav root folder to “Read & Write” for all users, but still sync failed, and got the same error : Failed to delete /No empty on target : (null)(retry left : 1)