Skip to content

fix: OpenClaw 2026.4.2 无法正常启动 memOS #1418

@IAMJOYBO

Description

@IAMJOYBO

Pre-submission checklist | 提交前检查

  • I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
  • I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
  • This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题

Bug Description | 问题描述

启动日志:

🦞 OpenClaw 2026.4.2 (d74a122) — If something's on fire, I can't extinguish it—but I can write a beautiful postmortem.

18:16:37+08:00 [qqbot-channel-api] Registered QQ channel API proxy tool
18:16:37+08:00 [qqbot-remind] Registered QQBot remind tool
18:16:37+08:00 [canvas] host mounted at http://0.0.0.0:18789/__openclaw__/canvas/ (root C:\Users\13268\.openclaw\canvas)
18:16:37+08:00 [gateway] ⚠️  Gateway is binding to a non-loopback address. Ensure authentication is configured before exposing to public networks.
18:16:38+08:00 [heartbeat] started
18:16:38+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
18:16:38+08:00 [gateway] agent model: nvidia/z-ai/glm4.7
18:16:38+08:00 [gateway] listening on ws://0.0.0.0:18789 (PID 17896)
18:16:38+08:00 [gateway] log file: \tmp\openclaw\openclaw-2026-04-03.log
18:16:38+08:00 [gateway] security warning: dangerous config flags enabled: gateway.controlUi.allowInsecureAuth=true. Run `openclaw security audit`.
18:16:38+08:00 [info]: [ 'client ready' ]
18:16:52+08:00 [bonjour] watchdog detected non-announced service; attempting re-advertise (gateway fqdn=jiangrj (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=unannounced)
18:16:57+08:00 [model-pricing] pricing bootstrap failed: TypeError: fetch failed
18:16:57+08:00 [hooks] loaded 4 internal hook handlers
18:17:09+08:00 [bonjour] restarting advertiser (service stuck in probing for 16911ms (gateway fqdn=jiangrj (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing))
18:17:10+08:00 [qqbot] [qqbot:default] Starting gateway — appId=1903544557, enabled=true, name=unnamed
18:17:10+08:00 [qqbot:channel] startAccount: accountId=default, appId=1903544557, secretSource=config
18:17:12+08:00 [feishu] starting feishu[default] (mode: websocket)
18:17:12+08:00 [feishu] feishu[default]: message dedup enabled (ttl=43200000ms, max=5000)
18:17:12+08:00 [feishu] feishu[default]: starting WebSocket connection...
18:17:12+08:00 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
18:17:15+08:00 [plugins] [debug] Database schema initialized
18:17:15+08:00 [plugins] [debug] OpenClaw fallback model: z-ai via https://integrate.api.nvidia.com/v1 (openai_compatible)
18:17:15+08:00 [plugins] [debug] OpenClaw fallback model: z-ai via https://integrate.api.nvidia.com/v1 (openai_compatible)
18:17:15+08:00 [plugins] [debug] Telemetry initialized (ARMS)
18:17:15+08:00 [plugins] memos-local: installed bundled skill memos-memory-guide → C:\Users\13268\.openclaw\workspace\skills\memos-memory-guide
18:17:15+08:00 [plugins] memos-local: installed bundled skill memos-memory-guide → C:\Users\13268\.openclaw\skills\memos-memory-guide (managed)
18:17:15+08:00 [plugins] [debug] OpenClaw fallback model: z-ai via https://integrate.api.nvidia.com/v1 (openai_compatible)
18:17:15+08:00 [plugins] memos-local: initialized (db: C:\Users\13268\.openclaw\memos-local\memos.db)
18:17:15+08:00 [plugins] memos-local: allowPromptInjection=true, auto-recall enabled
18:17:15+08:00 [qqbot-channel-api] Registered QQ channel API proxy tool
18:17:15+08:00 [qqbot-remind] Registered QQBot remind tool
18:17:25+08:00 [bonjour] watchdog detected non-announced service; attempting re-advertise (gateway fqdn=jiangrj (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=unannounced)
18:17:25+08:00 [platform] ffmpeg detected in PATH
18:17:25+08:00 [platform] silk-wasm: available
18:17:25+08:00 === QQBot 环境诊断 ===
18:17:25+08:00   平台: win32 (10.0.26200) (x64)
18:17:25+08:00   Node: v24.14.0
18:17:25+08:00   主目录: C:\Users\13268
18:17:25+08:00   数据目录: C:\Users\13268\.openclaw\qqbot
18:17:25+08:00   ffmpeg: ffmpeg.exe
18:17:25+08:00   silk-wasm: 可用
18:17:25+08:00 ======================
18:17:25+08:00 [qqbot] [qqbot:default] Runtime module preflight: OK
18:17:25+08:00 [qqbot] [qqbot:default] API config: markdownSupport=true
18:17:25+08:00 [qqbot] [qqbot:default] TTS not configured (voice messages will be unavailable)
18:17:25+08:00 [qqbot] [qqbot:default] Image server disabled (no imageServerBaseUrl configured)
18:17:25+08:00 [session-store] Session expired for default, age: 356s
18:17:25+08:00 [qqbot] [qqbot:default] approval-handler: starting
18:17:50+08:00 [qqbot] [qqbot-api:1903544557] >>> POST https://bots.qq.com/app/getAppAccessToken [secret: JvYBpT...len=32]

How to Reproduce | 如何重现

端口未监听:

(base) PS C:\Users\13268\.openclaw> cd .\extensions\
(base) PS C:\Users\13268\.openclaw\extensions> cd .\memos-local-openclaw-plugin\
(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin> node scripts/postinstall.cjs

┌──────────────────────────────────────────────────┐
│  MemOS Local Memory — postinstall setup          │
└──────────────────────────────────────────────────┘

  [memos-local] Plugin dir: C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin
  [memos-local] Node: v24.14.0  Platform: win32-x64
  [memos-local] Version unchanged (1.0.7), skipping artifact cleanup.

  ─── Phase 0: Check core dependencies / 检测核心依赖 ───

  [memos-local]   @sinclair/typebox ✔
  [memos-local]   uuid ✔
  [memos-local]   @huggingface/transformers ✔
  ✔ [memos-local] All core dependencies present.

  ─── Phase 1: Clean up legacy plugins / 清理旧版本插件 ───

  [memos-local] No legacy config entries found.
  ✔ [memos-local] No legacy plugin directories found. Clean.

  ─── Phase 2: Install memory skill / 安装记忆技能 ───

  ✔ [memos-local] Skill installed → C:\Users\13268\.openclaw\workspace\skills\memos-memory-guide
  ✔ [memos-local] Skill installed → C:\Users\13268\.openclaw\skills\memos-memory-guide
  ✔ [memos-local] Registered in skills-lock.json

  ─── Phase 3: Check native module / 检查 better-sqlite3 原生模块 ───

  [memos-local] Native binding found: C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin\node_modules\better-sqlite3\build\Release\better_sqlite3.node
  ✔ [memos-local] better-sqlite3 is ready.

  ─── Phase 3: LAN Sharing Setup / 局域网共享设置 ───

  Enable LAN sharing? / 是否启用局域网记忆共享?(y/N) >
  [memos-local] Sharing not enabled. You can configure it later in openclaw.json. / 未启用共享。

  ┌──────────────────────────────────────────────────┐
  │  ✔ Setup complete!                                │
  │                                                    │
  │  Restart gateway:                                  │
  │  openclaw gateway stop && openclaw gateway start  │
  └──────────────────────────────────────────────────┘

(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin>
(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin> netstat -ano | findstr 18799
(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin>

Environment | 环境信息

(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin> pip show memoryos
DEPRECATION: Loading egg at c:\programdata\anaconda3\lib\site-packages\jwcrypto-1.5.6-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at c:\programdata\anaconda3\lib\site-packages\redis-7.1.0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at c:\programdata\anaconda3\lib\site-packages\websockify-0.13.0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Name: MemoryOS
Version: 2.0.11
Summary: Intelligence Begins with Memory
Home-page: https://memos.openmem.net/
Author: MemTensor
Author-email: MemTensor@memtensor.cn
License: Apache-2.0
Location: C:\Users\13268\AppData\Roaming\Python\Python312\site-packages
Requires: concurrent-log-handler, fastapi, fastmcp, ollama, openai, prometheus-client, pymysql, python-dateutil, scikit-learn, sqlalchemy, tenacity, transformers
Required-by:
(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin>
(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin> python --version
Python 3.12.13
(base) PS C:\Users\13268\.openclaw\extensions\memos-local-openclaw-plugin>

Additional Context | 其他信息

No response

Willingness to Implement | 实现意愿

  • I'm willing to implement this myself | 我愿意自己解决
  • I would like someone else to implement this | 我希望其他人来解决

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpendingPending items to be addressed | 待解决事项。

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions