Skip to content

Fix: Update process hanging in the web UI - #2163

Merged
billz merged 1 commit into
masterfrom
fix/update-function
Oct 10, 2026
Merged

billz merged 1 commit into
masterfrom
fix/update-function

Conversation

@billz

@billz billz commented Oct 3, 2026

Copy link
Copy Markdown
Member

When started from the web UI, the installer ran inside the php-fpm service cgroup and was killed when the update restarted php-fpm, leaving the progress modal polling forever. The update request also held the PHP session lock for its full duration, blocking progress polling.

When started from the web UI, the installer ran inside the php-fpm
service cgroup and was killed when the update restarted php-fpm, leaving
the progress modal polling forever. The update request also held the
PHP session lock for its full duration, blocking progress polling.

- Relaunch web UI updates as a transient raspap-update systemd unit
- Run the installer in the background and release the session lock in
  the update, log and version check endpoints
- Report when the installer has stopped, ignore stale logs and only
  treat installer error lines as errors
- Retry polling through web server restarts and handle failed version
  checks instead of spinning indefinitely
- Add tests for log parsing and session locking

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@billz
billz merged commit 68930f2 into master Oct 10, 2026
3 checks passed
@billz
billz deleted the fix/update-function branch October 10, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant