Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
awps opened this issue Mar 30, 2022 · 0 comments

Comments

@awps
Copy link

awps commented Mar 30, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant