Self-hosting

Troubleshooting

What to check when something isn't working, from services that won't start to steps that never finish.

Start with these three commands. Most problems show up in one of them:

Terminal
docker compose ps                  # what's running, and what's healthy
docker compose logs --tail 100 api worker migrator
docker compose logs --tail 100 models vision

The Dashboard in the app shows the same from the inside: service health, and each step's state. For a slow page or a failing step, Grafana has its trace: every query and call it made, with its log lines beside them.

A service won't start

The migrator failed

Nothing that uses the database starts until the migrator succeeds. Read its log:

Terminal
docker compose logs migrator

It names the migration that failed and why. Usually it's the database being unreachable (check postgres's health and the password in .env), or not enough disk. Fix the cause and docker compose up -d again: the migrator retries what's left.

POSTGRES_PASSWORD is required, or an S3_* one

.env is missing a required secret, or Compose isn't reading it because you're in a different folder. See Quick start.

could not select device driver "nvidia"

Docker can't reach the GPU. Install the NVIDIA Container Toolkit, restart Docker, and check with:

Terminal
docker run --rm --gpus all nvidia/cuda:12.6.0-base-ubuntu24.04 nvidia-smi

To run without a GPU, see Sharing one GPU.

The app opens but shows nothing

  • No libraries yet. Add one in Settings → Libraries.
  • Pictures show as placeholders and never load. Check the storage service is running.

Steps never run

Open the Dashboard:

  • Due, but nothing running: the step's model isn't reachable. Service health shows which. See Sharing one GPU.
  • Paused: switch it back to Running.
  • Waiting: it needs an earlier step. Everything waits for metadata and renditions.
  • Failed: open the step's failed media to see the error, fix the cause, and retry.

Tagging does nothing

  • There are no smart tags in this library. Switch on Smart tagging in a tag's Settings.
  • The models server isn't running: docker compose up -d models.

Search doesn't find things by meaning

Searching by meaning needs the models server running, to embed your search, and each media's embedding step done. Check both on the dashboard. Until a media's embedding is made, it's found by its file name, words and tags only.

Pages stay on "loading"

If the API restarted or the network dropped, pages retry by themselves every few seconds and as soon as the server's back. If one doesn't recover, check the API's health:

Terminal
curl -s localhost:3000/health/ready

Live updates don't arrive

Behind a reverse proxy, the live stream needs buffering off and a long read timeout. See HTTPS and a domain.

Uploads fail

  • "Unsupported file type": see what's accepted in Uploading.
  • 413 Request Entity Too Large: your reverse proxy's body size limit. Raise it.
  • Uploads stall: check the storage service's log, and free disk space under MEDIA_DIR.

Getting help

Open an issue on GitHub with what you did, what happened, and the relevant log lines. Error pages in the app have a Copy button for their details; include those too.