Just found one of my synced folder shows “Out of Sync” with several failed items. All failed items show error:
delete dir: directory is not empty.
Here are my settings:
- The “Out of Sync” folder is a receiver folder with “Receive only” setting
- The master folder shows “Up to Date” with “Send only” setting
I checked each of the failed items. Most failure caused by the folder has been deleted on the master folder but failed to delete on receiver folder. I have resolved such kind of issue temporarily by “Remove folder manually on receiver disk and click Revert Changes”.
But one of the failed folders actually never be deleted anywhere in the past. It’s a virtual machine folder of a VirtualBox. Now Syncthing always shows “delete dir: directory is not empty”.
I have tried to manually delete that folder in receiver disk and click “Override the Changees” on master, the folder will be transferred to receiver again. But after that, it still shows the failure “directory is not empty”.
How can I debug this issue or force discard the “delete dir” change?