Troubleshooting¶
Common Issues¶
Services won't start¶
Symptom: docker compose up fails or containers keep restarting.
-
Check that Ollama is running first — all other services depend on
ollama_network: -
Check container logs:
-
Verify all required environment variables are set:
Cannot connect to Ollama¶
Symptom: PIKA or VERA shows "Ollama unavailable" errors.
- Ensure
OLLAMA_BASE_URLis set tohttp://ollama:11434(notlocalhost). - Ensure the service is on
ollama_network: - Test connectivity from inside the container:
Authentication not working¶
Symptom: Login fails or "Authentication not configured" error.
- Verify Hub is running:
curl http://localhost:2000/health - Check
HUB_BASE_URLandHUB_AUTH_API_KEYare set in the app's environment. - Ensure the API key matches between Hub and the app.
- Check Hub logs for auth errors:
docker compose logs hub
Account locked out¶
Symptom: "Invalid credentials" after multiple failed attempts.
Hub locks accounts after 5 failed login attempts for 15 minutes. Wait 15 minutes or ask an admin to check the user status in Hub.
Sessions lost on Hub restart¶
Symptom: All users logged out after restarting Hub.
Set HUB_SECRET_KEY to a persistent value:
Without this, Hub generates a random session key on each start.
VERA: "Background worker is not available"¶
Symptom: Upload fails with 503 error.
The Celery worker isn't running. Check:
VERA: Stuck documents¶
Symptom: Documents stay in "processing" status indefinitely.
If the worker crashed mid-OCR, the Beat task should recover stuck documents. If not:
PIKA: Slow document indexing¶
Symptom: Documents take a long time to index.
- Embedding model downloads on first use (~90 MB). Check logs for download progress.
- Large documents are chunked — indexing time scales with document size.
- Check
MAX_CONCURRENT_QUERIES— default is 1 to prevent GPU memory issues.
GPU not detected¶
Symptom: Ollama falls back to CPU mode.
- Check NVIDIA driver:
nvidia-smi - Check NVIDIA Container Toolkit:
docker run --rm --gpus all nvidia/cuda:12.0-base nvidia-smi - Ensure
docker-compose.ymlhas GPU reservation:
License issues¶
Symptom: "Unlicensed" banner or license check failures.
- License validation is offline (no phone-home) — network issues don't affect it.
- Check Hub logs for license validation errors.
- Verify the license key file exists:
data/license.key - Check expiry: the license status API shows the expiry date.
- Re-activate via Hub admin panel if needed.
Getting Help¶
- Email: support@aidoo.biz
- Docs: https://docs.aidoo.biz
- Health endpoints: Every service exposes
/healthfor quick status checks. - Metrics: Every service exposes
/metricsfor Prometheus scraping.
Collecting Diagnostics¶
When contacting support, include: