直到今天工作正常。在OpsWorks Chef 11.10中使用dokku部署脚本获取错误:
Error executing action 'run' on resource 'ruby_block[git push --force dokku@localhost:api.website.com deploy:master]'
完整错误跟踪:
================================================================================
Error executing action `run` on resource 'ruby_block[git push --force dokku@localhost:api.website.com deploy:master]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of git push --force dokku@localhost:api.website.com deploy:master ----
STDOUT:
STDERR: warning: unable to access '/root/.config/git/attributes': Permission denied
remote: -----> Setting config vars[K
remote: GIT_REV: HASHKEY [K
remote: api.website.com is currently being deployed. Exiting...[K
To dokku@localhost:api.website.com
! [remote rejected] deploy -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@localhost:api.website.com'
---- End output of git push --force dokku@localhost:api.website.com deploy:master ----
Ran git push --force dokku@localhost:api.website.com deploy:master returned 1
我已经检查过以确保最近没有更新第三方烹饪书等。任何人都知道问题可能是什么?或者从哪里开始寻找?