Operations
Troubleshooting
Run Loom Doctor checks, export redacted diagnostic bundles, and resolve authentication, GPU engine, node pairing, and voice issues.
When something stops responding as expected, inspect Loom's built-in diagnostics before digging through system logs.
Loom Doctor and redacted diagnostic bundles
Open Settings → About (or query the authenticated Doctor endpoints directly) to run non-destructive checks with a 5-second deadline per check:
GET /api/doctor/POST /api/doctor/run: Observescore(core.version,core.data_writable,core.disk_space),security(security.password,security.lan,security.push_https,security.vault,security.tokens_age),engine.reachable,machine.<id>,mcp.<server>,brain.primary_writable,voice.*, andnotifications.*without ever starting engines, loading models, or sending prompts.- Degraded capability badges: When a backend or node fails health checks, Loom records
{capability, reason, since}and emitscapability.degraded/capability.restoredevents without breaking unrelated workspaces. - Redacted support bundle (
POST /api/doctor/bundle): Downloadsloom-diagnostics.zipcontainingversions.json,doctor.json,compatibility.json,failed-probes.json, sanitizedconfig.json, event types, and severity-only tails oflogs/engine.log,logs/node.log,logs/build.log, andlogs/agents.logalong withmanifest.json. Databases, prompts, Brain notes, environment variables, and secrets are strictly excluded.
Inspect resolved paths and live service logs locally with:
loom where
loom status
loom logsAuthentication, reverse proxy, and HTTPS
- Forgot password or locked out: Run
loom passwordon the Loom host to set a new12+character password and revoke old browser cookies without restartingloom-ui. 401or403behind Caddy or Nginx: Confirm the reverse proxy preserves the originalHostheader, setLOOM_TRUST_PROXY=1andLOOM_COOKIE_SECURE=1in theloom-uienvironment if TLS terminates at a loopback proxy, and reloadloom-ui.- Microphone or Web Push blocked in browser: Browsers block
getUserMediaand Push APIs on plain HTTP origins other thanlocalhost. Enable Loom's HTTPS listener on port2543(POST /api/https) or serve Loom behind a TLS reverse proxy.
Local engines (llama.cpp and vLLM)
- GPU not detected after driver update or directory move: Loom verifies hardware directly via
llama-server --list-devices. Trigger a clean rebuild from Settings → Engines → Rebuild (POST /api/llamacpp/updatewith{"clean":true}) or runloom llamacpp update. llama-serverfails to start immediately: Runloom statusandloom logs(orjournalctl -u loom-engine -n 100) to check whether the model path exists, VRAM is already occupied, or an unsupported flag is set in the active preset.vLLMinstallation fails on Linux: Confirm host NVIDIA CUDA or AMD ROCm drivers work (nvidia-smiorrocminfo), and verifyuvis installed inPATHwhen targeting AMD ROCm.
Paired nodes, Codeman, and voice
- Node pairing code expired or rejected: Pairing codes expire after
10minutes or5failed attempts. Generate a fresh code on the node host without restarting it:
~/.local/lib/loom-node/loom node pair- Main Loom cannot reach paired node: Verify
systemctl --user status loom-nodeon the node host, confirm port2511/tcp(and2512/udpfor LAN discovery) is allowed through the firewall (sudo ufw allow 2511/tcp), and enable linger (loginctl enable-linger <user>) if the node stops after SSH logout. - Remote Codeman returns host or origin errors: Add Loom's reverse-proxy or host name to
CODEMAN_ALLOWED_HOSTSon the Codeman server and verifycodemanis reachable on its configured port. - Local voice install refuses or fails: Voice requires Python 3 on the target host and refuses any
sherpa-onnxasset lacking a pinned SHA-256 digest. Checkvoice.*rows in Doctor for missing models or stopped worker status.
Before opening a public issue on GitHub, attach only a freshly generated loom-diagnostics.zip bundle and never paste raw .env files, API keys, cookie headers, or Second Brain contents.