Downloading WordPress [Fail] Oops Something went wrong ! Calling cleanup actions ... 'ee_mysql_grant_host'


#1

Hi,

when i run create site sitename.com --wpredis

i get this error:

Downloading WordPress [Fail] Oops Something went wrong !! Calling cleanup actions … ‘ee_mysql_grant_host’

In ee.log:

2016-04-08 16:55:27,197 (INFO) ee : Downloading WordPress 2016-04-08 16:55:27,198 (DEBUG) ee : Changing directory to /var/www/domain.com/htdocs/ 2016-04-08 16:55:27,198 (DEBUG) ee : Running command: wp --allow-root core download 2016-04-08 16:55:27,333 (DEBUG) ee : Command Output: , Command Error: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 20480 bytes) in phar:///usr/bin/wp/vendor/mustache/mustache/src/Mustache/LambdaHelper.php on line 21 PHP Stack trace: PHP 1. {main}() /usr/bin/wp:0 PHP 2. include() /usr/bin/wp:4 PHP 3. include() phar:///usr/bin/wp/php/boot-phar.php:5 PHP 4. WP_CLI\Runner->start() phar:///usr/bin/wp/php/wp-cli.php:21 PHP 5. WP_CLI\Utils\load_command() phar:///usr/bin/wp/php/WP_CLI/Runner.php:610 PHP 6. include_once() phar:///usr/bin/wp/php/utils.php:81 PHP 7. WP_CLI::add_command() phar:///usr/bin/wp/php/commands/core.php:1155 PHP 8. WP_CLI\Dispatcher\CommandFactory::create() phar:///usr/bin/wp/php/class-wp-cli.php:203 PHP 9. WP_CLI\Dispatcher\CommandFactory::create_composite_command() phar:///usr/bin/wp/php/WP_CLI/Dispatcher/CommandFactory.php:26 PHP 10. WP_CLI\Dispatcher\CompositeCommand->__construct() phar:///usr/bin/wp/php/WP_CLI/Dispatcher/CommandFactory.php:68 PHP 11. WP_CLI\Dispatcher\CompositeCommand->get_global_params() phar:///usr/bin/wp/php/WP_CLI/Dispatcher/CompositeCommand.php:33 PHP 12. WP_CLI\Utils\mustache_render() phar:///usr/bin/wp/php/WP_CLI/Dispatcher/CompositeCommand.php:263 PHP 13. Mustache_Engine->render() phar:///usr/bin/wp/php/utils.php:402 PHP 14. Mustache_Template->render() phar:///usr/bin/wp/vendor/mustache/mustache/src/Mustache/Engine.php:219 PHP 15. __Mustache_d1b99223acdb8914712874e1f45e134a->renderInternal() phar:///usr/bin/wp/vendor/mustache/mustache/src/Mustache/Template.php:67 PHP 16. spl_autoload_call() phar:///usr/bin/wp/vendor/mustache/mustache/src/Mustache/Cache/NoopCache.php(45) : eval()'d code:9 PHP 17. Composer\Autoload\ClassLoader->loadClass() phar:///usr/bin/wp/vendor/mustache/mustache/src/Mustache/Cache/NoopCache.php(45) : eval()'d code:9 PHP 18. Composer\Autoload\includeFile() phar:///usr/bin/wp/vendor/composer/ClassLoader.php:301

2016-04-08 16:55:27,334 (INFO) ee : [Fail] 2016-04-08 16:55:27,334 (DEBUG) ee : ‘download WordPress core failed’ 2016-04-08 16:55:27,334 (INFO) ee : Oops Something went wrong !! 2016-04-08 16:55:27,335 (INFO) ee : Calling cleanup actions …

Can you help me, how can i resolve this?

Thank you, Attila


#2

Anyone?


#3

see that mysql can run on the command line , In my case the mysql.cnf file had changed ( /etc/mysql/conf.d/my.cnf) and the root password was incorrect


#4

try to increase memory in wp-settings.php or in wp-config.php (or in php.ini?)

here are similar problemsdiscussed: https://wordpress.org/support/topic/fatal-error-allowed-memory-size-of-33554432-bytes-exhausted-tried-to-allocate?replies=36


#5