syncthing-gtk icon indicating copy to clipboard operation
syncthing-gtk copied to clipboard

No ST Auto-Updates on Windows

Open acidicX opened this issue 8 years ago • 17 comments

Hi,

after upgrading two Windows (8.1 x64) machines to the latest ST-GTK (v9.2.2), I noticed that the daemon has not been auto-updated (even though the checkbox is checked). It was still on the v13 branch, even after two ST-GTK restarts.

I had to manually remove the syncthing.exe inside AppData/local/syncthing , but even then ST-GTK would only download daemon v14.4. This is weird since the latest changelog states that ST-GTK is compatible to at least daemon v14.6..?

I manually upgraded the syncthing.exe to v14.9, seems to work, even though I know this is not a recommended behaviour ;)

I'd love an auto-update option for the whole ST-GTK on Windows by the way! :)

acidicX avatar Oct 22 '16 14:10 acidicX

Hmm... Last tag is Syncthing_v0.14.9, so it should be finding update. I'll check what got broken.

Autoupdater for entire thing is planned, but that kind of stuff is rather crazy on Windows thanks to UAC, so that's point where I got stuck :D

kozec avatar Oct 22 '16 16:10 kozec

Ok, it looks like I added last two to wrong commit. It should be fixed.

kozec avatar Oct 22 '16 16:10 kozec

Ok, it looks like I added last two to wrong commit. It should be fixed.

I can confirm that, ST-GTK now updates to daemon v14.9. Thanks!

Autoupdater for entire thing is planned, but that kind of stuff is rather crazy on Windows thanks to UAC, so that's point where I got stuck :D

Nice! I think most of the larger software vendors add a service that can auto-update, then you only have to accept UAC once. Otherwise, there is the popup-solution ("do you want to update?") which triggers the download and launches the installer, but that means accepting UAC every time you update ST-GTK. Ugly UX-wise, but it works and it's probably less time-consuming than writing your own windows service.

acidicX avatar Oct 23 '16 17:10 acidicX

This is still broken. It won't update the syncthing binary on Windows.

ceribik avatar Jan 04 '17 21:01 ceribik

I can confirm that it won't update beyond 14.9

acidicX avatar Jan 05 '17 10:01 acidicX

Weird. What ST-GTK version is reported by about dialog?

kozec avatar Jan 05 '17 14:01 kozec

I used the latest release (0.9.2.3) on two machines

acidicX avatar Jan 05 '17 14:01 acidicX

Ok, I cleaned up tags a little and verified that updater recognizes 0.14.18 as most recent. It should work now.

On plus side, at least you were spared of that madness with symlinks that 0.14.13(?) caused :)

kozec avatar Jan 05 '17 21:01 kozec

Hi @kozec . I'm still on ST 0.14.38-rc1 (GTK 0.9.2.6) on all my Windows computer (7/10/10). It's been a while I'm pushing updates manually as well. I tried turning on/off the autoupdate feature but it doesn't change anything. Any idea please ?

seiferflo avatar Oct 11 '17 14:10 seiferflo

It will not auto-update to -rc version, but it should download version .39 when check-once-per-day timer expires.

kozec avatar Oct 11 '17 15:10 kozec

Well it doesn't. I've just deleted syncthing.exe and forced Gtk to download the latest version, let's see whether it will get updated on futures updates.

seiferflo avatar Oct 11 '17 16:10 seiferflo

It will not auto-update to -rc version

It does on Windows.

I can confirm what @seiferflo said - I had two Windows machines also auto-update to -rc versions and they did not upgrade the new patch (e.g. .38-rc1 does not update automatically to .38 final).

acidicX avatar Oct 12 '17 07:10 acidicX

Ok, to rephrase that, it's not supposed to :D

On other hand, if it already is at .38-rc1, comparing that to .38 may end in not upgrading as number is the same. I'll check if that's the case.

kozec avatar Oct 12 '17 10:10 kozec

Hi. Once again, it's still not updating. Currently on 0.14.41 that I updated manually few weeks ago. No update on Win7x64 & Win10x64. The Syncthing package on my synology is updated to 0.14.43 Thanks for your feedback

seiferflo avatar Jan 10 '18 08:01 seiferflo

@seiferflo Did it got updated after you posted?

kozec avatar Jan 12 '18 08:01 kozec

Hi @kozec . Yes, did you change anything?

seiferflo avatar Jan 12 '18 09:01 seiferflo

@seiferflo I've added git tag that says ST-GTK can update up to 0.14.43 day or two ago, but checks are done only once per day, so it's normal it lags a little.

kozec avatar Jan 12 '18 09:01 kozec