Skip to content

Instantly share code, notes, and snippets.

@ppcano
Created December 15, 2011 21:22
Show Gist options
  • Save ppcano/1482963 to your computer and use it in GitHub Desktop.
Save ppcano/1482963 to your computer and use it in GitHub Desktop.
jitsu log json
[
true,
true,
{
"stack": "Error: Save package.json cancelled.\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/lib/jitsu/package.js:250:64\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:179:34\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/async/lib/async.js:126:25\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:174:7\n at /Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:232:14\n at ReadStream.data (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/prompt/lib/prompt.js:365:7)\n at ReadStream.emit (events.js:64:17)\n at ReadStream._onReadable (net.js:671:31)\n at IOWatcher.onReadable [as callback] (net.js:177:10)",
"message": "Save package.json cancelled."
},
{
"stack": "Error: Nodejitsu Error (500): Internal Server Error\n at Request._callback (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/client.js:94:15)\n at Request.callback (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/request/main.js:104:22)\n at Request.<anonymous> (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/request/main.js:458:18)\n at Request.emit (events.js:64:17)\n at IncomingMessage.<anonymous> (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/request/main.js:423:16)\n at IncomingMessage.emit (events.js:81:20)\n at HTTPParser.onMessageComplete (http.js:133:23)\n at Socket.ondata (http.js:1213:22)\n at Socket._onReadable (net.js:681:27)\n at IOWatcher.onReadable [as callback] (net.js:177:10)",
"message": "Nodejitsu Error (500): Internal Server Error",
"statusCode": "500",
"result": {
"stack": "Error: Cannot start application with no snapshots\n at /root/nodejitsu/lib/nodejitsu/resources/app/controller/start.js:52:23\n at /root/nodejitsu/lib/nodejitsu/resources/app/controller/show.js:15:5\n at /root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:155:13\n at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:68:9)\n at Function.runAfterHooks (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:70:6)\n at /root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:151:14\n at Object.callback (/root/nodejitsu/node_modules/resourceful/lib/resourceful/engines/couchdb/index.js:56:9)\n at /root/nodejitsu/node_modules/resourceful/node_modules/cradle/lib/cradle.js:320:26\n at IncomingMessage.<anonymous> (/root/nodejitsu/node_modules/resourceful/node_modules/cradle/lib/cradle.js:253:72)\n at IncomingMessage.emit (events.js:81:20)",
"message": "Cannot start application with no snapshots"
}
},
true,
{
"stack": "Error: socket hang up\n at Socket.<anonymous> (http.js:1272:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:829:12)\n at EventEmitter._tickCallback (node.js:126:26)",
"message": "socket hang up"
},
true,
{
"stack": "Error: socket hang up\n at Socket.<anonymous> (http.js:1272:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:829:12)\n at EventEmitter._tickCallback (node.js:126:26)",
"message": "socket hang up"
},
{
"stack": "Error: socket hang up\n at Socket.<anonymous> (http.js:1272:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:829:12)\n at EventEmitter._tickCallback (node.js:126:26)",
"message": "socket hang up"
},
{
"stack": "Error: socket hang up\n at Socket.<anonymous> (http.js:1272:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:829:12)\n at EventEmitter._tickCallback (node.js:126:26)",
"message": "socket hang up"
},
{
"stack": "Error: Nodejitsu Error (500): Internal Server Error\n at Request._callback (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/client.js:94:15)\n at Request.callback (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/request/main.js:104:22)\n at Request.<anonymous> (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/request/main.js:458:18)\n at Request.emit (events.js:64:17)\n at IncomingMessage.<anonymous> (/Users/pepe/.nvm/v0.4.7/lib/node_modules/jitsu/node_modules/request/main.js:423:16)\n at IncomingMessage.emit (events.js:81:20)\n at HTTPParser.onMessageComplete (http.js:133:23)\n at Socket.ondata (http.js:1213:22)\n at Socket._onReadable (net.js:681:27)\n at IOWatcher.onReadable [as callback] (net.js:177:10)",
"message": "Nodejitsu Error (500): Internal Server Error",
"statusCode": "500",
"result": {
"error": "not_found",
"reason": "missing"
}
},
{
"stack": "Error: socket hang up\n at Socket.<anonymous> (http.js:1272:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:829:12)\n at EventEmitter._tickCallback (node.js:126:26)",
"message": "socket hang up"
},
{
"stack": "Error: socket hang up\n at Socket.<anonymous> (http.js:1272:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:829:12)\n at EventEmitter._tickCallback (node.js:126:26)",
"message": "socket hang up"
},
true
]
laptop:playlist-socket$ jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Authenticated as ppcanodehuelva
info: Analyzing your application dependencies in app.js
warn: Local version appears to be old.
warn: Your package.json version will be incremented for you automatically.
warn: About to write /Users/pepe/Git/spotdisco/playlist-socket/package.json
data:
data: {
data: engines: { node: '0.4.7' },
data: devDependencies: {
data: socket.io-client: '0.8.7',
data: mocha: '0.2.0',
data: fixtures: '0.0.2',
data: should: '0.2.1',
data: gleak: '0.1.3'
data: },
data: name: 'playlist-socket',
data: version: '0.0.1-9',
data: author: 'Pepe Cano <https://github.com/ppcano>',
data: private: true,
data: subdomain: 'playlist-socket',
data: dependencies: {
data: underscore: '1.2.0',
data: request: '2.2.5',
data: cfg: '0.0.2',
data: socket.io: '0.8.7'
data: },
data: scripts: { start: 'app.js', test: 'make test' }
data: }
data:
prompt: Is this ok? (yes): yes
warn: Creating new snapshot for version 0.0.1-9
info: Done creating snapshot 0.0.1-9
info: Updating application playlist-socket
info: Activating snapshot 0.0.1-9 for playlist-socket
info: Stopping app ppcanodehuelva/playlist-socket
info: App ppcanodehuelva/playlist-socket is now stopped
info: Starting app ppcanodehuelva/playlist-socket
help:
help: Usage:
help:
help: Deploys an application using the following steps:
help:
help: 1. Creates the application (if necessary)
help: 2. Creates or validates the package.json
help: 3. Packages and creates a new snapshot
help: 4. Stops the application (if neccessary)
help: 5. Starts the application
help:
help: jitsu deploy
help: jitsu apps deploy
help:
error: Error running command deploy
error: socket hang up
info: Nodejitsu not ok
laptop:playlist-socket$ jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Authenticated as ppcanodehuelva
info: Analyzing your application dependencies in app.js
warn: Local version appears to be old.
warn: Your package.json version will be incremented for you automatically.
warn: About to write /Users/pepe/Git/spotdisco/playlist-socket/package.json
data:
data: {
data: engines: { node: '0.4.7' },
data: devDependencies: {
data: socket.io-client: '0.8.7',
data: mocha: '0.2.0',
data: fixtures: '0.0.2',
data: should: '0.2.1',
data: gleak: '0.1.3'
data: },
data: name: 'playlist-socket',
data: version: '0.0.1-10',
data: author: 'Pepe Cano <https://github.com/ppcano>',
data: private: true,
data: subdomain: 'playlist-socket',
data: dependencies: {
data: underscore: '1.2.0',
data: request: '2.2.5',
data: cfg: '0.0.2',
data: socket.io: '0.8.7'
data: },
data: scripts: { start: 'app.js', test: 'make test' }
data: }
data:
prompt: Is this ok? (yes): no
help:
help: Usage:
help:
help: Deploys an application using the following steps:
help:
help: 1. Creates the application (if necessary)
help: 2. Creates or validates the package.json
help: 3. Packages and creates a new snapshot
help: 4. Stops the application (if neccessary)
help: 5. Starts the application
help:
help: jitsu deploy
help: jitsu apps deploy
help:
error: Error running command deploy
error: Save package.json cancelled.
info: Nodejitsu not ok
laptop:playlist-socket$ jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Authenticated as ppcanodehuelva
info: Analyzing your application dependencies in app.js
warn: Local version appears to be old.
warn: Your package.json version will be incremented for you automatically.
warn: About to write /Users/pepe/Git/spotdisco/playlist-socket/package.json
data:
data: {
data: engines: { node: '0.4.7' },
data: devDependencies: {
data: socket.io-client: '0.8.7',
data: mocha: '0.2.0',
data: fixtures: '0.0.2',
data: should: '0.2.1',
data: gleak: '0.1.3'
data: },
data: name: 'playlist-socket',
data: version: '0.0.1-10',
data: author: 'Pepe Cano <https://github.com/ppcano>',
data: private: true,
data: subdomain: 'playlist-socket',
data: dependencies: {
data: underscore: '1.2.0',
data: request: '2.2.5',
data: cfg: '0.0.2',
data: socket.io: '0.8.7'
data: },
data: scripts: { start: 'app.js', test: 'make test' }
data: }
data:
prompt: Is this ok? (yes): no
help:
help: Usage:
help:
help: Deploys an application using the following steps:
help:
help: 1. Creates the application (if necessary)
help: 2. Creates or validates the package.json
help: 3. Packages and creates a new snapshot
help: 4. Stops the application (if neccessary)
help: 5. Starts the application
help:
help: jitsu deploy
help: jitsu apps deploy
help:
error: Error running command deploy
error: Save package.json cancelled.
info: Nodejitsu not ok
laptop:playlist-socket$ jitsu apps list
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps list
info: Authenticated as ppcanodehuelva
info: Listing apps
data: name state subdomain start latest
data: playlist-socket stopped playlist-socket app.js ppcanodehuelva-playlist-socket-0.0.1-9.tgz
info: Nodejitsu ok
laptop:playlist-socket$ jitsu apps start playlist-socket
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps start playlist-socket
info: Authenticated as ppcanodehuelva
info: Starting app ppcanodehuelva/playlist-socket
help:
help: Usage:
help: Starts the application in the current directory. If <name>
help: is supplied then that application is started instead.
help:
help: jitsu apps start
help: jitsu apps start <name>
help:
error: Error running command apps start playlist-socket
error: socket hang up
info: Nodejitsu not ok
@filmaj
Copy link

filmaj commented Jan 18, 2012

You wouldn't happen to have ever fixed the "Save package.json cancelled" error, would you?

@ppcano
Copy link
Author

ppcano commented Jan 18, 2012

This gist was created to be sent to nodejitsu support. I think, the problem was something about a wrong settings on my app, which block app start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment