RailsCasts Pro episodes are now free!

Learn more or hide this

itmanager223's Profile

GitHub User: itmanager223

Comments by


yep i noticed the same problem, wonder why the default nginx install has that issue.

Anyways your fix worked.



hey guys tried the guide again and i am again getting the following error:

fighterpilot@JJDRORPROD01:~/jjdowns$ cap deploy:cold
  * executing `deploy:cold'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    updating the cached checkout on all servers
    executing locally: "git ls-remote gitolite@ master"
    command finished in 166ms
  * executing "if [ -d /home/fighterpilot/jjdowns/shared/cached-copy ]; then cd /home/fighterpilot/jjdowns/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 019cbef11c95698d7e8e7788e04fd77d07c47ae7 && git clean -q -d -x -f; else git clone -q gitolite@ /home/fighterpilot/jjdowns/shared/cached-copy && cd /home/fighterpilot/jjdowns/shared/cached-copy && git checkout -q -b deploy 019cbef11c95698d7e8e7788e04fd77d07c47ae7; fi"
    servers: [""]
    [] executing command
 ** [ :: out] Error writing to authentication socket.
 ** [ :: out] Error writing to authentication socket.
    command finished in 1111ms
    copying the cached version to /home/fighterpilot/jjdowns/releases/20120909041546
  * executing "cp -RPp /home/fighterpilot/jjdowns/shared/cached-copy /home/fighterpilot/jjdowns/releases/20120909041546 && (echo 019cbef11c95698d7e8e7788e04fd77d07c47ae7 > /home/fighterpilot/jjdowns/releases/20120909041546/REVISION)"
    servers: [""]
    [] executing command
 ** [out ::] cp: cannot create directory `/home/fighterpilot/jjdowns/releases/20120909041546': Permission denied
    command finished in 141ms
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/fighterpilot/jjdowns/releases/20120909041546; true"
    servers: [""]
    [] executing command
    command finished in 140ms
failed: "sh -c 'cp -RPp /home/fighterpilot/jjdowns/shared/cached-copy /home/fighterpilot/jjdowns/releases/20120909041546 && (echo 019cbef11c95698d7e8e7788e04fd77d07c47ae7 > /home/fighterpilot/jjdowns/releases/20120909041546/REVISION)'" on

any ideas?


Hey guys i am getting this error:

   command finished in 6676ms
  * executing `deploy:start'
  * executing "/etc/init.d/unicorn_default start"
    servers: [""]
    [] executing command
 ** [out ::] sh: /etc/init.d/unicorn_default: not found
    command finished in 126ms
failed: "sh -c '/etc/init.d/unicorn_default start'" on

any ideas?

this is at the cap deploy:cold step