Hello,
I have an annoying issue with my Syncthing setup on my laptop.
Most of the time, when starting Syncthing, it will complete the sync within minutes. However, occasionally (maybe once every couple of weeks) it will get stuck in the Preparing to Sync state for hours:
Logs of one such occurrence:
logs.txt (42.7 KB)
As you can see from the above screenshot, the shared folder is pretty huge, but only a small subset is shared (via ignore patterns). You can also see that “Out of Sync” display does not make sense, because it’s much larger than the total local state (and no, 600k files were not added since last sync). The other side is a server, running Syncthing docker image and running 24/7 (so it’s always on and thus always scanned). Devices are on the same local network. Database of both devices is on the SSD (but the Server’s data is on the HDD). This started happening after update to the Syncthing 2 (I do not remember it ever happening before). This is running Syncthing 2.0.13 on Arch Linux.
I could not find a regular pattern on when this happens. Is it possible that this occurs whenever the Syncthing is updated on either end? Does the update always wipes some cache?
Any ideas what could cause this and how could I mitigate it? Thanks
