CAn't create site with ee site create example.com --wpredis


#1

Hi there,

We get an error when creating a site with ee site create example.com --wpredis

========= 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!!!

And here is the relevant part of the log:-

=========

2016-10-15 08:57:33,453 (DEBUG) ee : logging initialized for 'ee' using LoggingLogHandler
2016-10-15 08:57:33,799 (DEBUG) ee : ['/usr/local/bin/ee', 'site', 'create', 'debtsurvivor.co.za', '--wpredis']
2016-10-15 08:57:33,799 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7f011c653390>
2016-10-15 08:57:33,801 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteController object at 0x7f011c6534e0>
2016-10-15 08:57:33,803 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteCreateController object at 0x7f011c653f28>
2016-10-15 08:57:33,807 (INFO) ee : Initializing EasyEngine Database
2016-10-15 08:57:33,817 (INFO) ee : e[94mRedis 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 debtsurvivor.co.za?e[0m
2016-10-15 08:57:45,078 (DEBUG) ee : e[95mSetting apt_packages variable for Nginxe[0m
2016-10-15 08:57:46,367 (DEBUG) ee : e[95mFinding string SCRIPT_FILENAME to file /etc/nginx/fastcgi_paramse[0m
2016-10-15 08:57:46,369 (DEBUG) ee : e[95mSetting apt_packages variable for PHPe[0m
2016-10-15 08:57:47,645 (DEBUG) ee : e[95mSetting apt_packages variable for MySQLe[0m
2016-10-15 08:57:47,646 (DEBUG) ee : e[95mRunning command: mysqladmin pinge[0m
2016-10-15 08:57:47,671 (DEBUG) ee : e[95mCommand Output: mysqld is alive
, 
Command Error: e[0m
2016-10-15 08:57:47,671 (DEBUG) ee : e[95mSetting apt_packages variable for Postfixe[0m
2016-10-15 08:57:48,941 (DEBUG) ee : e[95mSetting packages variable for WP-CLIe[0m
2016-10-15 08:57:48,942 (DEBUG) ee : e[95mRunning command: which wpe[0m
2016-10-15 08:57:48,948 (DEBUG) ee : e[95mCommand Output: /usr/bin/wp
, 
Command Error: e[0m
2016-10-15 08:57:48,948 (DEBUG) ee : e[95mSetting apt_packages variable for redise[0m
2016-10-15 08:57:50,232 (DEBUG) ee : e[95mFinding string redis to file /etc/nginx/conf.d/upstream.confe[0m
2016-10-15 08:57:50,233 (INFO) ee : e[94mRunning pre-update checks, please wait...e[0m
2016-10-15 08:57:50,233 (DEBUG) ee : e[95mchecking NGINX configuration ...e[0m
2016-10-15 08:57:50,313 (INFO) ee : e[94mSetting up NGINX configuration     e[0m
2016-10-15 08:57:50,314 (DEBUG) ee : loading template file /usr/lib/ee/templates/virtualconf.mustache
2016-10-15 08:57:50,317 (DEBUG) ee : e[95mChecking generated nginx conf, please wait...e[0m
2016-10-15 08:57:50,351 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:57:50,351 (DEBUG) ee : e[95mCreating Symbolic link, Source:/etc/nginx/sites-available/debtsurvivor.co.za, Dest:/etc/nginx/sites-enabled/debtsurvivor.co.zae[0m
2016-10-15 08:57:50,352 (INFO) ee : e[94mSetting up webroot         e[0m
2016-10-15 08:57:50,352 (DEBUG) ee : e[95mCreating Symbolic link, Source:/var/log/nginx/debtsurvivor.co.za.access.log, Dest:/var/www/debtsurvivor.co.za/logs/access.loge[0m
2016-10-15 08:57:50,352 (DEBUG) ee : e[95mCreating Symbolic link, Source:/var/log/nginx/debtsurvivor.co.za.error.log, Dest:/var/www/debtsurvivor.co.za/logs/error.loge[0m
2016-10-15 08:57:50,353 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:57:50,397 (INFO) ee : e[94mDownloading WordPress         e[0m
2016-10-15 08:57:50,398 (DEBUG) ee : e[95mChanging directory to /var/www/debtsurvivor.co.za/htdocs/e[0m
2016-10-15 08:57:50,398 (DEBUG) ee : e[95mRunning command: wp --allow-root core downloade[0m
2016-10-15 08:57:54,660 (DEBUG) ee : e[95mCommand Output: Downloading WordPress 4.6.1 (en_US)...
md5 hash verified: ca0b978fd702eac033830ca2d0784b79
Success: WordPress downloaded.
, 
Command Error: e[0m
2016-10-15 08:57:54,660 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:57:54,660 (DEBUG) ee : e[95mAutofix MySQL username (ERROR 1470 (HY000)), please waite[0m
2016-10-15 08:57:54,661 (INFO) ee : e[94mSetting up database        e[0m
2016-10-15 08:57:54,661 (DEBUG) ee : e[95mCreating database debtsurvivor_co_zae[0m
2016-10-15 08:57:54,745 (DEBUG) ee : e[95me[0m
2016-10-15 08:57:54,747 (DEBUG) ee : e[95mExceuting MySQL Statement : create database `debtsurvivor_co_za`e[0m
2016-10-15 08:57:54,749 (DEBUG) ee : e[95mCreating user debtsuZVyFD3vGg8e[0m
2016-10-15 08:57:54,749 (DEBUG) ee : e[95mcreate user `debtsuZVyFD3vGg8`@`localhost` identified by ''e[0m
2016-10-15 08:57:54,754 (DEBUG) ee : e[95mSetting up user privilegese[0m
2016-10-15 08:57:54,755 (DEBUG) ee : e[95mExceuting MySQL Statement : grant all privileges on `debtsurvivor_co_za`.* to `debtsuZVyFD3vGg8`@`localhost`e[0m
2016-10-15 08:57:54,757 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:57:54,757 (DEBUG) ee : e[95mChanging directory to /var/www/debtsurvivor.co.za/htdocs/e[0m
2016-10-15 08:57:54,757 (DEBUG) ee : e[95mSetting up wp-config filee[0m
2016-10-15 08:57:54,757 (DEBUG) ee : e[95mGenerating wp-config for WordPress Single sitee[0m
2016-10-15 08:57:54,757 (DEBUG) ee : e[95mbash -c "php /usr/bin/wp  --allow-root core config --dbname='debtsurvivor_co_za' --dbprefix='wp_' --dbuser='debtsuZVyFD3vGg8' --dbhost='localhost' --dbpass= --extra-php<<PHP 
 

define('WP_DEBUG', false);
PHP"e[0m
2016-10-15 08:57:55,657 (DEBUG) ee : e[95mCommand Output: Success: Generated wp-config.php file.
, 
Command Error: e[0m
2016-10-15 08:57:55,658 (DEBUG) ee : e[95mMoving file from /var/www/debtsurvivor.co.za/htdocs/wp-config.php to /var/www/debtsurvivor.co.zae[0m
2016-10-15 08:57:55,658 (DEBUG) ee : e[95mSetting up WordPress tablese[0m
2016-10-15 08:57:55,658 (DEBUG) ee : e[95mCreating tables for WordPress Single sitee[0m
2016-10-15 08:57:55,659 (DEBUG) ee : e[95mphp /usr/bin/wp  --allow-root core install --url='debtsurvivor.co.za' --title='debtsurvivor.co.za' --admin_name='Francois' --admin_password= --admin_email='francois@bitsavvy.co.za'e[0m
2016-10-15 08:57:55,757 (DEBUG) ee : e[95mCommand Output: , 
Command Error: PHP Fatal error:  Call to undefined function apply_filters() in /var/www/debtsurvivor.co.za/htdocs/wp-includes/load.php on line 317
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\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:755
PHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:807
PHP   7. WP_CLI\Utils\wp_debug_mode() phar:///usr/bin/wp/php/wp-settings-cli.php:59
PHP   8. wp_debug_mode() phar:///usr/bin/wp/php/utils-wp.php:22
e[0m
2016-10-15 08:57:55,757 (DEBUG) ee : e[95m'setup WordPress tables failed for single site'e[0m
2016-10-15 08:57:55,757 (INFO) ee : e[94me[91mOops Something went wrong !!e[0m
2016-10-15 08:57:55,757 (INFO) ee : e[94me[91mCalling cleanup actions ...e[0m
2016-10-15 08:57:55,757 (DEBUG) ee : e[95mRemoving Nginx configuratione[0m
2016-10-15 08:57:55,758 (DEBUG) ee : e[95mRemoving /etc/nginx/sites-enabled/debtsurvivor.co.zae[0m
2016-10-15 08:57:55,758 (DEBUG) ee : e[95mRemoving /etc/nginx/sites-available/debtsurvivor.co.zae[0m
2016-10-15 08:57:55,758 (INFO) ee : e[94mReload : nginx     e[0m
2016-10-15 08:57:55,802 (INFO) ee : e[94m[e[0mOKe[94m]e[0m
2016-10-15 08:57:55,828 (DEBUG) ee : e[95mEEGit: git commit at /etc/nginxe[0m
2016-10-15 08:57:55,867 (DEBUG) ee : e[95mRemoving /var/www/debtsurvivor.co.zae[0m
2016-10-15 08:57:55,867 (DEBUG) ee : e[95mRemoving /var/www/debtsurvivor.co.zae[0m
2016-10-15 08:57:55,903 (DEBUG) ee : e[95mdropping database `debtsurvivor_co_za`e[0m
2016-10-15 08:57:55,904 (DEBUG) ee : e[95mExceuting MySQL Statement : drop database `debtsurvivor_co_za`e[0m
2016-10-15 08:57:55,911 (DEBUG) ee : e[95mdropping user `debtsuZVyFD3vGg8`e[0m
2016-10-15 08:57:55,912 (DEBUG) ee : e[95mExceuting MySQL Statement : drop user `debtsuZVyFD3vGg8`@`localhost`e[0m
2016-10-15 08:57:55,914 (DEBUG) ee : e[95mExceuting MySQL Statement : flush privilegese[0m
2016-10-15 08:57:55,924 (ERROR) ee : e[91mCheck logs for reason `tail /var/log/ee/ee.log` & Try Again!!!e[0m
2016-10-15 08:58:44,744 (DEBUG) ee : logging initialized for 'ee' using LoggingLogHandler
2016-10-15 08:58:44,983 (DEBUG) ee : ['/usr/local/bin/ee', 'site', 'create', 'debtsurvivor.co.za', '--wpredis']
2016-10-15 08:58:44,983 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7f5e4d8da390>
2016-10-15 08:58:44,985 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteController object at 0x7f5e4d8da550>
2016-10-15 08:58:44,987 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteCreateController object at 0x7f5e4d8daf28>
2016-10-15 08:58:44,990 (INFO) ee : Initializing EasyEngine Database
2016-10-15 08:58:45,005 (INFO) ee : e[94mRedis 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 debtsurvivor.co.za?e[0m
2016-10-15 08:58:48,056 (DEBUG) ee : e[95mSetting apt_packages variable for Nginxe[0m
2016-10-15 08:58:49,347 (DEBUG) ee : e[95mFinding string SCRIPT_FILENAME to file /etc/nginx/fastcgi_paramse[0m
2016-10-15 08:58:49,348 (DEBUG) ee : e[95mSetting apt_packages variable for PHPe[0m
2016-10-15 08:58:50,635 (DEBUG) ee : e[95mSetting apt_packages variable for MySQLe[0m
2016-10-15 08:58:50,635 (DEBUG) ee : e[95mRunning command: mysqladmin pinge[0m
2016-10-15 08:58:50,660 (DEBUG) ee : e[95mCommand Output: mysqld is alive
, 
Command Error: e[0m
2016-10-15 08:58:50,661 (DEBUG) ee : e[95mSetting apt_packages variable for Postfixe[0m
2016-10-15 08:58:51,996 (DEBUG) ee : e[95mSetting packages variable for WP-CLIe[0m
2016-10-15 08:58:51,997 (DEBUG) ee : e[95mRunning command: which wpe[0m
2016-10-15 08:58:52,004 (DEBUG) ee : e[95mCommand Output: /usr/bin/wp
, 
Command Error: e[0m
2016-10-15 08:58:52,004 (DEBUG) ee : e[95mSetting apt_packages variable for redise[0m
2016-10-15 08:58:53,291 (DEBUG) ee : e[95mFinding string redis to file /etc/nginx/conf.d/upstream.confe[0m
2016-10-15 08:58:53,292 (INFO) ee : e[94mRunning pre-update checks, please wait...e[0m
2016-10-15 08:58:53,292 (DEBUG) ee : e[95mchecking NGINX configuration ...e[0m
2016-10-15 08:58:53,334 (INFO) ee : e[94mSetting up NGINX configuration     e[0m
2016-10-15 08:58:53,334 (DEBUG) ee : loading template file /usr/lib/ee/templates/virtualconf.mustache
2016-10-15 08:58:53,337 (DEBUG) ee : e[95mChecking generated nginx conf, please wait...e[0m
2016-10-15 08:58:53,371 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:58:53,371 (DEBUG) ee : e[95mCreating Symbolic link, Source:/etc/nginx/sites-available/debtsurvivor.co.za, Dest:/etc/nginx/sites-enabled/debtsurvivor.co.zae[0m
2016-10-15 08:58:53,371 (INFO) ee : e[94mSetting up webroot         e[0m
2016-10-15 08:58:53,372 (DEBUG) ee : e[95mCreating Symbolic link, Source:/var/log/nginx/debtsurvivor.co.za.access.log, Dest:/var/www/debtsurvivor.co.za/logs/access.loge[0m
2016-10-15 08:58:53,372 (DEBUG) ee : e[95mCreating Symbolic link, Source:/var/log/nginx/debtsurvivor.co.za.error.log, Dest:/var/www/debtsurvivor.co.za/logs/error.loge[0m
2016-10-15 08:58:53,372 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:58:53,419 (INFO) ee : e[94mDownloading WordPress         e[0m
2016-10-15 08:58:53,419 (DEBUG) ee : e[95mChanging directory to /var/www/debtsurvivor.co.za/htdocs/e[0m
2016-10-15 08:58:53,419 (DEBUG) ee : e[95mRunning command: wp --allow-root core downloade[0m
2016-10-15 08:58:54,666 (DEBUG) ee : e[95mCommand Output: Downloading WordPress 4.6.1 (en_US)...
Using cached file '/home/franwess/.wp-cli/cache/core/wordpress-4.6.1-en_US.tar.gz'...
Success: WordPress downloaded.
, 
Command Error: e[0m
2016-10-15 08:58:54,666 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:58:54,667 (DEBUG) ee : e[95mAutofix MySQL username (ERROR 1470 (HY000)), please waite[0m
2016-10-15 08:58:54,667 (INFO) ee : e[94mSetting up database        e[0m
2016-10-15 08:58:54,667 (DEBUG) ee : e[95mCreating database debtsurvivor_co_zae[0m
2016-10-15 08:58:54,753 (DEBUG) ee : e[95me[0m
2016-10-15 08:58:54,755 (DEBUG) ee : e[95mExceuting MySQL Statement : create database `debtsurvivor_co_za`e[0m
2016-10-15 08:58:54,756 (DEBUG) ee : e[95mCreating user debtsu4q2j5sYI7be[0m
2016-10-15 08:58:54,756 (DEBUG) ee : e[95mcreate user `debtsu4q2j5sYI7b`@`localhost` identified by ''e[0m
2016-10-15 08:58:54,758 (DEBUG) ee : e[95mSetting up user privilegese[0m
2016-10-15 08:58:54,759 (DEBUG) ee : e[95mExceuting MySQL Statement : grant all privileges on `debtsurvivor_co_za`.* to `debtsu4q2j5sYI7b`@`localhost`e[0m
2016-10-15 08:58:54,760 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 08:58:54,760 (DEBUG) ee : e[95mChanging directory to /var/www/debtsurvivor.co.za/htdocs/e[0m
2016-10-15 08:58:54,760 (DEBUG) ee : e[95mSetting up wp-config filee[0m
2016-10-15 08:58:54,760 (DEBUG) ee : e[95mGenerating wp-config for WordPress Single sitee[0m
2016-10-15 08:58:54,760 (DEBUG) ee : e[95mbash -c "php /usr/bin/wp  --allow-root core config --dbname='debtsurvivor_co_za' --dbprefix='wp_' --dbuser='debtsu4q2j5sYI7b' --dbhost='localhost' --dbpass= --extra-php<<PHP 
 

define('WP_DEBUG', false);
PHP"e[0m
2016-10-15 08:58:55,573 (DEBUG) ee : e[95mCommand Output: Success: Generated wp-config.php file.
, 
Command Error: e[0m
2016-10-15 08:58:55,573 (DEBUG) ee : e[95mMoving file from /var/www/debtsurvivor.co.za/htdocs/wp-config.php to /var/www/debtsurvivor.co.zae[0m
2016-10-15 08:58:55,574 (DEBUG) ee : e[95mSetting up WordPress tablese[0m
2016-10-15 08:58:55,574 (DEBUG) ee : e[95mCreating tables for WordPress Single sitee[0m
2016-10-15 08:58:55,574 (DEBUG) ee : e[95mphp /usr/bin/wp  --allow-root core install --url='debtsurvivor.co.za' --title='debtsurvivor.co.za' --admin_name='Francois' --admin_password= --admin_email='francois@bitsavvy.co.za'e[0m
2016-10-15 08:58:55,673 (DEBUG) ee : e[95mCommand Output: , 
Command Error: PHP Fatal error:  Call to undefined function apply_filters() in /var/www/debtsurvivor.co.za/htdocs/wp-includes/load.php on line 317
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\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:755
PHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:807
PHP   7. WP_CLI\Utils\wp_debug_mode() phar:///usr/bin/wp/php/wp-settings-cli.php:59
PHP   8. wp_debug_mode() phar:///usr/bin/wp/php/utils-wp.php:22
e[0m
2016-10-15 08:58:55,673 (DEBUG) ee : e[95m'setup WordPress tables failed for single site'e[0m
2016-10-15 08:58:55,674 (INFO) ee : e[94me[91mOops Something went wrong !!e[0m
2016-10-15 08:58:55,674 (INFO) ee : e[94me[91mCalling cleanup actions ...e[0m
2016-10-15 08:58:55,674 (DEBUG) ee : e[95mRemoving Nginx configuratione[0m
2016-10-15 08:58:55,674 (DEBUG) ee : e[95mRemoving /etc/nginx/sites-enabled/debtsurvivor.co.zae[0m
2016-10-15 08:58:55,674 (DEBUG) ee : e[95mRemoving /etc/nginx/sites-available/debtsurvivor.co.zae[0m
2016-10-15 08:58:55,675 (INFO) ee : e[94mReload : nginx     e[0m
2016-10-15 08:58:55,718 (INFO) ee : e[94m[e[0mOKe[94m]e[0m
2016-10-15 08:58:55,734 (DEBUG) ee : e[95mRemoving /var/www/debtsurvivor.co.zae[0m
2016-10-15 08:58:55,735 (DEBUG) ee : e[95mRemoving /var/www/debtsurvivor.co.zae[0m
2016-10-15 08:58:55,777 (DEBUG) ee : e[95mdropping database `debtsurvivor_co_za`e[0m
2016-10-15 08:58:55,778 (DEBUG) ee : e[95mExceuting MySQL Statement : drop database `debtsurvivor_co_za`e[0m
2016-10-15 08:58:55,779 (DEBUG) ee : e[95mdropping user `debtsu4q2j5sYI7b`e[0m
2016-10-15 08:58:55,781 (DEBUG) ee : e[95mExceuting MySQL Statement : drop user `debtsu4q2j5sYI7b`@`localhost`e[0m
2016-10-15 08:58:55,782 (DEBUG) ee : e[95mExceuting MySQL Statement : flush privilegese[0m
2016-10-15 08:58:55,795 (ERROR) ee : e[91mCheck logs for reason `tail /var/log/ee/ee.log` & Try Again!!!e[0m
2016-10-15 09:00:02,471 (DEBUG) ee : logging initialized for 'ee' using LoggingLogHandler
2016-10-15 09:00:02,710 (DEBUG) ee : ['/usr/local/bin/ee', 'site', 'create', 'debtsurvivor.co.za', '--wpfc']
2016-10-15 09:00:02,711 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7f2964b553c8>
2016-10-15 09:00:02,713 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteController object at 0x7f2964b55ac8>
2016-10-15 09:00:02,714 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteCreateController object at 0x7f2964b55ef0>
2016-10-15 09:00:02,717 (INFO) ee : Initializing EasyEngine Database
2016-10-15 09:00:02,725 (DEBUG) ee : e[95mSetting apt_packages variable for Nginxe[0m
2016-10-15 09:00:04,038 (DEBUG) ee : e[95mFinding string SCRIPT_FILENAME to file /etc/nginx/fastcgi_paramse[0m
2016-10-15 09:00:04,038 (DEBUG) ee : e[95mSetting apt_packages variable for PHPe[0m
2016-10-15 09:00:05,361 (DEBUG) ee : e[95mSetting apt_packages variable for MySQLe[0m
2016-10-15 09:00:05,362 (DEBUG) ee : e[95mRunning command: mysqladmin pinge[0m
2016-10-15 09:00:05,385 (DEBUG) ee : e[95mCommand Output: mysqld is alive
, 
Command Error: e[0m
2016-10-15 09:00:05,385 (DEBUG) ee : e[95mSetting apt_packages variable for Postfixe[0m
2016-10-15 09:00:06,796 (DEBUG) ee : e[95mSetting packages variable for WP-CLIe[0m
2016-10-15 09:00:06,796 (DEBUG) ee : e[95mRunning command: which wpe[0m
2016-10-15 09:00:06,803 (DEBUG) ee : e[95mCommand Output: /usr/bin/wp
, 
Command Error: e[0m
2016-10-15 09:00:06,803 (INFO) ee : e[94mRunning pre-update checks, please wait...e[0m
2016-10-15 09:00:06,803 (DEBUG) ee : e[95mchecking NGINX configuration ...e[0m
2016-10-15 09:00:06,838 (INFO) ee : e[94mSetting up NGINX configuration     e[0m
2016-10-15 09:00:06,839 (DEBUG) ee : loading template file /usr/lib/ee/templates/virtualconf.mustache
2016-10-15 09:00:06,841 (DEBUG) ee : e[95mChecking generated nginx conf, please wait...e[0m
2016-10-15 09:00:06,876 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 09:00:06,876 (DEBUG) ee : e[95mCreating Symbolic link, Source:/etc/nginx/sites-available/debtsurvivor.co.za, Dest:/etc/nginx/sites-enabled/debtsurvivor.co.zae[0m
2016-10-15 09:00:06,876 (INFO) ee : e[94mSetting up webroot         e[0m
2016-10-15 09:00:06,877 (DEBUG) ee : e[95mCreating Symbolic link, Source:/var/log/nginx/debtsurvivor.co.za.access.log, Dest:/var/www/debtsurvivor.co.za/logs/access.loge[0m
2016-10-15 09:00:06,877 (DEBUG) ee : e[95mCreating Symbolic link, Source:/var/log/nginx/debtsurvivor.co.za.error.log, Dest:/var/www/debtsurvivor.co.za/logs/error.loge[0m
2016-10-15 09:00:06,877 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 09:00:06,930 (INFO) ee : e[94mDownloading WordPress         e[0m
2016-10-15 09:00:06,931 (DEBUG) ee : e[95mChanging directory to /var/www/debtsurvivor.co.za/htdocs/e[0m
2016-10-15 09:00:06,931 (DEBUG) ee : e[95mRunning command: wp --allow-root core downloade[0m
2016-10-15 09:00:08,157 (DEBUG) ee : e[95mCommand Output: Downloading WordPress 4.6.1 (en_US)...
Using cached file '/home/franwess/.wp-cli/cache/core/wordpress-4.6.1-en_US.tar.gz'...
Success: WordPress downloaded.
, 
Command Error: e[0m
2016-10-15 09:00:08,157 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 09:00:08,158 (DEBUG) ee : e[95mAutofix MySQL username (ERROR 1470 (HY000)), please waite[0m
2016-10-15 09:00:08,158 (INFO) ee : e[94mSetting up database        e[0m
2016-10-15 09:00:08,158 (DEBUG) ee : e[95mCreating database debtsurvivor_co_zae[0m
2016-10-15 09:00:08,256 (DEBUG) ee : e[95me[0m
2016-10-15 09:00:08,258 (DEBUG) ee : e[95mExceuting MySQL Statement : create database `debtsurvivor_co_za`e[0m
2016-10-15 09:00:08,259 (DEBUG) ee : e[95mCreating user debtsu6qQVWb2hzEe[0m
2016-10-15 09:00:08,259 (DEBUG) ee : e[95mcreate user `debtsu6qQVWb2hzE`@`localhost` identified by ''e[0m
2016-10-15 09:00:08,261 (DEBUG) ee : e[95mSetting up user privilegese[0m
2016-10-15 09:00:08,263 (DEBUG) ee : e[95mExceuting MySQL Statement : grant all privileges on `debtsurvivor_co_za`.* to `debtsu6qQVWb2hzE`@`localhost`e[0m
2016-10-15 09:00:08,263 (INFO) ee : e[94m[e[0mDonee[94m]e[0m
2016-10-15 09:00:08,264 (DEBUG) ee : e[95mChanging directory to /var/www/debtsurvivor.co.za/htdocs/e[0m
2016-10-15 09:00:08,264 (DEBUG) ee : e[95mSetting up wp-config filee[0m
2016-10-15 09:00:08,264 (DEBUG) ee : e[95mGenerating wp-config for WordPress Single sitee[0m
2016-10-15 09:00:08,264 (DEBUG) ee : e[95mbash -c "php /usr/bin/wp  --allow-root core config --dbname='debtsurvivor_co_za' --dbprefix='wp_' --dbuser='debtsu6qQVWb2hzE' --dbhost='localhost' --dbpass= --extra-php<<PHP 
 

define('WP_DEBUG', false);
PHP"e[0m
2016-10-15 09:00:09,087 (DEBUG) ee : e[95mCommand Output: Success: Generated wp-config.php file.
, 
Command Error: e[0m
2016-10-15 09:00:09,087 (DEBUG) ee : e[95mMoving file from /var/www/debtsurvivor.co.za/htdocs/wp-config.php to /var/www/debtsurvivor.co.zae[0m
2016-10-15 09:00:09,088 (DEBUG) ee : e[95mSetting up WordPress tablese[0m
2016-10-15 09:00:09,088 (DEBUG) ee : e[95mCreating tables for WordPress Single sitee[0m
2016-10-15 09:00:09,088 (DEBUG) ee : e[95mphp /usr/bin/wp  --allow-root core install --url='debtsurvivor.co.za' --title='debtsurvivor.co.za' --admin_name='Francois' --admin_password= --admin_email='francois@bitsavvy.co.za'e[0m
2016-10-15 09:00:09,189 (DEBUG) ee : e[95mCommand Output: , 
Command Error: PHP Fatal error:  Call to undefined function apply_filters() in /var/www/debtsurvivor.co.za/htdocs/wp-includes/load.php on line 317
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\Runner->load_wordpress() phar:///usr/bin/wp/php/WP_CLI/Runner.php:755
PHP   6. require() phar:///usr/bin/wp/php/WP_CLI/Runner.php:807
PHP   7. WP_CLI\Utils\wp_debug_mode() phar:///usr/bin/wp/php/wp-settings-cli.php:59
PHP   8. wp_debug_mode() phar:///usr/bin/wp/php/utils-wp.php:22
e[0m
2016-10-15 09:00:09,189 (DEBUG) ee : e[95m'setup WordPress tables failed for single site'e[0m
2016-10-15 09:00:09,190 (INFO) ee : e[94me[91mOops Something went wrong !!e[0m
2016-10-15 09:00:09,190 (INFO) ee : e[94me[91mCalling cleanup actions ...e[0m
2016-10-15 09:00:09,190 (DEBUG) ee : e[95mRemoving Nginx configuratione[0m
2016-10-15 09:00:09,190 (DEBUG) ee : e[95mRemoving /etc/nginx/sites-enabled/debtsurvivor.co.zae[0m
2016-10-15 09:00:09,190 (DEBUG) ee : e[95mRemoving /etc/nginx/sites-available/debtsurvivor.co.zae[0m
2016-10-15 09:00:09,190 (INFO) ee : e[94mReload : nginx     e[0m
2016-10-15 09:00:09,234 (INFO) ee : e[94m[e[0mOKe[94m]e[0m
2016-10-15 09:00:09,252 (DEBUG) ee : e[95mRemoving /var/www/debtsurvivor.co.zae[0m
2016-10-15 09:00:09,252 (DEBUG) ee : e[95mRemoving /var/www/debtsurvivor.co.zae[0m
2016-10-15 09:00:09,307 (DEBUG) ee : e[95mdropping database `debtsurvivor_co_za`e[0m
2016-10-15 09:00:09,309 (DEBUG) ee : e[95mExceuting MySQL Statement : drop database `debtsurvivor_co_za`e[0m
2016-10-15 09:00:09,310 (DEBUG) ee : e[95mdropping user `debtsu6qQVWb2hzE`e[0m
2016-10-15 09:00:09,311 (DEBUG) ee : e[95mExceuting MySQL Statement : drop user `debtsu6qQVWb2hzE`@`localhost`e[0m
2016-10-15 09:00:09,313 (DEBUG) ee : e[95mExceuting MySQL Statement : flush privilegese[0m
2016-10-15 09:00:09,325 (ERROR) ee : e[91mCheck logs for reason `tail /var/log/ee/ee.log` & Try Again!!!e[0m

===============

Any help will be greatly appreciated…

Kind regards @francois_wessels


#2

Try to run this first: sudo wp cli update --allow-root

and then re-run your site creation command and see if it helps.


#3