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=False
toKPI_DJANGO_DEBUG=True
and inkobo-deployments/envfiles/kobocat.txt
change
KOBOCAT_DJANGO_DEBUG=False
toKOBOCAT_DJANGO_DEBUG=True
-
Restart containers with this command from
kobo-docker
directory.
$kobo-docker> docker-compose -f docker-compose.frontend.yml -f docker-compose.frontend.override.yml up -d --force-recreate nginx kpi kobocat
- Look at
kpi
docker 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.