Space Works · Platform administration

Health checks and logs

Health

  1. GET /api/v1/health/ answers when the app is alive.
  2. GET /api/v1/health/readiness/ answers when it's ready; check it after updates and restores.
  3. The superadmin's Platform dashboard runs the deeper checks: backups, off-site copies, scheduler, updates, email, storage and domain.

Readiness fails closed when an encryption key is missing or doesn't match, so a "temporarily unavailable" answer often means a key problem.

Logs

  1. List the containers with the compose wrapper script in scripts/.
  2. Read the backend's logs through the same wrapper.
  3. After a failed update, also read the migrate and readiness containers' logs; failed one-off containers are kept for you.
  4. Match lines across services by their request ID. Production logs are JSON.

Copy the response's X-Request-ID, the time, route and status when investigating a failure. Search backend and worker logs for the same request ID. Keep incident evidence before container log rotation removes it. Record IDs and failure categories are suitable diagnostic details. Credentials, contact details and free-text member notes belong outside application logs.

Screenshot: backend logs through the compose wrapper

Always use the wrapper rather than plain docker compose, and read the logs before restarting anything.

Locked out of the superadmin account

From the server, the host operator can set a new password for the superadmin, or reset its two-step sign-in, with the management commands in the self-hosting guide.

Who can do this: the host operator.

From SpaceWorks/frontend/src/help-content/en/host-operator/health-and-logs.md at c447a11, updated 2026-11-16. Suggest a change