diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 7c2c61c88..428aee5e0 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -1192,6 +1192,9 @@ func autoUpgrade() { } rel, err := upgrade.LatestRelease(strings.Contains(Version, "-beta")) + if err == upgrade.ErrUpgradeUnsupported { + return + } if err != nil { // Don't complain too loudly here; we might simply not have // internet connectivity, or the upgrade server might be down. diff --git a/gui/app.js b/gui/app.js index 0ea6fbc03..8cd3f3a8d 100644 --- a/gui/app.js +++ b/gui/app.js @@ -100,7 +100,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http, $translate, $loca $scope.reportPreview = false; $scope.folders = {}; $scope.seenError = ''; - $scope.upgradeInfo = {}; + $scope.upgradeInfo = null; $scope.stats = {}; $http.get(urlbase + "/lang").success(function (langs) { @@ -412,7 +412,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http, $translate, $loca $http.get(urlbase + '/upgrade').success(function (data) { $scope.upgradeInfo = data; }).error(function () { - $scope.upgradeInfo = {}; + $scope.upgradeInfo = null; }); }; diff --git a/gui/index.html b/gui/index.html index eead640d8..0bd4cb971 100644 --- a/gui/index.html +++ b/gui/index.html @@ -40,7 +40,7 @@