Skip to content

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

Open
@yuan3y

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions