Well fuck.
Upgraded my server's OS, so now it's on PHP8.2
And nextcloud is the thing which this breaks: You are version 24, and version 24 doesn't support PHP8.2.
Damnit. Right.
Fine, I'll install the latest version then.
Oh no: Nextcloud don't support jumping more than one version at a time.
It wants me to find and install version 25 first, and then version 26, and only then version 27.
I wonder if version 25 supported PHP8?....
Nope.
Well that's fucked then isn't it?
Anyone got any clues how I can upgrade to version 25 when my PHP version is too new for that old version of Nextcloud?
#nextcloud #sysadmin #upgrade #php
@1d7ca1eb what OS are you using? You can install multiple versions of PHP side by side and tell your web server which one to use for which virtual host. This is super trivial in Debian/Ubuntu
@1d7ca1eb don't use a #PHP apps... (context: I am php developer) lol...
ahem, joke aside, I think you should downgrade your PHP to the highest php supported by your nexcloud version and stick to that. Even if you need to use 3rd party repository and even if the version is no longer supported. I maintain a PHP 7.4 app at my workplace, and so far it works as usual as long as I don't mess with PHP version.