Tried updating my install from 4.0.6 to 4.0.8 and received the following error:
Error: Encountered error while processing update-cache-host-example.com in EE\Migration\ChangeGlobalServiceContainerNames::update_cache_host. Exception: Unable to update cache host of example.com
Looking at ee.log
it appears that the update process is trying to update the wp-config.php
file of a site that’s not WP - it’s a PHP site:
[29-12-2018 13:44:15] ee.DEBUG: Found site: example.com of type: php
...
[29-12-2018 13:44:18] ee.DEBUG: Executing update-cache-host-example.com...
[29-12-2018 13:44:18] ee.DEBUG: -----------------------
[29-12-2018 13:44:18] ee.DEBUG: COMMAND: docker-compose exec --user='www-data' php wp config set RT_WP_NGINX_HELPER_REDIS_HOSTNAME global-redis --add=true --type=constant
[29-12-2018 13:44:19] ee.DEBUG: STDOUT: e[31;1mError:e[0m 'wp-config.php' not found. Either create one manually or use `wp config create`.
[29-12-2018 13:44:19] ee.DEBUG: RETURN CODE: 1
Anything I can do? Or is it better to wait for a fix, assuming it’s a bug?