You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wp core version --extra option result in Error: Couldn't find versions.mustache #160
Note1: I have used sbaerlocher/ansible.wp-cli ansible role to install wp-cli.
This plugins use https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar to download wp-cli phar.
But using url https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar from wp-cli installation is working as expected.
Note2: Both url give the same file md5 dedd5a662b80cda66e9e25d44c23b25c
cd ~
mkdir bin
cd bin
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod a+x ./wp-cli.phar
./wp-cli.phar core version --extra
# result is as expected
mv ./wp-cli.phar ./wp
./wp core version --extra
#Error: Couldn't find versions.mustache
cd ~
mkdir bin
cd bin
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod a+x ./wp-cli.phar
./wp-cli.phar core version --extra
ln -s wp-cli.phar wp
./wp core version --extra
Activity
evantill commentedon Jun 12, 2020
is this issue related to #72 ?
wojsmol commentedon Jun 15, 2020
This is working for me on a dev server
evantill commentedon Jun 15, 2020
Trying to be closer to your
wp --infothe problem is still here :evantill commentedon Jun 15, 2020
same bug trying
php version 7.0.33evantill commentedon Jun 15, 2020
@wojsmol how can I install the exact same version as yours ?
evantill commentedon Jun 15, 2020
Note1: I have used sbaerlocher/ansible.wp-cli ansible role to install wp-cli.
This plugins use
https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.pharto download wp-cli phar.But using url
https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.pharfrom wp-cli installation is working as expected.Note2: Both url give the same file md5
dedd5a662b80cda66e9e25d44c23b25cNote3: but the result is not the same 😱
wojsmol commentedon Jun 15, 2020
This plugin is usingt very old url - see this.
evantill commentedon Jun 15, 2020
Ok one more test:
evantill commentedon Jun 15, 2020
evantill commentedon Jun 15, 2020
using a link is working :
schlessera commentedon Jun 17, 2020
You might have a package installed that does an override that breaks here.
Can you show me what
wp package listproduces?evantill commentedon Jun 18, 2020
Here is the package list :
evantill commentedon Jun 18, 2020
Removing packages did not solve the problem :
danielbachhuber commentedon May 1, 2023
Feel free to stop by the
#clichannel on WordPress.org Slack if you'd like help debugging further.