shc doctor
diagnose and fix system issues
Reference for the doctor CLI group. Source: modules/doctor/commands/.
Subcommands
Section titled “Subcommands”| Subcommand | Description |
|---|---|
run | run all diagnoses |
list | list registered diagnoses |
shc doctor run
Section titled “shc doctor run”run all diagnoses
Diagnoses only by default — prescriptions (repairs) run only with an explicit --fix. The sweep runs on the daemon when one is reachable (that is where the database and keycloak checks are wired); with no daemon it degrades to a local diagnose-only pass over this host’s view, and --fix is refused.
| Flag | Type | Required | Help |
|---|---|---|---|
--fix | bool | no | apply prescriptions for fixable findings |
--category / -c | str | no | run only diagnoses in this category |
shc doctor list
Section titled “shc doctor list”list registered diagnoses
Lists every diagnosis registered with the doctor framework — useful for sanity-checking module wiring and authoring --category filters.
Source: modules/doctor/commands/
shc@docs:~$