More

Troubleshooting

SymptomCheck / action
Missing node/npmReopen the terminal, load nvm, or fix PATH.
Node below 20Upgrade before installing or building.
npm start fails on WindowsUse WSL2; native help: node bin/cockpit.js --help.
Missing backend buildnpm run build or npm run build:all.
SPA not builtnpm --prefix web ci, then npm run build:web, or use --headless for API-only.
Missing web dependenciesRoot installation is not enough; run npm --prefix web ci.
Lockfile errorCheck manifest and lockfile revisions; do not start by deleting lockfiles.
EADDRINUSEUse --port 4100 or stop the existing instance.
Missing agent / ENOENTcommand -v <runner> in the server environment; restart after installation.
Installed agent failsVerify authentication, model, and access directly in the CLI.
No TTY/resizeCheck ptyBackend, python3, and POSIX imports; pipe is limited.
Invalid HEADCreate an initial commit and check git rev-parse HEAD.
Permission deniedUse a writable folder and verify ownership; do not run as root.
dubious ownershipCheck repository ownership and adjust only the verified target.
.env/worktree rejectedCheck configuration, containment, and allowEnvCopy.
401Invalid token/invitation, expired or revoked device.
403 read_onlymonitor scope; use an invitation with the required permissions.
403 local_onlyManage invitations through server localhost.
403 origin_deniedCheck address, port, and origin preservation in the proxy.
No network accessCheck bind, IP, firewall, port, and WSL connectivity.
No microphoneGrant permission; use localhost or remote HTTPS.
Slow/failed transcriptionCheck model download, memory, selected model, and audio format.
Media installation failsCheck internet, npm global prefix, and permissions; authenticate afterward.
No Companion summaryCheck Ollama endpoint, service, model/tag, and enablement.
DSH unavailableCheck entrypoint, isolated directory, and separation from ~/.dsh.
Browser tests fail to launchInstall Playwright Chromium and required Linux libraries.

Investigate with --log-level debug and /api/health. Remove secrets from logs before sharing.