Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6.28 self-upgrade to 1.7.0-rc.17 not working #3079

Closed
NicoHood opened this issue Nov 22, 2020 · 0 comments
Closed

1.6.28 self-upgrade to 1.7.0-rc.17 not working #3079

NicoHood opened this issue Nov 22, 2020 · 0 comments
Assignees

Comments

@NicoHood
Copy link
Contributor

$ bin/gpm self-upgrade

GPM Releases Configuration: Testing

Grav v1.7.0-rc.17 is now available [release date: Thu Oct  8 01:43:55 2020].
You are currently using v1.6.28.
Would you like to read the changelog before proceeding? [y|N]  
Would you like to upgrade now? [y|N] y

Preparing to upgrade to v1.7.0-rc.17..
  |- Downloading upgrade [6.29M]...   100%
  |- Installing upgrade...    ok                             
  '- Success!  

PHP Fatal error:  Uncaught Error: Call to undefined method Grav\Common\Page\Pages::register() in /home/user/code/website.de_grav17/system/src/Grav/Common/Processors/InitializeProcessor.php:334
Stack trace:
#0 /home/user/code/website.de_grav17/system/src/Grav/Common/Processors/InitializeProcessor.php(147): Grav\Common\Processors\InitializeProcessor->initializePages()
#1 /home/user/code/website.de_grav17/system/src/Grav/Common/Processors/InitializeProcessor.php(54): Grav\Common\Processors\InitializeProcessor->processCli()
#2 /home/user/code/website.de_grav17/system/src/Grav/Console/ConsoleCommand.php(66): Grav\Common\Processors\InitializeProcessor::initializeCli()
#3 /home/user/code/website.de_grav17/system/src/Grav/Console/ConsoleCommand.php(107): Grav\Console\ConsoleCommand->initializeGrav()
#4 /home/user/code/website.de_grav17/system/src/Grav/Console/Cli/ClearCacheCommand.php(37): Grav\Console\Co in /home/user/code/website.de_grav17/system/src/Grav/Common/Processors/InitializeProcessor.php on line 334

I want to also note, that the upgrade guide has not a single note on how to perform the upgrade. It is only written in the blog post, but the UI is expected to be used, not GPM. This should be added to the docs after that issue got fixed.

@NicoHood NicoHood changed the title 1.6.28 self-upgrade not working 1.6.28 self-upgrade to 1.7.0-rc.17 not working Nov 22, 2020
@mahagr mahagr added the fixed label Nov 23, 2020
@mahagr mahagr closed this as completed Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants