Skip to main content
Run terma doctor after terma setup, after an update, or whenever sessions or trailers are not showing up. It writes nothing.

Usage

Run it inside the repository you are asking about. Outside a repository, the repository checks are skipped. Doctor opens with what this machine collects and what the repository has in progress (the active session, uncommitted agent edits). It then runs each check, reports it as it goes, and ends with the steps that remain. It exits with a non-zero status when any check fails, so you can use it in scripts.

Checks

Each check reports ok, warn (works, but only in part), FAIL, or skip (did not apply here, which is not the same as passing). Almost every fix is terma setup again. When a fix is something else, such as a PATH change or a repository your team should add to its policy, doctor says exactly what to do.

Example output

Here the fix is not a command: an organization admin adds the repository to the team’s policy in Terma (Team settings → Data collection), and the next session in it is collected.