Nginx mainline doesn't reload and site creation fail

Helo,

Since I migrated to Nginx mainline, Nginx fails to reload and I’m not able to create new sites. Do you guys have any idea or facing same issue ?

Regards

root@srv12:~# ee -v EasyEngine v3.4.1 Copyright © 2015 rtCamp Solutions Pvt. Ltd.

root@srv12:~# ee site create example.ma --wp 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@srv12:~#

root@srv12:~# nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful root@srv12:~#

root@srv12:~# tail /var/log/ee/ee.log 2016-02-04 15:04:23,073 (INFO) ee : [Failed] 2016-02-04 15:04:23,090 (DEBUG) ee : Removing /var/www/example.ma 2016-02-04 15:04:23,090 (DEBUG) ee : Removing /var/www/example.ma 2016-02-04 15:04:23,148 (DEBUG) ee : dropping database example_ma 2016-02-04 15:04:23,153 (DEBUG) ee : Exceuting MySQL Statement : drop database example_ma 2016-02-04 15:04:23,172 (DEBUG) ee : dropping user example_ma 2016-02-04 15:04:23,173 (DEBUG) ee : Exceuting MySQL Statement : drop user example_ma@localhost 2016-02-04 15:04:23,175 (DEBUG) ee : Exceuting MySQL Statement : flush privileges 2016-02-04 15:04:23,184 (INFO) ee : service nginx reload failed. check issues with nginx -t command. 2016-02-04 15:04:23,185 (ERROR) ee : Check logs for reason tail /var/log/ee/ee.log & Try Again!!! root@srv12:~#

Same problem… no one seems to be responding to this issue.

Nginx themselves recommend using mainline.

One of my biggest issues with EE is that mainline is “beta”.

Otherwise an incredible piece of software.

I switched back to --nginx, but still facing the same issue. I think I’ll do a new clean ee install and see what happen.

Well, I didnt reinstall but after a server reboot, now it’s working with --nginx