rdmorganiser / rdmo-docker-compose

RDMO running in different docker images held together by docker compose
Apache License 2.0
3 stars 12 forks source link

RDMO container fails to run #23

Closed benji4398 closed 7 months ago

benji4398 commented 1 year ago

Hi! The rdmo container exits with /drun.sh: line 22: gunicorn: command not found. It seems like an issue with the virtual environment? I ll try to figure out how to fix it and will update here.

benji4398 commented 1 year ago

somehow the if block in the drun.sh script did not get executed ..

if [ $(pip freeze | grep -Poc "^rdmo==") -eq 0 ] && [ $(pip freeze | grep -Poc "^rdmo @") -eq 0 ]; then
    ${HOME}/sh/install-rdmo.sh
else
    echo "Won't do anything because RDMO is already installed."
fi
triole commented 1 year ago

Hi...

What do you mean by not executed? There is a wait function before. If postgres does not come up the script does not reach the mentioned block. Is this the reason? Maybe?

benji4398 commented 1 year ago

thanks for looking into this!

for me it seems that the rdmo python module is always already installed and therefore the else statement is executed, which does not run the drun.sh in the end .. executing the ${HOME}/sh/install-rdmo.sh script no matter what has fixed this for me.

triole commented 7 months ago

Seems to be fixed. Closing the issue.