balena-supervisor
balena-supervisor copied to clipboard
Should the supervisor stop an app download if the device is switched to local mode?
trafficstars
Push an update to a device. Then while the app update is downloading, switch the device in local mode and try to do a push to the device. The push will fail because the supervisor will keep downloading the app update:
Retrying "Supervisor API (GET http://192.168.0.161:48484/ping)" after 2.0s (1 of 5) due to: Error: connect ECONNREFUSED 192.168.0.161:48484
Retrying "Supervisor API (GET http://192.168.0.161:48484/ping)" after 4.0s (2 of 5) due to: Error: connect ECONNREFUSED 192.168.0.161:48484
I also ran into this the other day. I had to wipe the device to get it out of the state, actually, and let it finish downloading the images, before changing it to local mode.
[cywang117] This has attached https://jel.ly.fish/790054ed-fa7b-41ac-8290-ad497f12e580
[fisehara] This has attached https://jel.ly.fish/b57f788f-4fd2-404d-b0b4-a4bd8c62b551