Error 500. Website is not working after attempting to update

I noticed there was a new update, clicked on it, and it loaded, but at the end, an error appeared: October CMS Update Failed General Error. Status code: 500. Then I refreshed the page, but the website wasn’t working and showed the error:

“This page isn’t working.
xx.lt is currently unable to handle this request.
HTTP ERROR 500.”

After that, I connected to the server via SSH and tried the command php artisan october:update (or any other october command), and got the following result:

PHP Warning: require(/var/www/html/october/vendor/composer/…/symfony/polyfill-php72/bootstrap.php): Failed to open stream: No such file or directory in /var/www/html/october/vendor/composer/autoload_real.php on line 41

PHP Fatal error: Uncaught Error: Failed opening required ‘/var/www/html/october/vendor/composer/…/symfony/polyfill-php72/bootstrap.php’ (include_path=‘.:/usr/share/php’) in /var/www/html/october/vendor/composer/autoload_real.php:41

Stack trace:

#0 /var/www/html/october/vendor/composer/autoload_real.php(45): {closure}()

#1 /var/www/html/october/vendor/autoload.php(25): ComposerAutoloaderInit55a14c97678c7a5cb9ee8941bb6265c8::getLoader()

#2 /var/www/html/october/bootstrap/autoload.php(36): require(‘…’)

#3 /var/www/html/october/artisan(16): require(‘…’)

#4 {main}

thrown in /var/www/html/october/vendor/composer/autoload_real.php on line 41

Hi,

Please take a look at this: Problem installing latest October CMS - #20 by web22

1 Like

Thank you.
Resolved the issue. Found the solution here. I transferred the missing /vendor/symfony/polyfill-php72 directory from the backup to the server. That was enough to get the website working again.

1 Like