Should the “occ upgrade” command be executed? [Y/n] y
This version of Nextcloud is not compatible with PHP>=8.4.You are currently running 8.4.11.
can i go back temporarly to a lower php version(and how)
or is there another solution?
Should the “occ upgrade” command be executed? [Y/n] y
This version of Nextcloud is not compatible with PHP>=8.4.You are currently running 8.4.11.
can i go back temporarly to a lower php version(and how)
or is there another solution?
Why not filling the troubleshooting template and sharing some more information on your system?
What is the version of NC you are running?
I updated to dietpi v9.17.2
then i used the trrixie update script.
Nextcloud is 30.0.15.
i guess the nextcloud script needs the older php version.
(but im not sure if 8.4.11 is to new for nextcloud too)
can you share following
cat /var/www/nextcloud/lib/versioncheck.php
Your nextcloud version is too old, support for 8.4 was introduced with version 31 (https://docs.nextcloud.com/server/latest/admin_manual/release_notes/upgrade_to_31.html and now we are on Nextcloud 32.
So you can manually downgrade PHP or manually upgrade NExtcloud https://docs.nextcloud.com/server/stable/admin_manual/maintenance/manual_upgrade.html
I installed php8.3 via the backports repository and—lo and behold—it worked with a few minor issues.
system is relativly slow at the moment and im trying to find out how to get back to 8.4 and rid off all the remainders.
This was not needed to install a different php version. It is possible to manipulate the NC update script. Similar we had on the upgrade from bullseye to bookworm.
That’s why I ask for the information above.
Hmm, something we did not consider, that users might not regularly update their Nextcloud. Makes sense we add some check and in case ask users to upgrade their Nextcloud first.
But yeah, usually it is possible to just edit that file to work with PHP 8.4 and then update NC immediately.
Are you on Bookworm with PHP 8.3 now, and NC on latest version already?
Where did you install PHP 8.3 from? Since Debian does not provide it with their own backports.
i expectet nextcloud to notify me about updates, but it notifies only appupdates so i missed the
basesystem update.
I just asked chtgpt how to php 8.3 on trixie and followed the instructions^^
cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 13 (trixie)”
VERSION_ID=“13”
VERSION=“13 (trixie)”
DEBIAN_VERSION_FULL=13.1
php -v
PHP 8.4.12 (cli) (built: Sep 7 2025 14:04:14) (NTS)
Copyright (c) The PHP Group
Built by Debian
DietPi:/var/www/nextcloud# php occ status
- installed: true
- version: 31.0.9.1
- versionstring: 31.0.9
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
Okay, now everything work, right?
Do you have the update notification app installed?
looks like it,
because there was just an update alert to nextcloud 32.
everything seems to work at the moment with some more errorwarnings in nextcloud
and leftovers from the trixie update.
but nothing major
tnx
The upgrade script should have reinstalled Nextcloud to add all needed PHP 8.4 modules. We intentionally skip some which are needed only for specific features like passwordless authentication, or more efficient SVG rezising (imagick).
And yes NC32 was just released the exact starting time of the Nextcloud Conference 2025 I am currently attending. Especially also some app updates bring really nice enhancements
.