openclaw - 💡(How to fix) Fix [Bug]: doctor falsely reports no active memory plugin while mem0 is loaded and working [1 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#59894Fetched 2026-04-08 02:39:08
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0

On OpenClaw 2026.3.31, 2026.4.1, and 2026.4.2, openclaw doctor --fix reports:

No active memory plugin is registered for the current config.

…but openclaw-mem0 is loaded and working normally.

In this setup:

  • plugins.allow includes openclaw-mem0
  • plugins.slots.memory is set to openclaw-mem0
  • plugins.entries.openclaw-mem0.enabled = true
  • openclaw mem0 stats succeeds and returns live data
  • runtime logs show: openclaw-mem0: registered (mode: platform, user: quark, graph: false, autoRecall: false, autoCapture: true)

So doctor is producing a false-negative memory diagnostic while the plugin is healthy.

Root Cause

On OpenClaw 2026.3.31, 2026.4.1, and 2026.4.2, openclaw doctor --fix reports:

No active memory plugin is registered for the current config.

…but openclaw-mem0 is loaded and working normally.

In this setup:

  • plugins.allow includes openclaw-mem0
  • plugins.slots.memory is set to openclaw-mem0
  • plugins.entries.openclaw-mem0.enabled = true
  • openclaw mem0 stats succeeds and returns live data
  • runtime logs show: openclaw-mem0: registered (mode: platform, user: quark, graph: false, autoRecall: false, autoCapture: true)

So doctor is producing a false-negative memory diagnostic while the plugin is healthy.

Code Example

{
  "plugins": {
    "allow": ["telegram", "minimax", "openclaw-mem0", "google", "acpx", "browser"],
    "slots": {
      "memory": "openclaw-mem0"
    },
    "entries": {
      "openclaw-mem0": {
        "enabled": true,
        "config": {
          "apiKey": "<present>",
          "userId": "quark",
          "autoRecall": false,
          "autoCapture": true
        }
      }
    }
  }
}

---

openclaw doctor --fix

---

No active memory plugin is registered for the current config.

---

openclaw mem0 stats

---

Mode: platform
User: quark
Total memories: 6
Graph enabled: false
Auto-recall: false, Auto-capture: true
RAW_BUFFERClick to expand / collapse

Summary

On OpenClaw 2026.3.31, 2026.4.1, and 2026.4.2, openclaw doctor --fix reports:

No active memory plugin is registered for the current config.

…but openclaw-mem0 is loaded and working normally.

In this setup:

  • plugins.allow includes openclaw-mem0
  • plugins.slots.memory is set to openclaw-mem0
  • plugins.entries.openclaw-mem0.enabled = true
  • openclaw mem0 stats succeeds and returns live data
  • runtime logs show: openclaw-mem0: registered (mode: platform, user: quark, graph: false, autoRecall: false, autoCapture: true)

So doctor is producing a false-negative memory diagnostic while the plugin is healthy.

Environment

  • OpenClaw: reproduced on 2026.3.31, 2026.4.1, 2026.4.2
  • Host: macOS (Apple Silicon)
  • Memory plugin: openclaw-mem0
  • Memory mode: platform
  • User: quark

Relevant config shape

{
  "plugins": {
    "allow": ["telegram", "minimax", "openclaw-mem0", "google", "acpx", "browser"],
    "slots": {
      "memory": "openclaw-mem0"
    },
    "entries": {
      "openclaw-mem0": {
        "enabled": true,
        "config": {
          "apiKey": "<present>",
          "userId": "quark",
          "autoRecall": false,
          "autoCapture": true
        }
      }
    }
  }
}

Steps to Reproduce

  1. Configure openclaw-mem0 as the active memory plugin via plugins.slots.memory.
  2. Confirm the plugin is loaded at runtime.
  3. Run:
openclaw doctor --fix
  1. Observe the memory section warning:
No active memory plugin is registered for the current config.
  1. Immediately run:
openclaw mem0 stats

Actual Behavior

doctor says no active memory plugin is registered.

At the same time, openclaw mem0 stats returns valid plugin stats, for example:

Mode: platform
User: quark
Total memories: 6
Graph enabled: false
Auto-recall: false, Auto-capture: true

Expected Behavior

If openclaw-mem0 is loaded, configured in plugins.slots.memory, and answering successfully via openclaw mem0 stats, doctor should not claim that no active memory plugin is registered.

At minimum, the diagnostic should distinguish between:

  • no memory plugin configured
  • memory plugin configured but unhealthy
  • memory plugin configured and working

Impact

This is misleading enough to trigger unnecessary incident response after upgrades. In our case, memory was verified working end-to-end (including storing + searching a new memory), but doctor still implied the memory lane was broken.

That makes health reporting harder to trust, especially during upgrade validation.

extent analysis

TL;DR

The openclaw doctor --fix command may require an update to correctly identify the active memory plugin, despite openclaw-mem0 being loaded and functioning normally.

Guidance

  • Verify that the plugins.slots.memory configuration is correctly set to openclaw-mem0 and that the openclaw-mem0 plugin is enabled in the plugins.entries section.
  • Check the runtime logs for any errors or warnings related to the openclaw-mem0 plugin registration.
  • Run openclaw mem0 stats to confirm that the plugin is working as expected and compare its output with the doctor command's diagnostic.
  • Consider filing a bug report or feature request to improve the doctor command's diagnostic capabilities, especially in distinguishing between different memory plugin states.

Notes

The issue seems to be related to the doctor command's logic in detecting the active memory plugin, rather than a problem with the openclaw-mem0 plugin itself. The fact that openclaw mem0 stats returns valid stats suggests that the plugin is working correctly.

Recommendation

Apply a workaround by manually verifying the memory plugin's status using openclaw mem0 stats until the doctor command is updated to correctly identify the active memory plugin.

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]: doctor falsely reports no active memory plugin while mem0 is loaded and working [1 participants]