I am using syncthing for synchronizing data between LAN connected workstations. This pool of workstation are using an offline (aka noweb) network. I am looking for a way to upgrade easily my syncthing instances (both windows and linux).
I am evaluating 2 approaches:
Setting up “Releases URL” on a local mirror (but I don’t have a local http server)
Using syncthing to synchronize Syncthing install directory and upgrade manually one instance. Will it work after processus restart?
Option 2 works, but personally, I would not use it like this. Two years ago I had a batch script running on startup. It looked into a synced folder that was synced across all my machines if a Syncthing.exe.new was there. If it found the file, it launched fc /b (“file compare binary”) and checked if that version was already in place on the C:/Syncthing installation folder. If not, it stopped the Syncthing windows service, replaced Syncthing.exe with Syncthing.exe.new and startet the service again.
It does not seem very reliable but according to your scripting skills may be a solution which could work good if you let it grow up. If you reboot during a maintenance window, Syncthing would then get updated.