Vlad the deployer on Dreamhost - initial script
Posted
by xmariachi
on Stack Overflow
See other posts from Stack Overflow
or by xmariachi
Published on 2010-05-03T17:19:21Z
Indexed on
2010/05/03
21:38 UTC
Read the original article
Hit count: 448
Hi, I'm trying to deploy an app with SVN and Vlad the deployer. Vlad and its dependencies are installed and seem OK.
I'm trying the following:
rake prod vlad:update
Being my config/deploy.rb file:
task :prod do
set :application, "xxx"
set :deploy_timestamped, "false"
set :user, "username"
set :scm_user, "scmusername"
set :repository, "http://domain.com/svn/app"
set :domain, "domain.com"
set :deploy_to, "/home/username/deployments/app"
puts "Production deployment to #{deploy_to}"
end
I have done "rake prod vlad:setup" already, that's fine. But when calling "rake prod vlad:update", I get the following
A ...file
Exported revision 14.
ln: creating symbolic link `/home/username/deployments/drupalgestalt/releases/20100503164225/public/system' to `/home/username/deployments/drupalgestalt/shared/system': No such file or directory
rake aborted!
execution failed with status 1: ssh domain.com ln -s
/home/username/deployments/app/shared/log
/home/username/deployments/app/releases/20100503164225/log && ln -s
/home/username/deployments/app/shared/system
/home/username/deployments/app/releases/20100503164225/public/system && ln -s
/home/username/deployments/app/shared/pids
/home/username/deployments/app/releases/20100503164225/tmp/pids
Apparently it complains when creating the ln, but permissions are all set up fine.
Am I doing anything wrong? I'm just starting with Vlad on the assumption it was super-easy to set up. Had played a bit with cap in the past, and I do like Vlad idea.
© Stack Overflow or respective owner