Hello,

I have/had a working Capistrano configuration that I've been using for
several weeks to deploy to my staging server (and over the past few
days to my production server).  Everything has gone well and I've had
no problems - up until today.  My Capistrano deploys have just stopped
working.  Here's the output:

MacPro:~/dev_sa/aabbccddeeff Ken$ cap staging deploy
  * executing `staging'
    triggering start callbacks for `deploy'
  * executing `multistage:ensure'
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    executing locally: "git ls-remote g...@github.com:abcdefg/
aabbccddeeff.git master"
  * getting (via checkout) revision
ze29a9b80c45d9194d91f1a503d9a150a54b220a to /var/folders/q9/
q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp-/20090716170012
    executing locally: git clone -q g...@github.com:abcdefg/
aabbccddeeff.git /var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp-/
20090716170012 && cd /var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp-/
20090716170012 && git checkout -q -b deploy
ze29a9b80c45d9194d91f1a503d9a150a54b220a && git submodule -q init &&
git submodule -q update
    compressing /var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp-/
20090716170012 to /var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp-/
20090716170012.tar.gz
    executing locally: tar czf 20090716170012.tar.gz 20090716170012
    servers: ["12.345.128.251"]
 ** sftp upload /var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp-/
20090716170012.tar.gz -> /home/abcdefg/tmp/20090716170012.tar.gz
    [12.345.128.251] /home/abcdefg/tmp/20090716170012.tar.gz
*** upload via sftp failed on 12.345.128.251:
Net::SFTP::StatusException (Net::SFTP::StatusException open /home/
abcdefg/tmp/20090716170012.tar.gz (2, "no such file"))
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/abcdefg/rails_sites/aabbccddeeff_staging/
releases/20090716170012; true"
    servers: ["12.345.128.251"]
    [12.345.128.251] executing command
    command finished
upload via sftp failed on 12.345.128.251: Net::SFTP::StatusException
(Net::SFTP::StatusException open /home/abcdefg/tmp/
20090716170012.tar.gz (2, "no such file"))

I'm no Capistrano expert but it looks to me like it's not finding the
20090716170012.tar.gz file on the upload via sftp.  However, if I
monitor the output in that directory on my local machine while the
deploy is running that file is created.  Here's the output:

MacPro:/var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp- Ken$ ls -l
total 0
drwxr-xr-x  3 Ken  Ken  102 Jul 16 10:00 20090716170012
MacPro:/var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp- Ken$ ls -l
total 0
drwxr-xr-x  16 Ken  Ken  544 Jul 16 10:00 20090716170012
MacPro:/var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp- Ken$ ls -l
total 2352
drwxr-xr-x  17 Ken  Ken      578 Jul 16 10:00 20090716170012
-rw-r--r--   1 Ken  Ken  1202267 Jul 16 10:00 20090716170012.tar.gz
MacPro:/var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp- Ken$ ls -l
MacPro:/var/folders/q9/q9AEE9RWGTWc4nB-3akq4++++TI/-Tmp- Ken$

Does anyone have any ideas on how I can fix this?  I'm desperate!

Thanks, Ken


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to capistrano@googlegroups.com
To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to