Hi,
I'm using Capistrano 2.4.3 to deploy my Rails app to my VPS server. My Subversion server is on a subdomain on the same VPS. My development environment is Ubuntu. I am attempting to deploy to a sandbox (another subdomain on this same VPS).
When I issue the 'cap deploy' command from within my application folder on Ubuntu, I get the following:
$ cap deploy
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
* executing "svn checkout -q -r52 http://svn.myserver.com/myapp /var/www/vhosts/sandbox.myserver.com/myapp/releases/20080731113308 && (echo 52 > /var/www/vhosts/sandbox.myserver.com/myapp/releases/20080731113308/REVISION)"
servers: ["sandbox.myserver.com"]
Password:
It prompts for a password. When I supply the sandbox password which is the password for FTP as configured in Plesk, I get the following. Note, I can ssh to the sandbox no problem using this password:
[sandbox.myserver.com] executing command
** [sandbox.myserver.com :: err] Authentication realm: <http://svn.myserver.com:80> Subversion Repository
** [sandbox.myserver.com :: err] Password for 'sandbox':
** [sandbox.myserver.com :: err] Authentication realm: <http://svn.myserver.com:80> Subversion Repository
** Username:
I have googled till the cows come home and the only thing I've found for a solution is to login to my sandbox and do a svn co to a tmp folder. This is supposed to somehow 'train' my server to recognize what I am attempting to do. This solution is all over the net but it doesn't work for me. When I do it, it prompts me for the sandbox password then it prompts me for the Subversion username and password and proceeds to check out my app. When I go back to my project folder and attempt 'cap deploy' again, I get the same errors.
What am I doing wrong?
It seems to be some kind of permission problem but I don't know what. I'm giving it the passwords.
Any help would be appreciated,
George