Closed paulholden closed 1 year ago
Wow, this is really strange error. I've tried to reproduce it locally and, here, it always ends ok after a couple of 'Waiting for oracle to come up...'
. Just guessing if you get the same error (or similar) if, instead of the bin/moodle-docker-wait-for-db
script you just run this every 4-5 seconds:
bin/moodle-docker-compose logs db | grep -q 'DATABASE IS READY TO USE!' && echo "Yes, we are ready!"
Certainly I cannot imagine where that error comes from, maybe ensure you're using updated docker stuff or so?
Ciao :-)
Have you been able to solve this, @paulholden ? Maybe upgrading / reinstalling or so?
Hi @stronk7 - sorry for the delay. It seems that upgrading Docker has indeed resolved the issue:
$ bin/moodle-docker-wait-for-db
Waiting for oracle to come up...
Waiting for oracle to come up...
Waiting for oracle to come up...
$ docker --version
Docker version 20.10.7, build f0df350
$ docker compose version
Docker Compose version v2.12.2
Note I can still install/init phpunit, etc - just this step seems broken for Oracle