Skip to content

Instantly share code, notes, and snippets.

@goatslacker
Created June 22, 2011 06:27
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 goatslacker/1039590 to your computer and use it in GitHub Desktop.
Save goatslacker/1039590 to your computer and use it in GitHub Desktop.
jitsu deploy err msg
josh@n0va:~/Development/nms-server-deploy$ jitsu apps start nms-server
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps start nms-server
info: Authenticated as goatslacker
info: Starting app nms-server
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 nms-server
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: ECONNREFUSED, Connection refused
error: at Socket._onConnect (net.js:601:18)
error: at IOWatcher.onWritable [as callback] (net.js:186:12)
info: Nodejitsu not ok
josh@n0va:~/Development/nms-server-deploy$ jitsu apps restart nms-server
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps restart nms-server
info: Authenticated as goatslacker
info: Restarting app nms-server
info: App nms-server has been restarted
info: Nodejitsu ok
josh@n0va:~/Development/nms-server-deploy$ jitsu apps list
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps list
info: Authenticated as goatslacker
info: Listing apps
data: name state subdomain start latest
data: nms-server stopped nms server.js goatslacker-nms-server-1.0.0.tgz
data: nodefighter stopped nodefighter server.js goatslacker-nodefighter-0.0.0.tgz
info: Nodejitsu ok
josh@n0va:~/Development/nms-server-deploy$ jitsu apps start nms-server
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps start nms-server
info: Authenticated as goatslacker
info: Starting app nms-server
info: App nms-server is now started
info: http://nms.nodejitsu.com on Port 80
info: Nodejitsu ok
josh@n0va:~/Development/nms-server-deploy$ jitsu apps list
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps list
info: Authenticated as goatslacker
info: Listing apps
data: name state subdomain start latest
data: nms-server started nms server.js goatslacker-nms-server-1.0.0.tgz
data: nodefighter stopped nodefighter server.js goatslacker-nodefighter-0.0.0.tgz
info: Nodejitsu ok
josh@n0va:~/Development$ sudo haibu-server
__ __
/ /_ ______ __ / /_ __ __
/ __ \ / __ / / / / __ \ / / / /
/ / / / / /_/ / / / / /_/ / / /_/ /
/_/ /_/ \__,_/ /_/ /_/\___/ \__,_/
This is Open Source Software available under
the MIT License.
© 2010 Nodejitsu Inc.
All Rights Reserved - www.nodejitsu.com
haibu started @ 127.0.1.1 on port 9002 as api-server
21 Jun 22:28:17 - info: service:incoming href=/drones/nms-server/start,method=POST
21 Jun 22:28:17 - info: repo:dir:exists app=nms-server,dir=/usr/local/lib/node_modules/haibu/local/haibu/nms-server/nms-server
21 Jun 22:28:17 - info: spawn:setup app=,username=haibu
21 Jun 22:28:17 - info: spawn:start options=/usr/local/lib/node_modules/haibu/local/haibu/nms-server/nms-server/server.js 127.0.1.1 8001,app=nms-server,user=haibu
21 Jun 22:28:17 - error: drone:stderr app=nms-server,user=haibu,desc=
21 Jun 22:28:17 - error: drone:stderr app=nms-server,user=haibu,desc=node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Config not set
21 Jun 22:28:17 - info: service:response method=POST,href=/drones/nms-server/start,outcome=500
21 Jun 22:28:17 - error: drone:err app=nms-server,user=haibu,desc=Error: Cannot stop process that is not running.
josh@n0va:~/Development/nms-server-deploy$ jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Authenticated as goatslacker
warn: No application exists for nms-server
warn:
warn: Your package.json file is missing required fields:
warn:
warn: subdomain
warn:
warn: Prompting user for required fields.
warn: Press ^C at any time to quit.
warn:
help:
help: The subdomain is where your application will reside.
help: Your application will then become accessible at: http://yourdomain.nodejitsu.com
help:
prompt: subdomain (nms-server-deploy): nms
info: Analyzing your application dependencies in server.js
info: Checking app availability nms-server
info: Creating app nms-server
warn: Creating new snapshot for version 1.0.0
info: Done creating snapshot 1.0.0
info: Updating application nms-server
info: Activating snapshot 1.0.0 for nms-server
info: Stopping app nms-server
info: App nms-server is now stopped
info: Starting app nms-server
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: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: EHOSTUNREACH, No route to host
error: at Socket._onConnect (net.js:601:18)
error: at IOWatcher.onWritable [as callback] (net.js:186:12)
info: Nodejitsu not ok
josh@n0va:~/Development/nms-server-deploy$ jitsu apps list
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps list
info: Authenticated as goatslacker
info: Listing apps
data: name state subdomain start latest
data: nms-server stopped nms server.js goatslacker-nms-server-1.0.0.tgz
data: nodefighter stopped nodefighter server.js goatslacker-nodefighter-0.0.0.tgz
info: Nodejitsu ok
josh@n0va:~/Development/nms-server-deploy$ jitsu apps start nms-server
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command apps start nms-server
info: Authenticated as goatslacker
info: Starting app nms-server
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 nms-server
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: ECONNREFUSED, Connection refused
error: at Socket._onConnect (net.js:601:18)
error: at IOWatcher.onWritable [as callback] (net.js:186:12)
info: Nodejitsu not ok
@Marak
Copy link

Marak commented Jul 11, 2011

Haibu has it's own CLI tool, you shouldn't be using jitsu to talk to your local haibu.

@goatslacker
Copy link
Author

I'm using jitsu to talk to nodejitsu. I was just using haibu for local testing to perhaps gain some insight as to why the app wasn't deploying.

@Marak
Copy link

Marak commented Jul 11, 2011

hrmmm

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