Create --mysql running but --wp with error


#1

When I use “ee site create example.com --mysql” it works fine, it creates in remote DB and it works, when I use “ee site create example.com --wp” Already Of the problem, I get the following error;

root@cloudapp01:~# ee site create example.com.br --mysql Running pre-update checks, please wait… Setting up NGINX configuration [Done] Setting up webroot [Done] Setting up database [Done] Reload : nginx [OK] Successfully created site http://example.com.br root@cloudapp01:~# tail /var/log/ee/ee.log 2017-06-20 21:58:01,231 (DEBUG) ee : create user example_com_br@ip_db identified by ‘’ 2017-06-20 21:58:01,300 (DEBUG) ee : Setting up user privileges 2017-06-20 21:58:01,312 (DEBUG) ee : Exceuting MySQL Statement : grant all privileges on example_com_br.* to example_com_br@ip_db 2017-06-20 21:58:01,317 (INFO) ee : [Done] 2017-06-20 21:58:01,332 (INFO) ee : Reload : nginx 2017-06-20 21:58:01,475 (INFO) ee : [OK] 2017-06-20 21:58:01,538 (DEBUG) ee : EEGit: git commit at /etc/nginx 2017-06-20 21:58:01,593 (DEBUG) ee : Setting up permissions 2017-06-20 21:58:01,594 (DEBUG) ee : Changing ownership of /var/www/example.com.br, Userid:33,Groupid:33 2017-06-20 21:58:01,596 (INFO) ee : Successfully created site http://example.com.br root@cloudapp01:~# ee site create example.com.br --wp site example.com.br already exists root@cloudapp01:~# ee site create example1.com.br --wp Running pre-update checks, please wait… 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!!! root@cloudapp01:~# tail /var/log/ee/ee.log 2017-06-20 21:59:08,800 (INFO) ee : Reload : nginx 2017-06-20 21:59:08,915 (INFO) ee : [OK] 2017-06-20 21:59:08,957 (DEBUG) ee : Removing /var/www/example1.com.br 2017-06-20 21:59:08,963 (DEBUG) ee : Removing /var/www/example1.com.br 2017-06-20 21:59:09,051 (DEBUG) ee : dropping database example1_com_br 2017-06-20 21:59:09,055 (DEBUG) ee : Exceuting MySQL Statement : drop database example1_com_br 2017-06-20 21:59:09,058 (DEBUG) ee : dropping user example1_com_br 2017-06-20 21:59:09,069 (DEBUG) ee : Exceuting MySQL Statement : drop user example1_com_br@ip_DB 2017-06-20 21:59:09,073 (DEBUG) ee : Exceuting MySQL Statement : flush privileges 2017-06-20 21:59:09,095 (ERROR) ee : Check logs for reason tail /var/log/ee/ee.log & Try Again!!! root@cloudapp01:~#


#2

Hi @felipedeacorrea

While you are creating a wordpress site, do not terminate the process while it is stuck on Setting up database [Done].

The case here is that it is taking considerable time while setting up mysql database with --wp option. If you want, you can see the time it is taking by running this in mysql prompt: show full processlist


#3

I have refactored VPS, I now have the following error

"Setting up database Oops Something went wrong !! Calling cleanup actions … ‘Ee_mysql_grant_host’ "


#4