Operations and troubleshooting
Monitor, update, restart, and troubleshoot the server.
Service status
codevisor status
codevisor logs --followThese commands select the systemd user unit, system unit, or background-process log as appropriate.
Use codevisor status --json for machine-readable server identity and harness readiness.
Health and identity
GET /v1/health reports the release, database state, process identity, and migration progress when
present. GET /v1/info reports the server and machine IDs, kind, platform, architecture, hostname,
bind address, and feature markers.
Updates
Standalone release builds check the stable release manifest. GET /v1/update reports update state;
POST /v1/update/apply downloads the matching runtime and restarts when no prompt is in flight. A
busy server rejects the restart without interrupting active work.
codevisor update always performs a fresh Stable check before applying an update. To include Alpha
releases, run:
codevisor update --alphaCommon checks
- Confirm the process is listening on the expected address and port.
- Call
/v1/healthlocally before diagnosing remote authentication. - Verify the remote request includes
Authorization: Bearer …. - Check firewall, reverse-proxy, and TLS configuration independently.
- Confirm the service user's
PATHcontains the coding-agent CLIs you expect the server to use. - Use
POST /v1/harnesses/rescanafter installing a CLI without restarting the server. - Use
codevisor plugin listand an explicit plugin restart when a pane returns502or a plugin is in thefailedstate. - Inspect MCP
connectionStateanddetail; OAuth servers may need authorization rather than a process restart.