Skip to content

Troubleshooting

Terminal window
docker compose logs nyravio
docker compose logs db
  1. Missing environment variables — ensure .env exists and contains all required variables. Run bash setup.sh to generate them.

  2. Database not ready — the application waits for PostgreSQL to be healthy. Check database logs:

    Terminal window
    docker compose logs db
  3. Port already in use — change the port:

    Terminal window
    NYRAVIO_PORT=9080 docker compose up -d
  4. Insufficient memory — the application requires at least 4 GB RAM. Check available memory:

    Terminal window
    free -h

Flyway migration errors appear in the application logs:

Terminal window
docker compose logs nyravio | grep -i flyway
  1. If this is a fresh installation, verify PostgreSQL is running and accessible
  2. If upgrading, check that you haven’t skipped versions with breaking schema changes
  3. If the database is corrupted, restore from backup (see Recovery)
  4. Report persistent migration issues with the full error message
Terminal window
# Check if the container is running
docker compose ps
# Check health endpoint
curl -v http://localhost:8080/health/ready
# Check if the port is listening
ss -tlnp | grep 8080
Terminal window
# Verify database is healthy
docker compose exec db pg_isready -U nyravio -d nyravio
# Test connectivity from application container
docker compose exec nyravio sh -c 'curl -sf http://db:5432 2>&1 || echo "port reachable"'
  1. Verify the API key is valid
  2. Check network connectivity to the provider’s API endpoint
  3. 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

After adding a provider, models should appear in the catalog. If they don’t:

  1. Check the provider connection status in Settings > Providers
  2. Verify the API key has the necessary permissions
  3. Check application logs for provider-related errors

Docker bridge networks use internal IPs that don’t match the loopback allowlist. Use the setup token from your .env file:

Terminal window
grep NYRAVIO_SETUP_TOKEN .env

The setup wizard is only shown when no administrator account exists. If you’ve already completed setup, sign in normally.

  1. Check if sufficient resources are available:
    Terminal window
    docker stats
  2. For local models (Ollama), verify GPU acceleration is active
  3. Check database performance:
    Terminal window
    docker compose exec db psql -U nyravio -c "SELECT count(*) FROM pg_stat_activity;"
  1. Set JVM memory limits:
    Terminal window
    JAVA_TOOL_OPTIONS=-Xmx1g
  2. Limit Tika memory in compose.yaml (default: 1 GB)
Terminal window
# Clean build (no cache)
docker compose build --no-cache
# Check Docker disk space
docker system df
Terminal window
# Check exit code
docker compose ps -a
# Check logs for the crash
docker compose logs --tail=50 nyravio
  1. Ensure all containers are running
  2. Verify disk space for the backup
  3. Check Docker permissions

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.