Troubleshooting
If something goes wrong during startup or operations, use the checks and fixes below to quickly isolate the problem. Unless noted otherwise, Docker commands below work in Linux/macOS shells and Windows PowerShell.1) Container fails to start
Check recent logs for the failing service: These commands are the same in Linux/macOS and Windows PowerShell.- Database not ready: wait a minute and retry
docker compose exec api python manage.py migrate - Missing env vars: open
Core/.envand confirm required keys are present - Wrong working directory: ensure you run compose commands from
Core/
2) Database & migrations
If migrations fail or partially applied, try: This command is the same in Linux/macOS and Windows PowerShell.3) Authentication / Admin user
If you cannot sign in with the superuser:- Confirm
SUPERUSER_USERNAME,SUPERUSER_PASSWORD,SUPERUSER_EMAILin.env - Check API logs:
docker compose logs apito see account creation messages
4) WebSockets & real-time notifications
If notifications or WebSocket features do not work:- Confirm API is running and reachable from the frontend
- Check
VITE_API_URLand WebSocket URL settings in.env - For local testing, WebSocket URL often looks like
ws://localhost:9100/ws/notifications/
5) When all else fails
- Restart the stack:
- Inspect container state:
docker compose psanddocker compose top - Search logs for stack traces and post the error if you need help

