Jamis, I seem to be getting further along here. One quick comment for other FreeBSDers out there -- the most current port of rubygems net- ssh on FreeBSD is 1.0.10 -- so I uninstalled the port, and installed your most recent version, Jamis. Thanks!
> >> Also, note that rake integration is deprecated, and is entirely gone > >> in cap2. You should be using 'cap' directly, rather than via rake. When you say cap2, do you mean that capistrano has a version 2? The latest version I see is 1.99. Again, I uninstalled the FreeBSD port, and installed your version (thanks again) that I found here: http://nubyonrails.com/articles/2007/04/27/tips-for-upgrading-to-capistrano-2 Now I run cap deploy, and get verbose output -- still errors: ]$ cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' * executing "svn checkout -q -r3 svn+ssh://66.214.178.197/usr/home/ svn/repository/project /u/apps/project/releases/20070614000218 && (echo 3 > /u/apps/project/releases/20070614000218/REVISION)" servers: ["www.project.com"] [www.project.com] executing command command finished * executing `deploy:finalize_update' * executing "chmod -R g+w /u/apps/project/releases/20070614000218" servers: ["www.project.com"] [www.project.com] executing command command finished * executing "rm -rf /u/apps/project/releases/20070614000218/log /u/ apps/project/releases/20070614000218/public/system /u/apps/project/ releases/20070614000218/tmp/pids &&\n ln -s /u/apps/project/ shared/log /u/apps/project/releases/20070614000218/log &&\n ln - s /u/apps/project/shared/system /u/apps/project/releases/ 20070614000218/public/system &&\n ln -s /u/apps/project/shared/ pids /u/apps/project/releases/20070614000218/tmp/pids" servers: ["www.project.com"] [www.project.com] executing command ** [out :: www.project.com] ln: /u/apps/project/releases/ 20070614000218/public/system: No such file or directory command finished *** [deploy:update_code] rolling back * executing "rm -rf /u/apps/project/releases/20070614000218; true" servers: ["www.project.com"] [www.project.com] executing command command finished command "rm -rf /u/apps/project/releases/20070614000218/log /u/apps/ project/releases/20070614000218/public/system /u/apps/project/releases/ 20070614000218/tmp/pids &&\\\n ln -s /u/apps/project/shared/log / u/apps/project/releases/20070614000218/log &&\\\n ln -s /u/apps/ project/shared/system /u/apps/project/releases/20070614000218/public/ system &&\\\n ln -s /u/apps/project/shared/pids /u/apps/project/ releases/20070614000218/tmp/pids" failed on www.project.com Any hints? Charlie > > > Thanks. I seem to get better error messages, though, when I use rake > > deploy. Is there way to run cap deploy and get more info? > > You should, if anything, be getting more info when run via cap, than > via rake. If you're not, then else is amiss. > > > I'm logged into my local FreeBSD machine via my windows machine, with > > putty, using public key encryption, and agent forwarding. So I can > > log into my local FreeBSD machine, and then ssh into my remote server, > > with no password or passphrase needed. > > If you are relying on agent forwarding, you need to: > > 1. Make sure you have at least Net::SSH 1.1.0 installed, and > > 2. Add the following to your config/deploy.rb: > > ssh_options[:forward_agent] = true > > Does that work any better? > > - Jamis --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
