Fail to install WordPress


#1

Hello, i’m not sure what i’m doing wrong, i create a site using ee site create sheepthemes.com --wpfc, but after i insert the DB prefix show this error:

root@rhuancarlos:/# ee site create sheepthemes.com --wpfc Running pre-update checks, please wait... Setting up NGINX configuration [Done] Setting up webroot [Done] Downloading Wordpress [Done] Enter the MySQL database name [sheepthemes_com]: db_sheepthemes Enter the MySQL database user name [sheepthemes_com]: user_sheepthemes Enter the MySQL database password [wZ7pNqxJFv8z9DM]: Setting up database [Done] Enter the WordPress table prefix [wp_]: sheep_ Oops Something went wrong !! Calling cleanup actions ... Reload : nginx [OK] Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!! root@rhuancarlos:/#

This is my ee.log: http://pastebin.com/qWeyuwE9

I did a migration from a site using the updraft plugin after that, i deleted the site that made ​​the migration, but when I try to reinstall or install any other site is giving this error.


#2

same problem, I already deploy server ubuntu and debian still can not create website wordpress


#3

I create a new Droplet on DigitalOcean to test, but don’t work too, show the same error message even with no site have been installed before on droplet


#4

I can’t create a WordPress site too. I think it has something to do with the latest WordPress update (version 4.4) and not so much about EasyEngine, but I can be mistaken.

Here’s my ee.log dump:

    2015-12-08 23:36:11,319 (INFO) ee : Setting up webroot
2015-12-08 23:36:11,319 (DEBUG) ee : Creating Symbolic link, Source:/var/log/nginx/example.com.access.log, Dest:/var/www/example.com/logs/access.log
2015-12-08 23:36:11,319 (DEBUG) ee : Creating Symbolic link, Source:/var/log/nginx/example.com.error.log, Dest:/var/www/example.com/logs/error.log
2015-12-08 23:36:11,320 (INFO) ee : [Done]
2015-12-08 23:36:11,490 (INFO) ee : Downloading Wordpress
2015-12-08 23:36:11,490 (DEBUG) ee : Changing directory to /var/www/example.com/htdocs/
2015-12-08 23:36:11,490 (DEBUG) ee : Running command: wp --allow-root core download
2015-12-08 23:36:13,352 (INFO) ee : [Done]
2015-12-08 23:36:13,353 (INFO) ee : Setting up database
2015-12-08 23:36:13,353 (DEBUG) ee : Creating database example_com
2015-12-08 23:36:13,357 (DEBUG) ee :
2015-12-08 23:36:13,361 (DEBUG) ee : Exceuting MySQL Statement : create database `example_com`
2015-12-08 23:36:13,362 (DEBUG) ee : Creating user example_com
2015-12-08 23:36:13,362 (DEBUG) ee : create user `example_com`@`localhost` identified by ''
2015-12-08 23:36:13,366 (DEBUG) ee : Setting up user privileges
2015-12-08 23:36:13,474 (DEBUG) ee : Exceuting MySQL Statement : grant all privileges on `example_com`.* to `example_com`@`localhost`
2015-12-08 23:36:13,476 (INFO) ee : [Done]
2015-12-08 23:36:13,477 (DEBUG) ee : Changing directory to /var/www/example.com/htdocs/
2015-12-08 23:36:13,477 (DEBUG) ee : Setting up wp-config file
2015-12-08 23:36:13,477 (DEBUG) ee : Generating wp-config for WordPress Single site
2015-12-08 23:36:13,477 (DEBUG) ee : bash -c "php /usr/bin/wp  --allow-root core config --dbname='example_com' --dbprefix='wp_' --dbuser='example_com' --dbhost='localhost' --dbpass= --extra-php<<PHP


define('WP_DEBUG', false);
PHP"
2015-12-08 23:36:14,409 (DEBUG) ee : Moving file from /var/www/example.com/htdocs/wp-config.php to /var/www/example.com
2015-12-08 23:36:14,413 (DEBUG) ee : Setting up WordPress tables
2015-12-08 23:36:14,413 (DEBUG) ee : Creating tables for WordPress Single site
2015-12-08 23:36:14,413 (DEBUG) ee : php /usr/bin/wp  --allow-root core install --url='example.com' --title='example.com' --admin_name='wpkamico' --admin_password= --admin_email='admin@wpkami.com'
2015-12-08 23:36:14,714 (DEBUG) ee : Command Output: ,
Command Error: PHP Fatal error:  Class 'WP_Widget' not found in /var/www/example.com/htdocs/wp-includes/widgets/class-wp-widget-pages.php on line 17
Fatal error: Class 'WP_Widget' not found in /var/www/example.com/htdocs/wp-includes/widgets/class-wp-widget-pages.php on line 17

2015-12-08 23:36:14,715 (DEBUG) ee : 'setup wordpress tables failed for single site'
2015-12-08 23:36:14,715 (INFO) ee : Oops Something went wrong !!
2015-12-08 23:36:14,715 (INFO) ee : Calling cleanup actions ...
2015-12-08 23:36:14,715 (DEBUG) ee : Removing Nginx configuration
2015-12-08 23:36:14,715 (DEBUG) ee : Removing /etc/nginx/sites-enabled/example.com
2015-12-08 23:36:14,716 (DEBUG) ee : Removing /etc/nginx/sites-available/example.com
2015-12-08 23:36:14,716 (INFO) ee : Reload : nginx
2015-12-08 23:36:15,011 (INFO) ee : [OK]
2015-12-08 23:36:15,031 (DEBUG) ee : Removing /var/www/example.com
2015-12-08 23:36:15,032 (DEBUG) ee : Removing /var/www/example.com
2015-12-08 23:36:15,090 (DEBUG) ee : dropping database `example_com`
2015-12-08 23:36:15,092 (DEBUG) ee : Exceuting MySQL Statement : drop database `example_com`
2015-12-08 23:36:15,093 (DEBUG) ee : dropping user `example_com`
2015-12-08 23:36:15,095 (DEBUG) ee : Exceuting MySQL Statement : drop user `example_com`@`localhost`
2015-12-08 23:36:15,097 (DEBUG) ee : Exceuting MySQL Statement : flush privileges
2015-12-08 23:36:15,113 (ERROR) ee : Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!

Any help would be highly appreciated, since I’m fairly new to EE. Thank you so much in advance.


#5

It makes sense , since the version was released today


#6

@airbush

Please update your EasyEngine version to get fix for the issue. WP-CLI version needed to be upgraded to work with WordPress 4.4.


#7

It’s work! with ee 3.15 thanks


#8

It works after the update. Thank you!


#9

It works :slight_smile: Thanks


#10

While updating easyengine, I received following error.

Cloning EasyEngine, please wait...

Installing EasyEngine, please wait… Traceback (most recent call last): File “setup.py”, line 30, in config.read(os.path.expanduser("~")+’/.gitconfig’) File “/usr/lib/python3.4/configparser.py”, line 672, in read self._read(fp, filename) File “/usr/lib/python3.4/configparser.py”, line 1070, in _read fpname, lineno) configparser.DuplicateOptionError: While reading from ‘/home/ankit/.gitconfig’ [line 3]: option ‘recentrepo’ in section ‘gui’ already exists [ Thu Dec 10 12:08:12 IST 2015 ] Unable to install EasyEngine, exit status 1 Updating EasyEngine configuration, please wait… sed: can’t read /etc/ee/ee.conf: No such file or directory [ Thu Dec 10 12:08:12 IST 2015 ] Unable to update configuration, exit status 2 Updating Nginx configuration, please wait… eeup: line 531: cd: /etc/ee: No such file or directory

Can you please help me with this situation?

Regards


#11

@ankitrox

Seems like issue with your ~/.gitconfig File. Can you check reinstalling after reset gitconfig?


#12

Hi Harshad,

Can you please guide me regarding the steps to do the same?


#13

Hi Harshad,

I managed to complete the update procedure by resetting the gitconfig file, but now I have an another issue.

Whenever I am running any of the ee command, I am getting following message and nothing seems to be happening.

Traceback (most recent call last): File "/usr/local/sbin/ee", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2749, in working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources.py", line 444, in _build_master ws.require(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources.py", line 725, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources.py", line 628, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pystache

Can you please let me know what it is all about?

Regards


#14

@ankitrox

Can you provide me output for following command lsb_release -a ?


#15

Hi Harshad,

Following is the output for given command.

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 14.04.1 LTS

Release: 14.04

Codename: trusty


#16