WordPress fails to install due to directory validation issues. If there is anything in the website directory it will not install. And if there isn’t a folder named public_html/wordpress in the website root it will not install. This is a catch 22 when trying to use the Application Installer to install WordPress in the root directory or any directory for that matter.
Experiencing the same issue.
Clean install of Centos7 with Cyberpanel 1.5.
Created website, clicked “install wordpress with lscache” with no subdir, just an empty field, but this gives the following error:
“Installation failed. Error message: [Errno 2] No such file or directory: ‘/home/www.mydomain.com/public_html/wordpress’”
Creating directory wordpress and then clicking trying to install results in this error:
“Installation failed. Error message: Target directory should be empty before installation, otherwise data loss could occur.”