memory: the README's Docker upgrade advice leaves the container with no index.js
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- docker, typescript
- 領域
- devops, documentation
調査の方向性
まず src/memory/README.md を読み、そこに記載されている Docker のビルドとボリュームの設定を確認します。memory.jsonl を保持しつつ、コンテナが新しいイメージのコードを実行するようにするアップグレード手順を選び、既存データの移行手順を説明します。データが入った claude-memory ボリュームで、文書化されたアップグレードが機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
src/memory/README.md ("Building") says:
For Awareness: a prior mcp/memory volume contains an index.js file that could be overwritten by the new container. If you are using a docker volume for storage, delete the old docker volume's
index.jsfile before starting the new container.
Following it breaks the container instead of upgrading it. The documented setup mounts the named volume claude-memory over /app/dist, the image's code directory. Docker seeds a named volume from the image only while the volume is empty, so once the volume holds memory.jsonl the image's new dist/ is never copied in: deleting index.js leaves /app/dist with no entry point.
The reverse holds too: as long as index.js stays in the volume, every newer image keeps running the code from the first image that populated it. #5346 (closed, not planned) noted that shadowing while deciding to keep the default graph location.
Reproduce
Found while verifying #5345, with both the v2/main image and the #5345 image:
docker build -f src/memory/Dockerfile -t mcp/memory .
# create a graph so the volume is non-empty, then follow the README:
docker run --rm -v claude-memory:/v alpine rm /v/index.js /v/version.js
docker run -i --rm -v claude-memory:/app/dist mcp/memory
# node:internal/modules/cjs/loader ... Cannot find module '/app/dist/index.js'
Expected
The README gives upgrade advice that works. Delete the volume's *.js files and copy the new image's dist/*.js into the volume, keeping memory.jsonl. Or point Docker users at a volume on its own directory with MEMORY_FILE_PATH, and explain how to move an existing memory.jsonl there. The second option does not change the server's default, which #5346 kept.
- 主要言語
- TypeScript
- スター
- 91.7k
- フォーク
- 11.9k
- 平均マージ
- 3時間 48分
- マージ済み PR(30日)
- 180
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelcontextprotocol/servers のほかの issue
-
everything/tasks: tasks/update checks MAX_ANSWER_BYTES against string length, so non-ASCII answers exceed the documented byte budget対応中かも @cliffhall が今日担当しました。 オープンbug server-everything v2
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
modelcontextprotocol/servers#5419 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
memory: lock heartbeat refreshes a lock file the process no longer owns対応中かも @cliffhall が今日担当しました。 オープンbug server-memory v2
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
modelcontextprotocol/servers#5418 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
memory: add descriptions to the top-level array parameters of create_entities, create_relations, add_observations and delete_observations対応中かも @cliffhall が今日担当しました。 オープンenhancement server-memory v2
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
modelcontextprotocol/servers#5416 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
everything: bind the HTTP transports to loopback by default, with HOST to widen対応中かも @cliffhall が今日担当しました。 オープンenhancement server-everything v2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
modelcontextprotocol/servers#5371 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
TypeScript Dockerfiles (filesystem, memory, sequentialthinking) ignore the workspace lockfile and overrides対応中かも @cliffhall が今日担当しました。 オープンchore server-filesystem server-memory server-sequentialthinking v2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
modelcontextprotocol/servers#5345 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
modelcontextprotocol/servers の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
appandflow/stim#5258 ·
メンテナーはふだん 1 日以内に返信
-
area/docs framework/hugo help wanted language/markdown
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
lingdojo/kana-dojo#33660 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
drizzle-team/drizzle-orm#6639 ·
メンテナーはふだん 4 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100