vccw-2.18.0
を使用する際に
vagrant upをすると
以下のエラーが表示されて起動が失敗してしまいます。
==> vccw.dev: ==> vccw.dev: Error executing action `sync` on resource 'git[/usr/share/wp-cli]' ==> vccw.dev: ==> vccw.dev: ================================================================================ ==> vccw.dev: ==> vccw.dev: ==> vccw.dev: ==> vccw.dev: ==> vccw.dev: Mixlib::ShellOut::ShellCommandFailed ==> vccw.dev: ------------------------------------ ==> vccw.dev: Expected process to exit with [0], but received '128' ==> vccw.dev: ---- Begin output of git ls-remote "https://github.com/wp-cli/builds.git" "HEAD" ---- ==> vccw.dev: STDOUT: ==> vccw.dev: STDERR: error: while accessing https://github.com/wp-cli/builds.git/info/refs ==> vccw.dev: ==> vccw.dev: fatal: HTTP request failed ==> vccw.dev: ---- End output of git ls-remote "https://github.com/wp-cli/builds.git" "HEAD" ---- ==> vccw.dev: Ran git ls-remote "https://github.com/wp-cli/builds.git" "HEAD" returned 128 ==> vccw.dev: ==> vccw.dev: Resource Declaration: ==> vccw.dev: --------------------- ==> vccw.dev: # In /tmp/vagrant-chef/d032a2cc4a746f9e3e718dd62209723b/cookbooks/wpcli/recipes/default.rb ==> vccw.dev: ==> vccw.dev: 17: git node[:wpcli][:dir] do ==> vccw.dev: 18: repository "https://github.com/wp-cli/builds.git" ==> vccw.dev: 19: action :sync ==> vccw.dev: 20: end ==> vccw.dev: 21: ==> vccw.dev: ==> vccw.dev: Compiled Resource: ==> vccw.dev: ------------------ ==> vccw.dev: # Declared in /tmp/vagrant-chef/d032a2cc4a746f9e3e718dd62209723b/cookbooks/wpcli/recipes/default.rb:17:in `from_file' ==> vccw.dev: ==> vccw.dev: git("/usr/share/wp-cli") do ==> vccw.dev: provider Chef::Provider::Git ==> vccw.dev: action [:sync] ==> vccw.dev: retries 0 ==> vccw.dev: retry_delay 2 ==> vccw.dev: guard_interpreter :default ==> vccw.dev: destination "/usr/share/wp-cli" ==> vccw.dev: enable_checkout true ==> vccw.dev: revision "HEAD" ==> vccw.dev: remote "origin" ==> vccw.dev: checkout_branch "deploy" ==> vccw.dev: cookbook_name :wpcli ==> vccw.dev: recipe_name "default" ==> vccw.dev: repository "https://github.com/wp-cli/builds.git" ==> vccw.dev: end ==> vccw.dev: ==> vccw.dev:
==> vccw.dev: [2018-03-18T07:38:37+00:00] INFO: Running queued delayed notifications before re-raising exception ==> vccw.dev: ==> vccw.dev: Running handlers: ==> vccw.dev: [2018-03-18T07:38:37+00:00] ERROR: Running exception handlers ==> vccw.dev: Running handlers complete ==> vccw.dev: ==> vccw.dev: [2018-03-18T07:38:37+00:00] ERROR: Exception handlers complete ==> vccw.dev: [2018-03-18T07:38:37+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> vccw.dev: Chef Client failed. 12 resources updated in 299.779243141 seconds ==> vccw.dev: [2018-03-18T07:38:37+00:00] ERROR: git[/usr/share/wp-cli] (wpcli::default line 17) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '128' ==> vccw.dev: ---- Begin output of git ls-remote "https://github.com/wp-cli/builds.git" "HEAD" ---- ==> vccw.dev: STDOUT: ==> vccw.dev: STDERR: error: while accessing https://github.com/wp-cli/builds.git/info/refs ==> vccw.dev: ==> vccw.dev: fatal: HTTP request failed ==> vccw.dev: ---- End output of git ls-remote "https://github.com/wp-cli/builds.git" "HEAD" ---- ==> vccw.dev: Ran git ls-remote "https://github.com/wp-cli/builds.git" "HEAD" returned 128 ==> vccw.dev: [2018-03-18T07:38:37+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.
3系だとうまくいくのですが、
php5.6を試すためにどうしても2系が使いたいです。
環境は
OS X 10.12.6
VirtualBox 5.2.8
Vagrant 2.0.2
です。
vccci v2の他のバージョンやvagrant provisionなど試したのですが、うまくいきませんでした。
どなたか、解決策をご教示いただけると幸いです。
宜しくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。