Welcome Guest | Login

Capistrano cold_deploy problem

I've followed the Capistrano tutorial and everything works fine until I do a cold_deploy. The following error occurs:

svn: PROPFIND request failed on '/svn/mymaps/trunk'
svn: PROPFIND of '/svn/mymaps/trunk': Could not resolve hostname `svn.dacumbuilder.com': Host not found http://svn.dacumbuilder.com)

I'm using EasyDNS to point my site. An alias is setup for svn.dacumbuilder.com. Thoughts?

2007-04-07 08:16 AM

Hi there - you should probably use svn+ssh -- unless support sets up a special vhost for you to allow svn of http.  

2007-04-07 08:46 AM

Thanks, that cleared up that problem. In the recipe in the tutorial, the svn+ssh line was commented out. Once I changed this, it deploys fine.

Now the issue is that I'm not seeing my changes on the server after deployment. Previously I had setup an application manually and created a symbolic link to it. It's still pointing there.

How do I get my public_html to point to the capistrano deployed application? Is it just a matter of creating another symbolic link, but this time to the current directory in the capistrano deployment?



2007-04-07 09:18 AM

that's correct - just

rm public_html

then

ln -s ~/path/to/your/apps/current/public ~/public_html

cap should take care of the rest thereafter.

2007-04-07 09:23 AM

(well - actually - I would expect cap to take care of this originally with the cold deploy...but....you get the idea)

2007-04-07 09:28 AM

Thanks. I seem to have got a bit further... Now what I'm seeing is:

---------
Welcome to Spurgeon!

In order for you to see your website here, please make sure you have an account with HostingRails.com

If you wish to preview your app before you set the nameservers of your domain, please contact support _at_ hostingrails.com and have them set up a parked domain for you.
----------------

Is there a permission or something that needs to be set on the ~/public_html symbolic link? Does mongrel need to be restarted for this app?

2007-04-07 12:04 PM

Hi there - actually that was a problem we had with apache. Sorry about that.  You don't need to do anything special with your symlink's permissions.  And yes you'll need to restart mongrel when you make changes to your models and controllers.  Is cap working for you now?

2007-04-07 01:27 PM

It works great now! Thanks for all your help.

2007-04-07 03:15 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!