LuCI Attended Sysupgrade support thread

@aparcar @efahl Since this is the LuCI ASU support thread: I’ve noticed behaviour with the LuCI interface that can cause newbies to potentially brick their devices, or more often end up in a state where they lose their configuration.

Specifically, after initiating the update process the display switches to the status page even though the upgrade is not done. At some unexpected point later (when the upgrade is far enough along for the reboot) the status pages goes to ‘?’ and otherwise ‘no data’ display for quite a while.

This is most noticeable with a large config backup and/or rootfs + overlay (not how a newbie would see this, but I noticed with an image where I used IB and large …_ROOTFS_SIZE).

The most problematic part is the period of time between the firmware upgrade starting and the flip to the stat page. An unsuspecting user could think it was just a very fast upgrade and starting working away on their device and taking actions that interferes with the upgrade process.

I suspect this will not be an easy to fix situation due to needing the sysupgrade CLI tool needing to somehow communicate with LuCI up to the point where it ‘kills all remaining processes’, but I thought I would bring it to your attention.

1 Like