Wordpress install on clean hestia server failing

Hey all,

Just spun up a new hestia server on vultr for a new client.

running on ubuntu 26.04. Command line to configure;

get https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
chmod a+x hst-install.sh
./hst-install.sh --hostname hostname.mydomain.co.uk --username admin --email [email protected] --password `Password1` --interactive no --force

Added a new user, edit user add domain, edit domain, quick install app

Select wordpress, default options with php 8.5

Fails with;
Failed to run php command "'/usr/bin/sudo' '/usr/local/hestia/bin/v-run-cli-cmd' 'customerusername' '/usr/bin/php8.5' '/home/customerusername/.wp-cli/wp' 'core' 'download' '--locale=en_US' '--version=latest' '--path=/home/customerusername/web/customerdomain/public_html'"

Anyone got any idea where I’m going wrong?

Hi,

I can’t remember exactly, but I think the issue is related to the locale (--locale=en_US). I’ll try to test it again, but the problem is that the wp command can’t find the package when a locale is specified, if I remember correctly.

I’ve tested it, and using --locale=en_US works fine. It doesn’t seem to work with other locales, but en_US should work.

Could you please run the command manually as root? Before doing so, you should remove all the contents of /home/customerusername/web/customerdomain/public_html.

/usr/local/hestia/bin/v-run-cli-cmd 'customerusername' '/usr/bin/php8.5' '/home/customerusername/.wp-cli/wp' 'core' 'download' '--locale=en_US' '--version=latest' '--path=/home/customerusername/web/customerdomain/public_html'

Hey @sahsanu , thanks.

That command returns “Success: Wordpress downloaded.”

I tried going back to the quick install but that still fails. It looks like I can now finish the wp install manually by browsing to the domain and manually creating the db though.

I noticed that in my error output it did say en_US though

Yep, so manual db creation and wp setup seems to have worked.

Do you want me to test some more on my end? Happy to pull this down and rebuild a couple of times if it helps to squash some bugs.

I can’t reproduce the issue using English as locale.

I’ve found a problem when using some locales like Spanish. Since version 7.1.x, WordPress install fails for some locales (es_ES, hu_HU, zh_CN, zh_TW, etc.) with Error: The requested locale (es_ES) was not found.

There is currently no localized release zip for the latest WordPress (7.1.x), so the wordpress.org API offers en_US and wp core download --locale=... aborts.

I’ve created this PR to fix the issue:

I would appreciate it if you could remove all the contents of the public_html directory and execute this script. It will simulate what QuickInstall does. I would also need you to paste the output here.

Replace YourUser and YourDomain with the actual user and domain.

curl -fsSLm30 https://7j.gg/wpdebug | sudo bash -s -- YourUser YourDomain