@Kristopher_Kivutha - The problem is for sure that couchdb isn’t running inside your medic-os
container. Howerver, the reason as to why this is happening is a mystery. Let’s solve it!
Just to double confirm, your steps to reproduce are by following these steps:
- Start with a clean Ubuntu 20.04 install
- Install docker per the “install using repository” steps
- Install docker compose via these steps.
- get the yaml file to use with
docker-compse
with this curl
call: curl -o test-docs-medic-os-compose.yml https://raw.githubusercontent.com/medic/cht-core/master/docker-compose.yml
docker-compose -f test-docs-medic-os-compose.yml up
Expected: CHT is on https://localhost
Actual: 404 is served on https://localhost
Notes: I tested this process on a clean Ubuntu 20.04 server at Digital Ocean. So you can see the expected output of a successful install, here’s my logs:
root@ubuntu-cht-test-forum-docker:~# docker-compose --version
docker-compose version 1.28.5, build c4eb3a1f
root@ubuntu-cht-test-forum-docker:~# docker-compose -f test-docs-medic-os-compose.yml up
Creating network "medic-net" with the default driver
Creating volume "medic-data" with default driver
Pulling haproxy (medicmobile/haproxy:rc-1.17)...
rc-1.17: Pulling from medicmobile/haproxy
a5a6f2f73cd8: Pull complete
7746471d9b75: Pull complete
3149ba82c5fb: Pull complete
1aa0160b5764: Pull complete
03f3e41e886e: Pull complete
b07f863becc6: Pull complete
cecc0c19b01e: Pull complete
c265e38a0775: Pull complete
dc4ff7b6af19: Pull complete
Digest: sha256:e7386241b9baec7b373b2981867b0b1e1c0ed15c39d88a4d88ddaae2095ea923
Status: Downloaded newer image for medicmobile/haproxy:rc-1.17
Pulling medic-os (medicmobile/medic-os:cht-3.9.0-rc.2)...
cht-3.9.0-rc.2: Pulling from medicmobile/medic-os
b5e173e44934: Pull complete
29047100b040: Pull complete
15743a713c2a: Pull complete
4b6bc9e29877: Pull complete
70e8b9c5fc55: Pull complete
b5c1c4676ef2: Pull complete
2e876803ec7b: Pull complete
475010e18dc4: Pull complete
37dffbcce53e: Pull complete
f34e044170aa: Pull complete
08f2e43b306f: Pull complete
Digest: sha256:6c678b09476f133cab80b149747f772be797581f703c808ce475bf224d2b4d85
Status: Downloaded newer image for medicmobile/medic-os:cht-3.9.0-rc.2
Creating haproxy ... done
Creating medic-os ... done
Attaching to haproxy, medic-os
medic-os | mesg: ttyname failed: Inappropriate ioctl for device
medic-os | [2021/03/01 23:43:49] Info: Setting up software...
haproxy | Starting enhanced syslogd: rsyslogd.
haproxy | # Setting `log` here with the address of 127.0.0.1 will have the effect
haproxy | # of haproxy sending the udp log messages to its own rsyslog instance
haproxy | # (which sits at `127.0.0.1`) at the `local0` facility including all
haproxy | # logs that have a priority greater or equal to the specified log level
haproxy | # log 127.0.0.1 local0 warning
haproxy | global
haproxy | maxconn 4096
haproxy | lua-load /usr/local/etc/haproxy/parse_basic.lua
haproxy | lua-load /usr/local/etc/haproxy/parse_cookie.lua
haproxy | lua-load /usr/local/etc/haproxy/replace_password.lua
haproxy | log /dev/log len 65535 local2 info
haproxy |
haproxy | defaults
haproxy | mode http
haproxy | log global
haproxy | option dontlognull
haproxy | option http-ignore-probes
haproxy | timeout client 150000
haproxy | timeout server 3600000
haproxy | timeout connect 15000
haproxy | stats enable
haproxy | stats refresh 30s
haproxy | stats auth admin:password
haproxy | stats uri /haproxy?stats
haproxy |
haproxy | frontend http-in
haproxy | bind *:5984
haproxy | acl has_user req.hdr(x-medic-user) -m found
haproxy | acl has_cookie req.hdr(cookie) -m found
haproxy | acl has_basic_auth req.hdr(authorization) -m found
haproxy | declare capture request len 400000
haproxy | http-request set-header x-medic-user %[lua.parseBasic] if has_basic_auth
haproxy | http-request set-header x-medic-user %[lua.parseCookie] if !has_basic_auth !has_user has_cookie
haproxy | http-request capture req.body id 0 # capture.req.hdr(0)
haproxy | http-request capture req.hdr(x-medic-service) len 200 # capture.req.hdr(1)
haproxy | http-request capture req.hdr(x-medic-user) len 200 # capture.req.hdr(2)
haproxy | http-request capture req.hdr(user-agent) len 600 # capture.req.hdr(3)
haproxy | capture response header Content-Length len 10 # capture.res.hdr(0)
haproxy | log-format "%ci,%ST,%[capture.req.method],%[capture.req.uri],%[capture.req.hdr(1)],%[capture.req.hdr(2)],'%[capture.req.hdr(0),lua.replacePassword]',%B,%Tr,%[capture.res.hdr(0)],'%[capture.req.hdr(3)]'"
haproxy | default_backend couch-backend
haproxy |
haproxy | frontend http-in2
haproxy | bind *:5986
haproxy | default_backend couch-backend2
haproxy |
haproxy | backend couch-backend
haproxy | balance roundrobin
haproxy | server couchdb1 medic-os:5985
haproxy |
haproxy | backend couch-backend2
haproxy | balance roundrobin
haproxy | server couchdb1 medic-os:5987
haproxy | [alert] 059/234349 (1) : parseBasic loaded
haproxy | [alert] 059/234349 (1) : parseCookie loaded
haproxy | [alert] 059/234349 (1) : replacePassword loaded
haproxy | Mar 1 23:43:49 a73c374e0d85 haproxy[1]: Proxy http-in started.
haproxy | Mar 1 23:43:49 a73c374e0d85 haproxy[1]: Proxy http-in2 started.
haproxy | Mar 1 23:43:49 a73c374e0d85 haproxy[1]: Proxy couch-backend started.
haproxy | Mar 1 23:43:49 a73c374e0d85 haproxy[1]: Proxy couch-backend2 started.
medic-os | [2021/03/01 23:43:49] Info: Running setup task 'horticulturalist/sudoers'
medic-os | [2021/03/01 23:43:49] Info: Running setup task 'horticulturalist/users'
medic-os | [2021/03/01 23:43:50] Info: Service 'horticulturalist/horticulturalist' started successfully
medic-os | [2021/03/01 23:43:50] Info: Setting up software (14% complete)...
medic-os | [2021/03/01 23:43:50] Info: Running setup task 'medic-api/link-logs'
medic-os | [2021/03/01 23:43:50] Info: Running setup task 'medic-api/logrotate'
medic-os | [2021/03/01 23:43:50] Info: Running setup task 'medic-api/users'
medic-os | [2021/03/01 23:43:50] Info: Service 'medic-api/medic-api' started successfully
medic-os | [2021/03/01 23:43:50] Info: Setting up software (28% complete)...
medic-os | [2021/03/01 23:43:54] Info: Running setup task 'medic-core/ldconfig'
medic-os | [2021/03/01 23:43:54] Info: Running setup task 'medic-core/link-logs'
medic-os | [2021/03/01 23:43:54] Info: Running setup task 'medic-core/logrotate'
medic-os | [2021/03/01 23:43:54] Info: Running setup task 'medic-core/nginx'
medic-os | [2021/03/01 23:43:54] Info: Running setup task 'medic-core/nginx-ssl'
medic-os | [2021/03/01 23:43:59] Info: Running setup task 'medic-core/profile'
medic-os | [2021/03/01 23:43:59] Info: Running setup task 'medic-core/ssh-authorized-keys'
medic-os | [2021/03/01 23:43:59] Info: Running setup task 'medic-core/ssh-keygen'
medic-os | [2021/03/01 23:44:00] Info: Running setup task 'medic-core/usb-modeswitch'
medic-os | [2021/03/01 23:44:00] Info: Service 'medic-core/couchdb' started successfully
medic-os | [2021/03/01 23:44:00] Info: Setting up CouchDB for the first time
medic-os | [2021/03/01 23:44:00] Info: Service 'medic-core/nginx' started successfully
medic-os | [2021/03/01 23:44:00] Info: Service 'medic-core/openssh' started successfully
medic-os | [2021/03/01 23:44:00] Info: Setting up software (42% complete)...
medic-os | [2021/03/01 23:44:01] Info: Running setup task 'medic-couch2pg/link-logs'
medic-os | [2021/03/01 23:44:01] Info: Running setup task 'medic-couch2pg/logrotate'
medic-os | [2021/03/01 23:44:01] Info: Service 'medic-couch2pg/medic-couch2pg' started successfully
medic-os | [2021/03/01 23:44:01] Info: Setting up software (57% complete)...
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,200,GET,/,-,-,'-',444,70,208,'curl/7.47.0'
medic-os | [2021/03/01 23:44:01] Info: Creating system databases
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_users,-,-,'-',290,44,12,'curl/7.47.0'
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_replicator,-,-,'-',295,13,12,'curl/7.47.0'
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_global_changes,-,-,'-',299,16,12,'curl/7.47.0'
medic-os | [2021/03/01 23:44:01] Info: Setting up CouchDB administrative account
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57376 to 172.18.0.2:5986 (http-in2/HTTP)
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_users/org.couchdb.user:admin,-,admin,'{#012 "id": "org.couchdb.user:admin", "roles": [],#012 "type": "user", "name": "admin"#012 }',430,25,85,'curl/7.47.0'
medic-os | [2021/03/01 23:44:01] Info: Restricting CouchDB to authorized users only
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57384 to 172.18.0.2:5986 (http-in2/HTTP)
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57388 to 172.18.0.2:5986 (http-in2/HTTP)
medic-os | [2021/03/01 23:44:01] Info: Creating CouchDB service accounts
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57392 to 172.18.0.2:5986 (http-in2/HTTP)
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_users/org.couchdb.user:medic-api,-,admin,'{#012 "id": "org.couchdb.user:medic-api", "roles": [],#012 "type": "user", "name": "medic-api"#012 }',438,5,89,'curl/7.47.0'
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57400 to 172.18.0.2:5986 (http-in2/HTTP)
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_users/org.couchdb.user:medic-couch2pg,-,admin,'{#012 "id": "org.couchdb.user:medic-couch2pg", "roles": [],#012 "type": "user", "name": "medic-couch2pg"#012 }',448,3,94,'curl/7.47.0'
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57408 to 172.18.0.2:5986 (http-in2/HTTP)
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_users/org.couchdb.user:medic-sentinel,-,admin,'{#012 "id": "org.couchdb.user:medic-sentinel", "roles": [],#012 "type": "user", "name": "medic-sentinel"#012 }',448,4,94,'curl/7.47.0'
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57416 to 172.18.0.2:5986 (http-in2/HTTP)
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_users/org.couchdb.user:horticulturalist,-,admin,'{#012 "id": "org.couchdb.user:horticulturalist", "roles": [],#012 "type": "user", "name": "horticulturalist"#012 }',452,4,96,'curl/7.47.0'
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: Connect from 172.18.0.3:57424 to 172.18.0.2:5986 (http-in2/HTTP)
haproxy | Mar 1 23:44:01 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/_users/org.couchdb.user:medic,-,admin,'{#012 "id": "org.couchdb.user:medic", "roles": [],#012 "type": "user", "name": "medic"#012 }',430,4,85,'curl/7.47.0'
medic-os | [2021/03/01 23:44:01] Info: New CouchDB Administrative User: medic
medic-os | [2021/03/01 23:44:01] Warning: A new administrative password was explicitly set via the CLI
medic-os | [2021/03/01 23:44:01] Warning: The new administrative password will not be displayed
medic-os | [2021/03/01 23:44:01] Info: CouchDB first-run setup successful
medic-os | [2021/03/01 23:44:02] Info: Horticulturalist is now bootstrapping
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,404,GET,/medic/,-,horticulturalist,'-',326,5,58,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/medic/,-,horticulturalist,'-',308,12,12,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,200,GET,/medic/,-,horticulturalist,'-',841,9,586,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,200,GET,//_active_tasks,-,horticulturalist,'-',256,1,3,'-'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,404,GET,/medic/horti-upgrade?,-,horticulturalist,'-',309,1,41,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/medic/horti-upgrade,-,horticulturalist,'{"_id":"horti-upgrade","user":"horticulturalist cli","created":1614642242519,"action":"install","build_info":{"namespace":"medic","application":"medic","version":"3.9.0"}}',430,5,76,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/medic/horti-upgrade,-,horticulturalist,'{"_id":"horti-upgrade","user":"horticulturalist cli","created":1614642242519,"action":"install","build_info":{"namespace":"medic","application":"medic","version":"3.9.0"},"_rev":"1-9b770a5b481e8f1e6748c5cf5e5bc84f","log":[{"type":"stage","datetime":1614642242529,"key":"horti.stage.init","message":{"message":"Horticulturalist deployment of 'medic:medic:3.9.0' initialising","key":"horti.stage.init"}}]}',430,4,76,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/medic/horti-upgrade,-,horticulturalist,'{"_id":"horti-upgrade","user":"horticulturalist cli","created":1614642242519,"action":"install","build_info":{"namespace":"medic","application":"medic","version":"3.9.0"},"_rev":"2-0391b2247a4239a05b32bb97ffdc44d6","log":[{"type":"stage","datetime":1614642242529,"key":"horti.stage.init","message":{"message":"Horticulturalist deployment of 'medic:medic:3.9.0' initialising","key":"horti.stage.init"}},{"type":"stage","datetime":1614642242537,"key":"horti.stage.preCleanup","message":{"message":"Pre-deploy cleanup","key":"horti.stage.preCleanup"}}]}',430,4,76,'node-fetch/1.0 (+https://github.com/bi
tinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,200,GET,/medic/_all_docs?startkey=%22_design%2F%3Astaged%3A%22&endkey=%22_design%2F%3Astaged%3A%EF%BF%B0%22,-,horticulturalist,'-',320,6,-,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,202,POST,/medic/_compact,-,horticulturalist,'-',272,1,12,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,202,POST,/medic/_view_cleanup,-,horticulturalist,'-',272,4,12,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,200,GET,/medic/,-,horticulturalist,'-',856,3,601,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,200,GET,/medic/,-,horticulturalist,'-',858,2,603,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
haproxy | Mar 1 23:44:02 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/medic/horti-upgrade,-,horticulturalist,'{"_id":"horti-upgrade","user":"horticulturalist cli","created":1614642242519,"action":"install","build_info":{"namespace":"medic","application":"medic","version":"3.9.0"},"_rev":"3-a1c20802db3602db72a1aff9e824e512","log":[{"type":"stage","datetime":1614642242529,"key":"horti.stage.init","message":{"message":"Horticulturalist deployment of 'medic:medic:3.9.0' initialising","key":"horti.stage.init"}},{"type":"stage","datetime":1614642242537,"key":"horti.stage.preCleanup","message":{"message":"Pre-deploy cleanup","key":"horti.stage.preCleanup"}},{"type":"stage","datetime":1614642242775,"key":"hor
ti.stage.download","message":{"message":"Downloading and staging install","key":"horti.stage.download"}}]}',430,4,76,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
medic-os | [2021/03/01 23:44:03] Info: Running setup task 'medic-rdbms/ldconfig'
medic-os | [2021/03/01 23:44:03] Info: Running setup task 'medic-rdbms/link-logs'
medic-os | [2021/03/01 23:44:03] Info: Running setup task 'medic-rdbms/reconfigure'
medic-os | [2021/03/01 23:44:03] Info: Service 'medic-rdbms/postgresql' started successfully
medic-os | [2021/03/01 23:44:03] Info: Setting up software (71% complete)...
medic-os | [2021/03/01 23:44:03] Info: Running setup task 'medic-sentinel/link-logs'
medic-os | [2021/03/01 23:44:03] Info: Running setup task 'medic-sentinel/logrotate'
medic-os | [2021/03/01 23:44:03] Info: Running setup task 'medic-sentinel/users'
medic-os | [2021/03/01 23:44:04] Info: Service 'medic-sentinel/medic-sentinel' started successfully
medic-os | [2021/03/01 23:44:04] Info: Setting up software (85% complete)...
medic-os | [2021/03/01 23:44:04] Info: Running setup task 'system-services/home-directories'
medic-os | [2021/03/01 23:44:04] Info: Running setup task 'system-services/link-logs'
medic-os | [2021/03/01 23:44:04] Info: Running setup task 'system-services/logrotate'
medic-os | [2021/03/01 23:44:04] Info: Service 'system-services/cron' started successfully
medic-os | [2021/03/01 23:44:04] Info: Service 'system-services/syslog' started successfully
medic-os | [2021/03/01 23:44:04] Info: Setting up software (100% complete)...
medic-os | [2021/03/01 23:44:04] Info: Starting services...
medic-os | [2021/03/01 23:44:04] Info: Synchronizing disks...
haproxy | Mar 1 23:44:11 a73c374e0d85 haproxy[25]: 172.18.0.3,201,PUT,/medic/_design/%3Astaged%3Amedic,-,horticulturalist,'{"_id":"_design/:staged:medic","build_info":{"application":"medic","author":"grunt on travis","base_version":"3.9.0","namespace":"medic","node_modules":["medic-api-0.1.0.tgz","medic-sentinel-0.1.0.tgz"],"schema_version":1,"time":"2020-06-19T03:08:55.156Z","version":"3.9.0"},"rewrites":[{"from":"/manifest.appcache","to":"manifest.appcache"}],"validate_doc_update":"/*\n SERVER DOCUMENT VALIDATION\n\n This is for validating authority. It is ---- SNIP --- actingDdocs"}}]}',430,11,76,'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'
medic-os | [2021/03/01 23:44:14] Info: System started successfully
medic-os | [2021/03/01 23:44:14] Info: Starting log streaming
If the above steps to reproduce are all correct, then let’s get the status of couchdb by running these two in another terminal:
docker exec -it medic-os /boot/supervisor-inspect
docker exec -it medic-os head -n70 /srv/storage/medic-api/logs/medic-api.log
Here’s the output for me for supervisor-inspect
:
docker exec -it medic-os /boot/supervisor-inspect
Package 'horticulturalist':
Service 'horticulturalist':
Status: Up
Up: 306 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 98, Supervisor PID: 88
Package 'medic-api':
Service 'medic-api':
Status: Up
Up: 306 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 206, Supervisor PID: 191
Package 'medic-core':
Service 'couchdb':
Status: Up
Up: 297 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 396, Supervisor PID: 380
Service 'nginx':
Status: Up
Up: 297 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 438, Supervisor PID: 416
Service 'openssh':
Status: Up
Up: 297 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 497, Supervisor PID: 463
Package 'medic-couch2pg':
Service 'medic-couch2pg':
Status: Up
Up: 0 seconds, Restarts: 120
Attributes: watched, running, expected
Service PID: 5480, Supervisor PID: 581
Package 'medic-rdbms':
Service 'postgresql':
Status: Up
Up: 294 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 1054, Supervisor PID: 1044
Package 'medic-sentinel':
Service 'medic-sentinel':
Status: Up
Up: 293 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 1166, Supervisor PID: 1153
Package 'system-services':
Service 'cron':
Status: Up
Up: 293 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 1262, Supervisor PID: 1245
Service 'syslog':
Status: Up
Up: 293 seconds, Restarts: 0
Attributes: watched, running, expected
Service PID: 1285, Supervisor PID: 1273
And here’s the head
call:
root@ubuntu-cht-test-forum-docker:~# docker exec -it medic-os head -n70 /srv/storage/medic-api/logs/medic-api.log
[2021-03-01 23:44:46] Node Environment Options: '--max_old_space_size=8192'
[2021-03-01 23:44:46] Node Version: 8.11.4 in production mode
[2021-03-01 23:44:46] COUCH_URL http://medic-api:37726630696c3137@haproxy:5984/medic
[2021-03-01 23:44:46] COUCH_NODE_NAME couchdb@127.0.0.1
[2021-03-01 23:44:46] CouchDB Version: 2.3.1
[2021-03-01 23:44:47] 2021-03-01 23:44:47 INFO: Extracting ddoc…
[2021-03-01 23:44:47] 2021-03-01 23:44:47 INFO: Updating docs: _design/sentinel
[2021-03-01 23:44:47] 2021-03-01 23:44:47 INFO: Updating docs: _design/users-meta
[2021-03-01 23:44:48] 2021-03-01 23:44:48 INFO: Updating docs: _design/medic-client
[2021-03-01 23:44:48] 2021-03-01 23:44:48 INFO: Updating service worker meta doc
[2021-03-01 23:44:48] 2021-03-01 23:44:48 INFO: DDoc extraction completed successfully
[2021-03-01 23:44:48] 2021-03-01 23:44:48 INFO: Extracting resources…
[2021-03-01 23:44:48] 2021-03-01 23:44:48 INFO: Extracting resources completed successfully
[2021-03-01 23:44:48] 2021-03-01 23:44:48 INFO: Extracting initial documents…
[2021-03-01 23:44:48] 2021-03-01 23:44:48 INFO: Updating settings with new defaults
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Extracting initial documents completed successfully
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Loading configuration…
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Not updating settings - the existing settings are already up to date
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_clinics"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "self_report"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "registration"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "accept_patient_reports"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "accept_case_reports"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "generate_shortcode_on_contacts"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Loading transition "generate_patient_id_on_people"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Skipping asynchronous transition "generate_patient_id_on_people"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "default_responses"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_sent_by"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_sent_forms"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Loading transition "death_reporting"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "conditional_alerts"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "multi_report_alerts"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_notifications"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_scheduled_reports"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "resolve_pending"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "muting"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "mark_for_outbound"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Configuration loaded successfully
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Merging translations…
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Translations merged successfully
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Running db migrations…
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Detected translations change - reloading
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_clinics"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "self_report"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "registration"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "accept_patient_reports"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "accept_case_reports"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "generate_shortcode_on_contacts"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Loading transition "generate_patient_id_on_people"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Skipping asynchronous transition "generate_patient_id_on_people"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "default_responses"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_sent_by"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_sent_forms"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 INFO: Loading transition "death_reporting"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "conditional_alerts"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "multi_report_alerts"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_notifications"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_scheduled_reports"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "resolve_pending"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "muting"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "mark_for_outbound"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "update_clinics"
[2021-03-01 23:44:49] 2021-03-01 23:44:49 WARN: Disabled transition "self_report"
Hopefully we’ll see what’s causing the problem with couchdb not being able to start.
Thanks very much for your patience!