Bug: ViewerService registered via registerService() but never started by OpenClaw Gateway
Bug: ViewerService Never Started
The ViewerServer registered via api.registerService() is never started by the OpenClaw Gateway. Plugin initializes correctly but service.start() is never called.
Environment:
- OpenClaw: 2026.4.2
- memos-local-openclaw-plugin: 1.0.6-beta.11
- Node.js: v22.22.2
Steps to Reproduce:
- Install memos-local-openclaw-plugin
- Configure with valid API keys
- Start OpenClaw Gateway
- Observe — plugin
initializedlogs, butstartednever appears
Gateway Log Evidence:
2026-04-04T00:32:50 memos-local: initialized (db: /root/.openclaw/memos-local/memos.db)
2026-04-04T00:32:50 memos-local: allowPromptInjection=true, auto-recall enabled
2026-04-04T00:32:50 watchdog detected non-announced service
The watchdog detects the service is not announced, but does not start it.
Question: Is registerService supposed to auto-start the service? What is the correct integration pattern for a plugin that needs to start a long-running HTTP server?
Hi, this issue should have been resolved in the latest version of our plugin. Could you please update to the newest version and check if the problem still persists? Thank you!
Hey @Aeglx! Thanks for the contribution — already solved the issue, thanks for helping us to catch the bug! 🐞
Btw if you enjoyed contributing and want to stay connected with the project, we run a Discord server for contributors, a chill space to discuss features, ask questions, or pick up new issues 👉🏻 MemOS Discord Server (Contributor Exclusive)
Thanks again for shipping this, and happy MemOSing 🧠✨