Not able to add a new site


#1

Input:

ee site create example.com --type=wp --ssl=le --cache

Output:

global-redis: Service already running
global-db: Service already running
Warning: Could not create user example.com-yBDF4G. Please check logs.
Warning: Initiating clean-up.
PHP Notice:  Undefined index: site_fs_path in phar:///usr/local/bin/ee/vendor/easyengine/site-type-wp/src/WordPress.php on line 1103
Site example.com deleted.

Do anyone know how to fix this? :pleading_face:


#2

@Venom Can you share the output of ee cli info?

Also, did you update your site from RC1 to RC2?


#3

I got this exact same error on the server that I had originally installed RC2 on, and updated to 4.0.0

However, using the same command to create a new site on a fresh server with a fresh install of EE4 worked as it should. the output of your requested command is. . .

+-------------------+----------------------------------------------------------+
| OS                | Linux 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48: |
|                   | 01 UTC 2018 x86_64                                       |
| Shell             | /bin/bash                                                |
| PHP binary        | /usr/bin/php7.2                                          |
| PHP version       | 7.2.12-1+ubuntu18.04.1+deb.sury.org+1                    |
| php.ini used      | /etc/php/7.2/cli/php.ini                                 |
| EE root dir       | phar://ee.phar                                           |
| EE vendor dir     | phar://ee.phar/vendor                                    |
| EE phar path      | /root                                                    |
| EE packages dir   |                                                          |
| EE global config  | /opt/easyengine/config/config.yml                        |
| EE project config |                                                          |
| EE version        | 4.0.0                                                    |
+-------------------+----------------------------------------------------------+

#4
+-------------------+----------------------------------------------------------+
| OS                | Linux 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48: |
|                   | 01 UTC 2018 x86_64                                       |
| Shell             | /bin/bash                                                |
| PHP binary        | /usr/bin/php7.2                                          |
| PHP version       | 7.2.12-1+ubuntu18.04.1+deb.sury.org+1                    |
| php.ini used      | /etc/php/7.2/cli/php.ini                                 |
| EE root dir       | phar://ee.phar                                           |
| EE vendor dir     | phar://ee.phar/vendor                                    |
| EE phar path      | /root                                                    |
| EE packages dir   |                                                          |
| EE global config  | /opt/easyengine/config/config.yml                        |
| EE project config |                                                          |
| EE version        | 4.0.0                                                    |
+-------------------+----------------------------------------------------------+

I updated from RC2 to 4.0.0