"Restarting System" badge is always shown even if no reboot has been requested

31 views
Skip to first unread message

Clément Ramirez (DiyVE)

unread,
Jul 11, 2025, 8:17:17 AM7/11/25
to swupdate

Hi,

After every successful update, with or without reboot, a “Restarting System” badge is shown (just above the progress bar).
By reading the web page  source code it seems this badge is shown when the update status received is DONE :

            <div id="swu-done" class="alert alert-info" style="display: none;">

              <i class="fas fa-sync"></i> Restarting system.

            </div>

Is this an excepted behavior or this is something which needs to be fixed ?

Best Regards,

Clément RAMIREZ

Stefano Babic

unread,
Jul 11, 2025, 8:33:31 AM7/11/25
to Clément Ramirez (DiyVE), swupdate
Hi Clement,

On 7/11/25 14:04, Clément Ramirez (DiyVE) wrote:
> Hi,
>
> After every successful update, with or without reboot, a “Restarting
> System” badge is shown (just above the progress bar).

There is also a "please don't turn off", even if in most projects an
update is power-cut safe.

> By reading the web page  source code it seems this badge is shown when
> the update status received is DONE :
>
>             <div id="swu-done" class="alert alert-info" style="display:
> none;">
>
> <i class="fas fa-sync"></i> Restarting system.
>
> </div>
>
> Is this an excepted behavior or this is something which needs to be fixed ?

Something should be "restarted", nevertheless nobody complained about
this behavior up now.

Best regards,
Stefano Babic

Esben Haabendal

unread,
Jul 29, 2025, 8:08:15 AM7/29/25
to Stefano Babic, Clément Ramirez, swupdate
For what it is worth, it is quite reasonable for an A/B system to allow
installing update asynchronous to the actual restart. The new SW can
thus sit waiting for the next restart, which can be orchestrated
completely separate from swupdate.

In that case, it is confusing to see a "Restarting system" message.
The fact that nobody have complained about it yet, does not mean it is
correct. It is just a (log) message after all.

/Esben

Stefano Babic

unread,
Jul 29, 2025, 2:06:32 PM7/29/25
to Esben Haabendal, Stefano Babic, Clément Ramirez, swupdate
Hi Esben,

On 29.07.25 14:08, 'Esben Haabendal' via swupdate wrote:
> "Stefano Babic" <stefan...@swupdate.org> writes:
>
>> Hi Clement,
>>
>> On 7/11/25 14:04, Clément Ramirez (DiyVE) wrote:
>>> Hi,
>>>
>>> After every successful update, with or without reboot, a “Restarting
>>> System” badge is shown (just above the progress bar).
>>
>> There is also a "please don't turn off", even if in most projects an
>> update is power-cut safe.
>>
>>> By reading the web page  source code it seems this badge is shown when
>>> the update status received is DONE :
>>>
>>>             <div id="swu-done" class="alert alert-info" style="display:
>>> none;">
>>>
>>> <i class="fas fa-sync"></i> Restarting system.
>>>
>>> </div>
>>>
>>> Is this an excepted behavior or this is something which needs to be fixed ?
>>
>> Something should be "restarted", nevertheless nobody complained about
>> this behavior up now.
>
> For what it is worth, it is quite reasonable for an A/B system to allow
> installing update asynchronous to the actual restart. The new SW can
> thus sit waiting for the next restart, which can be orchestrated
> completely separate from swupdate.

Yes, and this is a supported use case.

>
> In that case, it is confusing to see a "Restarting system" message.
> The fact that nobody have complained about it yet, does not mean it is
> correct. It is just a (log) message after all.

In most cases, branding will take place and the web-app, at least for
background, icons, etc., will be adjusted for the product. And the
message will be removed if required.

The best way should be to build the web-app from sources instead of
installing a pre-compiled version, and using some configuration to
enable / disable. However, due to weak support for npm in OE, a
precompiled version is used, and customizing the GUI is then not possible.

Best regards,
Stefano Babic

>
> /Esben
>

Reply all
Reply to author
Forward
0 new messages