Open jakogut opened 3 years ago
[jakogut] This issue has attached support thread https://jel.ly.fish/41dd3d5f-1d03-41c3-ac3f-f6249b107778
@jakogut from the log attached no hooks appear to have ran. For soft-bricking to happen, first the new hooks must be run completely, then the old OS hooks must be run, which is not visible here.
This issue is addressed by https://github.com/balena-os/balenahup/pull/363
Hi @jakogut, I ran 3000 attempts on two boards and could not reproduce this issue in which hooks are run and soft brick the device. I think we should move this one to balena-hup for addressing retries in case of failure to download the image. What do you think?
@acostach Sounds conclusive to me, let's move it.
During HUP, a hostapp image is pulled, then the hostapp-update hooks are run, one of which writes a new partition table on Jetson boards. In some cases, a network outage can cause the pull to fail, but the HUP doesn't exit, and the hooks are still run. This can cause the device to become unbootable.