2014-10-10 107 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

相關問題