codio / iloveopensource

Giving and getting support for Open Source development
http://iloveopensource.io
MIT License
133 stars 23 forks source link

`cap deploy` failed #53

Closed joelmoss closed 11 years ago

joelmoss commented 11 years ago

Just ran cap deploy and even though it completed, staging shows a 502 error http://staging.iloveopensource.io/

krasu commented 11 years ago
➜  iloveopensource git:(master) cap deploy
 * executing "NODE_ENV=production forever restart /var/www/staging.iloveopensource/current/app.js"
    servers: ["iloveopensource.io"]
    [iloveopensource.io] executing command
*** [err :: iloveopensource.io] error:   Error restarting process: /var/www/staging.iloveopensource/current/app.js
*** [err :: iloveopensource.io] error:   Cannot find forever process: /var/www/staging.iloveopensource/current/app.js
    command finished in 1017ms
failed: "sh -c 'NODE_ENV=production forever restart /var/www/staging.iloveopensource/current/app.js'" on iloveopensource.io

➜  iloveopensource git:(master) cap deploy:start
  * executing "NODE_ENV=production forever start /var/www/staging.iloveopensource/current/app.js"
    servers: ["iloveopensource.io"]
    [iloveopensource.io] executing command
 ** [out :: iloveopensource.io] warn:    --minUptime not set. Defaulting to: 1000ms
 ** [out :: iloveopensource.io] warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
 ** [out :: iloveopensource.io] info:    Forever processing file: /var/www/staging.iloveopensource/current/app.js
    command finished in 1076ms