site-command icon indicating copy to clipboard operation
site-command copied to clipboard

Warning: Failed to create "/opt/easyengine/sites/example.com/config/nginx/conf.d": mkdir(): File exists.

Open yuan3y opened this issue 4 years ago • 0 comments

I'm unable to create site using the most basic command sudo ee site create example.com on a fresh new installation of ee on Ubuntu 20.04 LTS running on Windows 10 WSL2: $ wget -qO ee https://rt.cx/ee4 && sudo bash ee

+-------------------+------------------------------------------------------------------------------+
| OS                | Linux 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 |
| Shell             | /bin/bash                                                                    |
| PHP binary        | /usr/bin/php7.3                                                              |
| PHP version       | 7.3.27-9+ubuntu20.04.1+deb.sury.org+1                                        |
| php.ini used      | /etc/php/7.3/cli/php.ini                                                     |
| EE root dir       | phar://ee.phar                                                               |
| EE vendor dir     | phar://ee.phar/vendor                                                        |
| EE phar path      | /home/yuan3y                                                                 |
| EE packages dir   |                                                                              |
| EE global config  |                                                                              |
| EE project config |                                                                              |
| EE version        | 4.1.5                                                                        |
+-------------------+------------------------------------------------------------------------------+

The messages on screen:

$ sudo ee site create example.com
Configuring project.
Creating site example.com.
Copying configuration files.
Starting site's services.
Warning: Failed to create "/opt/easyengine/sites/example.com/config/nginx/conf.d": mkdir(): File exists.
Warning: Initiating clean-up.
[example.com] Docker Containers removed.
[example.com] site root removed.
Success: Site example.com deleted.
Report bugs here: https://github.com/EasyEngine/site-command

Please let me know if I can supply more information for debugging.

yuan3y avatar Mar 06 '21 08:03 yuan3y