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.
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
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.