Failing during upgrade kobotoolbox

Hi all,

I’m currently trying to upgrade my kobotoolbox instance following this technical guide :

(docker installation)

Everything is working well until the upgrade of the mongo container (after step 17) :

python3 run.py -cb stop mongo → ok working well

edit docker-compose.primary.backend.template.yml and change image to mongo:3.6 → ok

python3 run.py -cb up --force-recreate mongo → the system is pulling new image of the mongo container

But this process is failing i’m getting the following error trying to get into the mongo container :

python3 run.py -cb exec mongo bash

entrypoint.sh no such file or directory

before the upgrade of the mongo container i’m able to enter the container. After the upgrade (3.6) → i’m unable to get in

Can you help me ?

Thank you !

Julien

answering to myself :

in /var/local/kobo-docker/mongo/entrypoint.sh last line should be :

exec docker-entrypoint.sh mongod

→ without ‘bash’ word

Anyway got other problem i’m giving up upgrading kobo ; will reinstall new version from scratch

cheers,

@totoman858 I finished upgrade process successfully might be that you are missing out on something

If you are not loosing data then its ok reinstalling new version

1 Like