You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is NOT an issue but I didn't know which is the best method to communicate. This is linked to #1376, even if that issue is closed (but without solutions).
Even if a new "Simple GUI" was reintroduced, the original issues created at the time Vaadin 8.0 was dismissed remain actual. After rereading the whole history and what Hawkbit's maintainer and developers wrote, I came to the conclusion that it is wish from Hawkbit's development to split the GUI as much as possible from the backend, and the later commits to improve the REST API went in that direction. So I have started with my company the development of a new GUI for the Hawkbit Server, and this has reached a good state now and we are starting to use it on productive systems. The GUI is a Web Application based on last "frontend" technologies, and it runs on nodejs server.
It has the goal to solve some previous issues:
remove dependencies from the Hawkbit Server. It is a separate project, built outside Hawkbit's Java environment, and it just uses the REST API provided by Hawkbit.
GUI and server do not need to run on the same server. GUI can be configured with which server must be connected
design easier to change, even if it currently resembles the previous GUI.
@sbabic
Since this issue touches both backend and UI, I would like to raise a related question regarding progress reporting.
Currently, the DDI API defines DdiProgress (cnt / of), but it is marked as "not supported" and is not exposed via the REST API. As a result, even if devices (e.g. SWUpdate) report structured progress, it cannot be consumed by clients or the UI.
Would it be acceptable to enable pass-through support for DdiProgress as opaque metadata?
Proposal
Accept and persist status.result.progress from DDI feedback
Expose it (unchanged) in:
GET /rest/v1/targets/{targetId}/actions/{actionId}/status
Do not introduce any server-side interpretation or aggregation
it requires db structure change - should alter sp_action (the biggest) table by adding 2 new columns.
it requires new REST endpoint
it guids/tempts device integrations to provide more frequent feedbacks just to update progress - which could result in overloading hawkbit DDI server without actual need
Thanks, that clarifies the constraints — especially around DB impact and potential DDI load.
Let me reframe the question from a usage perspective instead of a specific solution.
In a typical device integration (e.g. SWUpdate), the device already has access to meaningful execution progress (download %, install %, etc.), and there is a practical need to expose this in the UI.
Given that:
DdiProgress exists but is marked as not supported
details/messages are intentionally unstructured
frequent feedback updates are discouraged
what would be the recommended way (if any) to surface device-side progress in hawkBit?
More concretely:
To extend the question slightly from the UI perspective:
Is progress intentionally out of scope for hawkBit (and expected to be handled externally)?
From the device side, this is understandable — devices like SWUpdate already compute progress locally.
However, in cases where the target device is headless (no local UI), the only way to surface this information is via hawkBit (server → UI).
Given that:
the device can report progress
but hawkBit does not expose structured progress
and polling via REST is the only mechanism (no direct device→UI channel)
is it expected that progress visualization should be implemented outside of hawkBit entirely (e.g. custom backend/UI),
or is there an intended way to surface such execution-time information through hawkBit?
Trying to align with the intended architecture rather than pushing a specific implementation.
hawkBit is intended to rollout software updates on large scale - e.g. "install distribution set X on this set of 10 000 targets".
Then devices connects on some period - e.g. hours. So, such rollout could takes hours and days.
From the operator point of view it's important the progress of the rollout. If there are problems with certain devices - he could go to action to see the feedback - e.g. error message. In such scenario it is highly improbable to 'catch' a device in "downloading" state and to observe progress.
The same when you have auto-assignment - i.e. "when device match a target filter X install distribution set Y" such auto assignment could work even longer even forever).
The progress info could be useful if:
You do manual install, e.g. for testing purposes, device pooling very frequently and start download immediately. Then you could see some progress.
If download stuck - then you could see last progress info status - e.g. 70% - and find out that device has downloaded 70% and then failed to get more data - this however could be achieved via feedback messages - e.g. "Downloaded 50%" - no explicit need if structured data for progress info.
These are my concerns regarding this proposal. So, in short my opinion is that it could be nice for some demo / test scenarios but not very practical in real device operations.
I don't say, we don't want that feature. I just have some considerations that I think shall be taken into account.
Thanks @avgustinmm for the detailed explanation — that clarified the backend constraints and the intended scope of hawkBit.
Given that, I’d like to shift the discussion slightly towards a UI/integration-friendly approach.
@sbabic — would this kind of convention be acceptable for hawkbitUI (e.g. detecting progress ... messages and rendering a progress indicator)?
The idea is not to introduce a new feature in hawkBit itself, but to agree on a small, consistent convention that both SWUpdate and hawkbitUI could adopt.
Activity
avgustinmm commentedon Jan 12, 2026
Hi @sbabic ,
thanks for this effort to implement fully featured Open Source Licensed UI.
sbabic commentedon Jan 13, 2026
Hi @avgustinmm ,
it is a good plan. The project is now available at https://github.com/sbabic/hawkbitgui. I will announce it in gitter.
IhorFIVe commentedon Apr 6, 2026
@sbabic
Since this issue touches both backend and UI, I would like to raise a related question regarding progress reporting.
Currently, the DDI API defines
DdiProgress(cnt/of), but it is marked as "not supported" and is not exposed via the REST API. As a result, even if devices (e.g. SWUpdate) report structured progress, it cannot be consumed by clients or the UI.Would it be acceptable to enable pass-through support for
DdiProgressas opaque metadata?Proposal
Accept and persist
status.result.progressfrom DDI feedbackExpose it (unchanged) in:
Do not introduce any server-side interpretation or aggregation
Keep the field optional and device-defined
Example
Device feedback:
REST response:
{ "type": "running", "messages": ["Installing update"], "progress": { "cnt": 45, "of": 100 } }Rationale
Would such a minimal, non-intrusive extension be acceptable?
avgustinmm commentedon Apr 6, 2026
It's not so minimal:
IhorFIVe commentedon Apr 6, 2026
Thanks, that clarifies the constraints — especially around DB impact and potential DDI load.
Let me reframe the question from a usage perspective instead of a specific solution.
In a typical device integration (e.g. SWUpdate), the device already has access to meaningful execution progress (download %, install %, etc.), and there is a practical need to expose this in the UI.
Given that:
DdiProgressexists but is marked as not supporteddetails/messagesare intentionally unstructuredwhat would be the recommended way (if any) to surface device-side progress in hawkBit?
More concretely:
To extend the question slightly from the UI perspective:
Is progress intentionally out of scope for hawkBit (and expected to be handled externally)?
From the device side, this is understandable — devices like SWUpdate already compute progress locally.
However, in cases where the target device is headless (no local UI), the only way to surface this information is via hawkBit (server → UI).
Given that:
is it expected that progress visualization should be implemented outside of hawkBit entirely (e.g. custom backend/UI),
or is there an intended way to surface such execution-time information through hawkBit?
Trying to align with the intended architecture rather than pushing a specific implementation.
avgustinmm commentedon Apr 6, 2026
hawkBit is intended to rollout software updates on large scale - e.g. "install distribution set X on this set of 10 000 targets".
Then devices connects on some period - e.g. hours. So, such rollout could takes hours and days.
From the operator point of view it's important the progress of the rollout. If there are problems with certain devices - he could go to action to see the feedback - e.g. error message. In such scenario it is highly improbable to 'catch' a device in "downloading" state and to observe progress.
The same when you have auto-assignment - i.e. "when device match a target filter X install distribution set Y" such auto assignment could work even longer even forever).
The progress info could be useful if:
These are my concerns regarding this proposal. So, in short my opinion is that it could be nice for some demo / test scenarios but not very practical in real device operations.
I don't say, we don't want that feature. I just have some considerations that I think shall be taken into account.
IhorFIVe commentedon Apr 6, 2026
Thanks @avgustinmm for the detailed explanation — that clarified the backend constraints and the intended scope of hawkBit.
Given that, I’d like to shift the discussion slightly towards a UI/integration-friendly approach.
@sbabic — would this kind of convention be acceptable for hawkbitUI (e.g. detecting
progress ...messages and rendering a progress indicator)?The idea is not to introduce a new feature in hawkBit itself, but to agree on a small, consistent convention that both SWUpdate and hawkbitUI could adopt.
sbabic commentedon Apr 8, 2026
There was cross-posting, my long answer is on ML.
The details array is already used to push logs and they can opened into the GUI for analyses when an update fails.