Description
After updating from OpenClaw 2026.6.11 to 2026.7.1 on macOS, my managed/user-space install under ~/.openclaw failed because parts of the install still pointed at the old embedded Node runtime.
Environment:
macOS
Managed install under ~/.openclaw
Previous OpenClaw: 2026.6.11
Updated OpenClaw: 2026.7.1 (2d2ddc4)
Old embedded Node: ~/.openclaw/tools/node-v22.22.0
New embedded Node after repair: ~/.openclaw/tools/node-v24.15.0
What happened:
openclaw update installed 2026.7.1 but failed doctor because OpenClaw now requires Node >=22.22.3, while the managed runtime was still v22.22.0.
Re-running install-cli.sh with --node-version 24.15.0 installed the new runtime and OpenClaw package.
My shell still found the old binary first because ~/.zprofile had a hardcoded old path:export PATH="$HOME/.openclaw/tools/node-v22.22.0/bin:$PATH"
After fixing PATH, gateway startup still failed due to startup migration blockers.
Gateway startup then failed because the WhatsApp plugin peer link still pointed to the old Node 22 OpenClaw package.
Relevant error:
Plugin "whatsapp" failed post-core payload smoke check (missing-openclaw-peer-link): Plugin declares peerDependency "openclaw" but peer link audit failed: /Users/attila/.openclaw/extensions/whatsapp/node_modules/openclaw points to /Users/attila/.openclaw/tools/node-v22.22.0/lib/node_modules/openclaw instead of /Users/attila/.openclaw/tools/node-v24.15.0/lib/node_modules/openclaw. Run openclaw update repair to retry plugin repair.
Recovery steps that worked:
curl -fsSL --proto '=https' --tlsv1.2 https://openclaw.ai/install-cli.sh | bash -s -- --prefix "$HOME/.openclaw" --version latest --node-version 24.15.0
`# remove old node-v22.22.0 PATH entry from ~/.zprofile
source ~/.zprofile
openclaw doctor --fix --allow-exec
openclaw update repair
openclaw gateway restart`
Expected behavior:
The update or recovery path should update all managed references from the old embedded Node/OpenClaw package root to the new one, including plugin peer links, or automatically run/surface openclaw update repair as part of the failed update recovery.
Actual behavior:
The update partially succeeded but left stale references to node-v22.22.0 in shell/plugin state, causing the CLI and gateway to fail until PATH and plugin peer links were repaired manually.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jul 14, 2026
Codex review: this still needs some work.
Summary
Keep open: current runtime and plugin repairs address both failure mechanisms, but the reported older managed installation’s first upgrade remains unproven, matching the explicit reopening decision.
Reproducibility: The report supplies a concrete historical failure, but no current-main reproduction was run; inspected tests cover component repairs rather than the older installed updater’s full upgrade.
Maintainer decision needed
Next step
Verify the published older updater from the reported managed state, establishing any remaining failure and a visible Fix or Doctor recovery path before proposing another repair.
Review details
Best possible solution:
Verify the historical managed upgrade end to end and provide a visible Fix or Doctor recovery action wherever that first upgrade still stalls.
Do we have a high-confidence way to reproduce the issue?
The report supplies a concrete historical failure, but no current-main reproduction was run; inspected tests cover component repairs rather than the older installed updater’s full upgrade.
Is this the best way to solve the issue?
The existing runtime and plugin owners are the appropriate repair boundaries, but a focused implementation cannot be selected until the historical upgrade reveals any remaining failure.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against a08c6b39287b.
Label changes
Label changes:
issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.clawsweeper:needs-info: Current issue advisory state no longer selects this label.issue-rating: 🦐 gold shrimp: Current issue advisory state no longer selects this label.maturity:stable: Current issue review selected no maturity labels.Label justifications:
P0: The reported update blocked the CLI and Gateway and required installer commands, shell edits, Doctor, and plugin repair, meeting the specified update-recovery UX override.impact:ux-release-blocker: The reported installation had no usable in-product recovery path and required terminal and configuration intervention.Evidence reviewed
Acceptance criteria:
What I checked:
src/cli/update-cli/update-command-node-runtime.ts:147, a08c6b39287b)src/cli/update-cli/update-command-node-runtime-resolution.ts:23, a08c6b39287b)src/commands/doctor/shared/post-core-plugin-convergence.ts:250, a08c6b39287b)src/commands/doctor/shared/post-core-plugin-convergence.test.ts:306, a08c6b39287b)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 16, 2026, 5:50 AM ET / 09:50 UTC.
openclaw-barnacle commentedon Jul 29, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
57 remaining items
openclaw-barnacle commentedon Oct 11, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
steipete commentedon Oct 24, 2026
Thanks for filing this. We're closing older issues that no longer look actionable on current
main.Both mechanisms described here (the stale WhatsApp plugin runtime link and the managed embedded-runtime repair) have been fixed on main, and the 2026.6.11 to 2026.7.1 upgrade path is long superseded. If a current release still leaves a managed install on an outdated runtime after update, please open a fresh issue with the before/after versions.