Quick Fixes
”Run diagnostics”
The installer ships with a doctor script. Run it from thekodus-installer directory:
Reviews: NOT RUNNING, RUNNING, DEGRADED or OK. Each problem after it lists what you lose and the one thing to do. The script changes nothing and prints no secret, so you can paste its output into a support thread. Add --verbose to see every passing check.
To check .env on its own, run ./scripts/validate-env.sh. It checks each variable against the schema and, when containers are running, shows which values the containers loaded differently from .env. That catches a change you made without recreating the containers.
On Kubernetes, use ./scripts/doctor-k8s.sh -n <namespace> instead. See Kubernetes & OpenShift.
”Reviews never start”
Work through these in order:- A model is connected. Open AI providers, or set the model in
.env. Without one, no review runs. - The webhook URL reaches the webhooks service. Connecting a repository registers a webhook with the provider’s
*_CODE_MANAGEMENT_WEBHOOKURL, such asAPI_GITHUB_CODE_MANAGEMENT_WEBHOOK. If the variable is empty, the repository connects and nothing triggers. The URL must behttps://and reach port3332. - The worker is running.
docker compose ps workershould show it up, andWORKER_ROLE=code-reviewmust be set.
”I can’t access the web interface”
- Check if the containers are running:
- Verify the port is correctly mapped:
- Check the web container logs:
“Git webhooks aren’t working”
- Verify the webhooks service answers:
- Check the webhooks logs for webhook attempts:
- With a dedicated webhooks domain, check that it reaches the service through your reverse proxy:
/github/webhook, /gitlab/webhook and the other provider paths to port 3332. See Reverse Proxy.
”Database connection issues”
- Check database container status:
- Verify database logs:
- Test database connections from inside the containers:
MongoDB exits with SERVER-121912
Some combinations of MongoDB 8.3 and recent Linux kernels fail at startup withSERVER-121912. On Docker kernels 6.19 and later, install.sh saves KODUS_MONGO_IMAGE=docker.io/mongo:8.2.11 if you have not set an image override. For a fresh install using Compose directly, set that value in .env. For a fresh Helm install, set mongodb.bundled.image=mongo:8.2.11.
If the volume already contains 8.3 data, follow the MongoDB downgrade procedure before switching images.
”Migration failed due to missing vector type”
If you encounter the error “type vector does not exist” during migrations, the pgvector extension is not enabled in your PostgreSQL database. The bundled PostgreSQL image enables it the first time its volume is created. An external database, or a volume that existed before the extension was added, needs it enabled by hand:- Connect to your PostgreSQL database:
- Enable the pgvector extension:
- Restart the api. It runs the migrations when it starts:
Common Problems
RabbitMQ Issues
If you’re seeing message queue errors:- Check RabbitMQ status:
- Open the management console to verify queues and connections. The installer publishes it on a random host port; find it with:
- Restart the service if needed:
QueueBind 404in the api or webhooks logs means the worker never created theworkflow.jobs.*queues. Check that the worker is running and thatWORKER_ROLEis set.- Connection errors usually mean
API_RABBITMQ_URIdoes not matchRABBITMQ_DEFAULT_USER,RABBITMQ_DEFAULT_PASSor thekodus-aivirtual host. PRECONDITION_FAILEDon a long review means the broker’sconsumer_timeoutis below 2 hours. The Kodus RabbitMQ image sets it; setconsumer_timeout = 7200000on your own broker.
Resource Problems
If services are slow or crashing:- Check resource usage:
- Verify container limits:
- Adjust resource limits in
docker-compose.ymlif needed. Repository parsing runs inside the worker, so it needs the most memory; see Sandbox & AST Graph.
Getting Help
What to Include in Support Requests
- The exact error message
- The output of
./scripts/doctor.sh(on Kubernetes,./scripts/collect-diagnostics.sh -n <namespace>) - Relevant logs from affected services
- Your deployment method (Docker Compose, Kubernetes, OpenShift) and Kodus version
- Steps to reproduce the issue