capistrano setup problems, please help=(
Posted by: ookblah
Posted on: 2007-06-03 22:07:00
Hi all,
I've been bashing my head over this the last day or so. I am using the DH wiki to setup capistrano so I can deploy my app. Here's what I have.
1) SVN repo setup at www.myserver.com/development with the latest revisions commited.
2) My domain www.myserver.com setup with FastCGI and current/public set as the "base" directory (I also deleted these folders manually so that the symlinks would be setup).
3) production database setup.
The problem is when I try to run "cap setup" it show some messages that appear like its creating the releases and shared directories, but then it prompts me for a password and then fails the authentication after I enter one. I have tried both my DH password and the one for SVN.
The wiki states that I should try to ssh and create a temp directory then export from SVN to that temp directory so that it will be authenticated on future tries. I tried that and it still fails on cap setup. Please help! I'm pretty sure it's not my deploy.rb file because DH isn't even letting it have access. Here's my errors (hosts and usernames altered):
>cap setup
* executing task setup
* executing "umask 02 &&n mkdir -p /home/myusername/mydomain /home/myusername/mydomain/releases /home/myusername/mydomain/shared /home/myusername/mydomain/shared/system &&n mkdir -p /home/myusername/mydomain/sh
ared/log &&n mkdir -p /home/myusername/mydomain/shared/pids"
servers: ["myusername/mydomain"]
Password: ***********
authentication failed for `Administrator'