nextcloud / nextcloud/nextcloudpi

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

Open
#1,826 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

has-updates
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

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



Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ncp-dist-upgrade entry point and reproduce the Debian 10-to-Bullseye upgrade using the attached terminal output as the reference failure. Trace where the php7.3-fpm service name is selected, then verify the upgrade completes without the reported unrecognized-service error.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, shell
Domain
devops, operating-systems, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.