Troubleshooting
Common issues and how to solve them.
If you need deeper operational guidance, see:
Hook Failures
Hooks Not Firing
If you do not see "Metateam hook firing" messages at session start or end:
- Check status: Run `metateam hook`. It should show "Enabled: yes" and indicate installations for your clients.
- Re-install: Run `metateam hook enable`.
- Verify path: Metateam skips certain paths by default (e.g., `node_modules`, `.git`). Ensure you are working in a standard project directory.
Session Not Uploading
If sessions do not appear in the dashboard (https://metateam.ai) or search results:
- Check the logs: Inspect `~/.metateam/log/unified.log` for upload errors.
- Verify Auth: Run `metateam account whoami` to verify your current login. If needed, re-authenticate with `metateam account login`.
- Manual Upload: If a hook failed to upload a specific session, you can manually upload it by prefix: ```bash $ metateam session upload <SESSION_ID_PREFIX> ``` Or upload all unsaved sessions from a provider: ```bash $ metateam session upload claude ```
Crew & Bridge Issues
Crew Command Hangs
If `metateam crew summon` appears to hang:
- Check tmux: Ensure `tmux` is installed and functioning.
- Attach to the session: The agent might be waiting for a response or blocked by a tool call. ```bash $ metateam crew attach <name> ```
Bridge Connectivity
If metateam crew message fails to reach a remote host:
- Version check: In `metateam v1.0.1`, `metateam crew bridge ...` is unavailable (`bridge` is an unrecognized subcommand).
- Current workaround: Use single-machine crew workflows, or verify remote messaging support in your installed version before using bridge-specific runbooks.
- If your version includes bridge support: verify the bridge process is running on both machines and that network/firewall rules allow relay traffic.
Knowledge Base Discrepancies
KB Entry Not Injected
If an "important" entry is missing from your agent context:
- Verify Pinning: Ensure your directory is pinned to the correct project. Check for a `.metateam.json` file in your directory or run: ```bash $ metateam pin <SLUG> ```
- Check Importance: Verify the entry or its parent compartment is marked as important with `metateam kb` or `metateam kb list --full`.
- Do not use `metateam kb tree`: on current builds this resolves as a search for `tree`, not a tree-view command.
- Session Timing: Context is injected only at SessionStart. New KB changes will not appear in a session that is already running.
Local Search Issues
No Results for Local Files
If `metateam repo search` returns nothing for files you know exist:
- Re-index: Your local index might be stale. ```bash $ metateam repo index ```
- Check Status: Run `metateam repo status` to see when the last index was built and which paths were included.