终止挂起的 webistrano 部署
我目前正在尝试使用 Webistrano/Capistrano 设置部署。由于权限错误,我的测试部署尚未完成。但是,由于在创建部署 pid 之前失败,因此取消按钮不会出现在 Webistrano 部署界面中。
我想知道如何终止部署进程并解锁部署阶段(我假设我的系统上有一个 pid 文件或其他东西)。 Webistrano 在 Centos5 机器上通过 Apache 通过 Passenger 运行。
任何帮助将不胜感激。
I'm currently trying to set up deployment using Webistrano/Capistrano. Due to a permission error, my test deployment has not completed. However, because it failed before the deployment pid was created the cancel button does not appear in the Webistrano deployment interface.
I'm wondering how I can kill the deployment process and unlock the deployment stage (I assume there is a pid file or something somewhere on my system). Webistrano's running via Passenger through Apache on a Centos5 machine.
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要终止挂起的部署,只需更改“部署”数据库表中的部署状态即可。您还必须通过更新“stages”表并将“locked”列设置为 0 来解锁部署阶段。
To kill the hung deployment simply change the status of the deployment in the 'deployments' db table. You'll also have to unlock the deployment stage by updating the 'stages' table and set the 'locked' column to 0.