You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Control UI '立即更新' (Update Now) button does nothing when clicked #84808
Bug: Control UI "立即更新" (Update Now) button not responding
Environment
OpenClaw Version: v2026.5.12 → v2026.5.19
Channel: stable
Install Method: pnpm
UI Context: WebChat (Control UI)
Description
When the Control UI displays an update notification (e.g., "v2026.5.19 available, currently running v2026.5.12"), clicking the "立即更新" (Update Now) button produces no visible response. The button appears clickable but nothing happens — no loading state, no error message, no progress indicator.
Expected Behavior
Clicking the update button should either:
Trigger the update process and show progress
Or display an error message explaining why the update cannot proceed (e.g., permission issues, dirty git state, etc.)
Actual Behavior
The button click does nothing. No UI feedback of any kind.
Workaround
Running openclaw update --yes via CLI works perfectly.
Additional Notes
The issue may be related to the Control UI's update handler not having the proper shell/PTY context to execute the update script
Could be a missing permission check or error handling in the frontend update flow
Browser cache / stale state might also play a role
Impact
Users who primarily interact through the WebChat/Control UI cannot reliably update without switching to the CLI.
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.
Close as superseded: the broad Control UI update-button no-feedback report overlaps two already-open, more actionable updater issues, and this thread does not add logs or environment data that point to a third distinct root cause.
Canonical path: #78481 is open and specifically tracks the Control UI update button silently returning to the update-available state when update.run is coalesced.
So I’m closing this here and keeping the remaining discussion on #78481 and #84068.
Review details
Best possible solution:
Keep the actionable updater work concentrated in the open canonical no-feedback and managed-service handoff issues, and ask for a new report only if fresh logs prove a distinct pnpm-specific failure.
Do we have a high-confidence way to reproduce the issue?
No for this exact reporter environment; the issue lacks logs or RPC details. The same observable no-feedback symptom is source-reproducible in the canonical coalesced update path, and the shell/supervisor handoff concern is already concretely tracked elsewhere.
Is this the best way to solve the issue?
Yes; closing as superseded is the best cleanup path because existing open issues already isolate the actionable UI coalescing and managed-service handoff failures without keeping a third broad duplicate open.
Security review:
Security review: This is an issue triage review, not a PR security review.
What I checked:
Current UI click path is wired: Current main renders the update status banner and wires the update-available button to runUpdate(state), so the remaining problem is not a missing click handler. (ui/src/ui/app-render.ts:1840, 0a4de3de5761)
Controller handles known non-success update outcomes:runUpdate calls update.run, maps non-ok/non-success result payloads into updateStatusBanner, but returns through the normal success path without inspecting restart metadata such as restart.coalesced. (ui/src/ui/controllers/config.ts:254, 0a4de3de5761)
Gateway returns restart coalescing metadata: The update.run handler logs restart.coalesced and includes the restart object in its response payload, matching the open canonical no-feedback issue's source-reproducible path. (src/gateway/server-methods/update.ts:239, 0a4de3de5761)
Duplicate search: Searches for Control UI update-button failures found the current issue plus the open canonical no-feedback, handoff, and broader update-manager threads; no separate open issue with unique pnpm-specific evidence was found.
Likely related people:
IAMSamuelRodda: Authored the merged update restart verification work that touched runUpdate, update status banners, expected-version tracking, and focused controller tests. (role: update UI/status behavior author; confidence: high; commits: 6c252cc54c3c; files: ui/src/ui/controllers/config.ts, ui/src/ui/controllers/config.test.ts, ui/src/ui/app-gateway.ts)
orlyjamie: Introduced the Control UI update warning banner and wired the banner action to the existing runUpdate(state) path. (role: Control UI update surface introducer; confidence: high; commits: 2ddc13cdb7cc; files: ui/src/ui/app-render.ts, ui/src/ui/app-gateway.ts, src/infra/update-startup.ts)
steipete: Introduced the original gateway config/update restart flow and later worked on package update handoff and restart cooldown behavior in the backend path. (role: gateway update flow and handoff contributor; confidence: high; commits: 71c31266a1db, e131eaecb502, 88da533714e5; files: src/gateway/server-methods/update.ts, src/infra/restart.ts, ui/src/ui/controllers/config.ts)
Codex review notes: model gpt-5.5, reasoning high; reviewed against 0a4de3de5761.
I ran into this exact same issue. The root cause is that the Control UI update handler lacks the proper shell/PTY context to execute the update script.
Quick troubleshooting steps:
Check how your gateway is launched (LaunchAgent / systemd / Docker / direct CLI)? If it's managed by a process manager, the TTY context may be missing.
Temporary workaround: openclaw update --yes works fine - use that and then manually restart the gateway.
For a permanent fix, you can set auto-update in your openclaw.json:
This way the gateway automatically checks for updates without needing the UI button.
Also check the browser console (F12 -> Console) for any errors. If you see CORS or WebSocket disconnect errors, that points to the frontend losing connection to the gateway's signaling channel.
If you need help getting this fully configured, I offer deployment & configuration services that cover the complete setup including auto-update policies, multi-agent tuning, etc. Feel free to reach out if interested!
Activity
clawsweeper commentedon May 21, 2026
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.
Close as superseded: the broad Control UI update-button no-feedback report overlaps two already-open, more actionable updater issues, and this thread does not add logs or environment data that point to a third distinct root cause.
Canonical path: #78481 is open and specifically tracks the Control UI update button silently returning to the update-available state when
update.runis coalesced.So I’m closing this here and keeping the remaining discussion on #78481 and #84068.
Review details
Best possible solution:
Keep the actionable updater work concentrated in the open canonical no-feedback and managed-service handoff issues, and ask for a new report only if fresh logs prove a distinct pnpm-specific failure.
Do we have a high-confidence way to reproduce the issue?
No for this exact reporter environment; the issue lacks logs or RPC details. The same observable no-feedback symptom is source-reproducible in the canonical coalesced update path, and the shell/supervisor handoff concern is already concretely tracked elsewhere.
Is this the best way to solve the issue?
Yes; closing as superseded is the best cleanup path because existing open issues already isolate the actionable UI coalescing and managed-service handoff failures without keeping a third broad duplicate open.
Security review:
Security review: This is an issue triage review, not a PR security review.
What I checked:
runUpdate(state), so the remaining problem is not a missing click handler. (ui/src/ui/app-render.ts:1840, 0a4de3de5761)runUpdatecallsupdate.run, maps non-ok/non-success result payloads intoupdateStatusBanner, but returns through the normal success path without inspecting restart metadata such asrestart.coalesced. (ui/src/ui/controllers/config.ts:254, 0a4de3de5761)update.runhandler logsrestart.coalescedand includes therestartobject in its response payload, matching the open canonical no-feedback issue's source-reproducible path. (src/gateway/server-methods/update.ts:239, 0a4de3de5761)update.runis coalesced.Likely related people:
runUpdate, update status banners, expected-version tracking, and focused controller tests. (role: update UI/status behavior author; confidence: high; commits: 6c252cc54c3c; files:ui/src/ui/controllers/config.ts,ui/src/ui/controllers/config.test.ts,ui/src/ui/app-gateway.ts)runUpdate(state)path. (role: Control UI update surface introducer; confidence: high; commits: 2ddc13cdb7cc; files:ui/src/ui/app-render.ts,ui/src/ui/app-gateway.ts,src/infra/update-startup.ts)src/gateway/server-methods/update.ts,src/infra/restart.ts,ui/src/ui/controllers/config.ts)Codex review notes: model gpt-5.5, reasoning high; reviewed against 0a4de3de5761.
xieetudousi commentedon May 21, 2026
I ran into this exact same issue. The root cause is that the Control UI update handler lacks the proper shell/PTY context to execute the update script.
Quick troubleshooting steps:
json { "update": { "autoUpdate": true, "autoUpdateInterval": "24h" } }This way the gateway automatically checks for updates without needing the UI button.
If you need help getting this fully configured, I offer deployment & configuration services that cover the complete setup including auto-update policies, multi-agent tuning, etc. Feel free to reach out if interested!