diff --git a/graph/solutions/fixed-systemd-path-for-uv-in-cognitive-memory-services-77a622.md b/graph/solutions/fixed-systemd-path-for-uv-in-cognitive-memory-services-77a622.md new file mode 100644 index 00000000000..8cfba5af7ee --- /dev/null +++ b/graph/solutions/fixed-systemd-path-for-uv-in-cognitive-memory-services-77a622.md @@ -0,0 +1,12 @@ +--- +id: 77a62214-1fab-4bb6-864a-795c54cc6647 +type: solution +title: "Fixed systemd PATH for uv in cognitive memory services" +tags: [cognitive-memory, systemd, uv, fix, path] +importance: 0.7 +confidence: 0.8 +created: "2026-02-19T20:53:13.009559+00:00" +updated: "2026-02-19T20:53:13.009559+00:00" +--- + +Both cognitive-memory-daily.service and cognitive-memory-embed.service failed with `uv: not found` because systemd user services don't load ~/.bashrc or ~/.zshrc. The claude-memory wrapper script uses `exec uv run python client.py` and uv lives at /home/cal/.local/bin/uv. Fix: wrap ExecStart in bash with explicit PATH export: `ExecStart=/bin/bash -c 'export PATH="/home/cal/.local/bin:$PATH" && /home/cal/.local/bin/claude-memory embed --if-changed'`. This was likely causing the daily timer to silently fail too.