Kobo Install Not working

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.

  1. Modify config files
    In kobo-deployments/envfiles/kpi.txt, change
    KPI_DJANGO_DEBUG=False to KPI_DJANGO_DEBUG=True
    and in kobo-deployments/envfiles/kobocat.txt change
    KOBOCAT_DJANGO_DEBUG=False to KOBOCAT_DJANGO_DEBUG=True

  2. 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
  1. Look at kpi docker logs
$kobo-docker>docker-compose -f docker-compose.frontend.yml -f docker-compose.frontend.override.yml logs -f kpi
  1. 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.

1 Like