Do you maybe already have a 'current' folder that isn't just a link?

That task is trying to remove the existing link and relink it to the
newest release.
Looks like its failing because current is not just a link.


On May 8, 12:43 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Could someone please tell me why I am getting "cannot remove `/var/www/
> staging/break/current'" when I do a cap deploy:cold ? TIA.
>
> Capistrano output:
>
>  ** [out :: 10.1.1.101] rm:
>  ** [out :: 10.1.1.101] cannot remove `/var/www/staging/break/current'
>  ** [out :: 10.1.1.101] : Is a directory
>  ** [out :: 10.1.1.101]
>     command finished
> *** [deploy:symlink] rolling back
>   * executing "ls -x /var/www/staging/break/releases"
>     servers: ["10.1.1.101"]
>     [10.1.1.101] executing command
>     command finished
>  ** [deploy:symlink] exception while rolling back: TypeError, can't
> convert nil into String
> *** [deploy:update_code] rolling back
>   * executing "rm -rf /var/www/staging/break/releases/20080508160354;
> true"
>     servers: ["10.1.1.101"]
>     [10.1.1.101] executing command
>     command finished
> command "rm -f /var/www/staging/break/current && ln -s /var/www/
> staging/break/releases/20080508160354 /var/www/staging/break/current"
> failed on 10.1.1.101
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to