Forum: Rails deployment cap deployment issue

5022b0eaa66a88357822eaad9d087621?d=identicon&s=25 Prasad B. (durga_b)
on 2011-05-08 08:01
Hi ,
     I want to Capistrano   deployment , it is urgent to me . While i
cap deply:update it causes the error .   Let me know any one solution
for  this problem .

Error:
-----------
$ cap deploy:update
After some steps execute success fully, i got this error.
    servers: ["172.20.1.33"]
    [172.20.1.33] executing command
** [out :: 172.20.1.33] ln:
** [out :: 172.20.1.33] creating symbolic link
`/media/disk-1/ror_projects/pras
ad/twitter_app/releases/20110508045420/log'
** [out :: 172.20.1.33] : Operation not permitted
** [out :: 172.20.1.33]
    command finished in 109ms
failed: "sh -c 'rm -rf
/media/disk-1/ror_projects/prasad/twitter_app/releases/20
110508045420/log
/media/disk-1/ror_projects/prasad/twitter_app/releases/20110508
045420/public/system
/media/disk-1/ror_projects/prasad/twitter_app/releases/2011
0508045420/tmp/pids &&\\\n      mkdir -p
/media/disk-1/ror_projects/prasad/twitt
er_app/releases/20110508045420/public &&\\\n      mkdir -p
/media/disk-1/ror_pro
jects/prasad/twitter_app/releases/20110508045420/tmp &&\\\n      ln -s
/media/di
sk-1/ror_projects/prasad/twitter_app/shared/log
/media/disk-1/ror_projects/prasa
d/twitter_app/releases/20110508045420/log &&\\\n      ln -s
/media/disk-1/ror_pr
ojects/prasad/twitter_app/shared/system
/media/disk-1/ror_projects/prasad/twitte
r_app/releases/20110508045420/public/system &&\\\n      ln -s
/media/disk-1/ror_
projects/prasad/twitter_app/shared/pids
/media/disk-1/ror_projects/prasad/twitte
r_app/releases/20110508045420/tmp/pids'" on 172.20.1.33

Thanks.
C9c47875936bed67032a12c047b468a8?d=identicon&s=25 Gavin Laking (gavinlaking)
on 2011-05-28 19:56
You cannot create a symbolic link to a subdirectory of a directory that
does not exist. Does the directory
"/media/disk-1/ror_projects/prasad/twitter_app/shared" exist?
This topic is locked and can not be replied to.