Skip to content

Instantly share code, notes, and snippets.

@bbn
Created September 9, 2013 16:24
Show Gist options
  • Save bbn/6498042 to your computer and use it in GitHub Desktop.
Save bbn/6498042 to your computer and use it in GitHub Desktop.
nodejitsu error from deployment
~/mainsocial/littleoftenmagic jitsu apps start --debug
info: Welcome to Nodejitsu mainsocial
info: jitsu v0.13.2, node v0.8.15
info: It worked if it ends with Nodejitsu ok
info: Executing command apps start
info: Starting app thelist
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/endpoints',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: '100000',
debug: rejectUnauthorized: false }
debug: { statusCode: 200,
debug: result:
debug: { endpoints:
debug: { joyent:
debug: { 'us-east-1': 'api.nodejitsu.com',
debug: 'us-sw-1': 'api.jyt.us.sw1.nodejitsu.com',
debug: 'us-west-1': 'api.jyt.us.west1.nodejitsu.com',
debug: 'eu-ams-1': 'api.jyt.eu.ams1.nodejitsu.com' } } } }
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/mainsocial/thelist/cloud',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: '100000',
debug: rejectUnauthorized: false }
debug: { statusCode: 200,
debug: result:
debug: [ { drones: 1,
debug: provider: 'joyent',
debug: datacenter: 'us-east-1',
debug: ram: 256 } ] }
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/mainsocial/thelist/start',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: '100000',
debug: rejectUnauthorized: false,
debug: body: '{}' }
debug: { statusCode: 500,
debug: result:
debug: { message: 'Errors occured while starting the application',
debug: stack: 'Error: Errors occured while starting the application\n at onStarted (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:789:16)\n at respond (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:514:14)\n at AppController._startDrone.server (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:561:16)\n at _asyncMap (/root/nodejitsu/node_modules/async/lib/async.js:226:13)\n at async.eachSeries.iterate (/root/nodejitsu/node_modules/async/lib/async.js:136:25)\n at _asyncMap (/root/nodejitsu/node_modules/async/lib/async.js:223:17)\n at async.series.results (/root/nodejitsu/node_modules/async/lib/async.js:550:34)\n at Servers.free (/root/nodejitsu/node_modules/conservatory-api/lib/client/servers.js:89:5)\n at Request.onComplete [as _callback] (/root/nodejitsu/node_modules/conservatory-api/lib/client/client.js:161:7)\n at Request.init.self.callback (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:127:22)',
debug: errors:
debug: [ { message: 'Application failed to start',
debug: stack: 'Error: Application failed to start\n at ChannelStream.exports.start (/root/nodejitsu/node_modules/nodejitsu-drone/lib/nodejitsu-drone/drone.js:69:31)\n at ChannelStream.EventEmitter.emit [as _emit] (events.js:96:17)\n at ChannelStream.emit (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Channel.js:547:12)\n at Parser.<anonymous> (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Channel.js:134:22)\n at Parser.EventEmitter.emit (events.js:96:17)\n at Parser.parseChRequest (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:360:10)\n at Parser.parsePacket (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:597:12)\n at Parser.execute (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:221:14)\n at Socket.Connection.connect._sock.once.err.level (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Connection.js:1332:18)',
debug: name: 'Error',
debug: solenoid: 'info: Running start for app.\ninfo: Cleaning /opt/run\ninfo: Fetching application snapshot...\ninfo: Application snapshot fetched.\ninfo: Unpacking snapshot...\ninfo: Reading `package.json`...\nDetermining node engine...v0.8.25\ninfo: Starting application...\ninfo: Spawn: start --min-uptime 2000 -o /opt/run/forza.log -- forza -h 72.2.115.35:8556 -h 72.2.115.133:8556 -h 72.2.115.112:8556 -h 72.2.115.136:8556 -h 72.2.115.155:8556 --start-log /opt/run/start.log --app-user mainsocial --app-name thelist -- /opt/engines/node/v0.8.25/bin/node node_modules/hoodie-app/bin/start\ninfo: `aeternum` pid: 12516\ninfo: Writing pidfile: /root/app.pid\ninfo: Tailing forza log: /opt/run/start.log\ninfo: Success:start\n',
debug: output: 'Initializing...\nUsing remote CouchDB: http://nodejitsudb8600190475.iriscouch.com:5984\nWaiting for CouchDB...\n',
debug: blame: 'application' } ] } }
error: Error running command apps start
error: Errors occured while starting the application
error: Error output from application. This is usually a user error.
error: Initializing...
error: Using remote CouchDB: http://nodejitsudb8600190475.iriscouch.com:5984
error: Waiting for CouchDB...
error:
error: Error starting application. This could be a user error.
error: info: Running start for app.
error: info: Cleaning /opt/run
error: info: Fetching application snapshot...
error: info: Application snapshot fetched.
error: info: Unpacking snapshot...
error: info: Reading `package.json`...
error: Determining node engine...v0.8.25
error: info: Starting application...
error: info: Spawn: start --min-uptime 2000 -o /opt/run/forza.log -- forza -h 72.2.115.35:8556 -h 72.2.115.133:8556 -h 72.2.115.112:8556 -h 72.2.115.136:8556 -h 72.2.115.155:8556 --start-log /opt/run/start.log --app-user mainsocial --app-name thelist -- /opt/engines/node/v0.8.25/bin/node node_modules/hoodie-app/bin/start
error: info: `aeternum` pid: 12516
error: info: Writing pidfile: /root/app.pid
error: info: Tailing forza log: /opt/run/start.log
error: info: Success:start
error:
~/mainsocial/littleoftenmagic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment