Ok, that means nginx is accessible but it cannot communicate with kpi from some reason.
Look at docker logs
$kobo-install>python run.py --logs
Try to activate DEBUG mode.
-
Modify config files
Inkobo-deployments/envfiles/kpi.txt, change
KPI_DJANGO_DEBUG=FalsetoKPI_DJANGO_DEBUG=True
and inkobo-deployments/envfiles/kobocat.txtchange
KOBOCAT_DJANGO_DEBUG=FalsetoKOBOCAT_DJANGO_DEBUG=True -
Restart containers with this command from
kobo-dockerdirectory.
$kobo-docker> docker-compose -f docker-compose.frontend.yml -f docker-compose.frontend.override.yml up -d --force-recreate nginx kpi kobocat
- Look at
kpidocker logs
$kobo-docker>docker-compose -f docker-compose.frontend.yml -f docker-compose.frontend.override.yml logs -f kpi
- Wait until you see request to
/service_health/
You should see the error that kpi returns. Please report here, it can help.
One more thing, if you have an active firewall, ensure that containers can talk to each other. Be sure to not open PostgreSQL, Mongo and Redis ports publicly.
