Hi,
I'm trying to create a new site but the WordPress files are missing and I can't figure out why.
I have other sites created on the same server and they are working without issues.
2023-08-10 07:41:47,035 (INFO) wo : Downloading WordPress
2023-08-10 07:41:47,036 (DEBUG) wo.core.logging : Changing directory to /var/www/domain.com/htdocs/
2023-08-10 07:41:47,036 (DEBUG) wo.core.logging : Running command: wp --allow-root core download
2023-08-10 07:41:47,037 (DEBUG) wo.core.logging : Command Output: ,
Command Error: /bin/sh: 1: wp: Permission denied
2023-08-10 07:41:47,037 (INFO) wo : [Fail]
2023-08-10 07:41:47,037 (DEBUG) wo.core.logging : 'download WordPress core failed'
2023-08-10 07:41:47,037 (INFO) wo : There was a serious error encountered...
2023-08-10 07:41:47,038 (INFO) wo : Cleaning up afterwards...
The domain.com folder is created with root:root permissions while all the other sites have www-data:www-data permisions
sudo wo site create domain.com
This creates the site folder with www-data:www-data permissions
Any idea on how to fix this issue?
Thanks!