Capifony fails deploying

守給你的承諾、 提交于 2019-12-25 07:03:59

问题


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] 

I have already run cap deploy:setup successfully.

Then Capifony rolls back after this error... What might cause this error ?


回答1:


You can debug your procedure deploy by launch the cap task as:

 cap -dv deploy

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)

Hope this help



来源:https://stackoverflow.com/questions/32357077/capifony-fails-deploying

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!