-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
"This version of Nextcloud is not compatible with PHP 7.1" #40
Comments
Really sorry for this, we would need tests in this repo, would help a lot. I'll review #42 |
This is weird because i experience exact opposite. v10 runs just fine but v11 docker image from dockerhub throws this error. How can this be? I checked files in commit tagged with 11.0.2 and it contains fix. |
After upgrading to 11-fpm I get the exact same error. Maybe the Dockerfile for version 11 also needs a backport to PHP 5.6? Any hints how I can resolve this on my own are appreciated. |
Beware that just pulling the new docker image, does not upgrade your installation of nextcloud. (See discussion in #23) So when you just pull the new docker image you get all the new dependencies, but the source files are not replaced by the new ones, which could result in this error. There is work on a fix: #65 How to fix your current situation:
Search for: ...
"Mounts": [
{
"Type": "volume",
"Name": "df2dac95050bf201cc0da94094e33d7d2a064b94ebb028478dd196063cfcab7b",
"Source": "/var/lib/docker/volumes/df2dac95050bf201cc0da94094e33d7d2a064b94ebb028478dd196063cfcab7b/_data",
"Destination": "/var/www/html",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}, Then remove
And restart your nextcloud container. |
Thanks for the explanation and guide how to resolve this issue. It works perfectly! |
I had the same issue after upgrading to 16.0.3. After restarting I still get the same error, and version.php wasn't recreated either. |
I might be missing something basic, but I can no longer run the nextcloud 9 or 10 docker images (v11 works fine)
I get the following output from my build script (pasted in below). Instead of "php occ upgrade" actually running (in this example it should tell me that Nextcloud is not installed) it says:
This version of Nextcloud is not compatible with PHP 7.1.<br/>You are currently running 7.1.2.
I don't think v9 or v10 support PHP 7.1 ... ? I expect this was introduced as of #34. Sadly I need v9 and v10 in order to perform a migration from OC v8.
build.sh :
The text was updated successfully, but these errors were encountered: