Troubleshooting
Common issues and how to fix them.
Docker & connection issues
"Connection refused" or "Cannot connect to database"
Cause: .env is missing, or DATABASE_URL uses localhost instead of Docker service names.
Fix: Make sure DATABASE_URL points to postgres (the Docker service name), not localhost:
Then restart:
"ENCRYPTION_KEY not set"
Fix: Generate a key and add it to .env:
Volume conflicts after updating
If you see database authentication errors after pulling new code, your existing Docker volumes probably don't match the current .env.
Provider issues
Smoke test fails
Use the error code to narrow it down:
Smoke test breaks after changing ENCRYPTION_KEY
Your database has provider secrets encrypted with the old key. For a disposable local workspace:
Then re-add your provider. If you need to keep old records, restore the original ENCRYPTION_KEY instead.
Dataset issues
Import fails
Common causes:
- Wrong Hugging Face dataset path — copy the exact path from HF Datasets
- Private dataset without
HF_TOKENset in.env - Preview timing out on a large dataset — start with
test[:30]
Run issues
Run stuck in "Pending"
The worker might be down or can't reach Redis/PostgreSQL.
If still stuck, also check backend and redis logs.
For the complete first-run walkthrough, see the Quick Start.
