EasyEngine / EasyEngine/easyengine

Failed to create 'themes' or 'plugins' directories if the `--skip-content` flag is used.

Open
#1,686 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.2k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

The following command is used to create a new site.

```
ee site create example.com --type=wp --title=XX --admin-user=xxx --skip-content --ssl=le
```
Attention to `--skip-content` flag.

After the installation is done, WP works great.

But if I try to install a theme or a plugin, it will fail, because can't create the respective directories.

```
Installation failed: Could not create directory.
```

This issue has been there for years, and I always created these dirs manually and set the needed permissions. But would be great the have them created automatically.

The `uploads` folder does not have this problem. It's created automatically on the first file upload.

System Information
- On any EE v4. This issue has been there in all Ubuntu dist that I've used: 16.04 --- 20.04

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.