balena-supervisor icon indicating copy to clipboard operation
balena-supervisor copied to clipboard

Should the supervisor stop an app download if the device is switched to local mode?

Open floion opened this issue 3 years ago • 3 comments
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

floion avatar Jun 01 '22 07:06 floion

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.

deregtd avatar Jun 11 '22 14:06 deregtd

[cywang117] This has attached https://jel.ly.fish/790054ed-fa7b-41ac-8290-ad497f12e580

jellyfish-bot avatar Nov 21 '22 22:11 jellyfish-bot

[fisehara] This has attached https://jel.ly.fish/b57f788f-4fd2-404d-b0b4-a4bd8c62b551

jellyfish-bot avatar Jan 25 '23 18:01 jellyfish-bot