Had an interesting bug today with the "updates" panel in DGX dashboard - resolution included

**Hey all, I spent a fair few hours on this. was updating my second Spark when all this started. Hopefully this will help someone else who, like me, wants to keep using the Nvidia recomended update path and has encountered this issue.

fwupd/libfwupd version mismatch after OTA update causes Dashboard “Updates” page to hang indefinitely**

## Summary

After applying the OTA update to DGX OS software version **7.5.0** via the DGX Dashboard, the

Dashboard’s **Updates** page never resolves — it sits on grey skeleton-loading placeholders

indefinitely. Root cause: the OTA update left the `fwupd` daemon package and the `libfwupd`

library package at mismatched versions, causing `fwupd.service` to fail to start. `fwupdmgr`

(the CLI client) then hangs indefinitely instead of failing fast when the daemon is

unreachable, and that hang propagates all the way up through NVIDIA’s own OTA-check tooling

and the Dashboard backend to the browser.

## Environment

- Hardware: NVIDIA DGX Spark (Founders Edition)

- Base image: `DGX_SWBUILD_VERSION=7.2.3` (build date 2025-09-10)

- OTA applied: `DGX_OTA_VERSION=7.5.0` (applied 2026-07-03, via DGX Dashboard)

- Kernel: `6.17.0-1026-nvidia` (aarch64)

- A second, otherwise-identical DGX Spark unit on the same base image, **without** the 7.5.0

OTA applied, does **not** exhibit this issue — used throughout as a known-good comparison.

## Symptom

1. Open the DGX Dashboard → **Updates** page.

2. The **Available Updates** table renders its skeleton/loading placeholder rows and never

populates — no update list appears, and no “you’re up to date” message appears either. The

page is stuck indefinitely in a loading state.

3. Browser DevTools (Network tab) shows the page’s underlying API calls

(`GET /api/v1/ota/status`, plus `available`, `list` requests) sitting in **Pending** state

with 0 bytes transferred — they never receive a response, and never time out client-side.

## Root cause (fully isolated and confirmed)

### 1. The Dashboard backend itself was ruled out first

`journalctl -u dgx-dashboard.service` and `journalctl -u dgx-dashboard-admin.service` show

**no activity at all** when the Updates page is loaded or refreshed — the request reaches

neither service’s logged output, which initially suggested a routing/networking problem. It

does not; these services simply don’t log routine request handling.

### 2. A direct authenticated request to the local API confirms a real backend hang

Extracting the Bearer token from the browser’s own request (DevTools → Network → the

`status` request → Headers) and hitting the Dashboard’s real listening port directly and

locally (found via `sudo ss -tlnp | grep dashboard`, confirmed at `127.0.0.1:11000`):

```

curl -v http://localhost:11000/api/v1/ota/status \

-H "Authorization: Bearer " \

--max-time 10

```

This connects instantly (TCP handshake succeeds) but the request itself **times out after

10 seconds with 0 bytes received** — a genuine, reproducible backend hang, independent of the

browser, any SSH tunnel, and any external network path (confirmed separately that this

machine has fully working outbound HTTPS connectivity to `api.ngc.nvidia.com`).

### 3. The hang traced to NVIDIA’s own OTA-check tooling piling up stuck processes

Every time the Updates page is loaded (or the direct curl above is run), a **new** instance of

```

/opt/nvidia/spark-ota-check/check_ota_status.py is-ota-available

```

is spawned and never exits (confirmed via repeated `ps aux | grep -i ota` showing an

accumulating pile of `S`-state processes across multiple minutes, none reaped even after a

`systemctl restart dgx-dashboard.service`).

### 4. Traced through the script’s own source to the exact blocking call

Reading `/opt/nvidia/spark-ota-check/check_firmware.py` (package `nvidia-spark-ota-check`,

version `1.0.14-1`, byte-identical on both the affected and unaffected unit — so this is not

a code bug in this package itself) shows `check_firmware()` calling, among other checks:

```python

def _get_fwupd_devices() → dict[str, str]:

raw = run_cmd(\["fwupdmgr", "get-devices", "--json"\])

...

```

`run_cmd()` (in `utils.py`) does set a `timeout=30` on its internal `subprocess.run(…)`

call — but that timeout does not appear to be effective in practice, and the underlying

`fwupdmgr` invocation itself blocks indefinitely (confirmed independently, see below), which

appears to defeat the intended timeout handling.

### 5. Confirmed: `fwupdmgr` itself hangs indefinitely, independent of any NVIDIA tooling

```

$ timeout 15 fwupdmgr get-devices --json

$ echo “exit code: $?”

exit code: 124

```

`124` = killed by `timeout` after 15 seconds. This reproduces with the stock `fwupdmgr` CLI

directly, with no NVIDIA-specific code involved at all.

### 6. Confirmed: the actual root cause is a stuck `fwupd.service`

```

$ systemctl status fwupd.service

…

Jul 04 04:41:03 fwupd[180179]: Failed to load daemon: failed to load engine:

libfwupd version 1.9.34 does not match daemon 1.9.30

Jul 04 04:41:03 systemd[1]: fwupd.service: Main process exited, code=exited, status=1/FAILURE

```

```

$ dpkg -l | grep -i fwupd

ii fwupd 1.9.30-0ubuntu1~24.04.1 arm64 Firmware update daemon

ii fwupd-signed 1.52+1.4-1 arm64 Linux Firmware Updater EFI signed binary

ii libfwupd2:arm64 1.9.34-0ubuntu1~24.04.1 arm64 Firmware update daemon library

ii nvidia-lvfs-config 25.09-1 all Provides fwupd configuration for NVIDIA LVFS

```

The `libfwupd2` library was upgraded to `1.9.34` as part of the 7.5.0 OTA, but the `fwupd`

daemon package itself was **not** upgraded to a matching version, leaving them mismatched.

`fwupd.service` explicitly detects this at startup and refuses to run — which is correct,

safe behavior on `fwupd`'s part. The actual bug is that **`fwupdmgr` (the client) does not

handle “daemon unavailable/failed to start” gracefully** — instead of erroring out

immediately, it blocks indefinitely, and that indefinite block is what cascades upward

through every layer described above.

The known-good comparison unit, which never received the 7.5.0 OTA, has no

`DGX_OTA_VERSION` field set at all and its `fwupd`/`libfwupd2` versions are presumably still

matched at their original base-image versions — consistent with this being introduced

specifically by the 7.5.0 OTA’s package set, not a pre-existing condition.

## Fix (applied, confirmed working)

```

sudo apt update

sudo apt install --only-upgrade fwupd

```

`apt` resolved this correctly on its own: the fix is not "upgrade `fwupd` to match the old

`libfwupd2`" but rather that a current `fwupd` release now depends on **`libfwupd3`**

(superseding `libfwupd2` entirely). The upgrade pulled in `libfwupd3` alongside the newer

`fwupd`, leaving `libfwupd2` orphaned (cleaned up afterward with `apt autoremove`).

After the upgrade:

```

$ systemctl status fwupd.service

● fwupd.service - Firmware update daemon

 Active: active (running)

…

Jul 04 04:47:34 fwupd[193499]: FuMain fwupd 2.0.20 ready for requests

```

```

$ timeout 15 fwupdmgr get-devices --json

{ …full device list… }

$ echo $?

0

```

`check_ota_status.py is-ota-available` no longer hangs or accumulates stuck processes, the

direct `curl` to `/api/v1/ota/status` returns immediately, and the Dashboard’s Updates page

loads correctly.

## Requested fixes

1. **`fwupdmgr` should not block indefinitely when `fwupd.service` fails to start or is

unreachable.** It should fail fast with a clear error (as it presumably would for a

simple “connection refused” case) rather than hanging — this single fix would have

prevented the entire cascade described above, independent of whether the underlying

version-mismatch bug is also fixed.

2. **The 7.5.0 OTA recipe/package set should upgrade `fwupd` and `libfwupd2`/`libfwupd3`

together, atomically**, so a fresh OTA application never lands a system in this

mismatched state in the first place.

3. Consider having `/opt/nvidia/spark-ota-check`'s `run_cmd()` wrapper genuinely enforce its

intended timeout regardless of the underlying command’s own hang behavior (e.g. via

process-group termination on timeout), so a single misbehaving external tool cannot make

this OTA-check script itself hang indefinitely and accumulate orphaned processes on every

retry.

## Reproduction is fully isolated and independent of any unusual configuration

This was diagnosed on a unit that also has a ConnectX-7 fabric link manually configured to a

second DGX Spark for clustering purposes. That configuration was explicitly ruled out as a

contributing factor during diagnosis — `ib_write_bw`, `mstflint`, and all Mellanox-related

processes were confirmed absent at the time of every reproduction, and `mstflint -d

0000:01:00.0 q` (queried directly, bypassing the OTA-check tooling entirely) returns

correctly and instantly on the affected unit. The hang is isolated entirely to `fwupdmgr` /

`fwupd.service`, unrelated to networking, clustering, or ConnectX-7 hardware state.

@thrashvtx moved the topic to the Spark forum.