Kunstmaan / kStrano

kStrano (KumaStrano) is a Capistrano deployment “recipe” for Kunstmaan specific applications to make our job of deploying a lot easier. It integrates with Airbrake, Jenkins and Campfire.
MIT License
13 stars 0 forks source link

Graceful fix a broken current symlink #37

Closed roderik closed 10 years ago

roderik commented 11 years ago
    command finished in 3009ms
  * executing "sudo -p 'sudo password: ' -u bolero cat /home/projects/bolero/data/current/REVISION"
    servers: ["falcon.cloud.kunstmaan.com"]
    [falcon.cloud.kunstmaan.com] executing command
    command finished in 74ms
failed: "sh -c 'sudo -p '\\''sudo password: '\\'' -u bolero cat /home/projects/bolero/data/current/REVISION'" on falcon.cloud.kunstmaan.com

current was a broken symlink

roderik commented 11 years ago

Correction, unless there is a current/REVISION file it just does not work.

Usecase: Kris packages project B and put it on a brand new server (falcon) extract, maintenance, reload apache clone the proejct on my computer install kstrano (computer was not installed fully yet) cap falcon deploy

tried deploy:setup as well, did not help