Hallo Stephan,
On 2/27/25 16:12, Stephan Mühlstrasser wrote:
> Hi,
>
> I'm working on an update procedure via swupdate in Yocto Scarthgap. I
> can upload software updates via the web interface and they are installed
> successfully.
>
> In the web interface there is the "Messages" box at the bottom, but no
> messages do appear there during an update. I remember that I have seen
> an implementation of swupdate elsewhere where some progress messages
> appeared in that box.
>
> Is it necessary to configure something in the swupdate build to make
> that "Messages" box functional in the web interface?
No, it works out of the box with the provide web application (package
swupdate-www). The messages are sent via Websockets, if they re blocked
in some way, it doesn't work.
>
> I also can see messages from the swupdate process when I look at the log
> files with "journalctl -u swupdate".
>
Messages are surely sent.
> swupdate says this:
>
> # swupdate --version
> SWUpdate v2024.12.1
>
> The swupdate web interface is started like this:
>
> /usr/bin/swupdate -v -l 5 -e stable,copy-2 -w "--document-root /root/
> www-swupdate --port 8080"
>
It looks ok to me.
What is in /root, that is which application have you installed ?
Best regards,
Stefano Babic