openclaw - 💡(How to fix) Fix [Bug]: openclaw doctor --fix automatically injects plugins.load.paths entry pointing at bundled plugin dir, causing circular warning [2 pull requests]

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…

Running openclaw doctor --fix on 2026.5.20 automatically adds a plugins.load.paths entry to openclaw.json that points at OpenClaw's own bundled plugin directory. This entry then triggers the following warning on every subsequent doctor run:

- plugins: plugin: ignored plugins.load.paths entry that points at OpenClaw's current bundled plugin directory; remove this redundant path or run openclaw doctor --fix

This creates a circular loop: doctor --fix adds the path → doctor warns about the path → but the path was added BY doctor itself.

Error Message

doctor --fix adds a redundant path on every run (or at least on first run after upgrade), which then causes the same doctor to immediately warn about the redundant path on the next run.

Root Cause

Running openclaw doctor --fix on 2026.5.20 automatically adds a plugins.load.paths entry to openclaw.json that points at OpenClaw's own bundled plugin directory. This entry then triggers the following warning on every subsequent doctor run:

- plugins: plugin: ignored plugins.load.paths entry that points at OpenClaw's current bundled plugin directory; remove this redundant path or run openclaw doctor --fix

This creates a circular loop: doctor --fix adds the path → doctor warns about the path → but the path was added BY doctor itself.

Fix Action

Fixed

Code Example

- plugins: plugin: ignored plugins.load.paths entry that points at OpenClaw's current bundled plugin directory; remove this redundant path or run openclaw doctor --fix

---

"load": {
     "paths": [
       "/home/ubuntu/.nvm/versions/node/v24.15.0/lib/node_modules/openclaw/dist/extensions/memory-wiki"
     ]
   }

---

Doctor changes ─────────────────────────────────────────────╮
- plugins.load.paths: removed bundled memory-wiki path      │
│    alias...├──────────────────────────────────────────────────────────────╯

---

Doctor changes ───────────────────────────────────────────────╮
- plugins.load.paths: removed bundled memory-wiki path        │
│    alias... (repeated)├────────────────────────────────────────────────────────────────╯
RAW_BUFFERClick to expand / collapse

Bug Type

Incorrect behavior (doctor --fix auto-modification)

Summary

Running openclaw doctor --fix on 2026.5.20 automatically adds a plugins.load.paths entry to openclaw.json that points at OpenClaw's own bundled plugin directory. This entry then triggers the following warning on every subsequent doctor run:

- plugins: plugin: ignored plugins.load.paths entry that points at OpenClaw's current bundled plugin directory; remove this redundant path or run openclaw doctor --fix

This creates a circular loop: doctor --fix adds the path → doctor warns about the path → but the path was added BY doctor itself.

Steps to Reproduce

  1. Start with an openclaw.json that does NOT have explicit plugins.load.paths
  2. Run: openclaw doctor --fix
  3. Observe that the following entry is added to openclaw.json automatically:
    "load": {
      "paths": [
        "/home/ubuntu/.nvm/versions/node/v24.15.0/lib/node_modules/openclaw/dist/extensions/memory-wiki"
      ]
    }
  4. Run openclaw doctor --fix again
  5. Observe the warning: ignored plugins.load.paths entry that points at OpenClaw's current bundled plugin directory

Expected Behavior

doctor --fix should NOT add a redundant plugins.load.paths entry pointing at the currently bundled plugin directory. If a bundled plugin path is already active, it should not be written to config.

Actual Behavior

doctor --fix adds a redundant path on every run (or at least on first run after upgrade), which then causes the same doctor to immediately warn about the redundant path on the next run.

Environment

  • OpenClaw version: 2026.5.20 (e510042)
  • OS: Ubuntu 24.04 LTS (Oracle Cloud)
  • Install method: npm global under nvm

Additional Context

This may be related to the memory-wiki plugin or the plugin path resolution logic during doctor's config fix step. The doctor output shows:

◇  Doctor changes ─────────────────────────────────────────────╮
│  - plugins.load.paths: removed bundled memory-wiki path      │
│    alias...                                                   │
├──────────────────────────────────────────────────────────────╯

And on the next run:

◇  Doctor changes ───────────────────────────────────────────────╮
│  - plugins.load.paths: removed bundled memory-wiki path        │
│    alias... (repeated)                                         │
├────────────────────────────────────────────────────────────────╯

This suggests the fix logic toggles the path back-and-forth. The doctor's --fix should detect that the target is a bundled directory and skip writing it entirely.

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 [Bug]: openclaw doctor --fix automatically injects plugins.load.paths entry pointing at bundled plugin dir, causing circular warning [2 pull requests]