Skip to content

Instantly share code, notes, and snippets.

/kartast deploy problem Secret
Created Mar 20, 2013

Embed
What would you like to do?
kartast deploy problem
info: Welcome to Nodejitsu karta
info: jitsu v0.12.6-1, node v0.8.16
info: It worked if it ends with Nodejitsu ok
info: Executing command apps list
info: Listing all apps for karta
data: name state subdomain drones running snapshot
data: application-name unknown kartast.server2 0/1 ---
data: emoji-server unknown kartast 0/1 ---
data: nodejitsu stopped karta.nodejitsu 0/1 karta-nodejitsu-0.0.1.tgz
info: Nodejitsu ok
╭─karta022@kartas-MacBook-Air-2 ~/github/emoji/emoji-server ‹master*›
╰─$ jitsu apps
info: Welcome to Nodejitsu karta
info: jitsu v0.12.6-1, node v0.8.16
info: It worked if it ends with Nodejitsu ok
info: Executing command apps
help: The `jitsu apps` command manages
help: Applications on Nodejitsu. Valid commands are:
help:
help: jitsu apps deploy
help: jitsu apps list
help: jitsu apps create
help: jitsu apps cloud [<name>]
help: jitsu apps view [<name>]
help: jitsu apps update [<name>]
help: jitsu apps destroy [<name>]
help: jitsu apps start [<name>]
help: jitsu apps restart [<name>]
help: jitsu apps stop [<name>]
help: jitsu apps setdrones [<name>] <number>
help:
help: For commands that take a <name> parameter, if no parameter
help: is supplied, jitsu will attempt to read the package.json
help: from the current directory.
help:
help: Options:
help: --colors --no-colors will disable output coloring [boolean] [default: true]
help: --noanalyze skip require-analyzer: do not attempt to dynamically detect dependencies [boolean]
help: --version, -v print jitsu version and exit [string]
help: --jitsuconf, -j specify file to load configuration from [string]
help: --confirm, -c prevents jitsu from asking before overwriting/removing things [boolean] [default: false]
help: --localconf search for .jitsuconf file in ./ and then parent directories [string]
help: --release, -r specify release version number or semantic increment (build, patch, minor, major) [string]
help: --raw jitsu will only output line-delimited raw JSON (useful for piping) [boolean]
info: Nodejitsu ok
╭─karta022@kartas-MacBook-Air-2 ~/github/emoji/emoji-server ‹master*›
╰─$ jitsu apps cloud
info: Welcome to Nodejitsu karta
info: jitsu v0.12.6-1, node v0.8.16
info: It worked if it ends with Nodejitsu ok
info: Executing command apps cloud
info: Fetching app emoji-server
error: Error: The app emoji-server don't have any cloud config.
error: You need deploy your app before get any cloud config.
╭─karta022@kartas-MacBook-Air-2 ~/github/emoji/emoji-server ‹master*›
╰─$ jitsu deploy --debug 1 ↵
info: Welcome to Nodejitsu karta
info: jitsu v0.12.6-1, node v0.8.16
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in app.js
WARN unmet dependency /Users/karta022/github/emoji/emoji-server/node_modules/express-validator requires validator@'0.4.25' but will load
WARN unmet dependency /Users/karta022/github/emoji/emoji-server/node_modules/validator,
WARN unmet dependency which is version 0.4.19
WARN unmet dependency /Users/karta022/github/emoji/emoji-server/node_modules/winston requires async@'0.1.x' but will load
WARN unmet dependency /Users/karta022/github/emoji/emoji-server/node_modules/async,
WARN unmet dependency which is version 0.2.6
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/karta/emoji-server',
debug: headers:
debug: { Authorization: '*************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: { app:
debug: { _id: 'karta/emoji-server',
debug: name: 'emoji-server',
debug: scripts:
debug: { start: 'app.js',
debug: test: 'vows test/*-test.js' },
debug: user: 'karta',
debug: subdomain: 'kartast',
debug: snapshots:
debug: [ { id: '0.0.1-21',
debug: md5: '4ae9d5d0a2d20f2f8410ef7ce74b542d',
debug: filename: 'karta-emoji-server-0.0.1-21.tgz',
debug: ctime: 1363763982894 } ],
debug: env:
debug: { SUBDOMAIN: 'kartast',
debug: NODE_ENV: 'production' },
debug: domains: [],
debug: databases: {},
debug: config: {},
debug: maxDrones: 1,
debug: drones: 0,
debug: ctime: 1363763958958,
debug: mtime: 1363763985547,
debug: resource: 'App',
debug: _rev: '4-44945dc3ca111cfd2d973409efdf6d81',
debug: version: '0.0.1-21',
debug: dependencies:
debug: { express: '2.5.8',
debug: jade: '>= 0.0.1',
debug: mongodb: '>= 0.9.6-7',
debug: mongoose: '>= 2.5.10',
debug: everyauth: '>=0.2.32',
debug: fb: '>= 0.0.9',
debug: 'express-validator': 'latest',
debug: cansecurity: '0.4.5',
debug: async: 'latest',
debug: 'express-winston': 'latest',
debug: winston: 'latest',
debug: 'api-easy': '0.2.x',
debug: underscore: '>=1.4.4',
debug: apn: '>=1.2.5',
debug: cron: '>=1.0.1',
debug: time: '*' },
debug: engines: { node: '>= 0.6.14', npm: '1.0.x' },
debug: id: 'emoji-server',
debug: active:
debug: { id: '0.0.1-21',
debug: md5: '4ae9d5d0a2d20f2f8410ef7ce74b542d',
debug: filename: 'karta-emoji-server-0.0.1-21.tgz',
debug: ctime: 1363763982894,
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 /Users/karta022/github/emoji/emoji-server/package.json
warn: Using '*' as a version for dependencies may eventually cause issues
warn: Use specific versions for dependencies to avoid future problems
warn: See: http://package.json.jit.su for more information
data:
data: {
data: private: true,
data: dependencies: {
data: jade: '>= 0.0.1',
data: everyauth: '>=0.2.32',
data: apn: '>=1.2.5',
data: cron: '>=1.0.1',
data: mongodb: '>= 0.9.6-7',
data: mongoose: '>= 2.5.10',
data: underscore: '>=1.4.4',
data: cansecurity: '0.4.5',
data: express: '2.5.8',
data: express-validator: 'latest',
data: async: 'latest',
data: express-winston: 'latest',
data: winston: 'latest',
data: time: '*',
data: api-easy: '0.2.x',
data: fb: '>= 0.0.9'
data: },
data: name: 'emoji-server',
data: version: '0.0.1-22',
data: engines: { node: '>= 0.6.14', npm: '1.0.x' },
data: scripts: { start: 'app.js', test: 'vows test/*-test.js' },
data: subdomain: 'kartast'
data: }
data:
prompt: Is this ok?: (yes) yes
info: Creating snapshot 0.0.1-22
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/karta/emoji-server/snapshots/0.0.1-22',
debug: headers:
debug: { Authorization: '*************************',
debug: 'Content-Type': 'application/octet-stream',
debug: 'Content-Length': 262041 },
debug: timeout: 240000 }
info Uploading: [=============================] 100%
debug: { statusCode: 201,
debug: result:
debug: { snapshot:
debug: { id: '0.0.1-22',
debug: md5: '1c4cf3b9d826c443a4d40f08843db5d4',
debug: filename: 'karta-emoji-server-0.0.1-22.tgz',
debug: ctime: 1363765538195 } } }
info: Updating app emoji-server
debug: { method: 'PUT',
debug: uri: 'https://api.nodejitsu.com/apps/karta/emoji-server',
debug: headers:
debug: { Authorization: '*************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{"name":"emoji-server","version":"0.0.1-22","private":true,"dependencies":{"express":"2.5.8","jade":">= 0.0.1","mongodb":">= 0.9.6-7","mongoose":">= 2.5.10","everyauth":">=0.2.32","fb":">= 0.0.9","express-validator":"latest","cansecurity":"0.4.5","async":"latest","express-winston":"latest","winston":"latest","api-easy":"0.2.x","underscore":">=1.4.4","apn":">=1.2.5","cron":">=1.0.1","time":"*"},"engines":{"node":">= 0.6.14","npm":"1.0.x"},"subdomain":"kartast","scripts":{"start":"app.js","test":"vows test/*-test.js"}}' }
debug: { statusCode: 204, result: undefined }
info: Activating snapshot 0.0.1-22 for emoji-server
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/karta/emoji-server/snapshots/0.0.1-22/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.1-22',
debug: md5: '1c4cf3b9d826c443a4d40f08843db5d4',
debug: filename: 'karta-emoji-server-0.0.1-22.tgz',
debug: ctime: 1363765538195,
debug: active: false,
debug: running: false } } }
info: Starting app emoji-server
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: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/karta/emoji-server/cloud',
debug: headers:
debug: { Authorization: '*************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: [ { provider: 'joyent',
debug: datacenter: 'us-east-1',
debug: drones: 0 } ] }
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/karta/emoji-server/start',
debug: headers:
debug: { Authorization: '*************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{}' }
debug: { statusCode: 400,
debug: result:
debug: { message: 'Unspecified error',
debug: stack: 'Error: No active subscriptions available.\n at Object.module.exports.billing.findAvailable (/root/nodejitsu/lib/nodejitsu/billing/billing.js:287:23)\n at fn (/root/nodejitsu/lib/nodejitsu/billing/billing.js:187:24)\n at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:184:13)\n at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:90:9)\n at /root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:78:20\n at exports.resource.app.resources.User.app.define.after.method (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/user/core.js:82:9)\n at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:76:9)\n at Function.Resource.runAfterHooks (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:92:7)\n at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:179:14)\n at Object.Couchdb.get [as callback] (/root/nodejitsu/node_modules/resourceful/lib/resourceful/engines/couchdb/index.js:61:9)',
debug: name: 'Error',
debug: code: 400,
debug: description: 'No active subscriptions available.',
debug: stacktrace:
debug: [ 'Error: No active subscriptions available.',
debug: ' at Object.module.exports.billing.findAvailable (/root/nodejitsu/lib/nodejitsu/billing/billing.js:287:23)',
debug: ' at fn (/root/nodejitsu/lib/nodejitsu/billing/billing.js:187:24)',
debug: ' at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:184:13)',
debug: ' at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:90:9)',
debug: ' at /root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:78:20',
debug: ' at exports.resource.app.resources.User.app.define.after.method (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/user/core.js:82:9)',
debug: ' at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:76:9)',
debug: ' at Function.Resource.runAfterHooks (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:92:7)',
debug: ' at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:179:14)',
debug: ' at Object.Couchdb.get [as callback] (/root/nodejitsu/node_modules/resourceful/lib/resourceful/engines/couchdb/index.js:61:9)' ] } }
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.