Skip to main content
authsome doctor is the first command to run when something looks wrong. It calls the daemon’s /api/ready endpoint and reports subsystem status as JSON.
A healthy machine returns "status": "ready" and exits with code 0.

Checks performed

Non-fatal observations appear in warnings (for example, no active provider connections yet). Fatal problems appear in issues and set "status": "not_ready".

Common failures

Causes:
  • You haven’t initialized authsome on this machine. Run authsome onboard to provision the home directory, identity, and master key.
  • You moved or deleted ~/.authsome/server/. If you have a backup, restore it. Without the master key, encrypted records cannot be decrypted.
Fix:
A custom provider JSON in ~/.authsome/providers/ is malformed. Open the file, fix the indicated field, and re-run.
Causes:
  • On Linux without a graphical session, the keyring library can’t reach a backend. Switch to local file mode by editing ~/.authsome/client/config.json or setting AUTHSOME_MASTER_KEY.
  • A required system package is missing. On Debian/Ubuntu: sudo apt install gnome-keyring.
Run authsome onboard to create a local identity, then complete the Principal claim flow at the URL the daemon prints.
The daemon is not running or AUTHSOME_BASE_URL points somewhere wrong. See Daemon issues.

Verbose logging

For deeper inspection of any command, enable verbose logging:
DEBUG logs go to stderr and to the rotating log file at ~/.authsome/client/logs/authsome.log. Inspect the log:

Reset to a clean slate

If your install is irrecoverably broken and you don’t have any credentials to preserve:
This destroys every stored credential. You will need to log in to every provider again.

What’s next

OAuth callbacks

Diagnose redirect_uri_mismatch, port-in-use, and timeout errors.

Token refresh

Why a token failed to refresh and what to do.