Skip to main content

Quick Fixes

”Run diagnostics”

The installer ships with a doctor script. Run it from the kodus-installer directory:
Its first line says whether reviews are running: 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:
  1. A model is connected. Open AI providers, or set the model in .env. Without one, no review runs.
  2. The webhook URL reaches the webhooks service. Connecting a repository registers a webhook with the provider’s *_CODE_MANAGEMENT_WEBHOOK URL, such as API_GITHUB_CODE_MANAGEMENT_WEBHOOK. If the variable is empty, the repository connects and nothing triggers. The URL must be https:// and reach port 3332.
  3. The worker is running. docker compose ps worker should show it up, and WORKER_ROLE=code-review must be set.

”I can’t access the web interface”

  1. Check if the containers are running:
  1. Verify the port is correctly mapped:
  1. Check the web container logs:

“Git webhooks aren’t working”

  1. Verify the webhooks service answers:
  1. Check the webhooks logs for webhook attempts:
  1. With a dedicated webhooks domain, check that it reaches the service through your reverse proxy:
If the API domain serves webhooks instead, the proxy must route /github/webhook, /gitlab/webhook and the other provider paths to port 3332. See Reverse Proxy.

”Database connection issues”

  1. Check database container status:
  1. Verify database logs:
  1. Test database connections from inside the containers:
Enter the MongoDB root password when prompted.

MongoDB exits with SERVER-121912

Some combinations of MongoDB 8.3 and recent Linux kernels fail at startup with SERVER-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:
  1. Connect to your PostgreSQL database:
  1. Enable the pgvector extension:
  1. Restart the api. It runs the migrations when it starts:
To verify the extension is installed:

Common Problems

RabbitMQ Issues

If you’re seeing message queue errors:
  1. Check RabbitMQ status:
  1. Open the management console to verify queues and connections. The installer publishes it on a random host port; find it with:
  1. Restart the service if needed:
  • QueueBind 404 in the api or webhooks logs means the worker never created the workflow.jobs.* queues. Check that the worker is running and that WORKER_ROLE is set.
  • Connection errors usually mean API_RABBITMQ_URI does not match RABBITMQ_DEFAULT_USER, RABBITMQ_DEFAULT_PASS or the kodus-ai virtual host.
  • PRECONDITION_FAILED on a long review means the broker’s consumer_timeout is below 2 hours. The Kodus RabbitMQ image sets it; set consumer_timeout = 7200000 on your own broker.

Resource Problems

If services are slow or crashing:
  1. Check resource usage:
  1. Verify container limits:
  1. Adjust resource limits in docker-compose.yml if 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

Where to Get Help