hey folks:
(sorry, posted on the forums, but i think the group is a better place for these questions). i’ll summarize the answer/solution and re-post on the forum
-
Got the latest code from git for the kobo-docker: https://github.com/kobotoolbox/kobo-docker
-
Followed the instructions from there for localhost hosting
-
Modified the envfile.local.txt, to use localhost and gave some trivial keys/tokens
-
ran docker-compose up which started various processes
-
Can create and edit a form, i.e. 127.0.0.1:8000 works (however localhost:8000 does not)
-
Can not preview form (gives error could not contact server)
-
the command
$ docker exec -it kobodocker_kpi_1 ping -c 1 kobocat-test.cruncher.ch
works fine
- Clicking on projects tab goes here:
which gives a Bad Gateway Error
$ docker-compose logs
gives this error at the very end
kobocat_1 | import(name)
kobocat_1 | File “./onadata/apps/survey_report/views.py”, line 24, in
kobocat_1 | from formpack import FormPack
kobocat_1 | ImportError: No module named formpack
kobocat_1 | [pid: 199|app: 0|req: 8/18] 172.17.0.1 () {44 vars in 939 bytes} [Fri May 13 16:22:49 2016] GET /kobo/ => generated 0 bytes in 23 msecs (HTTP/1.1 500) 0 headers in 0 bytes (0 switches on core 0)
i’m a developer, so i can debug stuff if needed. Any clues on what i can do next to make progress
thanx
lobo