Hello,
a W10 device in my cluster is having problems in upgrading to v0.14.28
The error message is: main.go:560: FATAL: Upgrade: zip: not a valid zip file
Attached is the output of syncthing -upgrade executed with STTRACE=upgrade set.
upgrade.txt (14.3 KB)
It is not a new issue. I am having it since a few months also on another W10 box when upgrading via the GUI button. In that case it was still possible to upgrade via the command line, so not a big issue. Now same problem from the command line. The zip file, if downloaded from the URL, is ok.
Best
Toni
Version Information
Syncthing Version: v0.14.27
OS Version: Windows 10
Got it! Variable all_proxy was set because we use to connect via Tor. Unsetting the variable before upgrading solves the problem. Do you have an idea of why it stopped working? Maybe something unexpected in the HTML headers when downloading the zip file via Tor?
It may be but I don’t think it’s the case. I have downloaded the zip file via Tor Browser and via normal browser and compared them with diff. They are identical.
It only happens on Windows boxes. Linux boxes upgrade via Tor without problems.
Does syncthing raise the ‘not a valid zip file’ error when the exe file signature does not match?
I will investigate further and let you know if I find out what goes wrong.