Site create missing db and plugins


#1

I created an additional site today (not sure if it matter, I have about a half dozen on the same server). Everything looked good. Ran as root.

ee site create mysite.com --wpfc
Running pre-update checks, please wait...
Setting up NGINX configuration  [Done]
Setting up webroot              [Done]
Downloading Wordpress           [Done]
Setting up database             [Done]
Installing plugin nginx-helper, please wait...
Setting plugin nginx-helper, please wait...
Installing plugin w3-total-cache, please wait...
Reload : nginx     [OK]
WordPress admin user : secretagentman
WordPress admin user password : ****************
Configure W3TC:         http://mysite.com/wp-admin/admin.php?page=w3tc_general
Page Cache:             Disable
Database Cache:         Memcached
Object Cache:           Memcached
Browser Cache:          Disable
Successfully created site http://mysite.com

However when I go to log in it redirected to the first time setup. I checked mysql and database exists but no tables. When I create the site old fashioned wp way by completing the setup I can get in and begin working on my site but I also notice the plugins don’t exist.

I just created two new sites last week and this did not happen. Looking at ee.log I see a fatal error during install:

2016-03-25 18:05:49,062 (DEBUG) ee : ^[[95mCommand Output: ,
Command Error: PHP Fatal error:  Class 'WP_Widget' not found in /var/www/mysite.com/htdocs/wp-includes/widgets/class-wp-widget-pages.php on line 17
Fatal error: Class 'WP_Widget' not found in /var/www/mysite.com/htdocs/wp-includes/widgets/class-wp-widget-pages.php on line 17
^[[0m
2016-03-25 18:05:49,062 (DEBUG) ee : ^[[95mUpdating WordPress permalink^[[0m
2016-03-25 18:05:49,062 (DEBUG) ee : ^[[95mRunning command:  php /usr/bin/wp  --allow-root rewrite structure /%year%/%monthnum%/%day%/%postname%/^[[0m

2016-03-25 18:05:49,125 (DEBUG) ee : ^[[95mCommand Output: ,
Command Error: Error: The site you have requested is not installed.
Run `wp core install`.

Not sure where all the funny chars are coming from either but appears to be in my logs going back quite some time (i.e. ^[[95m, ^[[0m etc) Are those referencing time in ms for each output?


#2