Borg Backup UI widget on main Unraid Dashboard doesn't update itself constantly
Hi,
it seems that the Backup UI widget on the main Unraid tab ("Dashboard") doesn't always update itself. See this screen:
As you can see, the status line says "updated 8.56AM". But at the moment it is 10.30AM. As the widget shows a green dot on the right, one could assume that "everything is ok". Clicking on the refresh button in the widget upper right doesn't update the widget.
As far as I can see, this seems to be related to "is a user logged in"? When I open Borg Backup UI, I will be presented with a login screen. After a successful login, the Unraid widget also updates itself (or can be updated through refresh button).
No big thing though... One has to be aware that the widget is no live view (as with the other, native Unraid widgets on the Dashboard).
Thanks again for the report.
I analyzed the widget update path, and your observation is correct: the Unraid dashboard widget currently only updates reliably after the main Borg Backup UI has been opened/logged into. The refresh button in the Unraid widget only reloads the existing widget cache file. It does not currently force a full status refresh.
There is also a larger design issue behind this: the widget was intended to avoid waking disks. It should not call Borg, check repositories, or scan status files from /mnt/... just because the Unraid dashboard is open.
The current background refresh approach is therefore not ideal. Even if fixed, a periodic status-file scan could wake disks if the status directory is located on /mnt/user, /mnt/cache, /mnt/disk*, or a pool.
Planned direction for the fix:
- The Unraid dashboard widget will continue to read only a small cache file from the flash/plugin area.
- The periodic widget status scan will be removed or disabled.
- The widget cache will be updated when relevant events happen, for example after a backup run, restore test, job/schedule change, repository-info update, or when the main UI status is actively opened.
- The cache will contain enough timestamp information so the widget can still detect time-based states, such as overdue backups or restore tests, without scanning status files again.
- The widget will clearly show which cached data timestamp it is based on.
So the widget will be a cached dashboard summary, not a live scanner. This should keep it useful while avoiding unnecessary disk wakeups.
Would this behavior work for your use case?
As I am also a big friend of not waking up disks when not needed: Yes, this way would be ok for me!
Okay, I’ll fix it toward the end of this week, after my vacation.
Implemented in PR #416 and published to the test channel as version 2026.08.27.1702.
Result:
- The Unraid dashboard widget no longer triggers periodic backend status scans.
- Dashboard refreshes read only the flash-based widget cache.
- The widget cache is rebuilt only after real events: backup job finished, restore-test result written, or the one-time startup cache build when no compatible cache exists yet.
- The "Based on" timestamp now stays stable during normal Borg Backup UI status polling and changes only when the widget cache is actually rebuilt.
- Cached per-job metadata allows the widget to show newly overdue backups without waking storage disks.
Test coverage:
- Focused widget and storage-guard tests were added.
- Full preflight passed with 690 tests.
This keeps the widget disk-friendly while still giving a useful status based on the last written cache.
Closing this as implemented and available in the test channel version 2026.08.27.1702.