List Info

Thread: Failure on symlink?




Failure on symlink?
country flaguser name
Germany
2007-02-15 11:12:06
I'm deploying as root and for some reason I'm getting a
failure in the
symlink part of the task. I have zero custom recipes. All
that's changed
in the deploy.rb is the server name and svn repo.

Any thoughts about why this might be failing?

Thanks


  * executing task set_permissions
  * executing "chmod -R g+w
/var/www/rails/greatwhite/releases/20070215170750"
    servers: ["hammerhead.com"]
    [hammerhead.com] executing command
    command finished
  * executing "rm -rf
/var/www/rails/greatwhite/releases/20070215170750/log
/var/www/rails/greatwhite/releases/20070215170750/public/sys
tem &&n
ln -nfs /var/www/rails/greatwhite/shared/log
/var/www/rails/greatwhite/releases/20070215170750/log
&&n    ln -nfs
/var/www/rails/greatwhite/shared/system
/var/www/rails/greatwhite/releases/20070215170750/public/sys
tem"
    servers: ["hammerhead.com"]
    [hammerhead.com] executing command
 ** [out :: hammerhead.com] ln:
 ** [out :: hammerhead.com] creating symbolic link
`/var/www/rails/greatwhite/releases/20070215170750/public/sy
stem' to
`/var/www/rails/greatwhite/shared/system'
 ** [out :: hammerhead.com] : No such file or directory
    command finished
*** [set_permissions] transaction: rollback

-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Failure on symlink?
country flaguser name
United States
2007-02-16 09:26:22
When you create the symlink, use the full path from the
root.

On Feb 15, 10:12 am, "s.ross"
<ruby-forum-incom...andreas-s.net>
wrote:
> I'm deploying as root and for some reason I'm getting a
failure in the
> symlink part of the task. I have zero custom recipes.
All that's changed
> in the deploy.rb is the server name and svn repo.
>
> Any thoughts about why this might be failing?
>
> Thanks
>
>   * executing task set_permissions
>   * executing "chmod -R g+w
>
/var/www/rails/greatwhite/releases/20070215170750"
>     servers: ["hammerhead.com"]
>     [hammerhead.com] executing command
>     command finished
>   * executing "rm -rf
> /var/www/rails/greatwhite/releases/20070215170750/log
>
/var/www/rails/greatwhite/releases/20070215170750/public/sys
tem &&n
> ln -nfs /var/www/rails/greatwhite/shared/log
> /var/www/rails/greatwhite/releases/20070215170750/log
&&n    ln -nfs
> /var/www/rails/greatwhite/shared/system
>
/var/www/rails/greatwhite/releases/20070215170750/public/sys
tem"
>     servers: ["hammerhead.com"]
>     [hammerhead.com] executing command
>  ** [out :: hammerhead.com] ln:
>  ** [out :: hammerhead.com] creating symbolic link
>
`/var/www/rails/greatwhite/releases/20070215170750/public/sy
stem' to
> `/var/www/rails/greatwhite/shared/system'
>  ** [out :: hammerhead.com] : No such file or
directory
>     command finished
> *** [set_permissions] transaction: rollback
>
> --
> Posted viahttp://www.ruby-forum.com
/.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )