Update troubleshooting docs from PM2 to Bun (v7.1.0+) #306
+205
−150
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since v7.1.0, claude-mem uses Bun for cross-platform worker management. All troubleshooting documentation still referenced PM2 commands that no longer work.
Changes
Updated 4 troubleshooting operation files:
worker.md: PM2 commands → npm scripts and PID file operations
pm2 status→npm run worker:statuspm2 logs→tail ~/.claude-mem/logs/worker-$(date +%Y-%m-%d).logpm2 restart→npm run worker:restartdiagnostics.md: PM2 health checks → PID file + health endpoint workflow
~/.claude-mem/worker.pidinstead ofpm2 jlistautomated-fixes.md: PM2 fix sequences → npm script equivalents
npm run worker:{start|stop|restart}common-issues.md: PM2 resolution steps → Bun-based troubleshooting
Settings format
Old nested schema (auto-migrated but no longer documented):
{"env": {"CLAUDE_MEM_WORKER_PORT": "37778"}}Current flat schema:
{"CLAUDE_MEM_WORKER_PORT": "37778"}All examples updated to match
SettingsDefaultsManager.loadFromFile()implementation.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.