Troubleshooting
Application won’t start
Section titled “Application won’t start”Check service logs
Section titled “Check service logs”docker compose logs nyraviodocker compose logs dbCommon causes
Section titled “Common causes”-
Missing environment variables — ensure
.envexists and contains all required variables. Runbash setup.shto generate them. -
Database not ready — the application waits for PostgreSQL to be healthy. Check database logs:
Terminal window docker compose logs db -
Port already in use — change the port:
Terminal window NYRAVIO_PORT=9080 docker compose up -d -
Insufficient memory — the application requires at least 4 GB RAM. Check available memory:
Terminal window free -h
Migration failures
Section titled “Migration failures”Flyway migration errors appear in the application logs:
docker compose logs nyravio | grep -i flywaySolutions
Section titled “Solutions”- If this is a fresh installation, verify PostgreSQL is running and accessible
- If upgrading, check that you haven’t skipped versions with breaking schema changes
- If the database is corrupted, restore from backup (see Recovery)
- Report persistent migration issues with the full error message
Connection issues
Section titled “Connection issues”Application not responding
Section titled “Application not responding”# Check if the container is runningdocker compose ps
# Check health endpointcurl -v http://localhost:8080/health/ready
# Check if the port is listeningss -tlnp | grep 8080Database connection failed
Section titled “Database connection failed”# Verify database is healthydocker compose exec db pg_isready -U nyravio -d nyravio
# Test connectivity from application containerdocker compose exec nyravio sh -c 'curl -sf http://db:5432 2>&1 || echo "port reachable"'Model provider issues
Section titled “Model provider issues”Provider connection failed
Section titled “Provider connection failed”- Verify the API key is valid
- Check network connectivity to the provider’s API endpoint
- For Ollama: verify the base URL is reachable from inside Docker
Terminal window docker compose exec nyravio curl http://host.docker.internal:11434/api/tags
Models not appearing
Section titled “Models not appearing”After adding a provider, models should appear in the catalog. If they don’t:
- Check the provider connection status in Settings > Providers
- Verify the API key has the necessary permissions
- Check application logs for provider-related errors
Setup wizard issues
Section titled “Setup wizard issues”“Setup token required”
Section titled ““Setup token required””Docker bridge networks use internal IPs that don’t match the loopback allowlist. Use the setup token from your .env file:
grep NYRAVIO_SETUP_TOKEN .envSetup wizard not appearing
Section titled “Setup wizard not appearing”The setup wizard is only shown when no administrator account exists. If you’ve already completed setup, sign in normally.
Performance issues
Section titled “Performance issues”Slow responses
Section titled “Slow responses”- Check if sufficient resources are available:
Terminal window docker stats - For local models (Ollama), verify GPU acceleration is active
- Check database performance:
Terminal window docker compose exec db psql -U nyravio -c "SELECT count(*) FROM pg_stat_activity;"
High memory usage
Section titled “High memory usage”- Set JVM memory limits:
Terminal window JAVA_TOOL_OPTIONS=-Xmx1g - Limit Tika memory in
compose.yaml(default: 1 GB)
Docker issues
Section titled “Docker issues”Image build fails
Section titled “Image build fails”# Clean build (no cache)docker compose build --no-cache
# Check Docker disk spacedocker system dfContainer keeps restarting
Section titled “Container keeps restarting”# Check exit codedocker compose ps -a
# Check logs for the crashdocker compose logs --tail=50 nyravioBackup and recovery issues
Section titled “Backup and recovery issues”Backup fails
Section titled “Backup fails”- Ensure all containers are running
- Verify disk space for the backup
- Check Docker permissions
Restore fails during preflight
Section titled “Restore fails during preflight”The restore procedure performs extensive preflight checks. Each error message indicates the specific mismatch. Common issues:
- Image ID mismatch — load the correct image before restoring
- PostgreSQL version mismatch — restore into a compatible deployment
- Database credential mismatch — the backup was created with different credentials
See Recovery for the complete procedure.
Getting help
Section titled “Getting help”- GitHub Issues — bug reports and feature requests
- Security Policy — vulnerability reporting