I’m a little bit puzzled about this situation and feel it might be a syncthing bug. I already restarted both involved instances to no avail.
Only my mobile (ben@s21) reports only in the “Remote Devices” view 10GB outstanding sync. Clicking on the “Out of Sync: 3 items, 10,6GB” link provides an empty popup.
“Folders” list view on all devices are all “Up to Date”
Also “Remote devices” list on other end (ben@neptun) is “Up to Date”.
Wish I could help, but sorry I’m a bit puzzled by the screenshots. Have you compared the reported “Global State” listed under each shared folder on all involved devices?
We’ve seen some strange behavior where the index data exchange seems to get stuck with some differences remaining, but nothing listed in the dialog, as in your screenshot. Usually the workaround for that is to remove and re-add the folder from Syncthing’s configuration (while keeping the data in place) on some devices. But first you should find out on which one the counts are different.
@acolomb In the example above it states 6 files 0 directories ~21,3GB on S21 and 3 files 0 directories ~10,7GB on neptun. Only these two files are involved.
I’m now experiencing more or less the exact same situation with another Syncthing folder involving different devices. There it is only a single 400b outstandinge file. Probably it is my .stignore-custom-file there.
I can pretty sure tell you where Synchthing lies wrong: The shared folder in the screenshots above syncs Signal messenger backup files between mobile and desktop. Those files are ~5,2GB in size, created every day on S21, and only the last two are kept on the mobile by Signal.
My guess: so obviously this situation seems to occur, when a file is deleted while it is in transfer. In my case the mobile phone one syncs i.e. at home WLAN. To me it seems that the sender site (S21) tries to keep track of a file which has vanished on sender site.
Any idea how I can help to further spot/identify the problem?
Or at least how to easily reset the wrong sync data?
Can confirm: In the other case 3 devices are involved. All, except the problematic one, agree that there are 29 files local state and global state. The problematic one assumes 30 files in global state though all peers are online and connected at the same time to this particular syncthing peer as well.
For the second case: I also tried to switch to “send only” folder on the device which brings up the big red “Override Changes” button. Unfortunately pressing it does not get rid of that hidden lost, single file in Global state. So the red button stays.
Yeah that makes sense, as overriding changes only helps to make the local state reach the global state again. If the global state differs between connected nodes, that’s an index exchange bug.
Sorry I can’t dig deeper into this, hope some of the other maintainers can help in diagnosis.