Created
September 4, 2012 05:45
-
-
Save garrettwilkin/3617235 to your computer and use it in GitHub Desktop.
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
For what it's worth, I've verified that the db connection works on my mac and also from my Linode server. | |
Maybe there's a discrepancy in the package versions? | |
The error message seems to indicate that the mongo database object is not created properly. | |
========================================= | |
APPLICATION LOGS (latest at top) | |
========================================= | |
[09/04 01:38:58 EDT] TypeError: Cannot read property '_serverState' of undefined | |
[09/04 01:38:58 EDT] at Db.Object.defineProperty.get [as state] (/opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/node_modules/mongojs/node_modules/mongodb/lib/mongodb/db.js:2068:31) | |
[09/04 01:38:58 EDT] at /opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/node_modules/mongojs/index.js:218:47 | |
[09/04 01:38:58 EDT] at Array.forEach (native) | |
[09/04 01:38:58 EDT] at Object.exports.connect (/opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/node_modules/mongojs/index.js:217:34) | |
[09/04 01:38:58 EDT] at Object.<anonymous> (/opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/main.js:27:31) | |
[09/04 01:38:58 EDT] at Module._compile (module.js:449:26) | |
[09/04 01:38:58 EDT] at Object.Module._extensions..js (module.js:467:10) | |
[09/04 01:38:58 EDT] at Module.load (module.js:356:32) | |
[09/04 01:38:58 EDT] at Function.Module._load (module.js:312:12) | |
[09/04 01:38:58 EDT] at Function.Module.runMain (module.js:492:10) | |
[09/04 01:38:57 EDT] Mongo connection URL: mongodb://66.228.34.151:27017/hcp1 | |
[09/04 01:38:57 EDT] Validating Environment | |
[09/04 01:38:57 EDT] Environment validated successfully | |
[09/04 01:38:57 EDT] { MONGO_USER: 'njitsu', | |
[09/04 01:38:57 EDT] MONGO_PASS: 'xxxxx', | |
[09/04 01:38:57 EDT] MONGO_HOST: '66.228.34.151', | |
[09/04 01:38:57 EDT] MONGO_PORT: '27017' } | |
========================================= | |
JITSU OUTPUT | |
========================================= | |
info: Creating snapshot 0.0.1-8 | |
info: Updating app HackerClubProjectOne | |
info: Activating snapshot 0.0.1-8 for HackerClubProjectOne | |
info: Starting app HackerClubProjectOne | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: | |
error: There was an error while attempting to start the app | |
error: Error spawning drone | |
error: Script prematurely exited | |
error: | |
error: This type of error is usually a user error. | |
error: Error output from app: | |
error: | |
error: Validating Environment | |
error: Environment validated successfully | |
error: { MONGO_USER: 'njitsu', | |
error: MONGO_PASS: 'xxxxx', | |
error: MONGO_HOST: '66.228.34.151', | |
error: MONGO_PORT: '27017' } | |
error: Mongo connection URL: mongodb://66.228.34.151:27017/hcp1 | |
error: TypeError: Cannot read property '_serverState' of undefined | |
error: at Db.Object.defineProperty.get [as state] (/opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/node_modules/mongojs/node_modules/mongodb/lib/mongodb/db.js:2068:31) | |
error: at /opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/node_modules/mongojs/index.js:218:47 | |
error: at Array.forEach (native) | |
error: at Object.exports.connect (/opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/node_modules/mongojs/index.js:217:34) | |
error: at Object.<anonymous> (/opt/haibu/apps/garrettwilkin/HackerClubProjectOne/package/main.js:27:31) | |
error: at Module._compile (module.js:449:26) | |
error: at Object.Module._extensions..js (module.js:467:10) | |
error: at Module.load (module.js:356:32) | |
error: at Function.Module._load (module.js:312:12) | |
error: at Function.Module.runMain (module.js:492:10) | |
help: For help with this error contact Nodejitsu Support: | |
help: webchat: <http://webchat.nodejitsu.com/> | |
help: irc: <irc://chat.freenode.net/#nodejitsu> | |
help: email: <support@nodejitsu.com> | |
help: | |
help: Copy and paste this output to a gist (http://gist.github.com/) | |
info: Nodejitsu not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment