Hello.
This concerns self installation : form pages don't load in enketo dedicated site.
An ODK Aggregate server is on
http://odk.me.org:8080/bac_a_sable , on a hosted server (debian). It works great with ODK Collect for months
The user has to autentificate to "collect" (download and fill the forms) : user / user, no anonymous.
-----------------------------
For test and understanding how to configure, i installed Enketo express on a virtual machine Vbox on my workstation.
This VM is dedicated to enketo, so it is ubuntu server 18.04, since the tutorial was made for it.
The VM is in a LAN on which i have control.
enketo.me.org points to the public IP. and the router leads 18005 wan incoming traffic to 8005 on enketo server.
That works :Both
http://192.168.0.106:8005 or
http://enketo.me.org:18005 show the "language page". Version is 1.77.1-9-g95abc75
What i did for configuration :
- netinstall ubuntu from zero - configure with less service as possible
- adduser enketo and manage ssh connections (without ssl, because the is no security need in this lan)
- install required dependencies and nodejs
- modify config.json
- tune firewall as follows : accept all established/related connections(in and out). drop incoming NEW connections except ports 6379 & 6380 (redis), 8005,18005 and 18080 (nginx); let go out tcp traffic on ports 80,443,8000,8080
- tune router for redirecting
config.json is :
"app name": "Serveur Enketo ",
"port": "8005",
"offline enabled": true,
"linked form and data server": {
"name": "serveur ODk Aggregate ",
"server url": "",
"api key": "xxxxxxxxxxx",
"legacy formhub": false,
"authentication": {
"type": "basic",
"allow insecure transport": "true"
}
}
On ODK server, the link to API is
http://enketo.me.org:18005/api/v1 and the key is the one in config.json
- install certificates . certbot
--nginx : could not link to nginx not listening en port 80. I do not go
further because it is quite dificult for me to understand it now, and
i first check if it could be something else.