Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

I think I broke my upgrade

Started by Ben Thorp 8 years ago · 2 replies · 825 views
8 years ago

I was performing the upgrade to 1.6.3 from 1.5.10 (I think) on my Dreamhost space. In order to do so I also needed to set it to use PHP 7.2, but in the process I think I managed to break the upgrade. Now the site is down, and I can't even upgrade from the shell as it throws errors with the AbstractLogger?

TXT
[myserver]$ bin/gpm self-upgrade -f
PHP Warning:  include(/home/foo/bar.org/vendor/composer/../psr/log/Psr/Log/AbstractLogger.php): failed to open stream: No such file or directory in /home/foo/bar.org/vendor/composer/ClassLoader.php on line 444
PHP Warning:  include(): Failed opening '/home/foo/bar.org/vendor/composer/../psr/log/Psr/Log/AbstractLogger.php' for inclusion (include_path='.:') in /home/foo/bar.org/vendor/composer/ClassLoader.php on line 444
PHP Fatal error:  Class 'Psr\Log\AbstractLogger' not found in /home/foo/bar.org/vendor/maximebf/debugbar/src/DebugBar/DataCollector/MessagesCollector.php on line 20

Similar errors show in my server logs for accessing the main page.

Any help gratefully received :'(

8 years ago

In the end I gave up and overwrote everything with a fresh download. Once I'd grabbed a couple of the relevant config yaml files, everything seems to be back up and running.

8 years ago

Although..... getting the 500 error red box on the dashboard and upon saving pages (and possibly elsewhere) which shows in the logs as:

Premature end of script headers: php72.cgi

Seems to be a relatively generic error, but without a generic fix. Anyone else seeing this?

Suggested topics

Topic Participants Replies Views Activity
Support · by Anna, 4 days ago
1 96 4 days ago
Support · by Anna, 3 weeks ago
1 265 3 weeks ago
Support · by webmasterodp, 1 month ago
4 380 1 month ago
Support · by nwhitfield, 1 month ago
2 351 1 month ago
Support · by stell, 2 months ago
5 657 1 month ago