Skip to content

nself doctor

Run system diagnostics.

nself doctor [flags]

nself doctor checks everything ɳSelf needs to function correctly and reports issues with actionable fix suggestions. It covers infrastructure prerequisites (Docker, Docker Compose, Git), Docker daemon health and permissions, disk and memory availability, network connectivity, configuration correctness, running container health, and plugin schema placement.

Run nself doctor when something is not working as expected, before deploying to a new environment, or as part of an automated health check pipeline. The --fix flag enables automatic remediation of common problems.

Exit codes: 0 all checks passed, 1 one or more checks failed, 2 warnings only.

FlagDefaultDescription
--fullfalseRun all checks including network and memory (slower)
--verbosefalseDetailed diagnostics output
--jsonfalseJSON output
--fixfalseSuggest auto-fix for common issues
--help, -hnoneShow help
CategoryWhat is Checked
Infrastructuredocker, docker compose, git are installed
DockerDaemon running, user permissions, BuildKit available
Disk≥5 GB free space recommended
Memory≥2 GB RAM recommended
NetworkInternet connectivity, Docker Hub reachable
Configuration.env exists, required vars set, password strength meets requirements
ContainersHealth status of running containers, error logs for unhealthy services
Plugin schemasWarns if np_* tables are in the public schema instead of plugin schemas
Terminal window
# Quick diagnostic
nself doctor
# Full diagnostic (includes network and memory checks)
nself doctor --full
# Verbose output with details per check
nself doctor --verbose
# JSON output for automated monitoring
nself doctor --json
# Suggest fixes for detected issues
nself doctor --fix

Commands | Home