openclaw - 💡(How to fix) Fix Gateway runtime unstable after updating to 2026.4.24 until doctor fix + restart + bonjour disable [6 comments, 7 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72526Fetched 2026-04-28 06:34:56
View on GitHub
Comments
6
Participants
7
Timeline
9
Reactions
4
Timeline (top)
commented ×6closed ×1cross-referenced ×1subscribed ×1

After updating OpenClaw to 2026.4.24 via openclaw update, the CLI version updated successfully, but the running gateway became unstable for a while. The system showed mixed signals such as Runtime: running while connectivity probe failed with ECONNREFUSED / timeout, and doctor --fix surfaced a bundled Telegram channel/plugin runtime error.

The installation was eventually recovered by rebuilding runtime state (doctor --fix), restarting the gateway service, and disabling the bonjour plugin before another restart.

Error Message

After updating OpenClaw to 2026.4.24 via openclaw update, the CLI version updated successfully, but the running gateway became unstable for a while. The system showed mixed signals such as Runtime: running while connectivity probe failed with ECONNREFUSED / timeout, and doctor --fix surfaced a bundled Telegram channel/plugin runtime error. 5. doctor --fix also logged a bundled Telegram/plugin runtime error:

Root Cause

After updating OpenClaw to 2026.4.24 via openclaw update, the CLI version updated successfully, but the running gateway became unstable for a while. The system showed mixed signals such as Runtime: running while connectivity probe failed with ECONNREFUSED / timeout, and doctor --fix surfaced a bundled Telegram channel/plugin runtime error.

The installation was eventually recovered by rebuilding runtime state (doctor --fix), restarting the gateway service, and disabling the bonjour plugin before another restart.

Code Example

failed to load bundled channel telegram: ENOTEMPTY: directory not empty, rmdir '/root/.openclaw/plugin-runtime-deps/openclaw-2026.4.24-.../dist/extensions/node_modules/openclaw/plugin-sdk'

---

openclaw doctor --fix

---

openclaw gateway stop
   openclaw gateway start
   # later also:
   openclaw gateway restart

---

openclaw plugins disable bonjour
   openclaw gateway restart

---

openclaw status
   openclaw gateway status
RAW_BUFFERClick to expand / collapse

Summary

After updating OpenClaw to 2026.4.24 via openclaw update, the CLI version updated successfully, but the running gateway became unstable for a while. The system showed mixed signals such as Runtime: running while connectivity probe failed with ECONNREFUSED / timeout, and doctor --fix surfaced a bundled Telegram channel/plugin runtime error.

The installation was eventually recovered by rebuilding runtime state (doctor --fix), restarting the gateway service, and disabling the bonjour plugin before another restart.

Environment

  • Host: Linux VPS
  • Install type: pnpm
  • OpenClaw target version: 2026.4.24
  • Gateway service: systemd user service
  • Channel in use: Telegram

What happened

  1. openclaw update reported success and openclaw --version became 2026.4.24.
  2. Initially, openclaw status / gateway health did not fully reflect a clean running state.
  3. openclaw doctor --fix showed intermittent gateway state contradictions:
    • Gateway not running
    • port 18789 already in use
    • Runtime: running
  4. openclaw gateway status later showed:
    • service active
    • but connectivity probe failed (ECONNREFUSED or timeout)
  5. doctor --fix also logged a bundled Telegram/plugin runtime error:
failed to load bundled channel telegram: ENOTEMPTY: directory not empty, rmdir '/root/.openclaw/plugin-runtime-deps/openclaw-2026.4.24-.../dist/extensions/node_modules/openclaw/plugin-sdk'

Recovery steps that worked

These steps eventually restored the system to a healthy 2026.4.24 runtime:

  1. Run:
    openclaw doctor --fix
  2. Manually restart the gateway service:
    openclaw gateway stop
    openclaw gateway start
    # later also:
    openclaw gateway restart
  3. Disable bonjour plugin:
    openclaw plugins disable bonjour
    openclaw gateway restart
  4. Re-check:
    openclaw status
    openclaw gateway status

Final good state

Eventually the runtime converged and both of these showed the new version correctly:

  • Gateway ... app 2026.4.24
  • Gateway self ... app 2026.4.24
  • Telegram channel status returned to OK

Suspected cause

This looked less like a failed package update and more like a post-update runtime inconsistency involving one or more of:

  • stale / conflicting plugin-runtime-deps state
  • bundled plugin/channel runtime cleanup race (ENOTEMPTY during rmdir)
  • gateway process restart / probe timing mismatch
  • a non-essential plugin (bonjour) contributing to unstable startup after upgrade

Why this may matter

This can leave users in a confusing in-between state where:

  • openclaw --version is already upgraded
  • but gateway health is unstable or misleading
  • Telegram / channel behavior may be inconsistent until runtime is rebuilt

Suggestion

Potential improvements that might help:

  1. Make openclaw update more explicit about whether the gateway runtime has successfully switched to the new version.
  2. Add better repair/cleanup for plugin-runtime-deps when bundled plugin directories cannot be removed cleanly.
  3. Improve gateway status reporting when runtime is active but probe is temporarily failing during/after restart.
  4. Consider warning about or isolating optional plugins (like bonjour) if they can affect recovery after update.

extent analysis

TL;DR

The most likely fix for the unstable gateway after updating OpenClaw to 2026.4.24 involves rebuilding the runtime state, restarting the gateway service, and potentially disabling non-essential plugins like bonjour.

Guidance

  • Verify that the openclaw update command has successfully updated the CLI version and attempt to rebuild the runtime state using openclaw doctor --fix.
  • Restart the gateway service manually using openclaw gateway stop and openclaw gateway start to ensure a clean restart.
  • Consider disabling non-essential plugins like bonjour using openclaw plugins disable bonjour to prevent potential conflicts during startup.
  • Monitor the gateway status using openclaw status and openclaw gateway status to ensure a stable and healthy runtime.

Example

No specific code snippet is provided as the issue is more related to the update and runtime consistency rather than a specific code error.

Notes

The exact cause of the issue is suspected to be related to post-update runtime inconsistencies, including stale plugin-runtime-deps state, bundled plugin/channel runtime cleanup races, or gateway process restart/probe timing mismatches. The provided recovery steps have worked for the specific scenario but may not be universally applicable.

Recommendation

Apply the workaround by rebuilding the runtime state, restarting the gateway service, and disabling non-essential plugins if necessary, as this approach has been shown to resolve the issue in the given scenario.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Gateway runtime unstable after updating to 2026.4.24 until doctor fix + restart + bonjour disable [6 comments, 7 participants]