admin_misconfigured

Diagnostic `nanook::cli::admin_misconfigured`

Summary

`[admin]` is enabled but neither `addr` nor `socket` is set

Help

set at least one of [admin].addr = "127.0.0.1:9091" or [admin].socket = "/run/nanook.sock" (or enabled = false)

Details

When this fires

nanook check raises this when [admin].enabled = true but both [admin].addr and [admin].socket are empty. There's literally nowhere for the admin server to listen, so we refuse to start. The check runs as part of the full Check::admin pass before any IO happens.

What to check

Pick at least one transport. TCP for remote ctl/tui clients, unix socket for local-only. Or set enabled = false to skip the check.

[admin]
enabled = true
addr = "127.0.0.1:9091"
# or
socket = "/run/nanook.sock"