Describe the bug
Since after mongodb version 6.0+, mongo command is replaced by mongosh. Therefore while running setup_script.sh, the mongo command in systems(with mongodb v-6.0 and above) is not found.
To Reproduce
Just run setup_script.sh
Possible Solution
Either mention this in the documentation or modify setup_script.sh to check for both mongo and mongosh. I built the script with mongosh in my local setup, and everything was fine.
@birm
Describe the bug Since after mongodb version 6.0+,
mongo
command is replaced bymongosh
. Therefore while runningsetup_script.sh
, themongo
command in systems(with mongodb v-6.0 and above) is not found.To Reproduce Just run
setup_script.sh
Possible Solution Either mention this in the documentation or modify
setup_script.sh
to check for bothmongo
andmongosh
. I built the script withmongosh
in my local setup, and everything was fine.