Skip to content

Instantly share code, notes, and snippets.

@skeggse skeggse/log Secret
Last active Dec 14, 2015

Embed
What would you like to do?
Jitsu Deploy 500 Error
info: Welcome to Nodejitsu distilledchaos
info: jitsu v0.12.3, node v0.8.18
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node ./app.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/distilledchaos/flow-2013',
debug: headers:
debug: { Authorization: '*************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: { app:
debug: { _id: 'distilledchaos/flow-2013',
debug: name: 'flow-2013',
debug: scripts: { start: 'node ./app.js' },
debug: user: 'distilledchaos',
debug: subdomain: '1540spying',
debug: snapshots:
debug: [ { id: '0.0.1',
debug: md5: 'e03887f0009eab732a73fbf06c1dfb94',
debug: filename: 'distilledchaos-flow-2013-0.0.1.tgz',
debug: ctime: 1357702460676 },
debug: { id: '0.0.1-1',
debug: md5: 'bac7e24057b69a8d82aca9fd4c76310d',
debug: filename: 'distilledchaos-flow-2013-0.0.1-1.tgz',
debug: ctime: 1357703182857 },
debug: { id: '0.0.1-2',
debug: md5: '32028d00df5865b166aa0cbe7d2dee75',
debug: filename: 'distilledchaos-flow-2013-0.0.1-2.tgz',
debug: ctime: 1357703302622 },
debug: { id: '0.0.1-3',
debug: md5: '29bea2b2480fa0f431067a3da7c26b06',
debug: filename: 'distilledchaos-flow-2013-0.0.1-3.tgz',
debug: ctime: 1357703704177 },
debug: { id: '0.0.1-4',
debug: md5: '6aef451d8fc8b3eb705fa9b59d8f60d8',
debug: filename: 'distilledchaos-flow-2013-0.0.1-4.tgz',
debug: ctime: 1357705347787 },
debug: { id: '0.0.1-5',
debug: md5: '439695df7f2a17b7e556abba2553ed3d',
debug: filename: 'distilledchaos-flow-2013-0.0.1-5.tgz',
debug: ctime: 1357705436748 },
debug: { id: '0.0.1-6',
debug: md5: 'c1ba268deeeb6b47fde1a6a93a1608b4',
debug: filename: 'distilledchaos-flow-2013-0.0.1-6.tgz',
debug: ctime: 1357705744578 },
debug: { id: '0.0.1-7',
debug: md5: 'c6e63441761e3a9d3084142426a5f0a3',
debug: filename: 'distilledchaos-flow-2013-0.0.1-7.tgz',
debug: ctime: 1357705899119 },
debug: { id: '0.0.1-8',
debug: md5: '1038e9da315d04290a3b544ba9d509a1',
debug: filename: 'distilledchaos-flow-2013-0.0.1-8.tgz',
debug: ctime: 1357706091809 },
debug: { id: '0.0.1-9',
debug: md5: '150f58bd676530dcdefdeb1afbfbed0c',
debug: filename: 'distilledchaos-flow-2013-0.0.1-9.tgz',
debug: ctime: 1357706208071 },
debug: { id: '0.0.2',
debug: md5: 'dcae0c8f902b0733e541a35fc19038b4',
debug: filename: 'distilledchaos-flow-2013-0.0.2.tgz',
debug: ctime: 1360439539475 },
debug: { id: '0.0.2-1',
debug: md5: '163239808909d2f59d18576792838121',
debug: filename: 'distilledchaos-flow-2013-0.0.2-1.tgz',
debug: ctime: 1360449494412 },
debug: { id: '0.0.2-2',
debug: md5: 'ea44733aaa95821150a1cfe484225e2f',
debug: filename: 'distilledchaos-flow-2013-0.0.2-2.tgz',
debug: ctime: 1360449572154 },
debug: { id: '0.0.2-3',
debug: md5: '8c52ef638f1c623ed8ccd52fb822df76',
debug: filename: 'distilledchaos-flow-2013-0.0.2-3.tgz',
debug: ctime: 1360454914757 },
debug: { id: '0.0.2-4',
debug: md5: '8d9a32a3fcfd9f4f5928b44abfc95545',
debug: filename: 'distilledchaos-flow-2013-0.0.2-4.tgz',
debug: ctime: 1360455042930 },
debug: { id: '0.0.2-5',
debug: md5: 'cf010fe5b5a63197112796a3f3c2e577',
debug: filename: 'distilledchaos-flow-2013-0.0.2-5.tgz',
debug: ctime: 1360455177887 },
debug: { id: '0.0.2-6',
debug: md5: '6293ff2bc5cab93441ca9f83e154faa5',
debug: filename: 'distilledchaos-flow-2013-0.0.2-6.tgz',
debug: ctime: 1360455218735 },
debug: { id: '0.0.2-7',
debug: md5: 'bb9c4e1d227de0c1f6418078bc4aa8f7',
debug: filename: 'distilledchaos-flow-2013-0.0.2-7.tgz',
debug: ctime: 1360455342728 },
debug: { id: '0.0.3',
debug: md5: 'e7edfe20b8806ccd6eb247f5df15f2ca',
debug: filename: 'distilledchaos-flow-2013-0.0.3.tgz',
debug: ctime: 1361142141021 },
debug: { id: '0.0.3-1',
debug: md5: '16ded246fc50eef2e6e21fb1dac3ad21',
debug: filename: 'distilledchaos-flow-2013-0.0.3-1.tgz',
debug: ctime: 1361326437329 },
debug: { id: '0.0.3-2',
debug: md5: 'e258fd7225e7dc291a259e0474d8e30f',
debug: filename: 'distilledchaos-flow-2013-0.0.3-2.tgz',
debug: ctime: 1361326977155 },
debug: { id: '0.0.3-3',
debug: md5: '43a4071bb45c538ed34e52b5843b770b',
debug: filename: 'distilledchaos-flow-2013-0.0.3-3.tgz',
debug: ctime: 1361327280786 },
debug: { id: '0.0.3-4',
debug: md5: 'b259164dd91989664c0e251aecf80e35',
debug: filename: 'distilledchaos-flow-2013-0.0.3-4.tgz',
debug: ctime: 1361386492521 },
debug: { id: '0.0.3-5',
debug: md5: '832b3f08a8bd7661517e00076682af9a',
debug: filename: 'distilledchaos-flow-2013-0.0.3-5.tgz',
debug: ctime: 1362082384227 },
debug: { id: '0.0.4',
debug: md5: 'a3dec307925b257e5eb56bbc326555fd',
debug: filename: 'distilledchaos-flow-2013-0.0.4.tgz',
debug: ctime: 1362553817051 },
debug: { id: '0.0.4-1',
debug: md5: '8b07ffea8157cde2808341dc91481ebd',
debug: filename: 'distilledchaos-flow-2013-0.0.4-1.tgz',
debug: ctime: 1362554215244 },
debug: { id: '0.0.4-2',
debug: md5: 'e06c44a111d9818e35b9e26f08e9acc5',
debug: filename: 'distilledchaos-flow-2013-0.0.4-2.tgz',
debug: ctime: 1362554701396 },
debug: { id: '0.0.4-3',
debug: md5: 'd8a0fef0256263e1abd8b9aeb68d5d26',
debug: filename: 'distilledchaos-flow-2013-0.0.4-3.tgz',
debug: ctime: 1362554906190 },
debug: { id: '0.0.4-4',
debug: md5: '57e35d5e2746759d7f10461ae179a9b1',
debug: filename: 'distilledchaos-flow-2013-0.0.4-4.tgz',
debug: ctime: 1362593089119 },
debug: { id: '0.0.4-5',
debug: md5: '98265c4dc73bd43c8bbe90b62d29a55c',
debug: filename: 'distilledchaos-flow-2013-0.0.4-5.tgz',
debug: ctime: 1362593220127 },
debug: { id: '0.0.4-6',
debug: md5: 'de30ae085b34e0d41e1f4933b9a70ede',
debug: filename: 'distilledchaos-flow-2013-0.0.4-6.tgz',
debug: ctime: 1362603071379 },
debug: { id: '0.0.4-7',
debug: md5: '7a808cdc014c8f23f2914cd356acc079',
debug: filename: 'distilledchaos-flow-2013-0.0.4-7.tgz',
debug: ctime: 1362627442733 },
debug: { id: '0.0.4-8',
debug: md5: 'e7d3dabc7b655e68fe3e98145524f250',
debug: filename: 'distilledchaos-flow-2013-0.0.4-8.tgz',
debug: ctime: 1362627555570 },
debug: { id: '0.0.4-9',
debug: md5: '09868ebb40b1cf3d038f3e4a70a2e12f',
debug: filename: 'distilledchaos-flow-2013-0.0.4-9.tgz',
debug: ctime: 1362627726477 },
debug: { id: '0.0.4-10',
debug: md5: '01efc7db8534d422f990f27c36a5bb96',
debug: filename: 'distilledchaos-flow-2013-0.0.4-10.tgz',
debug: ctime: 1362628312185 },
debug: { id: '0.0.4-11',
debug: md5: '618c65cbc2dbbe6ada91102b0e8c4dea',
debug: filename: 'distilledchaos-flow-2013-0.0.4-11.tgz',
debug: ctime: 1362629184466 },
debug: { id: '0.0.4-12',
debug: md5: '26ad0e550173fa9f996e23b3a8a64edb',
debug: filename: 'distilledchaos-flow-2013-0.0.4-12.tgz',
debug: ctime: 1362629313496 },
debug: { id: '0.0.4-13',
debug: md5: '84acc1f55e788cbae300a94a5c5e25fb',
debug: filename: 'distilledchaos-flow-2013-0.0.4-13.tgz',
debug: ctime: 1362629468977 },
debug: { id: '0.0.4-14',
debug: md5: 'a2e01014f4612a531c2d4b5aa0a90879',
debug: filename: 'distilledchaos-flow-2013-0.0.4-14.tgz',
debug: ctime: 1362630164530 } ],
debug: env:
debug: { SUBDOMAIN: '1540spying',
debug: NODE_ENV: 'production' },
debug: domains: [],
debug: databases: {},
debug: config:
debug: { cloud:
debug: [ { drones: 1,
debug: provider: 'joyent',
debug: datacenter: 'us-east-1',
debug: ram: 256 } ] },
debug: state: 'started',
debug: maxDrones: 1,
debug: drones: 1,
debug: ctime: 1357702436627,
debug: mtime: 1362630165739,
debug: resource: 'App',
debug: _rev: '176-1f9be44971e2312782340085bc8b3657',
debug: version: '0.0.4-14',
debug: dependencies:
debug: { express: '3.0.x',
debug: jade: '0.27.x',
debug: stylus: '0.31.x',
debug: nib: '0.9.x',
debug: 'socket.io': '0.9.x',
debug: underscore: '1.4.x',
debug: mongodb: '1.2.x',
debug: 'connect-mongo': '0.3.x',
debug: colors: '0.6.x',
debug: 'shell-quote': '0.0.x',
debug: 'ya-csv': '0.9.x',
debug: twit: '1.1.x',
debug: mkdirp: '0.3.5',
debug: passport: '0.1.x',
debug: 'passport-google': '0.3.x',
debug: marked: '0.2.x' },
debug: engines: { node: '0.8.x' },
debug: id: 'flow-2013',
debug: active:
debug: { id: '0.0.4-14',
debug: md5: 'a2e01014f4612a531c2d4b5aa0a90879',
debug: filename: 'distilledchaos-flow-2013-0.0.4-14.tgz',
debug: ctime: 1362630164530,
debug: active: false,
debug: running: false },
debug: subscriptionId: 2627266,
debug: last:
debug: { id: '0.0.4-12',
debug: md5: '26ad0e550173fa9f996e23b3a8a64edb',
debug: filename: 'distilledchaos-flow-2013-0.0.4-12.tgz',
debug: ctime: 1362629313496,
debug: active: false,
debug: running: false },
debug: running:
debug: { id: '0.0.4-13',
debug: md5: '84acc1f55e788cbae300a94a5c5e25fb',
debug: filename: 'distilledchaos-flow-2013-0.0.4-13.tgz',
debug: ctime: 1362629468977,
debug: active: false,
debug: running: false } } } }
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /home/skeggse/repos/flow-2013/package.json
data:
data: {
data: name: 'flow-2013',
data: scripts: { start: 'node ./app.js' },
data: engines: { node: '0.8.x' },
data: version: '0.0.4-15',
data: private: true,
data: dependencies: {
data: passport-google: '0.3.x',
data: express: '3.0.x',
data: ya-csv: '0.9.x',
data: mkdirp: '0.3.5',
data: passport: '0.1.x',
data: shell-quote: '0.0.x',
data: marked: '0.2.x',
data: connect-mongo: '0.3.x',
data: jade: '0.27.x',
data: stylus: '0.31.x',
data: underscore: '1.4.x',
data: colors: '0.6.x',
data: twit: '1.1.x',
data: socket.io: '0.9.x',
data: nib: '0.9.x',
data: mongodb: '1.2.x'
data: },
data: subdomain: '1540spying'
data: }
data:
prompt: Is this ok?: (yes)
info: Creating snapshot 0.0.4-15
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/distilledchaos/flow-2013/snapshots/0.0.4-15',
debug: headers:
debug: { Authorization: '*************************************************',
debug: 'Content-Type': 'application/octet-stream',
debug: 'Content-Length': 86502 },
debug: timeout: 240000 }
info Uploading: [=============================] 100%
debug: { statusCode: 201,
debug: result:
debug: { snapshot:
debug: { id: '0.0.4-15',
debug: md5: '8972efac9d9b1bd31361fbf62268c145',
debug: filename: 'distilledchaos-flow-2013-0.0.4-15.tgz',
debug: ctime: 1362630300633 } } }
info: Updating app flow-2013
debug: { method: 'PUT',
debug: uri: 'https://api.nodejitsu.com/apps/distilledchaos/flow-2013',
debug: headers:
debug: { Authorization: '*************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{"name":"flow-2013","version":"0.0.4-15","private":true,"scripts":{"start":"node ./app.js"},"dependencies":{"express":"3.0.x","jade":"0.27.x","stylus":"0.31.x","nib":"0.9.x","socket.io":"0.9.x","underscore":"1.4.x","mongodb":"1.2.x","connect-mongo":"0.3.x","colors":"0.6.x","shell-quote":"0.0.x","ya-csv":"0.9.x","twit":"1.1.x","mkdirp":"0.3.5","passport":"0.1.x","passport-google":"0.3.x","marked":"0.2.x"},"subdomain":"1540spying","engines":{"node":"0.8.x"}}' }
debug: { statusCode: 204, result: undefined }
info: Activating snapshot 0.0.4-15 for flow-2013
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/distilledchaos/flow-2013/snapshots/0.0.4-15/activate',
debug: headers:
debug: { Authorization: '*************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{}' }
debug: { statusCode: 200,
debug: result:
debug: { active:
debug: { id: '0.0.4-15',
debug: md5: '8972efac9d9b1bd31361fbf62268c145',
debug: filename: 'distilledchaos-flow-2013-0.0.4-15.tgz',
debug: ctime: 1362630300633,
debug: active: false,
debug: running: false } } }
info: Starting app flow-2013
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/endpoints',
debug: headers:
debug: { Authorization: '*************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
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: 'eu-ams-1': 'api.jyt.eu.ams1.nodejitsu.com' },
debug: telefonica:
debug: { 'eu-lon-1': 'api.tf.eu.lon1.nodejitsu.com',
debug: 'eu-mad-1': 'api.tf.eu.mad1.nodejitsu.com' } } } }
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/distilledchaos/flow-2013/start',
debug: headers:
debug: { Authorization: '*************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{}' }
debug: { statusCode: 500,
debug: result:
debug: { message: 'haibu Error (500): Internal Server Error',
debug: stack: 'Error: haibu Error (500): Internal Server Error\n at Request.Client._request [as _callback] (/root/nodejitsu/node_modules/haibu/node_modules/haibu-api/lib/client/client.js:95:15)\n at Request.init.self.callback (/root/nodejitsu/node_modules/haibu/node_modules/request/main.js:119:22)\n at Request.EventEmitter.emit (events.js:99:17)\n at Request.<anonymous> (/root/nodejitsu/node_modules/haibu/node_modules/request/main.js:521:16)\n at Request.EventEmitter.emit (events.js:96:17)\n at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/nodejitsu/node_modules/haibu/node_modules/request/main.js:483:14)\n at IncomingMessage.EventEmitter.emit (events.js:126:20)\n at IncomingMessage._emitEnd (http.js:366:10)\n at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)\n at Socket.socketOnData (http.js:1447:20)',
debug: result:
debug: { error:
debug: { message: 'Error spawning drone',
debug: stack: 'Error: Error spawning drone\n at onExit (/root/haibu-orchestra/node_modules/haibu/lib/haibu/core/spawner.js:374:17)\n at listener (/root/haibu-orchestra/node_modules/haibu/node_modules/forever-monitor/node_modules/broadway/node_modules/eventemitter2/lib/eventemitter2.js:244:10)\n at EventEmitter.emit (/root/haibu-orchestra/node_modules/haibu/node_modules/forever-monitor/node_modules/broadway/node_modules/eventemitter2/lib/eventemitter2.js:332:22)\n at letChildDie (/root/haibu-orchestra/node_modules/haibu/node_modules/forever-monitor/lib/forever-monitor/monitor.js:170:12)\n at ChildProcess.Monitor.start (/root/haibu-orchestra/node_modules/haibu/node_modules/forever-monitor/lib/forever-monitor/monitor.js:184:7)\n at ChildProcess.EventEmitter.emit (events.js:99:17)\n at Process._handle.onexit (child_process.js:678:10)',
debug: blame:
debug: { type: 'user',
debug: message: 'Script prematurely exited' },
debug: stdout: '',
debug: stderr: '/opt/haibu/apps/distilledchaos/flow-2013/package/app.js:784\n } else\n ^\nSyntaxError: Unexpected token }\n at Module._compile (module.js:437:25)\n at Object.Module._extensions..js (module.js:467:10)\n at Module.load (module.js:356:32)\n at Function.Module._load (module.js:312:12)\n at Function.Module.runMain (module.js:492:10)\n at carapace.run (/opt/haibu/carapace-versions/0.8.19/node_modules/haibu-carapace/lib/carapace.js:170:30)\n at process.startup.processNextTick.process._tickCallback (node.js:244:9)',
debug: event: 'error:service' } },
debug: status: '500' } }
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: /opt/haibu/apps/distilledchaos/flow-2013/package/app.js:784
error: } else
error: ^
error: SyntaxError: Unexpected token }
error: at Module._compile (module.js:437:25)
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)
error: at carapace.run (/opt/haibu/carapace-versions/0.8.19/node_modules/haibu-carapace/lib/carapace.js:170:30)
error: at process.startup.processNextTick.process._tickCallback (node.js:244:9)
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
You can’t perform that action at this time.