Db-bootstrap timeout error

Hey All,

The db-bootstrap image keeps on shutting down even after restart due to time out caused by unrecognized option: t. I assume this “t” is from docker build --pull -t odk/db-bootstrap db-bootstrap.

Could this be the cause of not being able to login to the web ui (invalid username, password) ?
Is the db-bootsrap involved in tables creation ?

Any advice on how keep the db-bootstrap image running. Below is the docker log

ODK-X Sync-Endpoint Database Bootstrap Script
Searching for Stack Name …
Stack Name: syncldap
Searching for DB Type …
DB Type: postgres
Searching for DB Container ID…
Container ID: 358bc7877cf1
postgres db detected
GRANT
Done
Checking Sync endpoint
Exit
ODK-X Sync-Endpoint Database Bootstrap Script
Searching for Stack Name …
Stack Name: syncldap
Searching for DB Type …
DB Type: postgres
Searching for DB Container ID…
Container ID: 358bc7877cf1
postgres db detected
GRANT
Done
Checking Sync endpoint
Exit
ODK-X Sync-Endpoint Database Bootstrap Script
ERROR: role “odk” already exists
ERROR: schema “odk_sync” already exists
timeout: unrecognized option: t
BusyBox v1.34.1 (2022-02-02 18:21:20 UTC) multi-call binary.
Usage: timeout [-s SIG] SECS PROG ARGS

The job of the db-bootstrap is to create the user ‘odk’ and the database. Since it is reporting already created it did it’s job.

Db-bootstrap is expected to shutdown after it runs. Since they already exist there is nothing for db-bootstrap to do.

Did you create an LDAP user? Check: Users and Groups — ODK-X Docs

Thank you for the clarification.

I managed to login after followng these instructions

1 Like