Cannot create a site using EasyEngine


#1

Hello, Recently after an upgrade I have problems connecting to mysql. So I change root password and everything worked. Now when I create a new website it gives an error:

sudo ee site create izag.com --wpredis
Redis is experimental feature and it may not work with all CSS/JS/Cache of your site.
You can disable it by changing cache later.
Do you wish to enable Redis now for izag.com?
Type "y" to continue [n]:Y
Running pre-update checks, please wait...
Setting up NGINX configuration 	[Done]
Setting up webroot 		[Done]
Downloading WordPress 		[Done]
Setting up database		[Done]
Oops Something went wrong !!
Calling cleanup actions ...
Reload : nginx     [OK]
Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!

When I do tail replies:

define('WP_DEBUG', false);
PHP"^[[0m
2016-11-05 15:55:18,557 (DEBUG) ee : ^[[95mCommand Output: Success: Generated wp-config.php file.
,
Command Error: ^[[0m
2016-11-05 15:55:18,558 (DEBUG) ee : ^[[95mMoving file from /var/www/izag.com/htdocs/wp-config.php to /var/www/izag.com^[[0m
2016-11-05 15:55:18,558 (DEBUG) ee : ^[[95mSetting up WordPress tables^[[0m
2016-11-05 15:55:18,558 (DEBUG) ee : ^[[95mCreating tables for WordPress Single site^[[0m
2016-11-05 15:55:18,558 (DEBUG) ee : ^[[95mphp /usr/bin/wp  --allow-root core install --url='izag.com' --title='izag.com' --admin_name='Marcos' --admin_password=$
2016-11-05 15:55:18,665 (DEBUG) ee : ^[[95mCommand Output: ,
Command Error: PHP Fatal error:  Uncaught Error: Call to undefined function apply_filters() in /var/www/izag.com/htdocs/wp-includes/load.php:317
Stack trace:
#0 phar:///usr/bin/wp/php/utils-wp.php(22): wp_debug_mode()
#1 phar:///usr/bin/wp/php/wp-settings-cli.php(59): WP_CLI\Utils\wp_debug_mode()
#2 phar:///usr/bin/wp/php/WP_CLI/Runner.php(807): require('phar:///usr/bin...')
#3 phar:///usr/bin/wp/php/WP_CLI/Runner.php(755): WP_CLI\Runner->load_wordpress()
#4 phar:///usr/bin/wp/php/wp-cli.php(21): WP_CLI\Runner->start()
#5 phar:///usr/bin/wp/php/boot-phar.php(5): include('phar:///usr/bin...')
#6 /usr/bin/wp(4): include('phar:///usr/bin...')
#7 {main}
  thrown in /var/www/izag.com/htdocs/wp-includes/load.php on line 317
^[[0m
2016-11-05 15:55:18,666 (DEBUG) ee : ^[[95m'setup WordPress tables failed for single site'^[[0m
2016-11-05 15:55:18,667 (INFO) ee : ^[[94m^[[91mOops Something went wrong !!^[[0m
2016-11-05 15:55:18,667 (INFO) ee : ^[[94m^[[91mCalling cleanup actions ...^[[0m
2016-11-05 15:55:18,667 (DEBUG) ee : ^[[95mRemoving Nginx configuration^[[0m
2016-11-05 15:55:18,668 (DEBUG) ee : ^[[95mRemoving /etc/nginx/sites-enabled/izag.com^[[0m
2016-11-05 15:55:18,669 (DEBUG) ee : ^[[95mRemoving /etc/nginx/sites-available/izag.com^[[0m
2016-11-05 15:55:18,669 (INFO) ee : ^[[94mReload : nginx     ^[[0m
2016-11-05 15:55:18,785 (INFO) ee : ^[[94m[^[[0mOK^[[94m]^[[0m
2016-11-05 15:55:18,811 (DEBUG) ee : ^[[95mRemoving /var/www/izag.com^[[0m
2016-11-05 15:55:18,811 (DEBUG) ee : ^[[95mRemoving /var/www/izag.com^[[0m
2016-11-05 15:55:18,877 (DEBUG) ee : ^[[95mdropping database `izag_com`^[[0m
2016-11-05 15:55:18,878 (DEBUG) ee : ^[[95mExceuting MySQL Statement : drop database `izag_com`^[[0m
2016-11-05 15:55:18,879 (DEBUG) ee : ^[[95mdropping user `izag_com`^[[0m
2016-11-05 15:55:18,880 (DEBUG) ee : ^[[95mExceuting MySQL Statement : drop user `izag_com`@`localhost`^[[0m
2016-11-05 15:55:18,881 (DEBUG) ee : ^[[95mExceuting MySQL Statement : flush privileges^[[0m
2016-11-05 15:55:19,026 (ERROR) ee : ^[[91mCheck logs for reason `tail /var/log/ee/ee.log` & Try Again!!!^[[0m

Please help me fix this, I don’t know what to do.

Thanks in advance.


#2