I’m having an issue with the mongodb container. While running
make dev.provision, the script is stuck while waiting for mongofb:
+ echo -e '\033[0;32mWaiting for MongoDB...\033[0m' Waiting for MongoDB... + docker-compose exec -T mongo bash -c 'mongo --eval "printjson(db.serverStatus())"' + printf . .+ sleep 1 + docker-compose exec -T mongo bash -c 'mongo --eval "printjson(db.serverStatus())"' + printf . .+ sleep 1
I tried docker-compose up mongo and I see the follow error in the output:
edx.devstack.mongo | 2020-08-05T14:33:13.046+0000 F CONTROL [initandlisten] ** IMPORTANT: UPGRADE PROBLEM: The data files need to be fully upgraded to version 3.4 before attempting an upgrade to 3.6; see http://dochub.mongodb.org/core/3.6-upgrade-fcv for more details. edx.devstack.mongo | 2020-08-05T14:33:13.048+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
I tried deleting the image and and running the docker-compose command again but same thing happens.
I’m running on Windows 10 using Docker toolbox and devstack used to run fine. I tried a devstack install on an Ubuntu VM and it works fine.
Any ideas on how I could solve this?