Welcome Guest | Login

Initial Setup Capistrano Problem

I had hosting rails setup my app and cap/svn repository.

After some initial problems I finally managed to save a copy of my app to my local repository, but when I tried the 'cap deploy:setup' command I got the following error.

* executing `deploy:setup'
* executing "umask 02 && mkdir -p /home/<usr_name>/apps/<app_name> /home/<usr_name>/apps/<app_name>/releases /home/<usr_name>/apps/<app_name>/shared
/home/<usr_name>/apps/<app_name>/shared/system /home/<usr_name>/apps/<app_name>/shared/log
/home/<usr_name>/apps/<app_name>/shared/pids"
   servers: ["<my_domain>.tertullian.hostingrails.com"]
connection failed for: <my_domain>.tertullian.hostingrails.com (SocketError: getaddrinfo: no address associated with hostname.)

Any ideas.

2008-06-15 12:01 PM

Hi - Are you able to connect to your site from your local end ? It looks like the hostname is not getting resolved at your end.

Also please try changing the server name to the server IP.

2008-06-15 01:23 PM

Regards,
Rahul
I changed the server name to the ip address and the 'cap deploy:setup' executed.

I then tried 'cap deploy:cold'

and now my application won't start. :(

2008-06-15 02:11 PM

Hi - It a permission issue and I have fixed it now. Please make sure that your files and folder are not having permissions more than 755. Thank you

2008-06-15 03:17 PM

HostingRails Support
How would I check this?

What particular files do I need to check?

2008-06-15 03:38 PM

Hi - You can check the files permission via ssh or you can use the file manger of your cPanel.  You need to check the public folder and the files inside it and ensure that the permissions do not exceed more that 755.

2008-06-15 04:14 PM

HostingRails Support

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