Troubleshooting
Common issues and their solutions.
Installation Issues
".env file not found"
Error: .env file not found.
Please run 'make init' first to set up your environment.
Solution: Run the init command first:
make init
"Secrets not generated"
Error: Secrets not generated. Run 'make init' first.
Solution: The .env file exists but secrets are empty:
make init
Docker Compose Version Error
Solution: Ensure Docker Compose >= 28.x:
docker compose version
If older, update Docker Desktop or install the latest Docker Compose.
Vault Issues
"Vault token not set"
Symptoms: Services can't connect to Vault, credential errors.
Solution:
- Get the root token:
docker logs vault-init 2>&1 | grep "Root Token:"
- Add to
.env:
VAULT_TOKEN=hvs.xxxxxxxxxxxx
- Restart:
make down && make prod-prebuilt # or: make prod-local
"Vault is sealed"
Solution:
docker restart vault-init
The init container will auto-unseal Vault.
"Permission denied" on Vault
Solution: Your token may lack required policies. Use the root token or check token capabilities:
docker exec -it vault vault token capabilities aurora/users/
Port Conflicts
"Port already in use"
Solution: Check which process is using the port:
# macOS/Linux
lsof -i :3000
# Windows
netstat -ano | findstr :3000
Either stop the conflicting process or change Aurora's port in docker-compose.
Required Ports
Ensure these are free:
- 3000 (Frontend)
- 5080 (API)
- 5006 (Chatbot)
- 5432 (PostgreSQL)
- 6379 (Redis)
- 8080 (Weaviate)
- 8200 (Vault)
- 8333 (SeaweedFS)
Container Issues
Container Won't Start
# Check container status
docker compose ps
# View logs for specific container
docker logs aurora-server
# Restart specific container
docker compose restart aurora-server
Out of Memory
Symptoms: Containers killed, system slowdown.
Solution: Increase Docker memory allocation in Docker Desktop settings (recommend 8GB+).
Build Failures
# Clean rebuild
make nuke
make dev
Database Issues
"Connection refused" to PostgreSQL
- Check container is running:
docker ps | grep postgres
- Check logs:
docker logs aurora-postgres-1
- Verify connection settings in
.env:
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
Database Migrations
If schema is out of sync, a full reset may be needed:
make clean # Warning: destroys data
make dev
LLM Issues
"Invalid API key"
-
Check key format matches provider:
- OpenRouter:
sk-or-v1-... - OpenAI:
sk-... - Anthropic:
sk-ant-...
- OpenRouter:
-
Verify key is active in provider dashboard
-
Check correct variable name in
.env
"Rate limit exceeded"
- Wait 60 seconds and retry
- Check provider rate limits
- Consider upgrading API tier
Frontend Issues
White Screen / Loading Forever
- Check browser console for errors
- Verify API is reachable:
curl http://localhost:5080/health
- Check frontend logs:
docker logs aurora-frontend
Authentication Errors
- Verify
AUTH_SECRETis set in.env - Ensure
FRONTEND_URLis correct — Auth.js uses it asAUTH_URLto validate requests - If you see
UntrustedHosterrors in frontend logs, check thatFRONTEND_URLmatches the URL you're accessing (e.g.http://localhost:3000) - Restart frontend:
docker compose restart frontend
Getting Help
If these solutions don't work:
-
Check GitHub Issues
-
Open a new issue with:
- Error message
- Steps to reproduce
- Docker/OS versions
- Relevant logs
-
Contact: info@arvoai.ca