-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
CLI selfupgrade to RC20 Claims Success But Does Not Update #3116
Comments
Can you try this again with the latest 1.7.0 final release? I think it must be a caching issue, can you try clearing cache afterward also? |
Grav 1.7.0-rc.17 was the last version supporting PHP 7.2. To me, it looks like the installation fails but CLI fails to report the error. You need to upgrade the PHP version you're using in CLI. |
OK, this was an issue with installation error detection when using the command (it was only detecting unzip issues). Unfortunately, this will still be an issue when upgrading from older versions, but at least it is fixed from Grav 1.7.1 onwards. |
Thanks, I'll test this on my next update. |
I don't think you can test this because of the issue is in Grav 1.6 and you need to get your CLI to use PHP 7.3/7.4 to update in the first place. |
I have other sites hosted on this server, and I have updated my CLI PHP version. |
Used
bin/gpm selfupgrade
successfully on my local dev system (PHP 7.3.20). When I tried that on production (PHP 7.3.25), I got the success message below:But
bin/grav -V
returns "Grav CLI Application 1.7.0-rc.17"Ran the update in Admin and it succeeded and CLI now throws error "PHP version ">= 7.3.6". You are running 7.2.24-0ubuntu0.18.04.7".
So my CLI version on production was the issue - a check and warning message before update/upgrade would be helpful.
The text was updated successfully, but these errors were encountered: