help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 25.0.2
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.54
PHP version (eg, 7.4): 8.1
The issue you are facing:
After Update via apt update && apt-upgrade there was an upgrade to php8.2. Then my Nextcloud Webserver crashed with an unspecified error. I found the solution to uninstall all versions of php and reinstall php8.1. It seems that Nextcloud 25.0.2 cannot run with php8.2.
Whilst Linux is growing on me, things like major upgrades of PHP still fill me with fear and uncertainty. My client is running on Centos 7 so for the record, these are the instructions to upgrade from PHP v7.x to 8.1 on a Centos 7, NGINX, MariaDB system:
I ran them with sudo -i so don’t need sudo in front. Although that’s not the complete (massive) stack of PHP modules, those not listed seem to sort themselves out. Bit of “with a following wind” kind of upgrade.
That page lists 8.0, 8.1, and 8.2 as currently supported. If something listed there isn’t compatible maybe additional context or actually supported versions should be listed. I luckily searched before doing the upgrade, but almost jumped straight to 8.2 which is what Nextcloud is appearing to say it supports in the warning message.
@nmbgeek
Which operating system and version do you use? It is no problem to use PHP 7.4. If you use e.g. Debian Bullseye (PHP 7.4) you can first upgrade in a few month to Debian Bookworm (PHP 8.1) and then upgrade to e.g. Nextcloud 26.
Alternatively, you can of course include a third-party source with PHP 8.0 or better PHP 8.1 and upgrade PHP for your Nextcloud already now.
Hi. The keywords are: …as soon as your distribution supports it… Thats the point.
I ran into an automatic upgrade from php 8.1 to 8.2, which killed my webgui.
So I fixed the version to php8.1, as long as the version is not discontinued, it will stay that way. Only then I will upgrade.
I don’t know why and I wonder how I got NC 25 (as I had configured only the stable-channel-updates), but from the beginning it ran very smoothly and stable, at the moment on an old, but reliable running (and running and running…) computer. The only problem was my linux distribution, which decided to upgrade php…
So be aware for the next announcements. Afaik, NC 26 should support php8.2.
Well because, Nextcloud 25 was officially released as “stable”. I won’t comment on Nextcloud’s “relesae often and release early” strategy, there are already enough discussions on this topic in the forums and it’s offtopic in this thread anyways.
I run Nextcloud 25 on Debian server. I made some system administration mistakes:
I did not keep the PHP8.1 deb packages.
I failed to disable the PHP update.
Fortunately, I was able to download
PHP 8.1.14 (cli) (built: Jan 13 2023) packages
Manual installation and modification of the php config.
Everything works again.