Skip to content

WebUI fixes - #1677

Merged
troglobit merged 2 commits into
mainfrom
webui-fixes
Oct 1, 2026
Merged

troglobit merged 2 commits into
mainfrom
webui-fixes

Conversation

@troglobit

Copy link
Copy Markdown
Contributor

Description

Fixes:

  • a regression on main where the dashboard suddenly use running instead of operational data
  • a long-standing bug in software update where uploading an image can "time out" and abort

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

Upload & Install failed on a Raspberry Pi with the nginx "device is
starting" page in the progress card, after the upload had reached 100%.

nginx spools the whole upload before handing it to the backend, and
reading a bundle into a temp file on an SD card takes longer than the
server's 15 s read timeout, so the connection closed and nginx answered
502.  The handler also copied the spilled part once more into a second
temp file, doubling the writes.

Extend the request's own deadlines for the duration of the upload, and
rename the spilled part into place instead of copying it.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
The dashboard showed the hostname template, e.g. "rpi-%m", since its
system config fetch moved to the running datastore for the Software
Updates card.  Hostname, contact and location are resolved in the
operational view, so read them from there as before and keep the
running datastore for the card.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit added the ci:skip Skip CI for this PR, started jobs are stopped. label Oct 1, 2026
@troglobit
troglobit requested a review from mattiaswal October 1, 2026 16:27
@troglobit

Copy link
Copy Markdown
Contributor Author

I've tested both of the fixes locally.

@troglobit
troglobit merged commit f7dc450 into main Oct 1, 2026
15 of 16 checks passed
@troglobit
troglobit deleted the webui-fixes branch October 1, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:skip Skip CI for this PR, started jobs are stopped.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants