2014-10-10 89 views
0

运行capistrano命令部署cap staging deploy 完全运行整个过程返回提示。capistrano失败退出状态1

set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system} 

正在生成

Running /usr/bin/env [ -L /home/dep/application/releases/20141009195446/bin ] on xx.xx.xx.xx 
DEBUG[6d6a56cf] Command: [ -L /home/dep/application/releases/20141009195446/bin ] 
DEBUG[6d6a56cf] Finished in 0.428 seconds with exit status 1 (failed). 
DEBUG[77ffc21a] Running /usr/bin/env [ -d /home/dep/application/releases/20141009195446/bin ] on xx.xx.xx.xx 
DEBUG[77ffc21a] Command: [ -d /home/dep/application/releases/20141009195446/bin ] 
DEBUG[77ffc21a] Finished in 0.254 seconds with exit status 1 (failed). 

我已在〜/沉积/应用/共享/ tmp中检查以下示例错误/:

然而沿途,所有文件或目录中列出启动后的pid touch 'application/current/tmp/restart.txt'命令:pid文件不存在。所以上面的失败是重大的。然而我不明白它的本质,我猜测它正在尝试与别名有关的东西。但是,如果我检查最新版本的目录,则别名全部存在,别名文件正确地返回文件内容。

不知道做这种类型的错误是什么?

回答

0

这是不是一个失败本身。鉴于这是一个别名对象,它不存在,因此操作不会发生。这只是消息的误导... as described here

相关问题