I have two machines, Speedball2 and Speedball.
Speedball2/Music is shared “send only”.
Speedball2 reports that everything is idle/green/in sync.
Speedball reports that the folder is green and up to date BUT the remote device Speedball2 is permanently at 95%, and there are about 4050 files not up to date (but none is being downloaded!).
The files are indeed identical (md5), and do exist on both sides.
The issue persists since probably 4 or 5 months.
Is there a quick fix? e.g. delete the database?
I would guess the the issue is on Speedball (i.e. the receiver).
p.s. this seems a common problem, so I would suggest to take countermeasures in the software itself (it’s definitely not normal that a device is not up-to-date, but ALSO idle… if this persists for more than N days, I would expect the software to do something… wipe its own database and restart, or so).
So, what would you advise to investigate, precisely?
One simple thing I could do is MOVE away a couple of folders, let syncthing think that the files were deleted, and after a while stop the service and put back the files.
FYI, here’s how I solved.
I just noticed that all the out of sync files were in two specific folders, so I connected with ssh and moved the two folders away.
Syncthing (it’s a receive-only machine), did a rescan and decided that there were local changes.
At this point, I paused the folder, put the files back, un-paused and clicked on “revert local changes”.
This fixed everything, but it didn’t solve the mystery.
It was neither a file content issue, nor a file attribute issue (as I put back all the files exactly as they were).
as far as I know, nothing ever touches these files.
and even if something did, syncthing should just sync the “changes” (given it’s a simple send-only folder, and the receiver has “ignore permissions” set), not stay idle forever…
Additional info: the receiver did delete the files, but not the folders.
IF I ssh into it, and rmdir one of those, Syncthing will say “local additions”.
So it’s indeed convinced that the folder is empty…
Global and local states disagree. Suggest you remove the folder on both sides and add it again. If its been setup since some old version, could be the cause as there were bugs. If its been setup in a recent version, then there still are bugs