1. What is the issue? Please be detailed.
Enketo forms not loading.
System info says I have used 94% of the 24GB disk space.
Unable to find image 'enketo/enketo-express:latest' locally
latest: Pulling from enketo/enketo-express
fd674058ff8f: Already exists
015d8e3eaced: Already exists
33f2159cab19: Already exists
81f234642412: Already exists
9aab52a260ac: Already exists
75f52d755ba3: Pull complete
157e51db28b7: Pull complete
88534c623ee3: Pull complete
709d36b27abe: Extracting [==================================================>] 627.8MB/627.8MB
docker: failed to register layer: write /root/.cache/puppeteer/chrome/linux-133.0.6943.126/chrome-linux64/chrome: no space left on device
Can i increase the disk space? 2. What steps can we take to reproduce this issue?
Not sure
3. What have you tried to fix the issue?
cleared the cache and other logs to create space on the disk. As the below log shows that the issue might be disk space.
4. Upload any forms or screenshots you can share publicly below.
Unable to find image 'enketo/enketo-express:latest' locally
latest: Pulling from enketo/enketo-express
fd674058ff8f: Already exists
015d8e3eaced: Already exists
33f2159cab19: Already exists
81f234642412: Already exists
9aab52a260ac: Already exists
75f52d755ba3: Pull complete
157e51db28b7: Pull complete
88534c623ee3: Pull complete
709d36b27abe: Extracting [==================================================>] 627.8MB/627.8MB
docker: failed to register layer: write /root/.cache/puppeteer/chrome/linux-133.0.6943.126/chrome-linux64/chrome: no space left on device
Hi @yanokwa , i increased the disk space, and now the enketo log shows:
sudo docker logs central-enketo-1
generating enketo configuration...
starting enketo...
yarn workspace v1.22.22
yarn run v1.22.22
$ node .
Worker 3 ready for duty at port 8005! (environment: production)
Worker 4 ready for duty at port 8005! (environment: production)
Worker 1 ready for duty at port 8005! (environment: production)
Worker 2 ready for duty at port 8005! (environment: production)
ChatGPT says i must add the following to docker-compose.yml
Hi @MinimalPotato, it is all the forms that are not working. It looks like the transformer can't find the transformed forms. See the latest enketo log below:
enketo-1 | generating enketo configuration...
enketo-1 | starting enketo...
enketo-1 | yarn workspace v1.22.22
enketo-1 | yarn run v1.22.22
enketo-1 | $ node .
enketo-1 | Worker 1 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 4 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 2 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 3 ready for duty at port 8005! (environment: production)
enketo-1 | GET /-/transform/xform/9kDknTkGWCsQNObThHDWEf834Nf9eRY 404 604 - 248.933 ms
enketo-1 | GET /-/transform/xform/9kDknTkGWCsQNObThHDWEf834Nf9eRY 404 604 - 41.192 ms
enketo-1 | GET /-/transform/xform/kuigQgcDeN8pLeopdsA7GlZfc2KqQU8?st=ghBJXtALyD8vrsC4uCCjet2nQMqhpUzgmhiPp56eraE8spV4gWZhlbKdLlBHUh8P 404 604 - 30.488 ms
enketo-1 | generating enketo configuration...
enketo-1 | starting enketo...
enketo-1 | yarn workspace v1.22.22
enketo-1 | yarn run v1.22.22
enketo-1 | $ node .
enketo-1 | Worker 1 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 4 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 3 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 2 ready for duty at port 8005! (environment: production)
enketo-1 | generating enketo configuration...
enketo-1 | starting enketo...
enketo-1 | yarn workspace v1.22.22
enketo-1 | yarn run v1.22.22
enketo-1 | $ node .
enketo-1 | Worker 4 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 1 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 3 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 2 ready for duty at port 8005! (environment: production)
enketo-1 | generating enketo configuration...
enketo-1 | starting enketo...
enketo-1 | yarn workspace v1.22.22
enketo-1 | yarn run v1.22.22
enketo-1 | $ node .
enketo-1 | Worker 4 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 1 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 3 ready for duty at port 8005! (environment: production)
enketo-1 | Worker 2 ready for duty at port 8005! (environment: production)
Hmm.. I still feel like it's an issue related to DNS. I stumbled upon this forum topic of yours - just wanted to confirm where this ODK Central instance is deployed? - is it in the cloud (AWS / DigitalOcean / etc.) or locally within your organization?
I see. The health.internal here indeed gives an idea that you're maybe on some internal network. But, let's not get into those details. Hmm.. could you also please share what's currently in your cat /etc/docker/daemon.json file?
We need to make sure that Docker containers can use your internal DNS server (192.168.6.10) to resolve external domains properly, or follow the fallback procedure.
How do i access the daemon.json file? Is it in central?
I am getting this when i run the command:
cat /etc/docker/daemon.json
cat: /etc/docker/daemon.json: No such file or directory
gm@ndoh-ln-crrweb01-01:~$ cd central
gm@ndoh-ln-crrweb01-01:~/central$ ls
client enketo.dockerfile nginx.dockerfile secrets.dockerfile test
docker-compose.dev.yml files postgres14.dockerfile SECURITY.md
docker-compose.yml LICENSE.md postgres-upgrade.dockerfile server
docs Makefile README.md service.dockerfile
gm@ndoh-ln-crrweb01-01:~/central$ cat /etc/docker/
cat: /etc/docker/: Is a directory
gm@ndoh-ln-crrweb01-01:~/central$ cd etc
-bash: cd: etc: No such file or directory
gm@ndoh-ln-crrweb01-01:~/central$ cat /etc/doacker/daemon.json
cat: /etc/doacker/daemon.json: No such file or directory
gm@ndoh-ln-crrweb01-01:~/central$ sudo cat /etc/docker/daemon.json
[sudo] password for gm:
cat: /etc/docker/daemon.json: No such file or directory
Caution: Since this touches Docker's core config, I'd suggest taking a backup (preferably a snapshot?) of your server first if possible. Not strictly necessary, but always better to be safe.