Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] How to wait-for-DB in comanage-registry-docker ?

Subject: COmanage Developers List

List archive

Re: [comanage-dev] How to wait-for-DB in comanage-registry-docker ?


Chronological Thread 
  • From: Scott Koranda <>
  • To: Tom Zeller <>
  • Cc:
  • Subject: Re: [comanage-dev] How to wait-for-DB in comanage-registry-docker ?
  • Date: Fri, 14 Jul 2017 11:16:12 -0500
  • Ironport-phdr: 9a23:l9093hGU2jwM0+JBHskAC51GYnF86YWxBRYc798ds5kLTJ75p86wAkXT6L1XgUPTWs2DsrQf1LqQ7viocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWapAQfERTnNAdzOv+9WsuL15z2hKiO/MjvZAAAtje5Zb5oZEGqvwjVssQMqZB6KqsryxDApnBPZOtMwn5wY1mUmkCvyN23+ctY+CNMp7oC8NRJV6nzN/AjTrtCBTIqOkg64cTqsV/ISg7ZtShUaXkfjhcdW1uN1xr9RJqk93Ki7uc=

Hi,

> Just tried using docker-compose as documented[1], and it looks like
> the database (mariadb) is not available before comanage-registry
> starts up.

You should make sure you have done a 'git pull' and are creating
images/containers that are current.

The current docker-comanage-entrypoint script(s) include code that runs
and tests that the database is available before starting Apache HTTP
Server. If it is not available it print

Database is unavailable - sleeping

and then sleeps for 1 second and tries again.

You should see that output in the Docker logs. If not you are not
running the most recent version.

Thanks,

Scott



Archive powered by MHonArc 2.6.19.

Top of Page