dpkg-query: no packages found matching php7.4-curl
Edit:
This is the output of dpkg -l regarding PHP:
ii php-common 2:84+0~20210621.36+debian9~1.gbp28513e all Common files for PHP packages
ii php-igbinary 3.2.6+2.0.8-1+0~20210913.27+debian9~1.gbp64b0ea arm64 igbinary PHP serializer
ii php-redis 5.3.4+4.3.0-1+0~20210329.35+debian9~1.gbpdc7ead arm64 PHP extension for interfacing with Redis
ii php8.0-common 8.0.10-1+0~20210826.23+debian9~1.gbp9ab3fd arm64 documentation, examples and common module for PHP
ii php8.0-igbinary 3.2.6+2.0.8-1+0~20210913.27+debian9~1.gbp64b0ea arm64 igbinary PHP serializer
ii php8.0-redis 5.3.4+4.3.0-1+0~20210329.35+debian9~1.gbpdc7ead arm64 PHP extension for interfacing with Redis
hmm maybe PHP to be removed completely. But let’s check with our developer first.
MichaIng
can you have a look. It seems there are still packages from Ondrej’s PHP repository installed. Should they be purged completely or just removed?
Thank you both, php reinstalled successfully.
Had to leave out the downgrade option (’–allow-downgrade is not understood in combination with the other options’)
Feels like I’m close to final bullseye, but
mariadb fails to start.
Reinstallation went fine:
Step: Installing MariaDB: Persistent cached file-per-table database server
[ INFO ] DietPi-Software | Preparing database directory at: /mnt/dietpi_userdata/mysql
[ INFO ] DietPi-Software | /mnt/dietpi_userdata/mysql exists, will migrate containing databases
[ OK ] DietPi-Software | rm -Rf /var/lib/mysql
[ OK ] DietPi-Software | ln -s /mnt/dietpi_userdata/mysql /var/lib/mysql
[ INFO ] DietPi-Software | APT install for: mariadb-server, please wait...
[ OK ] DietPi-Software | APT install for: mariadb-server
[ INFO ] DietPi-Software | Removing obsolete SysV mysql service
[ OK ] DietPi-Software | update-rc.d mysql remove
Job for mariadb.service failed because a fatal signal was delivered to the control process.
See “systemctl status mariadb.service” and “journalctl -xe” for details.
Not much details, journalctl shows:
Sep 27 16:41:59 DietPi systemd[1]: Starting MariaDB 10.5.11 database server...
░░ Subject: A start job for unit mariadb.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit mariadb.service has begun execution.
░░
░░ The job identifier is 23352.
Sep 27 16:42:00 DietPi systemd[1]: mariadb.service: Main process exited, code=killed, status=4/ILL
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit mariadb.service has exited.
░░
░░ The process' exit code is 'killed' and its exit status is 4.
Sep 27 16:42:00 DietPi systemd[1]: mariadb.service: Failed with result 'signal'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit mariadb.service has entered the 'failed' state with result 'signal'.
Sep 27 16:42:00 DietPi systemd[1]: Failed to start MariaDB 10.5.11 database server.
░░ Subject: A start job for unit mariadb.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit mariadb.service has finished with a failure.
░░
░░ The job identifier is 23352 and the job result is failed.
My external HD is up and running, my pre-upgrade databases are still there. Symbolic link at /var/lib/mysql sends me there too.
I can’t detect any hint in the failed status, do you?
systemctl restart mariadb.service
Job for mariadb.service failed because a fatal signal was delivered to the control process.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
journalctl -u mariadb
Journal file /var/log/journal/fbd586f15aab42cdab084639a1d2b2cc/system.journal is truncated, ignoring file.
-- Journal begins at Tue 2021-09-28 08:39:39 CEST, ends at Tue 2021-09-28 08:41:05 CEST. --
Sep 28 08:39:44 DietPi systemd[1]: mariadb.service: Scheduled restart job, restart counter is at 8001.
Sep 28 08:39:44 DietPi systemd[1]: Stopped MariaDB 10.5.11 database server.
Sep 28 08:39:44 DietPi systemd[1]: Starting MariaDB 10.5.11 database server...
Sep 28 08:39:45 DietPi systemd[1]: mariadb.service: Main process exited, code=killed, status=4/ILL
Sep 28 08:39:45 DietPi systemd[1]: mariadb.service: Failed with result 'signal'.
Sep 28 08:39:45 DietPi systemd[1]: Failed to start MariaDB 10.5.11 database server.
Repeating from here with increasing counter
error.log is empty, while user mysql has write access. No more mysql.logs:
cat /var/log/mysql/error.log
ls -la /var/log
drwxr-s--- 2 mysql adm 60 Feb 17 2019 mysql
ls -la /var/log/mysql
-rw-rw---- 1 mysql adm 0 Sep 24 11:29 error.log
Information on Mariadb failing to start without errors is barely to find.
Should I try to uninstall and install it again instead of reinstall (https://dietpi.com/phpbb/viewtopic.php?f=11&t=8729&start=10)?
I have a full backup of all databases, but would like to keep my nextcloud installation.