I normally use serverpilot to host multiple wordpress sites with the 1 click feature but sadly serverpilot doesn’t work on OpenVZ VPS so I decided its a great time to try EasyEngine as I heard many great things about it. Anyways, I was able to install EasyEngine but when I tried to install my wordpress site I got an error
sudo ee site create example.com --wp
Installing packages, please wait…
Downloading MySQLTuner [Done]
Downloading WP-CLI [Done]
Reload : nginx [Failed]
Restart : php5.6-fpm[OK]
Reload : mysql [OK]
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…
Reload : nginx [Failed]
Oops Something went wrong !!
Calling cleanup actions …
Reload : nginx [Failed]
service nginx reload failed. check issues with nginx -t
command.
Check logs for reason tail /var/log/ee/ee.log
& Try Again!!!
root@cloudserver:/# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
I went to see more of the log
root@cloudserver:/var/log/ee# more ee.log 2017-03-13 13:18:40,657 (DEBUG) ee : logging initialized for ‘ee’ using LoggingLogHandler 2017-03-13 13:18:42,042 (DEBUG) ee : [’/usr/local/bin/ee’, ‘sync’] 2017-03-13 13:18:42,042 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers. base.EEBaseController object at 0x7f8a418c6c88> 2017-03-13 13:18:42,046 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.sync .EESyncController object at 0x7f8a418c6dd8> 2017-03-13 13:18:42,050 (INFO) ee : Initializing EasyEngine Database 2017-03-13 13:18:42,156 (INFO) ee : Synchronizing ee database, please wait… 2017-03-13 13:19:59,252 (DEBUG) ee : logging initialized for ‘ee’ using LoggingLogHandler 2017-03-13 13:20:00,087 (DEBUG) ee : [’/usr/local/bin/ee’, ‘site’, ‘create’, ‘example.com’, ‘–wp’] 2017-03-13 13:20:00,087 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers. base.EEBaseController object at 0x7f36a5ae3cc0> 2017-03-13 13:20:00,091 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site .EESiteController object at 0x7f36a5ae3e10> 2017-03-13 13:20:00,095 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.site .EESiteCreateController object at 0x7f36a5af27b8> 2017-03-13 13:20:00,103 (INFO) ee : Initializing EasyEngine Database 2017-03-13 13:20:00,118 (DEBUG) ee : Setting apt_packages variable for Nginx 2017-03-13 13:20:11,956 (DEBUG) ee : Setting apt_packages variable for PHP 2017-03-13 13:20:14,134 (DEBUG) ee : Setting apt_packages variable for MySQL 2017-03-13 13:20:14,134 (DEBUG) ee : Running command: mysqladmin ping 2017-03-13 13:20:14,149 (DEBUG) ee : Command Output: , Command Error: /bin/sh: 1: mysqladmin: not found –More–(2%)
Not sure what went wrong. If anyone knows how to fix this error let me know. I would love to setup multiple wordpress sites using EasyEngine on a OpenVZ VPS