wordpress-vm icon indicating copy to clipboard operation
wordpress-vm copied to clipboard

Setup Script failed on WP config

Open Pookha opened this issue 1 year ago • 9 comments

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.

Image

Pookha avatar Mar 14 '25 01:03 Pookha

Can you please post the output of the journalctl command like it says in the error message?

enoch85 avatar Mar 14 '25 06:03 enoch85

Yes, here is that output:

Image

Pookha avatar Mar 15 '25 03:03 Pookha

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.

enoch85 avatar Mar 15 '25 10:03 enoch85

It should now be fixed, please try to install adminer again. 👍

enoch85 avatar Mar 15 '25 16:03 enoch85

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?

Image

Also here is a pic of the server startup. nginx is not able to start from a fresh reboot

Image

Pookha avatar Mar 16 '25 00:03 Pookha

Hmm, so what's the output of cat /var/log/nginx.log

enoch85 avatar Mar 16 '25 01:03 enoch85

it seems to me missing

Image

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.

Pookha avatar Mar 16 '25 01:03 Pookha

Sorry, it should be /var/log/nginx/error.log.

You need to delete, import, and start over. You cannot run it twice.

enoch85 avatar Mar 16 '25 08:03 enoch85

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:"

Jed3176 avatar May 01 '25 16:05 Jed3176