I configure one master server for “Send only” sync and some slave servers. Sync process is started and stalled at 100%.
Here is screenshot of master server: http://i.imgur.com/U2iVE33.png
Here is one of slave servers: http://i.imgur.com/amlPyLU.png
I try to restart Syncthing on all hosts, wait more than 24 hours, but it still at 100%. In Syncthing logs I see no new records with errors.
Also I try to press “Override changes”, but this isn’t help too.
The docs explain how send only folders work. Override changes button overwrites the remote state with the state of the master. The devices that are not “up to date” from the send only devices perspective are the ones to blame.
I already try to press “Override changes” but this isn’t solve the problem, slave hosts are still at “Syncing (100%)”. And is there any option to force “Override changes” for automate overriding files without manual actions?
No there is no such option
This is bad, because the same problem is in Seafile server, and I move our infrastructure to Syncthing for solve this problem.
We are use software, that must have write access to it’s config files (it fails if see that files and folders are read-only), so I can’t mark all files as read-only. But we must always restore original config files from master server, to disable making changes in user side.
I’ll try to write script that emulate pressing “Override changes” via cron, hope it helps solve the problem.
Thanks, this is easy! But this isn’t solve the problem. After pressing “Override changes” and wait more hours - slave clients are still with “Syncing (100%)” status, and with no new log entries with problems.
Here is on master server: http://i.imgur.com/Mf5KhKA.png
Here is on slave server: http://i.imgur.com/T9tbIrY.png
There is one extra file on non-send only side that is causing this. Override changes won’t fix this as that file is not tracked/does not exist on the send only side.