Upgrading to WP 6.6.1 “There has been a critical error on this website.”
-
I am running a LEMP (Linux, Engine X, MariaDb,PHP) server on my Raspberry Pi 4. I am using Ubuntu Server 22.04 as my OS.
Prior to my WP upgrade, everything was working on my site. Now, I just attempted upgrading my WordPresss installation to WordPress v6.6.1. On the update page in the admin console, I get the following notice:
Downloading update from https://downloads.www.ads-software.com/release/wordpress-6.6.1-no-content.zip…
The authenticity of wordpress-6.6.1-no-content.zip could not be verified as no signature was found.
Unpacking the update…
Verifying the unpacked files…
Preparing to install the latest version…
Enabling Maintenance mode…
Copying the required files…
Disabling Maintenance mode…
Could not copy file.: wp-config-sample.php
Installation failed.Now, when I navigate to my homepage https://mcmo.is, I get a completely white screen with the following error:
There has been a critical error on this website.
Learn more about troubleshooting WordPress.I also enabled WordPress debug logging during this update. Here is the debug log.
[29-Jul-2024 15:52:26 UTC] Tracked the following event: woocommerceconnect_opted_out
[29-Jul-2024 15:53:04 UTC] Successfully loaded service schemas from server response. (fetch_service_schemas_from_connect_server)
[29-Jul-2024 15:53:05 UTC] Tracked the following event: woocommerceconnect_opted_out
[29-Jul-2024 15:53:08 UTC] Tracked the following event: woocommerceconnect_opted_out
[29-Jul-2024 15:56:09 UTC] PHP Warning: copy(/var/www/mcmo.is/wp-config-sample.php): Failed to open stream: Permission denied in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 309
[29-Jul-2024 15:56:09 UTC] PHP Warning: chmod(): No such file or directory in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 173
[29-Jul-2024 15:56:09 UTC] PHP Warning: chmod(): No such file or directory in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 173
[29-Jul-2024 15:56:09 UTC] PHP Warning: copy(/var/www/mcmo.is/wp-config-sample.php): Failed to open stream: Permission denied in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 309
[29-Jul-2024 15:56:09 UTC] PHP Warning: chmod(): No such file or directory in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 173
[29-Jul-2024 15:56:11 UTC] PHP Warning: copy(/var/www/mcmo.is/wp-config-sample.php): Failed to open stream: Permission denied in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 309
[29-Jul-2024 15:56:11 UTC] PHP Warning: chmod(): No such file or directory in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 173
[29-Jul-2024 15:56:11 UTC] PHP Warning: chmod(): No such file or directory in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 173
[29-Jul-2024 15:56:11 UTC] PHP Warning: copy(/var/www/mcmo.is/wp-config-sample.php): Failed to open stream: Permission denied in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 309
[29-Jul-2024 15:56:11 UTC] PHP Warning: chmod(): No such file or directory in /var/www/mcmo.is/wp-admin/includes/class-wp-filesystem-direct.php on line 173
[29-Jul-2024 15:57:01 UTC] PHP Fatal error: Uncaught Error: Class "WP_REST_Revisions_Controller" not found in /var/www/mcmo.is/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:17
Stack trace:
#0 /var/www/mcmo.is/wp-settings.php(285): require()
#1 /var/www/mcmo.is/wp-config.php(196): require_once('...')
#2 /var/www/mcmo.is/wp-load.php(50): require_once('...')
#3 /var/www/mcmo.is/wp-cron.php(46): require_once('...')
#4 {main}
thrown in /var/www/mcmo.is/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php on line 17
[29-Jul-2024 15:58:02 UTC] PHP Fatal error: Uncaught Error: Class "WP_REST_Revisions_Controller" not found in /var/www/mcmo.is/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:17
Stack trace:
#0 /var/www/mcmo.is/wp-settings.php(285): require()
#1 /var/www/mcmo.is/wp-config.php(196): require_once('...')
#2 /var/www/mcmo.is/wp-load.php(50): require_once('...')
#3 /var/www/mcmo.is/wp-cron.php(46): require_once('...')
#4 {main}
thrown in /var/www/mcmo.is/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php on line 17Luckily, I have full server backups, so I can restore the entire server (including wordpress and the wordpress DB) fairly easily. However, I need help understanding these debug logs, and I need to know how to fix this, so that wordpress successfully updates.
Is there someone out there who can please help me fix my WordPress Installation, or at least, help me figure out a successful way to upgrade from a backup copy of my server?
Thanks for any help!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.