Capistrano laravel:setfacl stderr:/ usr / bin / env:setfacl:没有这样的文件或目录

时间:2018-07-17 13:29:47

标签: laravel-5 capistrano3

我想使用capistrano部署我的laravel项目,但是在执行此命令行cap production deploy时遇到此错误。

命令运行正常,但最后出现此错误:

01 /usr/bin/env: setfacl
  01 : No such file or directory
#<Thread:0x00000000068edf40@C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sshkit-1.17.0/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
        1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sshkit-1.17.0/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sshkit-1.17.0/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as ftpmbs102841@80.74.149.6: setfacl exit status: 127 (SSH
Kit::Runner::ExecuteError)
setfacl stdout: Nothing written
setfacl stderr: /usr/bin/env: setfacl: No such file or directory
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as ftpmbs102841@80.74.149.6: setfacl exit status: 127
setfacl stdout: Nothing written
setfacl stderr: /usr/bin/env: setfacl: No such file or directory


Caused by:
SSHKit::Command::Failed: setfacl exit status: 127
setfacl stdout: Nothing written
setfacl stderr: /usr/bin/env: setfacl: No such file or directory

Tasks: TOP => deploy:updated => deploy:set_permissions:acl
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as ftpmbs102841@80.74.149.6: setfacl exit status: 127
setfacl stdout: Nothing written
setfacl stderr: /usr/bin/env: setfacl: No such file or directory


** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:

0 个答案:

没有答案