Skip to content

Update to 2026.7.1 left managed install and WhatsApp plugin linked to old embedded Node #107207

Closed

Description

@agente-attila

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.

Activity

  1. added
    P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.
    impact:crash-loopCrash, hang, restart loop, or process-level availability failure.
    impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.
    impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.
    issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.
    clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.
    on Jul 14, 2026
  2. clawsweeper commented on Jul 14, 2026

    @clawsweeper
    Contributor

    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

    • Question: What historical managed-upgrade evidence is required to resolve the runtime gap identified when this issue was reopened?
    • Recommendation: Qualify the reported starting state: Exercise the published older updater with embedded Node 22.22.0 against a packaged current candidate, then assess runtime, plugin, and Gateway outcomes.
    • Why: The merged repair explicitly excludes the published older-updater journey, and current implementation cannot retrospectively prove that journey succeeds.

    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:

    • No inspected evidence establishes a successful upgrade driven by the reported older managed installation through runtime selection, candidate Doctor, plugin convergence, and Gateway startup.

    Codex review notes: model internal, reasoning medium; reviewed against a08c6b39287b.

    Label changes

    Label changes:

    • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
    • remove clawsweeper:needs-info: Current issue advisory state no longer selects this label.
    • remove issue-rating: 🦐 gold shrimp: Current issue advisory state no longer selects this label.
    • remove 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:

    • Exercise the actual published older updater against the packaged candidate in isolated managed-prefix state.
    • Verify the resulting CLI runtime, plugin host target, and healthy Gateway without manual plugin relinking.
    • Establish a failing production-boundary regression before opening any repair PR.

    What I checked:

    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed October 16, 2026, 5:50 AM ET / 09:50 UTC.

  3. added
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    and removed
    clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.
    issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.
    on Jul 14, 2026
  4. openclaw-barnacle commented on Jul 29, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  5. 57 remaining items

  6. added
    issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.
    clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.
    and removed
    issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
    on Sep 27, 2026
  7. openclaw-barnacle commented on Oct 11, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  8. added
    clawsweeper:intake:bugPreliminary submission classification; full source review pending.
    issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
    and removed
    clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.
    issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.
    maturity:stableBroken existing behavior primarily owned by an M4/M5 scorecard surface.
    clawsweeper:intake:bugPreliminary submission classification; full source review pending.
    on Oct 16, 2026
  9. steipete commented on Oct 24, 2026

    @steipete
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions