Capifony部署失败 [英] Capifony fails deploying
问题描述
我正在使用Capifony部署symfony 2应用程序,但出现以下错误:
I'm using Capifony to deploy a symfony 2 application, but i got the following error :
executing "ln -nfs /home/mypath/shared/ /home/mypath/releases/20150902151722/"
servers: ["MY.IP.NU.BER"]
[MY.IP.NU.BER] executing command
** [out :: MY.IP.NU.BER] ln:
** [out :: MY.IP.NU.BER] target ‘/home/mypath/releases/20150902151722/’ is not a directory
** [out :: MY.IP.NU.BER] : No such file or directory
** [out :: MY.IP.NU.BER]
我已经成功运行了cap deploy:setup。
I have already run cap deploy:setup successfully.
然后Capifony在此错误之后回滚...可能导致此错误的原因是
Then Capifony rolls back after this error... What might cause this error ?
推荐答案
您可以通过启动cap任务为:
You can debug your procedure deploy by launch the cap task as:
cap -dv deploy
,并且,当脚本要求您执行包含脚本的脚本时,请通过连接到服务器的另一个外壳在服务器上执行自己(不要终止t他的Capifony脚本,同时等待任务,否则它将回滚执行而不会提示您错误)
and, when the script ask you to execute the incriminated script, execute yourself on the server via another shell connected to the server (don't terminate the capifony script, take the task waiting meanwhile, otherwise it will rollback the execution without prompt you the error)
希望此帮助
这篇关于Capifony部署失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!