Skip to content

fix: memos-local-plugin viewer fails to start #2160

Description

@iandol

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 | 问题描述

Trying to install with Ubuntu 24.04 and Hermes 0.19, the viewer cannot start:

  [1] Stopping existing bridge daemon
  ✔ Bridge daemon stopped
  [2] Deploying to /home/cog5/.hermes/memos-plugin
  ✔ Package extracted
  [3] Installing npm dependencies
  [4] Rebuilding better-sqlite3 for Node v26.5.0
  ✔ better-sqlite3 native module OK
  ✔ Dependencies ready
  [5] Configuring runtime environment
  ✔ Wrote /home/cog5/.hermes/memos-plugin/config.yaml from template
  ✔ Bridge path recorded
  [6] Locating Hermes Python environment
  ✔ Python: /home/cog5/.hermes/hermes-agent/venv/bin/python3
  ✔ plugins/memory: /home/cog5/.hermes/hermes-agent/plugins/memory
  [7] Linking memtensor provider
  ✔ Symlinked → /home/cog5/.hermes/hermes-agent/plugins/memory/memtensor
  ✔ Symlinked → /home/cog5/.hermes/plugins/memory/memtensor
  [8] Verifying provider & patching config
  ⚠  Provider verification didn't return OK
  [9] Installing Hermes profile defaults hook
/home/cog5/.hermes/hermes-agent/venv/lib/python3.11/site-packages/memos_hermes_profile_defaults.py
/home/cog5/.hermes/hermes-agent/venv/lib/python3.11/site-packages/memos_hermes_profile_defaults.pth
  ✔ Hermes profile defaults hook installed
  ✔ Hermes configs patched:
       /home/cog5/.hermes/config.yaml
       /home/cog5/.hermes/profiles/coder/config.yaml
       /home/cog5/.hermes/profiles/fast/config.yaml
       /home/cog5/.hermes/profiles/researcher/config.yaml
  [10] Starting Memory Viewer daemon
  ⚠  Memory Viewer not ready after 120s
  ⚠  Check: http://127.0.0.1:18800  Logs: ~/.openclaw/logs/ or ~/.hermes/memos-plugin/logs/
  ✘ Memory Viewer did not respond within 120s.
  ⚠  Re-install dependencies and re-run: cd /home/cog5/.hermes/memos-plugin && npm install


  ┌──────────────────────────────────────────────────┐
  │                                                  │
  │   Install finished with errors - see above       │
  │                                                  │
  └──────────────────────────────────────────────────┘

I tried the npm install recommendation:

> cd /home/cog5/.hermes/memos-plugin; npm install

npm notice run @memtensor/memos-local-plugin@2.0.10 postinstall
npm notice run node scripts/postinstall.cjs

added 114 packages, and audited 216 packages in 2s

51 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (4 moderate, 3 high, 1 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm warn install-scripts 6 packages had install scripts blocked because they are not covered by allowScripts:
npm warn install-scripts   better-sqlite3@12.11.1 (install: node-gyp rebuild)
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   onnxruntime-node@1.21.0 (postinstall: node ./script/install)
npm warn install-scripts   protobufjs@7.6.5 (postinstall: node scripts/postinstall)
npm warn install-scripts   sharp@0.34.5 (install: node install/check.js || npm run build)
npm warn install-scripts   esbuild@0.21.5 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.

I tried to approve the scripts but then how to finish the install?

How to Reproduce | 如何重现

  1. Try to install the local plugin: https://memos-claw.openmem.net/docs/index.html

Environment | 环境信息

  • ~/.hermes/hermes-agent/venv/bin/python -V = Python 3.11.5
  • Ubuntu 24.04
  • ~/.hermes/hermes-agent/venv/bin/pip list fails to show that package present?

Additional Context | 其他信息

My node is installed using conda-forge / pixi = which npm = ~/.pixi/bin/npm

In ~/.hermes/hermes-agent there is BOTH a venv and .venv folder present, but only venv seems to be used.

Willingness to Implement | 实现意愿

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

Metadata

Metadata

Labels

area:pluginOpenClaw & Hermesstatus:needs-triageNeeds initial triage | 需要初步判断 & 问题复现

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions