After upgrading to 3.1 and enabling page speed, hhvm and wpfc an existing the following file is missing:
etc/nginx/common/wpfc-hhvm.conf
This is what my terminal is returning:
"/etc/nginx/common/wpfc-hhvm.conf" failed (2: No such file or directory) in /etc/nginx/sites-enabled/example.com:17
This is how I upgrade easy engine:
wget -q http://rt.cx/ee && sudo bash ee
This is the first command I tried:
ee site update example.com --pagespeed=on --hhvm=on
A number of other commands where I tried to manually enable one option at a time didn’t help neither.
This is the log created which I am posting here with my domain name replaced by example.com:
2015-04-18 08:30:46,152 (DEBUG) ee : logging initialized for 'ee' using LoggingLogHandler
2015-04-18 08:30:46,464 (DEBUG) ee : ['/usr/local/bin/ee', 'site', 'update', 'example.com', '--hhvm=on']
2015-04-18 08:30:46,464 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7ff516930eb8>
2015-04-18 08:30:46,468 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteController object at 0x7ff51693a390>
2015-04-18 08:30:46,471 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site.EESiteUpdateController object at 0x7ff51693a748>
2015-04-18 08:30:46,475 (INFO) ee : Initializing EasyEngine Database
2015-04-18 08:30:46,484 (DEBUG) ee : [95mSetting apt_packages variable for Nginx[0m
2015-04-18 08:30:47,646 (DEBUG) ee : [95mSetting apt_packages variable for PHP[0m
2015-04-18 08:30:48,999 (DEBUG) ee : [95mSetting apt_packages variable for MySQL[0m
2015-04-18 08:30:48,999 (DEBUG) ee : [95mRunning command: mysqladmin ping[0m
2015-04-18 08:30:49,011 (DEBUG) ee : [95mSetting apt_packages variable for Postfix[0m
2015-04-18 08:30:50,421 (DEBUG) ee : [95mSetting packages variable for WP-CLI[0m
2015-04-18 08:30:50,422 (DEBUG) ee : [95mRunning command: which wp[0m
2015-04-18 08:30:50,432 (DEBUG) ee : [95mSetting apt_packages variable for HHVM[0m
2015-04-18 08:30:51,738 (DEBUG) ee : [95mCreating directories: /var/www/example.com/backup/18Apr2015083046[0m
2015-04-18 08:30:51,738 (INFO) ee : [94mBackup location : /var/www/example.com/backup/18Apr2015083046[0m
2015-04-18 08:30:51,738 (DEBUG) ee : [95mCopying file, Source:/etc/nginx/sites-available/example.com, Dest:/var/www/example.com/backup/18Apr2015083046[0m
2015-04-18 08:30:51,739 (INFO) ee : [94mBacking up database [0m
2015-04-18 08:30:51,739 (DEBUG) ee : [95mRunning command: mysqldump example_com > /var/www/example.com/backup/18Apr2015083046/example_com.sql[0m
2015-04-18 08:30:52,921 (INFO) ee : [94m[[0mDone[94m][0m
2015-04-18 08:30:52,921 (DEBUG) ee : [95mCopying file, Source:/var/www/example.com/wp-config.php, Dest:/var/www/example.com/backup/18Apr2015083046[0m
2015-04-18 08:30:52,922 (INFO) ee : [94mSetting up NGINX configuration [0m
2015-04-18 08:30:52,922 (DEBUG) ee : loading template file /usr/lib/ee/templates/virtualconf.mustache
2015-04-18 08:30:52,925 (DEBUG) ee : [95mChecking generated nginx conf, please wait ...[0m
2015-04-18 08:30:52,972 (DEBUG) ee : [95mCommand '['nginx', '-t']' returned non-zero exit status 1[0m
2015-04-18 08:30:52,972 (INFO) ee : [94m[[0m[91mFail[94m][0m
2015-04-18 08:30:52,973 (DEBUG) ee : [95m'created nginx configuration failed for site. check with `nginx -t`'[0m
2015-04-18 08:30:52,973 (ERROR) ee : [91mUpdate site failed. Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!![0m