I didn't get any responses so I tried it myself and yes,
using :pserver fixed my problem. Doesn't seem secure, but I'll poke
around and see what can be done to make it better.
On 21 Oct, 22:04, Steve <[EMAIL PROTECTED]> wrote:
> Hi -
> I think I must have the simplest possible capistrano / rails app setup
> ever but it's not working.
>
> My production app, database, and cvs repository all run on a machine
> calledwww.steveline.com. I'm using one instance of mongrel as my app
> server. When I run cap deploy the cvs log command appears to run
> fine, but the cvs checkout command fails with a connection refused
> error, output is below. Does Capistrano support the :ext: connection
> method to a cvs repository? I don't seem to have access to the Cap
> manual (it appears offline) but in the postings I've seen most people
> are using :pserver. Could this be my problem?
>
> Thanks for any help!
>
> First my deploy.rb, then the output from my cap deploy command:
>
> sline:~/eclipseWorkspace/fc: cat config/deploy.rb
> set :application, "fc"
> set :repository, ":ext:[EMAIL PROTECTED]:/home/sline/cvsrepos"
>
> # If you aren't deploying to /u/apps/#{application} on the target
> # servers (which is the default), you can specify the actual location
> # via the :deploy_to variable:
> # set :deploy_to, "/var/www/#{application}"
> set :deploy_to, "/home/sline/deployed/#{application}"
>
> # If you aren't using Subversion to manage your source code, specify
> # your SCM below:
> set :scm, :cvs
> set :scm_module, "fc"
> set :scm_verbose, true
> #ssh_options[:port] = 22
>
> role :app, "www.steveline.com"
> role :web, "www.steveline.com"
> role :db, "www.steveline.com", :primary => true
>
> Output from cap deploy command:
>
> sline:~/eclipseWorkspace/fc: cap deploy
> * executing `deploy'
> * executing `deploy:update'
> ** transaction: start
> * executing `deploy:update_code'
> cvs log: ignoring tmp/cache (CVS/Entries missing)
> cvs log: ignoring tmp/sockets (CVS/Entries missing)
> cvs log: Logging .
> cvs log: Logging app
> cvs log: Logging app/controllers
> cvs log: Logging app/controllers/old
> cvs log: Logging app/helpers
> cvs log: Logging app/models
> cvs log: Logging app/views
> cvs log: Logging app/views/fc
> cvs log: Logging app/views/import
> cvs log: Logging app/views/layouts
> cvs log: Logging app/views/notice
> cvs log: Logging app/views/site
> cvs log: Logging config
> cvs log: Logging config/environments
> cvs log: Logging db
> cvs log: Logging db/migrate
> cvs log: Logging doc
> cvs log: Logging jscalendar-1.0
> cvs log: Logging jscalendar-1.0/doc
> cvs log: Logging jscalendar-1.0/doc/html
> cvs log: Logging jscalendar-1.0/lang
> cvs log: Logging jscalendar-1.0/skins
> cvs log: Logging jscalendar-1.0/skins/aqua
> cvs log: Logging log
> cvs log: Logging public
> cvs log: Logging public/images
> cvs log: Logging public/javascripts
> cvs log: Logging public/javascripts/calendar
> cvs log: Logging public/stylesheets
> cvs log: Logging script
> cvs log: Logging script/performance
> cvs log: Logging script/process
> cvs log: Logging test
> cvs log: Logging test/fixtures
> cvs log: Logging test/functional
> cvs log: Logging test/unit
> cvs log: Logging tmp
> cvs log: Logging tmp/sessions
> revision in query_revision is 2007/10/17 03:55:41
> revision 2007/10/17 03:55:41 destination /home/sline/deployed/fc/
> releases/20071022034740
> * executing "mkdir -p /home/sline/deployed/fc/releases && cd /home/
> sline/deployed/fc/releases && cvs -d :ext:[EMAIL PROTECTED]:/
> home/sline/cvsrepos checkout -D \"2007/10/17 03:55:41\" -d
> 20071022034740 fc && (echo 2007/10/17 03:55:41 > /home/sline/deployed/
> fc/releases/20071022034740/REVISION)"
> servers: ["www.steveline.com"]
> [www.steveline.com] executing command
> ** [out]www.steveline.com:Connection refused
> ** [out] cvs
> ** [out]
> ** [out] [
> ** [out] checkout
> ** [out] aborted]
> ** [out] :
> ** [out] end of file from server (consult above messages if any)
> ** [out]
> command finished
> *** [deploy:update_code] rolling back
> * executing "rm -rf /home/sline/deployed/fc/releases/20071022034740;
> true"
> servers: ["www.steveline.com"]
> [www.steveline.com] executing command
> command finished
> command "mkdir -p /home/sline/deployed/fc/releases && cd /home/sline/
> deployed/fc/releases && cvs -d :ext:[EMAIL PROTECTED]:/home/
> sline/cvsrepos checkout -D \"2007/10/17 03:55:41\" -d 20071022034740
> fc && (echo 2007/10/17 03:55:41 > /home/sline/deployed/fc/releases/
> 20071022034740/REVISION)" failed onwww.steveline.com
> sline:~/eclipseWorkspace/fc:
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---