Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Gpm - grav update 0.9.28 not showing

Started by Muut Archive 11 years ago · 2 replies · 234 views
11 years ago

bin/gpm selfupgrade:
You are already running the latest version of Grav (v0.9.27) released on Sat May 9 21:21:19 2015
???

11 years ago

I had to delete gpm cache manually per ftp.
Update :
Preparing to upgrade to v0.9.28..
|- Downloading upgrade [1.6M]... 100%
|- Installing upgrade... ok
'- Success!
[Whoops\Exception\ErrorException]
include(...vendor/symfony/console/Symfony/Component/Console/Input/Arra yInput.php): failed to open stream: No such file or directory
self-upgrade [-f|--force] [-y|--all-yes]

11 years ago

Grav caches the GPM repo information every 24 hours. Clearly all cache with:

BASH
bin/grav clear --all

Clears all cache including that cached GPM repo information.

That error is harmless: https://twitter.com/getgrav/status/611003542900346880

Basically it just caused the clear-cache part not to be performed after the selfupgrade (which is really just a safety precaution, and you can run it manually fine).

The reason for the error is during this particular update, we updated some symfony components from 2.6 to 2.7. They had some changes to the locations of some files. The upgrade process just happened to use one of these files and because it had loaded the location at the start, it was different from the location when it actually went to make the call (as the new files had replaced the old).

I've fixed this for future versions, even if it's unlikely to ever happen again (just a fluke really). But now i'm preloading the classes the selfupgrade method needs so it works even if the files change.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1330 9 years ago
Archive · by Muut Archive, 9 years ago
2 922 9 years ago
Archive · by Muut Archive, 9 years ago
2 4052 9 years ago
Archive · by Muut Archive, 9 years ago
1 2930 9 years ago
Archive · by Muut Archive, 9 years ago
3 1109 9 years ago