nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.49k stars 295 forks source link

ncp-dist-upgrade stops with "php7.3-fpm: unrecognized service" #1826

Open damadis opened 1 year ago

damadis commented 1 year ago

Hello,

every time i try to upgrade to debian bullseye trough ncp-dist-upgrade, the process stops with the error "php7.3-fpm: unrecognized service". I tried this 10 times now, with uninstalling php7.3-fpm or reinstalling PHP 7.3 before the upgrade. It allways stops at the same point. Is there someting in the upgrade skript that reads the version of php#.#-fpm from a specific place of my system which is in some way not correct?

Below is the terminal output of the last run: MobaXterm_nextcloudpi_error_upgrade_to_bullseye.txt

System information

NextcloudPi diagnostics ``` Cannot load Zend OPcache - it was already loaded NextcloudPi version v1.52.4 NextcloudPi image NextCloudPi_11-27-20 OS Debian GNU/Linux 10. 5.10.103-v8+ (aarch64) automount yes USB devices sda sdb datadir /media/myCloudDrive/ncdata data in SD no data filesystem btrfs data disk usage 104G/466G rootfs usage 3.2G/29G swapfile /var/swap dbdir /var/lib/mysql Nextcloud check ok Nextcloud version 23.0.6.1 HTTPD service up PHP service up MariaDB service up Redis service up HPB service up Postfix service up Internet check ok Public IPv4 ***REMOVED SENSITIVE VALUE*** Public IPv6 ***REMOVED SENSITIVE VALUE*** Port 80 open Port 443 open IP ***REMOVED SENSITIVE VALUE*** Gateway ***REMOVED SENSITIVE VALUE*** Interface eth0 Certificates ***REMOVED SENSITIVE VALUE*** NAT loopback yes Uptime 19days ```
Nextcloud configuration ``` Cannot load Zend OPcache - it was already loaded { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "5": "nextcloudpi.local", "7": "nextcloudpi", "8": "nextcloudpi.lan", "11": "2003:cf:2702:b900:3e8b:37de:27c:f1a8", "1": "192.168.178.43", "3": "nextcloudpi", "22": "nextcloudpi", "14": "nextcloudpi", "": "dmdnc.privatedns.org" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "23.0.6.1", "overwrite.cli.url": "https:\/\/nextcloudpi\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0, "password": "***REMOVED SENSITIVE VALUE***" }, "tempdirectory": "\/media\/myCloudDrive\/ncdata\/tmp", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "preview_max_x": "2048", "preview_max_y": "2048", "jpeg_quality": "60", "overwriteprotocol": "https", "maintenance": false, "logfile": "\/media\/myCloudDrive\/ncdata\/nextcloud.log", "loglevel": "2", "log_type": "file", "mail_sendmailmode": "smtp", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "theme": "", "default_phone_region": "DE", "data-fingerprint": "d5e4b94c3cea2c902a1721b8984ce7c1" } } ```
HTTPd logs ``` [Wed Sep 06 00:00:17.382612 2023] [ssl:warn] [pid 1174:tid 547887084928] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Wed Sep 06 00:00:17.384124 2023] [mpm_event:notice] [pid 1174:tid 547887084928] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations [Wed Sep 06 00:00:17.384307 2023] [core:notice] [pid 1174:tid 547887084928] AH00094: Command line: '/usr/sbin/apache2' ```
Database logs ``` ```
Nextcloud logs ``` ```
sunjam commented 1 year ago

Hmm, might be related to #1823