Troubleshooting
Find the symptom, then open the page that owns the fix. A pipeline run that started and then failed is Trace a failure.
Before you start
Section titled “Before you start”You have the Compose directory from Deploy the engine and, if the app is installed, a user who can open Settings.
Symptoms
Section titled “Symptoms”| Symptom | Look at |
|---|---|
make up fails: network chap not found |
The repository Compose file expects an external network named chap. Create it with docker network create chap, or use the CHAP overlay and set CHAP_NETWORK. The Compose file on the deploy page does not require that network unless you use the overlay. |
| API container restarts at once | CHAP_BASE_URL is missing, or DATABASE_URL / RABBITMQ_URL uses localhost. Inside a container, localhost is the container itself. Use postgres and rabbitmq, or the CHAP hostnames. Deploy the engine. |
migrate restarts |
Postgres is not reachable at DATABASE_URL. On the CHAP overlay, that variable is CHAP_DATABASE_URL. |
| Welcome save returns an error | The user cannot create Routes, or the URL is not http or https. The form says Enter a valid HTTP or HTTPS URL. Other failures show Could not save route. Connect the app. |
| Connected, but lists never load | The Route host is wrong from the DHIS2 server. Confirm code caps and a url that ends in /**. |
| Pipelines run twice | Two scheduler containers. Stop the extra one. Never scale scheduler. Run and upgrade. |
docker exec fails |
api, worker, and scheduler are distroless and have no shell. Use docker compose logs. |
| Climate or CHAP step fails later | The connection URLs, from the worker network. CHAP, climate, and DHIS2. |
The symptom’s row no longer matches, and Check the install passes.
If this fails
Section titled “If this fails”A 200 from GET /system/info on your laptop does not prove the Route. Repeat that request from the DHIS2 network.