Skip to content

[Announce] New GUI for Hawkbit #2868

Open

Description

@sbabic

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.
  • better UX

We plan to release the GUI under Github under an Open Source License soon - at the moment, it can be checked on a demo server at https://hawkbitgui.nabladev.com with demo Hawkbit credentials. This will be shutdown as soon as the sources will be published and it is just to give an idea.

I hope this work can be well accepted by Hawkbit's community and users.

Activity

  1. avgustinmm commented on Jan 12, 2026

    @avgustinmm
    Contributor

    Hi @sbabic ,
    thanks for this effort to implement fully featured Open Source Licensed UI.

  2. sbabic commented on Jan 13, 2026

    @sbabic
    Author

    Hi @avgustinmm ,

    it is a good plan. The project is now available at https://github.com/sbabic/hawkbitgui. I will announce it in gitter.

  3. IhorFIVe commented on Apr 6, 2026

    @IhorFIVe

    @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

    • Keep the field optional and device-defined

    Example
    Device feedback:

    "status": {
      "execution": "proceeding",
      "result": {
        "progress": { "cnt": 45, "of": 100 }
      }
    }

    REST response:

    {
      "type": "running",
      "messages": ["Installing update"],
      "progress": { "cnt": 45, "of": 100 }
    }

    Rationale

    • Reuses existing DDI structure (no protocol change)
    • Backward compatible (optional field)
    • Keeps hawkBit free of execution logic (no interpretation)
    • Enables UI (including the new UI discussed here) to display progress if available

    Would such a minimal, non-intrusive extension be acceptable?

  4. avgustinmm commented on Apr 6, 2026

    @avgustinmm
    Contributor

    It's not so minimal:

    1. it requires db structure change - should alter sp_action (the biggest) table by adding 2 new columns.
    2. it requires new REST endpoint
    3. 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
  5. IhorFIVe commented on Apr 6, 2026

    @IhorFIVe

    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.

  6. avgustinmm commented on Apr 6, 2026

    @avgustinmm
    Contributor

    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:

    1. You do manual install, e.g. for testing purposes, device pooling very frequently and start download immediately. Then you could see some progress.
    2. 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.
  7. IhorFIVe commented on Apr 6, 2026

    @IhorFIVe

    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.

  8. sbabic commented on Apr 8, 2026

    @sbabic
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions