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
I have a bunch of machines which have been updated to the latest 4.9.7 release. These machines have a cronjob which daily executes this:
wp core update --minor
These machines also have the German locale pack installed. In order to prevent security issues we also check the ckecksum every hour:
/usr/local/bin/wp checksum core
Recently the update bump wordpress release from 4.9.8 to 4.9.7. Unfortunately all machine showed checksum errors because the wp-config-sample.conf had German content.
I haven't been able to reproduce this. Replacing the wp-config-sample.conf from the English wordpress release fixed it.
Funny enough you cannot force an update to the English installation once you have the German locale pack installed:
www-data@<some-host>:/data/backend/wordpress$ /usr/local/bin/wp core update --locale=en_US
Updating to version 4.9.7 (de_DE)...
PHP Warning: mkdir(): Permission denied in phar:///usr/local/bin/wp/php/WP_CLI/FileCache.php on line 265
Warning: mkdir(): Permission denied in phar:///usr/local/bin/wp/php/WP_CLI/FileCache.php on line 265
Herunterladen der Aktualisierung von https://downloads.wordpress.org/release/de_DE/wordpress-4.9.7.zip …
Entpacken der aktualisierten Version …
Success: WordPress updated successfully.
The text was updated successfully, but these errors were encountered:
@runningman84 I ran some tests with the --locale flag.
It seems to work if you use both a specific version ( --version=4.9.7 ) and add the --force flag.
This seems to be a bug in the parameter parsing logic, that should either be smarter about how to trigger the update, or give a warning that the --force flag or a specific version is needed.
I have a bunch of machines which have been updated to the latest 4.9.7 release. These machines have a cronjob which daily executes this:
These machines also have the German locale pack installed. In order to prevent security issues we also check the ckecksum every hour:
Recently the update bump wordpress release from 4.9.8 to 4.9.7. Unfortunately all machine showed checksum errors because the wp-config-sample.conf had German content.
I haven't been able to reproduce this. Replacing the wp-config-sample.conf from the English wordpress release fixed it.
Funny enough you cannot force an update to the English installation once you have the German locale pack installed:
The text was updated successfully, but these errors were encountered: