Troubleshooting
Use the guide for your installed release. Start with the failure below and keep existing state while diagnosing it.
A local port is occupied
Section titled “A local port is occupied”An address already in use error means another process has the requested port.
For a disposable local pair, choose an available port and fresh state:
dbl up --port 0 --state-dir "$(mktemp -d)"Connect to the endpoint it prints. Leave unrelated services running; use the existing instance if it is the one you intended to connect to.
No executor is ready, or an executor cannot join
Section titled “No executor is ready, or an executor cannot join”Run dbl nodes on the selected connection. If it lists no ready executor, start
the intended executor or inspect its daemon log. For a networked deployment,
check its dispatcher HTTP and gRPC addresses, matching release, and TLS client
credentials. A certificate error calls for the operator’s public CA and a
dispatcher address matching its certificate, not disabled verification. Follow
the connection topology if a control
listener is unreachable. Local roles use the endpoint printed by the dispatcher;
see the local-role commands.
For account-owned enrollment, unknown command for dbl executor join means
the installed CLI predates that workflow: published v0.2.0 does not contain it.
Use the operator-recommended compatible package. If enrollment is refused, check
the executor ID, token expiry and dispatcher URL in the
executor setup guide; request a fresh token from the
account that owns the executor instead of editing an existing state directory.
OAuth login fails, or a browser session expires
Section titled “OAuth login fails, or a browser session expires”Return to the deployment’s sign-in page and start GitHub login again. Complete
the flow in the same browser with cookies enabled. An invalid GitHub login state or invalid GitHub login verifier error can follow an expired or missing
login cookie; start a fresh login instead of reusing the callback URL. A missing,
expired or revoked session requires a new provider login, not account-key recovery.
If login is disabled or continues to fail, ask the operator to check the daemon log and the configured GitHub application, callback URL and HTTPS/cookie setup against the OAuth deployment settings. Do not send cookies, authorization codes or application secrets with a report.
A service runs but is not ready
Section titled “A service runs but is not ready”An active process alone does not establish readiness. For the default
dbl service executor instance, inspect both status and recent diagnostics:
sudo dbl service status --role executorsudo journalctl -u debuglet-executor-worker.service -n 100 --no-pagerUse --role dispatcher for its status; its default unit is
debuglet-dispatcher-local.service. For a named instance, pass its --name and
read the unit reported by status. Ansible deployments use their deployed unit
names. Correct the first reported configuration, permission or connection error
before restarting. Foreground dbl up and role commands keep dispatcher.log
or executor.log in the state directory they report; log retention
describes the rotated files. dbl logs ID reads measurement output, not daemon logs.
Database schema or local state version is unsupported
Section titled “Database schema or local state version is unsupported”Startup refuses a schema the binary cannot serve, and local state is pinned to
the package that created it. Keep the existing directory. For disposable local
work, select a fresh --state-dir as above. For persistent services, stop the
affected role, back up its state and follow the release’s explicit
database upgrade procedure.
Changing the recorded version or deleting the database is not an upgrade.