Hardware: MiniDesktop PC - 64 Bit YunoHost version: 11.0.11 I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If your request is related to an app, specify its name and version: nextcloud 22.2.7~ynh1 to 25.0.3~ynh1
Description of my issue
I tried to update Nextcloud with the Web-UI, here is the log: https://paste.yunohost.org/raw/kagogugiku
Error: this version of Nextcloud is not compatible with > PHP 8.0. You are currently running 8.1.14.
I restored and backup of nextcloud from my Raspi to this PC and tried to update it after.
Confusingly, sudo -u nextcloud php -v outputs 7.4.33, so I’m really not sure where it’s getting the “you’re running 8.1” from. I did try a fix I found where you manually set the system PHP version to 8.0 using update-alternatives but that didn’t change the result at all – as far as the upgrade script is concerned, 8.1 is what’s used.
Which makes me wonder if perhaps the upgrade script invokes /usr/bin/php8.1 directly?
You are not. I ran into the same issue with exactly the same error message related to PHP just a few moments ago, and no other topic online offers solutions to this issue.
I checked my server today and the update to Yunohost 11.1.6.2 was available. After updating, I tried to update Nextcloud again and it worked! Thanks to everyone who works in the background!