YunoHost-Apps / syncthing_ynh

Syncthing package for YunoHost
https://syncthing.net/
Mozilla Public License 2.0
25 stars 4 forks source link

Upgrade Error - No Such Host #138

Closed bettyvschmartz closed 1 year ago

bettyvschmartz commented 1 year ago

Describe the bug

There is a consistent error in the Syncthing logs complaining that the Syncthing upgrade path/URL cannot be found.

Context

Steps to reproduce

Within the Syncthing Web UI open Action > Logs, and see the error.

Expected behavior

The URL to be available or to be removed, or better error handling. I guess the real upgrade URL of upgrades.syncthing.net has been purposefully modified so that in-app upgrades aren't possible. If that's the case maybe pointing to a local meta.json that can be locally controlled would be better, with no error.

Logs

The error itself;

Couldn't fetch release information: Get "https://upgrades1.syncthing.net/meta.json": dial tcp: lookup upgrades1.syncthing.net on 127.0.0.1:53: no such host

-- bvs

yalh76 commented 1 year ago

You will need to manually fix it in the /var/www/syncthing/.config/syncthing/config.xml replacing upgrades1.syncthing.net to upgrades.syncthing.net