You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
# Most software is installed automatically by the script, but running the mongo command below from
# the install script was causing some errors. For now this needs to be run manually.
I've noticed that some times, after restarting the client machine, the command to create the MongoDB fails. I've wrapped it in a retry loop and it ends up working, as shown:
INSTALL: Creating MongoDB database
MongoDB shell version: 2.0.4
connecting to: 10.32.0.12:27017/test
Sun Aug 25 00:44:29 Error: couldn't connect to server 10.32.0.12:27017 shell/mongo.js:86
exception: connect failed
The command failed. Attempt 2/20 will start in 30 seconds.
MongoDB shell version: 2.0.4
connecting to: 10.32.0.12:27017/test
Sun Aug 25 00:44:59 Error: couldn't connect to server 10.32.0.12:27017 shell/mongo.js:86
exception: connect failed
The command failed. Attempt 3/20 will start in 30 seconds.
MongoDB shell version: 2.0.4
connecting to: 10.32.0.12:27017/test
Sun Aug 25 00:45:29 Error: couldn't connect to server 10.32.0.12:27017 shell/mongo.js:86
exception: connect failed
The command failed. Attempt 4/20 will start in 30 seconds.
MongoDB shell version: 2.0.4
connecting to: 10.32.0.12:27017/test
Sun Aug 25 00:45:59 Error: couldn't connect to server 10.32.0.12:27017 shell/mongo.js:86
exception: connect failed
The command failed. Attempt 5/20 will start in 30 seconds.
MongoDB shell version: 2.0.4
connecting to: 10.32.0.12:27017/test
Sun Aug 25 00:46:29 Error: couldn't connect to server 10.32.0.12:27017 shell/mongo.js:86
exception: connect failed
The command failed. Attempt 6/20 will start in 30 seconds.
MongoDB shell version: 2.0.4
connecting to: 10.32.0.12:27017/test
switched to db hello_world
false
false
bye
So I think the issues with setting up MongoDB can be fixed with retries. For now I have this in a post-installation script, but I hope eventually that this can be integrated into installer.py.
README.md has this notice:
I've noticed that some times, after restarting the client machine, the command to create the MongoDB fails. I've wrapped it in a retry loop and it ends up working, as shown:
So I think the issues with setting up MongoDB can be fixed with retries. For now I have this in a post-installation script, but I hope eventually that this can be integrated into installer.py.