I’m seeing my remote devices stuck with “Syncing (95%, 0B)”. This has been reported before several times, but I don’t think the reproducible and resolution for my issue has been detailed yet.
To reproduce my issue (using v1.2.2 on both sides), do on the local device:
- mkdir test
- touch test/testfile.txt
- Wait for file to sync to remote device.
- Add “testfile.txt” to .stignore.
- rm -rf test
The remote device will now get stuck with “Syncing (95%, 0B)”, with neither test nor testfile.txt deleted. It seems that since testfile.txt is now ignored, it won’t be deleted on the remote site, but since the “test” directory was deleted on the local side, the devices are now out of sync.
Probably the proper thing to do is for Syncthing to delete the “testfile.txt” on the remote site since the whole directory was deleted. But I haven’t thought about this deeply enough to know if this would lead to unwanted lost files in some situations.