Setup Script failed on WP config
I just installed the Hyper V WP Vm tonight and hit a snag during the config of the Wordpress instance. I'm unsure what my next steps should be or if I should try to restart the setup script.
Can you please post the output of the journalctl command like it says in the error message?
Yes, here is that output:
Great, thanks! I see the error now.
Please start over, clearing everything you did by removing the VM, and deploy a fresh one. This time, don't choose adminer.
I will fix the real issue later today.
It should now be fixed, please try to install adminer again. 👍
I started from the original vm image again and the install script is still failing for me after I setup my Wordpress instance. I'm attaching the screenshot below. For this setup I did not install adminer even though I started after your fix.
Should I by entering "y" for the prompt to delete all post from the default Wordpress install?
Also here is a pic of the server startup. nginx is not able to start from a fresh reboot
Hmm, so what's the output of cat /var/log/nginx.log
it seems to me missing
I can always just start over again and simply attempt to install no apps, then return and install them one by one if you think that will help.
Sorry, it should be /var/log/nginx/error.log.
You need to delete, import, and start over. You cannot run it twice.
Here is what the error is I just ran into it today. 2025/05/01 15:49:08 [error] 1100#1100: *3 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Undefined array key "scheme" in /var/www/html/wordpress/wp-includes/canonical.php on line 751; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Undefined array key "scheme" in /var/www/html/wordpress/wp-includes/canonical.php on line 751" while reading response header from upstream, client: 192.168.6.2, server: , request: "GET /nice%20ports%2C/Tri%6Eity.txt%2ebak HTTP/1.0", upstream: "fastcgi://unix:/var/run/php8.3-fpm-wordpress.sock:" 2025/05/01 15:49:08 [error] 1100#1100: *5 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Undefined array key "scheme" in /var/www/html/wordpress/wp-includes/canonical.php on line 751; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /var/www/html/wordpress/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Undefined array key "scheme" in /var/www/html/wordpress/wp-includes/canonical.php on line 751" while reading response header from upstream, client: 192.168.6.2, server: , request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php8.3-fpm-wordpress.sock:"