Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Uncaught PharException: phar SHA1 signature could not be verified: broken signature #360

Open
nerdcowuk opened this issue Sep 1, 2020 · 0 comments

Comments

@nerdcowuk
Copy link

nerdcowuk commented Sep 1, 2020

Operating System: Windows 10
Vagrant Version: 2.2.10
Virtual Box Version: 6.1.12

Hey,

I've followed the guide to install the VCCW environment on Windows 10, but when I run vagrant provision I get the following errors.

TASK [Install WP-CLI packages] ************************************************* failed: [vccw.test] (item=https://github.com/vccw-team/wp-cli-scaffold-movefile/archive/master.zip) => {"changed": true, "cmd": "/bin/bash -lc \"wp package install 'https://github.com/vccw-team/wp-cli-scaffold-movefile/archive/master.zip'\"", "delta": "0:00:00.127323", "end": "2020-09-01 13:56:12.390352", "item": "https://github.com/vccw-team/wp-cli-scaffold-movefile/archive/master.zip", "msg": "non-zero return code", "rc": 255, "start": "2020-09-01 13:56:12.263029", "stderr": "PHP Fatal error: Uncaught PharException: phar \"/usr/local/bin/wp\" SHA1 signature could not be verified: broken signature in /usr/local/bin/wp:3\nStack trace:\n#0 /usr/local/bin/wp(3): Phar::mapPhar()\n#1 {main}\n thrown in /usr/local/bin/wp on line 3", "stderr_lines": ["PHP Fatal error: Uncaught PharException: phar \"/usr/local/bin/wp\" SHA1 signature could not be verified: broken signature in /usr/local/bin/wp:3", "Stack trace:", "#0 /usr/local/bin/wp(3): Phar::mapPhar()", "#1 {main}", " thrown in /usr/local/bin/wp on line 3"], "stdout": "", "stdout_lines": []} ...ignoring

and later on

TASK [Run wp core download] ************************************************** fatal: [vccw.test]: FAILED! => {"changed": true, "cmd": ["wp", "core", "download", "--path=/var/www/html/", "--version=latest", "--force"], "delta": "0:00:00.034603", "end": "2020-09-01 13:56:30.246190", "msg": "non-zero return code", "rc": 255, "start": "2020-09-01 13:56:30.211587", "stderr": "PHP Fatal error: Uncaught PharException: phar \"/usr/local/bin/wp\" SHA1 signature could not be verified: broken signature in /usr/local/bin/wp:3\nStack trace:\n#0 /usr/local/bin/wp(3): Phar::mapPhar()\n#1 {main}\n thrown in /usr/local/bin/wp on line 3", "stderr_lines": ["PHP Fatal error: Uncaught PharException: phar \"/usr/local/bin/wp\" SHA1 signature could not be verified: broken signature in /usr/local/bin/wp:3", "Stack trace:", "#0 /usr/local/bin/wp(3): Phar::mapPhar()", "#1 {main}", " thrown in /usr/local/bin/wp on line 3"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/vagrant/provision/playbook.retry

which results in the failure of the provisioning.

Can you help, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant