This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Per warning: mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost. mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server. mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning. Resolves issue: server_1 | warning: mongodb not accessible. some features (such as backfilling/simulation) may be disabled. server_1 | /app/node_modules/sosa_mongo/mongo_backend.js:6 server_1 | if (!backend_options.db) throw new Error('must pass a node-mongodb-native db with backend_options.db'); server_1 | ^ server_1 | server_1 | Error: must pass a node-mongodb-native db with backend_options.db server_1 | at module.exports (/app/node_modules/sosa_mongo/mongo_backend.js:6:34) server_1 | at /app/node_modules/sosa/index.js:7:17 server_1 | at createCollection (/app/db/createCollection.js:5:7) server_1 | at Object.container (/app/db/sessions.js:2:36) server_1 | at Object.getValue (/app/node_modules/codemap/index.js:298:22) server_1 | at /app/node_modules/codemap/index.js:238:23 server_1 | at Array.forEach (<anonymous>) server_1 | at Object.get (/app/node_modules/codemap/index.js:237:13) server_1 | at get (/app/node_modules/codemap/index.js:60:22) server_1 | at Command.<anonymous> (/app/commands/trade.js:319:24) server_1 | at Command.listener (/app/node_modules/commander/index.js:315:8) server_1 | at Command.emit (events.js:159:13) server_1 | at Command.parseArgs (/app/node_modules/commander/index.js:653:12) server_1 | at Command.parse (/app/node_modules/commander/index.js:475:21) server_1 | at /app/zenbot.js:39:11 server_1 | at /app/boot.js:28:7 server_1 | at f (/app/node_modules/once/once.js:25:25) server_1 | at Glob.<anonymous> (/app/node_modules/glob/glob.js:151:7) server_1 | at Glob.emit (events.js:159:13) server_1 | at Glob._finish (/app/node_modules/glob/glob.js:197:8) server_1 | at done (/app/node_modules/glob/glob.js:182:14) server_1 | at Glob._processGlobStar2 (/app/node_modules/glob/glob.js:637:12) zenbot_server_1 exited with code 1
DeviaVir
approved these changes
Dec 11, 2017
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
On a new install, per warning:
to specify which IPmongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.
mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** Start the server with --bind_ip
mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to
mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the
mongodb_1 | 2017-12-11T14:05:29.348+0000 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning.
Resolves issue:
server_1 | warning: mongodb not accessible. some features (such as backfilling/simulation) may be disabled.
server_1 | /app/node_modules/sosa_mongo/mongo_backend.js:6
server_1 | if (!backend_options.db) throw new Error('must pass a node-mongodb-native db with backend_options.db');
server_1 | ^
server_1 |
server_1 | Error: must pass a node-mongodb-native db with backend_options.db
server_1 | at module.exports (/app/node_modules/sosa_mongo/mongo_backend.js:6:34)
server_1 | at /app/node_modules/sosa/index.js:7:17
server_1 | at createCollection (/app/db/createCollection.js:5:7)
server_1 | at Object.container (/app/db/sessions.js:2:36)
server_1 | at Object.getValue (/app/node_modules/codemap/index.js:298:22)
server_1 | at /app/node_modules/codemap/index.js:238:23
server_1 | at Array.forEach ()
server_1 | at Object.get (/app/node_modules/codemap/index.js:237:13)
server_1 | at get (/app/node_modules/codemap/index.js:60:22)
server_1 | at Command. (/app/commands/trade.js:319:24)
server_1 | at Command.listener (/app/node_modules/commander/index.js:315:8)
server_1 | at Command.emit (events.js:159:13)
server_1 | at Command.parseArgs (/app/node_modules/commander/index.js:653:12)
server_1 | at Command.parse (/app/node_modules/commander/index.js:475:21)
server_1 | at /app/zenbot.js:39:11
server_1 | at /app/boot.js:28:7
server_1 | at f (/app/node_modules/once/once.js:25:25)
server_1 | at Glob. (/app/node_modules/glob/glob.js:151:7)
server_1 | at Glob.emit (events.js:159:13)
server_1 | at Glob._finish (/app/node_modules/glob/glob.js:197:8)
server_1 | at done (/app/node_modules/glob/glob.js:182:14)
server_1 | at Glob._processGlobStar2 (/app/node_modules/glob/glob.js:637:12)
zenbot_server_1 exited with code 1