No progress bar and no messages in web interface

25 views
Skip to first unread message

Massimo Tosa

unread,
Sep 3, 2025, 3:47:17 AM (8 days ago) Sep 3
to swupdate
Hi everybody,

while performing an update neither a progress bar nor any message in the web gui is shown. The update is anyway successfull.
I can even successfully connect a websocket with wscat but also there no message is shown. That's why I guess it is not a problem with the websocket but rather ist the handler not emitting any message.

Attached are the Yocto defconfig, swupdate.cfg and sw-description.

I already found the following posts in the group but they are not helpful for me:


SWUpdate v2025.05.0
Mongoose v7.17

Kind regards

Massimo Tosa
sw-description
swupdate.cfg
defconfig

Stefano Babic

unread,
Sep 3, 2025, 4:08:48 AM (8 days ago) Sep 3
to Massimo Tosa, swupdate
Hi Massimo,

On 03.09.25 09:47, Massimo Tosa wrote:
> Hi everybody,
>
> while performing an update neither a progress bar nor any message in the
> web gui is shown. The update is anyway successfull.
> I can even successfully connect a websocket with wscat but also there no
> message is shown. That's why I guess it is not a problem with the
> websocket but rather ist the handler not emitting any message.
>

Can you start swupdate-progress in a console and see if messages are
received ? Can you also try to reset the socket path to their default,
that is
CONFIG_SOCKET_CTRL_PATH=""
CONFIG_SOCKET_PROGRESS_PATH=""


> Attached are the Yocto defconfig, swupdate.cfg and sw-description.
>
> I already found the following posts in the group but they are not
> helpful for me:
>
> SWUpdate <https://groups.google.com/g/swupdate/c/ZoXa5j_eNYg/m/IBaAUqmqAgAJ>
> No messages in web interface <https://groups.google.com/g/swupdate/
> c/7ru3qUvjDvg/m/diRB1dkYAwAJ>
>
> SWUpdate v2025.05.0
> Mongoose v7.17
>

This version is proven to work, so it should be something else.

Best regards,
Stefano Babic

Massimo Tosa

unread,
Sep 4, 2025, 3:41:06 AM (7 days ago) Sep 4
to swupdate
Hi Stefano,

I've reset the socket path to their default but still no messages on web interface and websocket.
swupdate-progress shows instead some messages:

Update started !
Interface: WEBSERVER

INFO : file8.swu
INFO : {"0": {"VERSION" : "99.99"}}
[ ============================================================ ] 1 of 13 100% (helpers.sh.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 2 of 13 100% (update-tom-linux.sh.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 3 of 13 100% (update-tom-app.sh.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 4 of 13 100% (update-tom-partitions.sh.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 5 of 13 100% (rootfs-tom.ext4.gz.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 6 of 13 100% (app-TomMain.tar.gz.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 7 of 13 100% (helpers.sh.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 8 of 13 100% (update-tom-linux.sh.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 9 of 13 100% (update-tom-app.sh.enc), dwl 100% of 339559424 bytes
[ ============================================================ ] 10 of 13 100% (update-tom-partitions.sh.enc), dwl 100% of 339559424 bytes
SUCCESS !

DONE.

Best regards

Massimo Tosa

Stefano Babic

unread,
Sep 4, 2025, 4:02:06 AM (7 days ago) Sep 4
to Massimo Tosa, swupdate
Hi Massimo,
That means: SWUpdate is emitting messages and they are sent to the
listeners, including the web servers. You have then to dig why the web
sockets connection is not working on your device.

Best regards,
Stefano Babic

> Best regards
>
> Massimo Tosa
>
>
> On Wednesday, 3 September 2025 at 10:08:48 UTC+2 Stefano Babic wrote:
>
> Hi Massimo,
>
> On 03.09.25 09:47, Massimo Tosa wrote:
> > Hi everybody,
> >
> > while performing an update neither a progress bar nor any message
> in the
> > web gui is shown. The update is anyway successfull.
> > I can even successfully connect a websocket with wscat but also
> there no
> > message is shown. That's why I guess it is not a problem with the
> > websocket but rather ist the handler not emitting any message.
> >
>
> Can you start swupdate-progress in a console and see if messages are
> received ? Can you also try to reset the socket path to their default,
> that is
> CONFIG_SOCKET_CTRL_PATH=""
> CONFIG_SOCKET_PROGRESS_PATH=""
>
>
> > Attached are the Yocto defconfig, swupdate.cfg and sw-description.
> >
> > I already found the following posts in the group but they are not
> > helpful for me:
> >
> > SWUpdate <https://groups.google.com/g/swupdate/c/ZoXa5j_eNYg/m/
> IBaAUqmqAgAJ <https://groups.google.com/g/swupdate/c/ZoXa5j_eNYg/m/
> IBaAUqmqAgAJ>>
> > No messages in web interface <https://groups.google.com/g/
> swupdate/ <https://groups.google.com/g/swupdate/>
> > c/7ru3qUvjDvg/m/diRB1dkYAwAJ>
> >
> > SWUpdate v2025.05.0
> > Mongoose v7.17
> >
>
> This version is proven to work, so it should be something else.
>
> Best regards,
> Stefano Babic
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+u...@googlegroups.com
> <mailto:swupdate+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> swupdate/90f4e21e-073e-4163-b76b-47f2547c0cc0n%40googlegroups.com
> <https://groups.google.com/d/msgid/swupdate/90f4e21e-073e-4163-
> b76b-47f2547c0cc0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Massimo Tosa

unread,
Sep 4, 2025, 4:36:08 AM (7 days ago) Sep 4
to swupdate
Hi Stefano,

I will have a look in that direction.
Thank you.

Best regards

Massimo Tosa

Reply all
Reply to author
Forward
0 new messages