Start with the logs. Run this from the folder that contains ragna-studio:
docker compose -p ragna_studio logs -fAdd a service name, such as backend or migrate, to see only its logs.
Installer
| Symptom | Likely cause and fix |
|---|---|
Docker Compose v2 is required |
Only the old docker-compose binary is installed. Install the compose plugin, or Docker Desktop. |
Docker is not running |
Start Docker Desktop, or the Docker service on Linux. |
These settings are missing |
A required value in .env is empty. Fill it in ragna-studio/.env and run the installer again. |
RAGNA Studio is already set up in ... |
This machine already has an install. Run the installer from that folder, or set RAGNA_DIR to it. |
RAGNA Studio data already exists on this machine |
The Docker volume of an earlier install still exists. Use the old folder. To start over, delete the volumes, see Quickstart. |
RAGNA Studio did not start |
A service failed or didn’t become healthy within 5 minutes. Check the logs. |
Startup
| Symptom | Likely cause and fix |
|---|---|
migrate fails with ECONNREFUSED on port 5432 |
Releases before the Postgres health check started migrate too early on the first start. Run the installer again, or upgrade. |
backend or migrate can’t log in to Postgres |
DB_PASSWORD changed after the first start. The database keeps the password from its first start. Restore the old value. |
seed fails with exec: "node": executable file not found |
The compose files are older than the images. Download the release’s compose files, see Upgrades. |
Log warning MEDIA_URL is not set |
No storage configured. Fine if storage was skipped, see Storage. |
Sign-in / Auth
| Symptom | Likely cause and fix |
|---|---|
The provider shows redirect_uri_mismatch |
The redirect URI in the OAuth client doesn’t match. It must be <API_BASE_URL>/auth/callback/<provider>, for example https://api.example.com/auth/callback/google. |
| Sign-in succeeds, but the user lands on the sign-in page again | The session cookie doesn’t reach RAGNA Studio. Check COOKIE_DOMAIN (the shared parent domain, for example .example.com) and TRUSTED_ORIGINS, see Configuration. |
| A user can’t sign in | ALLOWED_LOGIN_EMAILS is set and doesn’t contain their address. |
Signing in with Microsoft fails with account_not_linked for a user who signed up with another provider |
The Entra app registration lacks the optional claim xms_edov, see Configuration. |
Using RAGNA Studio
| Symptom | Likely cause and fix |
|---|---|
| Uploads and image generation fail | No storage configured. Set the S3_* values, see Storage. |
| Images don’t load | The images bucket isn’t public-read, or MEDIA_URL and NUXT_PUBLIC_MEDIA_URL don’t match its public URL. |
| Live updates don’t arrive | The reverse proxy doesn’t pass WebSocket upgrades to the API, see Reverse proxy. |
Debugging a running container
The migrate, frontend, backend and worker images have no shell and no package manager. This keeps them small and leaves fewer packages to patch. docker exec ... sh doesn’t work on them.
To look inside one, start a throwaway busybox container that shares its processes and network. This example attaches to backend:
docker run --rm -it --cap-add SYS_PTRACE \
--pid=container:ragna_studio_backend \
--network=container:ragna_studio_backend \
busybox shInside it:
pslists the service’s processes.wget -qO- http://localhost:3010/healthcalls the service from its own network.ls /proc/1/root/appshows the service’s files.
To copy a file out, docker cp works without a shell: docker cp ragna_studio_backend:/app/package.json .
Changed .env?
Run the installer again from the same folder. It restarts every service whose settings changed. For a manual setup, run the up -d --wait command from Install using Docker Compose again.