I use syncthing between my desktop system (running xubuntu 24.04) and several Raspberry Pi, BeagleBone Black and other systems. All systems are running syncthing version 1.28.0.
When I look at the syncthing GUI on my desktop machine it says that homepi (a raspberry pi) has one out of sync item of 0B. I can find no trace of the file on any of my systems (it did exist once).
I have tried pausing the sync, then removing the folder completely from the Raspberry Pi and restoring it and then resuming syncthing but it still obstinately claims the 0B file isn’t synchronised.
The directory in question was also shared between the systems using NFS. I was replacing the NFS share with the syncthing synchronisation but forgot to remove the NFS share.
We experience similar issues with odd 0 byte files that never disappear. I’m not aware of any network shares in place. How exactly did NFS cause your issue? Might help understanding our situation better.
Well, I only think NFS caused the problem. Taking one directory hierarchy as an example I had NFS exported ~/.cfg from my desktop and had mounted it (as ~.cfg) on the Raspberry Pi system. I then installed and started syncthing on the Raspberry Pi system to share ~/.cfg with ~/.cfg on the desktop.
Thinking about what might happen I’d guess that NFS and syncthing were ‘fighting’ over file changes.
I fixed the issue eventually by removing the NFS sharing and then creating and deleting the 0B files on the Raspberry Pi. All is running peacefully now in syncthing.