DietPi v8.25.1 and Nextcloud Issues at RasPi 4

Hi all,
i have tried to update my Nexcloud instance from 19 to 20 but it failed with and shows only the Maintinance Mode.
After disabling the mainitnance Mode using the SSH Console it shows again the option to update. When I try to update it fails because a problem with mail occured. The log was empty

After several tries to solve the Problem I guess I have now a bigger problem:

E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/php.list (Component)
E: Die Liste der Quellen konnte nicht gelesen werden.
root:~# cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free
 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for conflicts and missing inputs


 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for prerequisite software

[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[  OK  ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[  OK  ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : docker
[  OK  ] DietPi-Services | stop : apache2
[  OK  ] DietPi-Services | stop : mariadb
[  OK  ] DietPi-Services | stop : redis-server
[ INFO ] DietPi-Software | APT update, please wait...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/php.list (Component)
E: The list of sources could not be read.
[FAILED] DietPi-Software | APT update
 - Command: apt-get -y update



#### Details:
- Date           | Sun Jan 14 13:32:56 CET 2024
- DietPi version | v8.25.1 (MichaIng/master)
- Image creator  | DietPi Core Team
- Pre-image      | Raspbian Lite
- Hardware       | RPi 4 Model B (armv7l) (ID=4)
- Kernel version | `Linux Donnervogel 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux`
- Distro         | buster (ID=5,RASPBIAN=1)
- Command        | `apt-get -y update`
- Exit code      | 100
- Software title | DietPi-Update

After re run aptget-updtate I recive thsi message:

root@Donnervogel:~# dietpi-launcher
[.     ] DietPi-Software | Initialising database
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database
[  OK  ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for conflicts and missing inputs


 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for prerequisite software

[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[  OK  ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[  OK  ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : docker
[  OK  ] DietPi-Services | stop : apache2
[  OK  ] DietPi-Services | stop : mariadb
[  OK  ] DietPi-Services | stop : redis-server
[ INFO ] DietPi-Software | APT update, please wait...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/php.list (Component)
E: The list of sources could not be read.
[FAILED] DietPi-Software | APT update
 - Command: apt-get -y update

Unfortunaly I am just a Linux beginner and have no clue to fixe the issue.

Last trie was to manually start the services

root@Donnervogel:~# sudo /etc/init.d/cron start
[ ok ] Starting cron (via systemctl): cron.service.
root@Donnervogel:~# sudo /etc/init.d/docker start
[ ok ] Starting docker (via systemctl): docker.service.
root@Donnervogel:~# sudo /etc/init.d/apache2 start
[ ok ] Starting apache2 (via systemctl): apache2.service.
**root@Donnervogel:~# sudo /etc/init.d/mariadb start**
**sudo: /etc/init.d/mariadb: Befehl nicht gefunden**
root@Donnervogel:~# sudo /etc/init.d/redis-server start
[ ok ] Starting redis-server (via systemctl): redis-server.service.

But the start of mariadb failed since the command was not found

Update:
after rebooting the RasPi Nextcloud is just struggeling with the update:

ok there are various issues on your system. I hope you have a valid backup?

This is quite an old instance. Current version is 28. Nextcloud server changelog

This is due to your very old Debian Buster version, which we will drop support in a week. Anyway let’s try to get your instance back online before trying further updates.

Let’s try to fix this one first. Can you share

cat /etc/apt/sources.list.d/php.list

On DietPi, we use systemd and not init.d

Can you share following

dietpi-services status

to restart all services

dietpi-services restart

Don’t ask … Oo
I was lazy and my last backup is outdated …

But my DietPi is up-2-date or did I pass something?

root@Donnervogel:~# cat /etc/apt/sources.list.d/php.list
deb https://packages.sury.org/php/  main
DietPi-Services
─────────────────────────────────────────────────────
 Mode: status

Warning: The unit file, source configuration file or drop-ins of redis-server.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | redis-server         active (running) since Sun 2024-01-14 14:15:40 CET; 1h 29min ago
Warning: The unit file, source configuration file or drop-ins of mariadb.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | mariadb              active (running) since Sun 2024-01-14 14:15:40 CET; 1h 29min ago
Warning: The unit file, source configuration file or drop-ins of apache2.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | apache2              active (running) since Sun 2024-01-14 14:15:40 CET; 1h 29min ago
Warning: The unit file, source configuration file or drop-ins of docker.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | docker               active (running) since Sun 2024-01-14 14:15:40 CET; 1h 29min ago
[  OK  ] DietPi-Services | cron                 active (running) since Sun 2024-01-14 14:15:40 CET; 1h 29min ago
[  OK  ] DietPi-Services | ssh                  active (running) since Sun 2024-01-14 14:15:39 CET; 1h 29min ago
[ INFO ] DietPi-Services | dietpi-vpn           inactive (dead)
[  OK  ] DietPi-Services | pihole-FTL           active (running) since Sun 2024-01-14 14:15:39 CET; 1h 29min ago
[ INFO ] DietPi-Services | dietpi-cloudshell    inactive (dead)
[  OK  ] DietPi-Services | dietpi-ramlog        active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 29min ago
[  OK  ] DietPi-Services | dietpi-preboot       active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 29min ago
Warning: The unit file, source configuration file or drop-ins of dietpi-postboot.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | dietpi-postboot      active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 29min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  inactive (dead)

to restart all services

dietpi-services restart

I restarted all services but the failure messages still remains

DietPi-Services
─────────────────────────────────────────────────────
 Mode: restart

[  OK  ] DietPi-Services | restart : redis-server
[  OK  ] DietPi-Services | restart : mariadb
[  OK  ] DietPi-Services | restart : apache2
[  OK  ] DietPi-Services | restart : docker
[  OK  ] DietPi-Services | restart : cron
root@Donnervogel:~# dietpi-services status

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: status

Warning: The unit file, source configuration file or drop-ins of redis-server.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | redis-server         active (running) since Sun 2024-01-14 15:46:55 CET; 8s ago
Warning: The unit file, source configuration file or drop-ins of mariadb.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | mariadb              active (running) since Sun 2024-01-14 15:46:59 CET; 5s ago
Warning: The unit file, source configuration file or drop-ins of apache2.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | apache2              active (running) since Sun 2024-01-14 15:46:59 CET; 4s ago
Warning: The unit file, source configuration file or drop-ins of docker.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | docker               active (running) since Sun 2024-01-14 15:46:59 CET; 4s ago
[  OK  ] DietPi-Services | cron                 active (running) since Sun 2024-01-14 15:47:00 CET; 4s ago
[  OK  ] DietPi-Services | ssh                  active (running) since Sun 2024-01-14 14:15:39 CET; 1h 31min ago
[ INFO ] DietPi-Services | dietpi-vpn           inactive (dead)
[  OK  ] DietPi-Services | pihole-FTL           active (running) since Sun 2024-01-14 14:15:39 CET; 1h 31min ago
[ INFO ] DietPi-Services | dietpi-cloudshell    inactive (dead)
[  OK  ] DietPi-Services | dietpi-ramlog        active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 31min ago
[  OK  ] DietPi-Services | dietpi-preboot       active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 31min ago
Warning: The unit file, source configuration file or drop-ins of dietpi-postboot.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[  OK  ] DietPi-Services | dietpi-postboot      active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 31min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  inactive (dead)
root@Donnervogel:~#

I have run systemctl daemon-reload

root@Donnervogel:~# dietpi-services status

DietPi-Services
─────────────────────────────────────────────────────
 Mode: status

[  OK  ] DietPi-Services | redis-server         active (running) since Sun 2024-01-14 15:50:44 CET; 8s ago
[  OK  ] DietPi-Services | mariadb              active (running) since Sun 2024-01-14 15:50:47 CET; 6s ago
[  OK  ] DietPi-Services | apache2              active (running) since Sun 2024-01-14 15:50:48 CET; 5s ago
[  OK  ] DietPi-Services | docker               active (running) since Sun 2024-01-14 15:50:48 CET; 5s ago
[  OK  ] DietPi-Services | cron                 active (running) since Sun 2024-01-14 15:50:48 CET; 5s ago
[  OK  ] DietPi-Services | ssh                  active (running) since Sun 2024-01-14 14:15:39 CET; 1h 35min ago
[ INFO ] DietPi-Services | dietpi-vpn           inactive (dead)
[  OK  ] DietPi-Services | pihole-FTL           active (running) since Sun 2024-01-14 14:15:39 CET; 1h 35min ago
[ INFO ] DietPi-Services | dietpi-cloudshell    inactive (dead)
[  OK  ] DietPi-Services | dietpi-ramlog        active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 35min ago
[  OK  ] DietPi-Services | dietpi-preboot       active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 35min ago
[  OK  ] DietPi-Services | dietpi-postboot      active (exited) since Sun 2024-01-14 14:15:39 CET; 1h 35min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  inactive (dead)

Ok it seems all service up again

I guess entry shoud looks like

deb https://packages.sury.org/php/ buster main

Something you should correct. Once done try

apt update

If this is working, you could try to update NC to latest version available on your system. Afterwads, check the possibility to upgrade your Debian version.

Yes, DietPi version has nothing to do with Debian destro version. Destro version needs to be updated manually, always.

okay - i am failing to modify / edit the /etc/apt/sources.list.d/php.list
can you help me again?

update, I did it but it tolds me that I do not have free space …
-.-

However - many thanks for your support
I must clone disks …

Can you share

df -h

I have cloned the Disk and then expand the volume with Dietpi.

root@Donnervogel:~# df -h
Dateisystem    Grâße Benutzt Verf. Verw% EingehÀngt auf
/dev/root       459G    236G  205G   54% /
devtmpfs        1,9G       0  1,9G    0% /dev
tmpfs           1,9G    2,7M  1,9G    1% /dev/shm
tmpfs           778M    8,6M  770M    2% /run
tmpfs           5,0M       0  5,0M    0% /run/lock
tmpfs           1,9G       0  1,9G    0% /tmp
tmpfs            50M    144K   50M    1% /var/log
/dev/sda1       253M     53M  200M   22% /boot

I am now on buster, but struggeling with nextcloud
I updated NC to 21.0.9 but nevertheless he dont like my PHP Version 8.3.1 - therfore I need the version 28. But sudo -u www-data php /var/www/nextcloud/updater/updater.phar just pull the 21.0.9 version of nc
for the first update i modified the versioncheck.php and edit the php_version_id but now it dont work.

root@Donnervogel:~# cat /var/www/nextcloud/lib/versioncheck.php
<?php
/**
 *
 *
 * @author Christoph Wurst <christoph@winzerhof-wurst.at>
 * @author Morris Jobke <hey@morrisjobke.de>
 * @author Roeland Jago Douma <roeland@famdouma.nl>
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */
// Show warning if a PHP version below 7.3 is used,
if (PHP_VERSION_ID < 70300) {
        http_response_code(500);
        echo 'This version of Nextcloud requires at least PHP 7.3<br/>';
        echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
        exit(-1);
}

// Show warning if > PHP 8.0 is used as Nextcloud is not compatible with > PHP 8.0 for now
if (PHP_VERSION_ID >= 80300) {
        http_response_code(500);
        echo 'This version of Nextcloud is not compatible with > PHP 8.0.<br/>';
        echo 'You are currently running ' . PHP_VERSION . '.';
        exit(-1);
}

In addition I have problem with my PHP config sine if I cal my Nextcloud instance I just receive this in my Browser:

<?php
/**
 * @copyright Copyright (c) 2016, ownCloud, Inc.
 *
 * @author Christoph Wurst <christoph@winzerhof-wurst.at>
 * @author Joas Schilling <coding@schilljs.com>
 * @author Jârn Friedrich Dreyer <jfd@butonic.de>
 * @author Lukas Reschke <lukas@statuscode.ch>
 * @author Morris Jobke <hey@morrisjobke.de>
 * @author Robin Appelman <robin@icewind.nl>
 * @author Roeland Jago Douma <roeland@famdouma.nl>
 * @author Sergio Bertolín <sbertolin@solidgear.es>
 * @author Thomas Müller <thomas.mueller@tmit.eu>
 * @author Vincent Petry <pvince81@owncloud.com>
 *
 * @license AGPL-3.0
 *
 * This code is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License, version 3,
 * along with this program. If not, see <http://www.gnu.org/licenses/>
 *
 */

require_once __DIR__ . '/lib/versioncheck.php';

try {
	require_once __DIR__ . '/lib/base.php';

	OC::handleRequest();
} catch (\OC\ServiceUnavailableException $ex) {
	\OC::$server->getLogger()->logException($ex, ['app' => 'index']);

	//show the user a detailed error page
	OC_Template::printExceptionErrorPage($ex, 503);
} catch (\OC\HintException $ex) {
	try {
		OC_Template::printErrorPage($ex->getMessage(), $ex->getHint(), 503);
	} catch (Exception $ex2) {
		try {
			\OC::$server->getLogger()->logException($ex, ['app' => 'index']);
			\OC::$server->getLogger()->logException($ex2, ['app' => 'index']);
		} catch (Throwable $e) {
			// no way to log it properly - but to avoid a white page of death we try harder and ignore this one here
		}

		//show the user a detailed error page
		OC_Template::printExceptionErrorPage($ex, 500);
	}
} catch (\OC\User\LoginException $ex) {
	OC_Template::printErrorPage($ex->getMessage(), $ex->getMessage(), 403);
} catch (Exception $ex) {
	\OC::$server->getLogger()->logException($ex, ['app' => 'index']);

	//show the user a detailed error page
	OC_Template::printExceptionErrorPage($ex, 500);
} catch (Error $ex) {
	try {
		\OC::$server->getLogger()->logException($ex, ['app' => 'index']);
	} catch (Error $e) {
		http_response_code(500);
		header('Content-Type: text/plain; charset=utf-8');
		print("Internal Server Error\n\n");
		print("The server encountered an internal error and was unable to complete your request.\n");
		print("Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\n");
		print("More details can be found in the webserver log.\n");

		throw $ex;
	}
	OC_Template::printExceptionErrorPage($ex, 500);
}

Grrr

all seems to be fine, no full file system. Where did you see that message?

That was before the cloning. This is now with a 500GB SSD - before it was just a 250 GB SSD.
It was during the update process to bullsey

cat /etc/apt/sources.list.d/php.list
deb https://packages.sury.org/php/ bullseye main

The version should match your Debian version. You can’t simply increase version on PHP repository. Best to stay in sync with the rest of your system on Buster. This could cause conflicts.

Yes you run into a trap because your PHP version is way ahead of what NC expect. This is because of your 3rd party PHP repository. We removed this repository in past due to this conflict. On Buster, the expected version is PHP7.3. PHP7.4 is Bullseye and PHP8.2 Bookworm.

I guess next step would be moving from Buster to Bullseye and ensure 3rd party /etc/apt/sources.list.d/php.list is removed as well.

Whatever you do I hope you have a backup/clone of your disk

Yes have clones and they work fine :smiley:
However - I stuck now at following point: when I upgrad to buster I allways have PHP 8.3 instead of 7.4 as you mentioned.
currently I have prepared the Upgrade as in DietPi - How to upgrade to "Bullseye" - DietPi blog 2.2.2 described

nevertheless I left the php.list on buster
root@Donnervogel:~# cat /etc/apt/sources.list.d/php.list deb https://packages.sury.org/php/ buster main

PHP Version
root@Donnervogel:~# php -v
PHP 7.3.31-1~deb10u5 (cli) (built: Sep  4 2023 21:49:25) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.31, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.31-1~deb10u5, Copyright (c) 1999-2018, by Zend Technologies


If I run sudo apt full-upgrade the system upgrades to bullsey and the PHP version is at 8.3.x
and I am again running in my Nextcloud Problem
Currently NC is on Nextcloud

Updater - version: v20.0.0beta4-11-g68fa0d4

Current version is 23.0.12.

any clou where I failed?

this one would need to be removed, similar to the other source list describe in 2.2.2.

I have updated to php 7.4 sudo apt install php7.4

PHP 7.4.33 (cli) (built: Sep  4 2023 08:15:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

but now the NC Updater failes …

root@Donnervogel:~# sudo -u www-data php /var/www/nextcloud/updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4

Current version is 23.0.12.
PHP Fatal error:  Uncaught Error: Call to undefined function NC\Updater\curl_init() in phar:///var/www/nextcloud/updater/updater.phar/lib/Updater.php:455
Stack trace:
#0 phar:///var/www/nextcloud/updater/updater.phar/lib/Updater.php(119): NC\Updater\Updater->getUpdateServerResponse()
#1 phar:///var/www/nextcloud/updater/updater.phar/lib/UpdateCommand.php(147): NC\Updater\Updater->checkForUpdate()
#2 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Command/Command.php(256): NC\Updater\UpdateCommand->execute()
#3 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(820): Symfony\Component\Console\Command\Command->run()
#4 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand()
#5 phar:///var/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun()
#6 phar:///var/www/nextcloud/updater/updater.phar/updater.php(10): Symfo in phar:///var/www/nextcloud/updater/updater.phar/lib/Updater.php on line 455

/etc/apt/sources.list.d/php.list is removed …

:flushed:

why? This should be part of 2.2.4. And if I recall correctly, even NC should be reinstalled as part of this steps.

Okay - I upgraded to bullseye and upgradet all apps. However my PHP is at 8.3.1

root@Donnervogel:~# php -v
PHP 8.3.1 (cli) (built: Dec 21 2023 20:17:50) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.1, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.1, Copyright (c), by Zend Technologies


but you removed /etc/apt/sources.list.d/php.list and NC is actually not working?

NC is working and show me PHP 7.4.33. To fix the Databaseschema I want to run the NCC but then I receive this output:

root@Donnervogel:/var/www/nextcloud# ncc
This version of Nextcloud is not compatible with PHP>=8.2.<br/>You are currently running 8.3.1.root@Donnervogel:/var/www/nextcloud#

My Nexcloud instance shows me this version:

Nextcloud Hub 3 (25.0.13)

I am confused!

Looks like you are on Debian Bullseye now, where NC 25 is latest version available. Other versions require Debian Bookworm. You should consider doing a backup if NC is working now.

Probably there are 2 different PHP version available.

Can you check

dpkg -l | grep 'php'

Hi Joulinar,
here the output:

root@Donnervogel:~# dpkg -l | grep 'php'
ii  php-apcu                      5.1.23-1+0~20231125.39+debian11~1.gbp8bf49a        armhf        APC User Cache for PHP
ii  php-common                    2:94+0~20240109.49+debian11~1.gbpe06825            all          Common files for PHP packages
ii  php-igbinary                  3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8        armhf        igbinary PHP serializer
ii  php-redis                     6.0.2-1+0~20231128.56+debian11~1.gbp9f3071         armhf        PHP extension for interfacing with Redis
ii  php7.4                        1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      all          server-side, HTML-embedded scripting language (metapackage)
ii  php7.4-apcu                   5.1.23-1+0~20231125.39+debian11~1.gbp8bf49a        armhf        APC User Cache for PHP
ii  php7.4-cli                    1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        command-line interpreter for the PHP scripting language
ii  php7.4-common                 1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        documentation, examples and common module for PHP
ii  php7.4-curl                   1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        CURL module for PHP
ii  php7.4-fpm                    1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php7.4-gd                     1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        GD module for PHP
ii  php7.4-igbinary               3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8        armhf        igbinary PHP serializer
ii  php7.4-intl                   1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        Internationalisation module for PHP
ii  php7.4-json                   1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        JSON module for PHP
ii  php7.4-mbstring               1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        MBSTRING module for PHP
ii  php7.4-mysql                  1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        MySQL module for PHP
ii  php7.4-opcache                1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        Zend OpCache module for PHP
ii  php7.4-readline               1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        readline module for PHP
ii  php7.4-redis                  6.0.2-1+0~20231128.56+debian11~1.gbp9f3071         armhf        PHP extension for interfacing with Redis
ii  php7.4-sqlite3                1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        SQLite3 module for PHP
ii  php7.4-xml                    1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        DOM, SimpleXML, XML, and XSL module for PHP
ii  php7.4-zip                    1:7.4.33-8+0~20230904.88+debian11~1.gbp87c414      armhf        Zip module for PHP
ii  php8.3-apcu                   5.1.23-1+0~20231125.39+debian11~1.gbp8bf49a        armhf        APC User Cache for PHP
ii  php8.3-cli                    8.3.1-1+0~20231221.15+debian11~1.gbp28f2f4         armhf        command-line interpreter for the PHP scripting language
ii  php8.3-common                 8.3.1-1+0~20231221.15+debian11~1.gbp28f2f4         armhf        documentation, examples and common module for PHP
ii  php8.3-igbinary               3.2.15-1+0~20231202.49+debian11~1.gbpe9ffe8        armhf        igbinary PHP serializer
ii  php8.3-opcache                8.3.1-1+0~20231221.15+debian11~1.gbp28f2f4         armhf        Zend OpCache module for PHP
ii  php8.3-phpdbg                 8.3.1-1+0~20231221.15+debian11~1.gbp28f2f4         armhf        server-side, HTML-embedded scripting language (PHPDBG binary)
ii  php8.3-readline               8.3.1-1+0~20231221.15+debian11~1.gbp28f2f4         armhf        readline module for PHP
ii  php8.3-redis                  6.0.2-1+0~20231128.56+debian11~1.gbp9f3071         armhf        PHP extension for interfacing with Redis

Must I unsinstall 8.3 - and how?