I tried to upgrade via de web interface, and got this error:
```
[ nc-update ] (Fri May 3 18:50:53 BST 2024)
Downloading updates
Performing updates
Update root login prevention method...
root:x:0:0:root:/root:/usr/sbin/nologin
passwd: password expiry information changed.
PermitRootLogin no
done.
Fixing trusted proxies list...
System config value trusted_proxies => 13 deleted
done.
Updating PHP package signing key...
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:5 https://packages.sury.org/php bullseye InRelease [7551 B]
Get:6 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Get:7 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [307 kB]
Err:5 https://packages.sury.org/php bullseye InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
Fetched 695 kB in 1s (474 kB/s)
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org/php bullseye InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
W: Failed to fetch https://packages.sury.org/php/dists/bullseye/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
kms++-utils raspi-utils raspinfo
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
gnupg2
0 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
Need to get 434 kB of archives.
After this operation, 453 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 gnupg2 all 2.2.27-2+deb11u2 [434 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 434 kB in 0s (3648 kB/s)
Selecting previously unselected package gnupg2.
(Reading database ...
(Reading database ... 100%
Preparing to unpack .../gnupg2_2.2.27-2+deb11u2_all.deb ...
Unpacking gnupg2 (2.2.27-2+deb11u2) ...
Setting up gnupg2 (2.2.27-2+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.tq9nIBieIm/gpg.1.sh --fetch-keys https://packages.sury.org/php/apt.gpg
gpg: requesting key from 'https://packages.sury.org/php/apt.gpg'
gpg: key B188E2B695BD4743: "DEB.SURY.ORG Automatic Signing Key " 2 new signatures
gpg: Total number processed: 1
gpg: new signatures: 2
done.
Installing dependencies...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
kms++-utils raspi-utils raspinfo
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libutempter0
The following NEW packages will be installed:
libutempter0 tmux
0 upgraded, 2 newly installed, 0 to remove and 40 not upgraded.
Need to get 347 kB of archives.
After this operation, 881 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 libutempter0 arm64 1.2.1-2 [8972 B]
Get:2 http://deb.debian.org/debian bullseye/main arm64 tmux arm64 3.1c-1+deb11u1 [338 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 347 kB in 0s (2753 kB/s)
Selecting previously unselected package libutempter0:arm64.
(Reading database ...
(Reading database ... 65%
Preparing to unpack .../libutempter0_1.2.1-2_arm64.deb ...
Unpacking libutempter0:arm64 (1.2.1-2) ...
Selecting previously unselected package tmux.
Preparing to unpack .../tmux_3.1c-1+deb11u1_arm64.deb ...
Unpacking tmux (3.1c-1+deb11u1) ...
Setting up libutempter0:arm64 (1.2.1-2) ...
Setting up tmux (3.1c-1+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
done.
Updating obsolete theming URL
done.
NextCloudPi updated to version v1.54.0
Reenable erroneously disabled package sources
done
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Get:5 https://packages.sury.org/php bullseye InRelease [7551 B]
Get:6 https://packages.sury.org/php bullseye/main arm64 Packages [237 kB]
Get:7 https://packages.sury.org/php bullseye/main armhf Packages [237 kB]
Fetched 474 kB in 2s (280 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
kms++-utils raspi-utils raspinfo
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
php-common
The following packages will be upgraded:
bluez bluez-firmware firmware-atheros firmware-brcm80211 firmware-libertas
firmware-misc-nonfree firmware-realtek libbluetooth3 libc-bin libc-dev-bin
libc-devtools libc-l10n libc6 libc6-dbg libc6-dev libmpdec3 libssl1.1
locales openssl php8.1 php8.1-bcmath php8.1-bz2 php8.1-cli php8.1-common
php8.1-curl php8.1-fpm php8.1-gd php8.1-gmp php8.1-igbinary php8.1-intl
php8.1-ldap php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-readline
php8.1-redis php8.1-xml php8.1-zip raspi-config
39 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 95.0 MB of archives.
After this operation, 205 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
Error while applying update 1.54.1. Exiting...
```
System information
NextcloudPi diagnostics
```
grep: /etc/apache2/sites-available/nextcloud.conf: No such file or directory
NextcloudPi version v1.54.0
NextcloudPi image NextCloudPi_RaspberryPi_v1.51.3.img
OS Debian GNU/Linux 11. 6.1.21-v8+ (aarch64)
automount yes
USB devices sda
datadir /media/nextcloudpi_data/ncdata/data
data in SD no
data filesystem btrfs
data disk usage 2.6T/5.3T
rootfs usage 6.3G/59G
swapfile /var/swap
dbdir /media/USBdrive/ncdatabase
Nextcloud check ok
Nextcloud version 28.0.4.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 no
Uptime 33days
```
Nextcloud configuration
```
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"7": "nextcloudpi",
"5": "nextcloudpi.local",
"8": "nextcloudpi.lan",
"3": "xxxxxxxxxxx",
"11": "xxxxxxxxxxxx",
"1": "xxxxxxxxx",
"2": "xxxxxx",
"14": "nextcloudpi"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "28.0.4.1",
"overwrite.cli.url": "xxxxxxxxxxx",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "",
"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\/nextcloudpi_data\/ncdata\/data\/tmp",
"mail_smtpmode": "sendmail",
"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\/nextcloudpi_data\/ncdata\/data\/nextcloud.log",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"loglevel": "2",
"log_type": "file",
"mysql.utf8mb4": true,
"theme": "",
"data-fingerprint": "1ffbe802b84316f94db84dfd10411753"
}
}
```
HTTPd logs
```
[Fri May 03 18:48:16.501880 2024] [authz_host:error] [pid 535369:tid 548056187264] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Fri May 03 18:48:16.525525 2024] [authz_host:error] [pid 535369:tid 548098232704] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Fri May 03 18:48:16.911606 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Fri May 03 18:48:17.109748 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Fri May 03 18:48:28.555734 2024] [authz_host:error] [pid 535369:tid 548106641792] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri May 03 18:48:28.735022 2024] [authz_host:error] [pid 535369:tid 548106641792] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri May 03 18:48:29.290929 2024] [authz_host:error] [pid 535369:tid 548199027072] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name
[Fri May 03 18:48:29.295122 2024] [authz_host:error] [pid 535369:tid 548224205184] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name
[Fri May 03 18:48:29.298889 2024] [authz_host:error] [pid 535369:tid 548047778176] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri May 03 18:48:29.517737 2024] [authz_host:error] [pid 535369:tid 548199027072] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name
[Fri May 03 18:48:29.532475 2024] [authz_host:error] [pid 535369:tid 548224205184] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name
[Fri May 03 18:48:29.535438 2024] [authz_host:error] [pid 535369:tid 548047778176] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri May 03 18:48:42.846373 2024] [authz_host:error] [pid 535369:tid 548073005440] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Fri May 03 18:48:43.040714 2024] [authz_host:error] [pid 535369:tid 548073005440] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Fri May 03 18:48:44.493835 2024] [authz_host:error] [pid 535369:tid 548148670848] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri May 03 18:48:44.688565 2024] [authz_host:error] [pid 535369:tid 548148670848] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri May 03 18:53:07.067669 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/red-circle.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Fri May 03 18:53:07.314844 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/red-circle.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Fri May 03 19:14:21.297393 2024] [authz_host:error] [pid 535369:tid 548207419776] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri May 03 19:14:21.727755 2024] [authz_host:error] [pid 535369:tid 548207419776] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
```
Database logs
```
tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory
```
I tried to upgrade via de web interface, and got this error:
System information
NextcloudPi diagnostics
``` grep: /etc/apache2/sites-available/nextcloud.conf: No such file or directory NextcloudPi version v1.54.0 NextcloudPi image NextCloudPi_RaspberryPi_v1.51.3.img OS Debian GNU/Linux 11. 6.1.21-v8+ (aarch64) automount yes USB devices sda datadir /media/nextcloudpi_data/ncdata/data data in SD no data filesystem btrfs data disk usage 2.6T/5.3T rootfs usage 6.3G/59G swapfile /var/swap dbdir /media/USBdrive/ncdatabase Nextcloud check ok Nextcloud version 28.0.4.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 no Uptime 33days ```Nextcloud configuration
``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "7": "nextcloudpi", "5": "nextcloudpi.local", "8": "nextcloudpi.lan", "3": "xxxxxxxxxxx", "11": "xxxxxxxxxxxx", "1": "xxxxxxxxx", "2": "xxxxxx", "14": "nextcloudpi" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "28.0.4.1", "overwrite.cli.url": "xxxxxxxxxxx", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "", "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\/nextcloudpi_data\/ncdata\/data\/tmp", "mail_smtpmode": "sendmail", "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\/nextcloudpi_data\/ncdata\/data\/nextcloud.log", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "loglevel": "2", "log_type": "file", "mysql.utf8mb4": true, "theme": "", "data-fingerprint": "1ffbe802b84316f94db84dfd10411753" } } ```HTTPd logs
``` [Fri May 03 18:48:16.501880 2024] [authz_host:error] [pid 535369:tid 548056187264] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Fri May 03 18:48:16.525525 2024] [authz_host:error] [pid 535369:tid 548098232704] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Fri May 03 18:48:16.911606 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name [Fri May 03 18:48:17.109748 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name [Fri May 03 18:48:28.555734 2024] [authz_host:error] [pid 535369:tid 548106641792] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Fri May 03 18:48:28.735022 2024] [authz_host:error] [pid 535369:tid 548106641792] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Fri May 03 18:48:29.290929 2024] [authz_host:error] [pid 535369:tid 548199027072] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name [Fri May 03 18:48:29.295122 2024] [authz_host:error] [pid 535369:tid 548224205184] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name [Fri May 03 18:48:29.298889 2024] [authz_host:error] [pid 535369:tid 548047778176] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Fri May 03 18:48:29.517737 2024] [authz_host:error] [pid 535369:tid 548199027072] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name [Fri May 03 18:48:29.532475 2024] [authz_host:error] [pid 535369:tid 548224205184] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name [Fri May 03 18:48:29.535438 2024] [authz_host:error] [pid 535369:tid 548047778176] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Fri May 03 18:48:42.846373 2024] [authz_host:error] [pid 535369:tid 548073005440] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Fri May 03 18:48:43.040714 2024] [authz_host:error] [pid 535369:tid 548073005440] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Fri May 03 18:48:44.493835 2024] [authz_host:error] [pid 535369:tid 548148670848] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Fri May 03 18:48:44.688565 2024] [authz_host:error] [pid 535369:tid 548148670848] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Fri May 03 18:53:07.067669 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/red-circle.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Fri May 03 18:53:07.314844 2024] [authz_host:error] [pid 535369:tid 548215812480] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /img/red-circle.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css [Fri May 03 19:14:21.297393 2024] [authz_host:error] [pid 535369:tid 548207419776] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name [Fri May 03 19:14:21.727755 2024] [authz_host:error] [pid 535369:tid 548207419776] [remote 192.168.178.38:48920] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name ```Database logs
``` tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory ```