Troubleshooting¶
Common issues when running LLMAIx Web with Docker Compose.
Port 5173 already in use¶
The frontend binds to 5173:8080. Change the host port in compose.yml:
Backend won't start / "Connection refused" errors¶
The backend waits for Postgres, Redis, RustFS, and docling-serve to be healthy. Ensure they're up:
docker compose ps # check all services are running
docker compose logs backend | tail # check backend logs
docker compose logs postgres | tail # check database logs
"OpenAI API connection failed"¶
Your .env has OPENAI_API_KEY / OPENAI_API_BASE / OPENAI_API_MODEL empty
or unreachable. These are required for extraction. To skip the startup check
(e.g. if you configure providers in the admin UI later), set:
Database migration errors¶
Migrations run automatically when the schema changes between versions. If needed, reset the database (⚠️ destroys all data):
Slow preprocessing / stuck tasks¶
Celery workers may not be starting. Check:
On macOS, multiprocessing issues can occur — set CELERY_PREPROCESS_POOL=solo
in .env.
Still stuck?¶
Open an issue at github.com/KatherLab/llmaixweb/issues.