Skip to content

Startup And Readiness

  • /healthz returns ok but /readyz fails.
  • The process exits during startup.
  • systemd restarts oriel.service.
  • Compose reports oriel unhealthy.

Run:

Terminal window
oriel --config /etc/oriel/oriel.toml doctor

Check service logs:

Terminal window
journalctl -u oriel.service -n 200

For compose:

Terminal window
docker compose logs oriel
docker compose logs oriel-migrate
CauseSignalFix
PostgreSQL unreachableORL-5003 or startup connection errorFix metadata.dsn, network, credentials, or database state.
ClickHouse unreachableORL-5001Fix clickhouse.dsn, network, credentials, or ClickHouse state.
Valkey unreachableORL-5005 or startup connection errorFix valkey.dsn, network, credentials, or Valkey state.
Schema mismatchORL-5002 on /readyzRun oriel migrate up with the service config.
Plaintext non-loopback bindStartup error from listener guardConfigure TLS, bind loopback, or intentionally set server.insecure = true.
Bad OIDC configORL-3004Fix provider slug, icon, group map, public_url, or redirect_url.

Prefer this order:

  1. Fix configuration and dependencies.
  2. Run oriel doctor.
  3. Run oriel migrate status.
  4. Run oriel migrate up if pending migrations exist.
  5. Restart Oriel.

Avoid repeated restarts before dependency and schema checks are clean.