-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
Description
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.