Closed SPlanzer closed 4 years ago
@strk I am failing to run docker-compose exec
commands against the qgis container after docker-compose up -d
What am I missing?
Ah, I see. this is coming from .docker/qgis/scripts/docker-entry.sh
and in particular https://github.com/linz/gazetteer/blob/74507d8d71f4ebb399a4d70b0af10a6b9f921398/.docker/qgis/scripts/docker-entry.sh#L4
Im guessing this is related to the import config error I will look into this tomorrow.
okay, I see this is comming from and in particualt # Enable the NZGBplugin in qgis /scripts/enable_nzgbplugin || exit 1
Confirmed, that's the issue. I was thinking I could modify the docker-up
rule to end with printing the last few lines of the started containers logs, and maybe error out if they are not running... guess it'd make sense (feel free to file an issue if you want me to work on that)
after running
make docker-up
in project root dir'docker-compose exec qgis /bin/bash' fails with the below
docker-compose exec db su postgres -c psql
however works`docker-compose ps' returns the below
Note, gazetteer_qgis_1 is in a non zero exit state.
tests in the CI environment confirms this (https://github.com/linz/gazetteer/runs/590981252?check_suite_focus=true)