Installing KoBoToolbox on our server

483 views
Skip to first unread message

Alessandro Demarchi

unread,
Jun 16, 2017, 4:22:10 AM6/16/17
to Kobo Users
Hi all,

We are trying to install KoBoToolbox on our Ubuntu server (released version 16.04). We have installed with Kobo Docker and the envfile.local.txt configure file. We have checked the ports “8000” KPI, “8001” KOBOCAT and “8005” ENKETO-EXPRESS. 
 
The 3 modules seem to be correctly installed however when we create a form on KPI and try to deploy it through KOBOCAT it doesn’t work and we received the following error: unable to deploy,your form cannot be deployed because it contains errors:HTTPConnectionPool(host=’**.**.**.**’, port=8001): Max retries exceeded with url: /api/v1/forms (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)).
Also, the form preview through ENKETO is not working.
 
If we download the form (.xls format) from the KPI component and we upload it in KOBOCAT, it works correctly. In this case we can also connect the KOBOCOLLECT Android Application, download the survey form, collect some data and send the instance to the server. We can also see the uploaded instance through KOBOCAT.
 
We suspect there is a problem about the interconnection between the 3 modules but we are not sure of that.
 
Thanks for any help!

Ciao

Esmail Fadae

unread,
Jun 16, 2017, 4:37:04 PM6/16/17
to Kobo Users
Hi, Alessandro. Did you use your IP address for `HOST_ADDRESS`?

Alessandro Demarchi

unread,
Jun 19, 2017, 5:30:57 AM6/19/17
to Kobo Users
Dear Esmail,

Yes we used the IP of our server, where we installed kobotoolbox..

Esmail Fadae

unread,
Jun 20, 2017, 11:03:24 AM6/20/17
to Kobo Users
I've seen similar things happen due to firewall issues, particularly when people run `kobo-docker` inside a VM. One way I'd troubleshoot this would be by dropping into the KPI container with `docker-compose exec kpi bash` and checking the container's connectivity with the specified `HOST_ADDRESS`.

Alessandro Demarchi

unread,
Jun 23, 2017, 5:36:22 AM6/23/17
to Kobo Users
Dear Esmail,

Just another detail: we have installed the Kobotoolbox instance through Kobo-Docker in "Local modality".

About the testing of the "HOST_ADDRESS", I do not know how to do it.. May you please explain me which commandes I should launch to test the container's connectivity?

Thank you very much!
Reply all
Reply to author
Forward
0 new messages