Skip to content

Instantly share code, notes, and snippets.

@kevmo
Created September 12, 2013 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevmo/6532611 to your computer and use it in GitHub Desktop.
Save kevmo/6532611 to your computer and use it in GitHub Desktop.
Khaaaaan! Status Code 500. No servers available.
~/Desktop/spreadit: jitsu deploy --debug
info: Welcome to Nodejitsu kevmo
info: jitsu v0.13.2, node v0.10.15
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in make start
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: rejectUnauthorized: false }
debug: { statusCode: 404,
debug: result:
debug: { error: 'not_found',
debug: reason: 'deleted',
debug: status: 404 } }
info: Checking app availability mean
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean/available',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: rejectUnauthorized: false,
debug: body: '{"name":"mean","description":"Mongo","version":"1.0.0-5","private":false,"author":"MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support).","engines":{"node":"0.10.x","npm":"1.2.x"},"scripts":{"start":"make start","test":"make test","postinstall":"node_modules/bower/bin/bower install"},"dependencies":{"express":"latest","jade":"latest","mongoose":"latest","connect-mongo":"latest","connect-flash":"latest","passport":"latest","passport-local":"latest","passport-reddit":"latest","passport-facebook":"latest","passport-twitter":"latest","passport-github":"latest","passport-google-oauth":"latest","underscore":"latest","async":"latest","view-helpers":"latest","mean-logger":"latest","bower":"latest","forever":"latest","foreman":"0.0.25"},"devDependencies":{"supertest":"latest","should":"latest","mocha":"latest","web-mocha":"0.0.10","grunt":"~0.4.1","grunt-contrib-compass":"~0.3.0","grunt-contrib-watch":"~0.4.4","grunt-contrib-jshint":"~0.6.0","grunt-nodemon":"0.0.8","grunt-concurrent":"~0.3.0"},"subdomain":"spreadit","analyzed":true,"state":"stopped"}' }
debug: { statusCode: 200,
debug: result: { available: true, subdomain: true } }
info: Creating app mean
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: rejectUnauthorized: false,
debug: body: '{"name":"mean","description":"Mongo","version":"1.0.0-5","private":false,"author":"MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support).","engines":{"node":"0.10.x","npm":"1.2.x"},"scripts":{"start":"make start","test":"make test","postinstall":"node_modules/bower/bin/bower install"},"dependencies":{"express":"latest","jade":"latest","mongoose":"latest","connect-mongo":"latest","connect-flash":"latest","passport":"latest","passport-local":"latest","passport-reddit":"latest","passport-facebook":"latest","passport-twitter":"latest","passport-github":"latest","passport-google-oauth":"latest","underscore":"latest","async":"latest","view-helpers":"latest","mean-logger":"latest","bower":"latest","forever":"latest","foreman":"0.0.25"},"devDependencies":{"supertest":"latest","should":"latest","mocha":"latest","web-mocha":"0.0.10","grunt":"~0.4.1","grunt-contrib-compass":"~0.3.0","grunt-contrib-watch":"~0.4.4","grunt-contrib-jshint":"~0.6.0","grunt-nodemon":"0.0.8","grunt-concurrent":"~0.3.0"},"subdomain":"spreadit","analyzed":true,"state":"stopped"}' }
debug: { statusCode: 201, result: undefined }
info: Creating snapshot 1.0.0-5
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean/snapshots/1.0.0-5',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/octet-stream',
debug: 'Content-Length': 259953 },
debug: timeout: 240000,
debug: rejectUnauthorized: false }
info Uploading: [=============================] 100%
debug: { statusCode: 201,
debug: result:
debug: { snapshot:
debug: { id: '1.0.0-5',
debug: md5: '5138c5eeeda4908ad533527c5fe13889',
debug: filename: 'kevmo-mean-1.0.0-5.tgz',
debug: ctime: 1378954477752 } } }
info: Updating app mean
debug: { method: 'PUT',
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: rejectUnauthorized: false,
debug: body: '{"name":"mean","description":"Mongo","version":"1.0.0-5","private":false,"author":"MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support).","engines":{"node":"0.10.x","npm":"1.2.x"},"scripts":{"start":"make start","test":"make test","postinstall":"node_modules/bower/bin/bower install"},"dependencies":{"express":"latest","jade":"latest","mongoose":"latest","connect-mongo":"latest","connect-flash":"latest","passport":"latest","passport-local":"latest","passport-reddit":"latest","passport-facebook":"latest","passport-twitter":"latest","passport-github":"latest","passport-google-oauth":"latest","underscore":"latest","async":"latest","view-helpers":"latest","mean-logger":"latest","bower":"latest","forever":"latest","foreman":"0.0.25"},"devDependencies":{"supertest":"latest","should":"latest","mocha":"latest","web-mocha":"0.0.10","grunt":"~0.4.1","grunt-contrib-compass":"~0.3.0","grunt-contrib-watch":"~0.4.4","grunt-contrib-jshint":"~0.6.0","grunt-nodemon":"0.0.8","grunt-concurrent":"~0.3.0"},"subdomain":"spreadit","analyzed":true,"state":"stopped"}' }
debug: { statusCode: 204, result: undefined }
info: Activating snapshot 1.0.0-5 for mean
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean/snapshots/1.0.0-5/activate',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: rejectUnauthorized: false,
debug: body: '{}' }
debug: { statusCode: 200,
debug: result:
debug: { active:
debug: { id: '1.0.0-5',
debug: md5: '5138c5eeeda4908ad533527c5fe13889',
debug: filename: 'kevmo-mean-1.0.0-5.tgz',
debug: ctime: 1378954477752,
debug: active: false,
debug: running: false } } }
info: Starting app mean
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/endpoints',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
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/kevmo/mean/cloud',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: rejectUnauthorized: false }
debug: { statusCode: 200,
debug: result:
debug: [ { datacenter: 'us-east-1',
debug: provider: 'joyent',
debug: drones: 0,
debug: ram: 256 } ] }
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean/start',
debug: headers:
debug: { Authorization: '*************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
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 checkFree (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:655:14)\n at AppController._provision (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:309:14)\n at Servers.provision (/root/nodejitsu/node_modules/conservatory-api/lib/client/servers.js:58: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)\n at Request.EventEmitter.emit (events.js:99:17)\n at Request.<anonymous> (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:767:16)\n at Request.EventEmitter.emit (events.js:126:20)\n at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:729:14)',
debug: errors:
debug: [ { message: 'No servers available',
debug: stack: 'Error: No servers available\n at checkFree (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:655:23)\n at AppController._provision (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:309:14)\n at Servers.provision (/root/nodejitsu/node_modules/conservatory-api/lib/client/servers.js:58: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)\n at Request.EventEmitter.emit (events.js:99:17)\n at Request.<anonymous> (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:767:16)\n at Request.EventEmitter.emit (events.js:126:20)\n at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:729:14)\n at IncomingMessage.EventEmitter.emit (events.js:126:20)' } ] } }
error: Error running command deploy
error: Errors occured while starting the application
error: Error returned from Nodejitsu:
error: Error: No servers available
error: at checkFree (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:655:23)
error: at AppController._provision (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:309:14)
error: at Servers.provision (/root/nodejitsu/node_modules/conservatory-api/lib/client/servers.js:58:5)
error: at Request.onComplete [as _callback] (/root/nodejitsu/node_modules/conservatory-api/lib/client/client.js:161:7)
error: at Request.init.self.callback (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:127:22)
error: at Request.EventEmitter.emit (events.js:99:17)
error: at Request.<anonymous> (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:767:16)
error: at Request.EventEmitter.emit (events.js:126:20)
error: at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/nodejitsu/node_modules/conservatory-api/node_modules/request/main.js:729:14)
error: at IncomingMessage.EventEmitter.emit (events.js:126:20)
~/Desktop/spreadit:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment