When something goes wrong in the NextAudit AI stack, the fastest path to resolution is to read the right log at the right layer. Most failures fall into one of three categories: a dependency that has not yet passed its health check, a misconfigured environment variable, or a platform-level compatibility issue. Start withDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Kevin2523/nextAuditAi/llms.txt
Use this file to discover all available pages before exploring further.
docker compose ps to see which containers are unhealthy, then use docker compose logs [service] to read the specific error. The FAQ below covers the most common scenarios and what to check for each.
Common issues
Fleet fails to start
Fleet fails to start
Fleet requires both If Fleet is stuck in a restart loop or never reaches MySQL is configured with
mysql and redis to be healthy before it launches. The depends_on conditions enforce this:healthy, check the dependency services first:retries: 12 at a 10-second interval, giving it up to 120 seconds to become healthy. If MySQL has not passed its health check after that window, inspect the MySQL logs for authentication errors or storage permission issues.Fleet also runs
fleet prepare db --no-prompt before starting the server. If the MySQL database schema migration fails, Fleet will exit immediately. Look for migration errors in docker compose logs fleet.Flowise can't connect to PostgreSQL
Flowise can't connect to PostgreSQL
Flowise waits for PostgreSQL to pass its health check before starting (The
condition: service_healthy). PostgreSQL is configured with retries: 10 at a 5-second interval — up to 50 seconds of startup time.If Flowise reports a database connection error after PostgreSQL is healthy, verify the environment variables are consistent:DATABASE_HOST must be postgres (the service name), not localhost or an IP address. Docker Compose resolves service names within the shared network.Services restart repeatedly
Services restart repeatedly
All services in the stack are configured with Common causes include:
restart: unless-stopped. This means Docker will restart any container that exits with a non-zero code, indefinitely, until you stop it manually.A container that restarts in a tight loop usually has a configuration error rather than a transient fault. Check the logs for the most recent exit reason:- A required environment variable is empty or set to an invalid value
- A volume mount path does not exist or has wrong permissions
- A dependency service is unhealthy and the startup command fails
Fleet init container exits immediately
Fleet init container exits immediately
The Fleet declares the dependency as
fleet-init container exiting immediately is expected behavior. Its sole purpose is to set ownership on the shared volumes before Fleet starts:condition: service_completed_successfully, which means Fleet waits for fleet-init to exit with code 0 — not to remain running. Once the chown command finishes, fleet-init exits cleanly and Fleet proceeds with startup.If Fleet is stuck waiting for
fleet-init, check whether the logs, data, and vulndb Docker volumes were created successfully. Run docker volume ls to confirm they exist.Ollama fails to load models
Ollama fails to load models
Ollama reads the list of models to pre-load from the Model data is persisted in the
OLLAMA_MODELS environment variable. If the variable is empty or points to a model name that does not exist in the registry, Ollama may start but fail to load any models.ollama_data volume mounted at /root/.ollama. If the volume is present but empty, Ollama needs to download the models on first run — this can take several minutes depending on model size and network speed.n8n workflows not running
n8n workflows not running
Workflow execution in n8n requires the task runners feature to be enabled. All compose environments set this explicitly:If this variable is missing or set to Also confirm that workflow automation is active inside the n8n UI — paused workflows will not execute regardless of the runner setting.
false, workflow nodes will appear to trigger but no execution will actually occur. Verify the setting and restart the n8n container:n8n persists workflow definitions and execution history in the
n8n_data volume at /home/node/.n8n. If this volume is lost or recreated, all workflows will need to be re-imported.MySQL platform warning on ARM Macs
MySQL platform warning on ARM Macs
Both On Apple Silicon (M1/M2/M3) Macs, Docker Desktop will run these containers under Rosetta 2 emulation and emit a warning:This is expected. Both images function correctly under emulation, but you may notice slower startup times and slightly higher CPU usage compared to native ARM images.
mysql and fleet specify platform: linux/x86_64:Diagnostic commands
Use these commands to investigate any service in the stack. Replace[service-name] with the service you want to inspect (e.g., fleet, mysql, redis, postgres, flowise, n8n, ollama).