Unable to access my nextcloudpi

For no apparent reason, my nextcloud stopped working.
Here’s the error

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the webserver log.

I have ssh access
and to the webui interface

This is the latest version of nextcloudpi installed 3 days ago

NextcloudPi version v1.54.3
NextcloudPi image
OS Armbian-unofficial 24.8.1 Bookworm \l . 6.6.44-current-bcm2711 (aarch64)
automount yes
USB devices sda
datadir /media/myCloudDrive/ncdata/data
data in SD no
data filesystem btrfs
data disk usage 124G/1.9T
rootfs usage 5.5G/29G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check error
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service down
Postfix service up
Internet check ok
Public IPv4 ************
Public IPv6 2a04:ee41:83********d73:246a
Port 80 open
Port 443 open
IP 192.168.1.123
Gateway 192.168.1.1
Interface end0
Certificates data.*******.com
NAT loopback no
Uptime 25min

Output of ncp-report maybe?

Or at least check recent nextcloud.log entries.

Mine is doing the same after the 1.54.3 auto-update. My output is below:

<–! Paste this in GitHub report →

NextcloudPi diagnostics

NextcloudPi version  v1.54.3
NextcloudPi image    NextCloudPi_RaspberryPi_v1.50.3.img
OS                   Debian GNU/Linux 12. 6.1.21-v8+ (aarch64)
automount            yes
USB devices          sda
datadir              /media/myCloudDrive/ncdata/data
data in SD           no
data filesystem      btrfs
data disk usage      3.3T/3.7T
rootfs usage         7.5G/29G
swapfile             /var/swap
dbdir                /media/USBdrive/ncdatabase
Nextcloud check      ok
Nextcloud version    28.0.8.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          down
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              closed
Port 443             closed
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               4:10

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
            "3": "ncp.rustybryant.com",
            "11": "<!DOCTYPE HTML PUBLIC \"-\/\/IETF\/\/DTD HTML 2.0\/\/EN\">\n<html><head>\n<title>302 Found<\/title>\n<\/head><body>\n<h1>Found<\/h1>\n<p>The document has moved <a href=\"https:\/\/icanhazip.com\/\">here<\/a>.<\/p>\n<\/body><\/html>",
            "1": "192.168.1.85",
            "14": "nextcloudpi",
            "20": "ncp.bradleycountytn.com",
            "21": "ncp.rustybryant.com",
            "22": "nextcloud.rustybryant.com"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.8.1",
        "overwrite.cli.url": "https:\/\/ncp.rustybryant.com\/",
        "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\/data\/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",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_CF_CONNECTING_IP",
            "HTTP_X_FORWARDED_FOR"
        ],
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive\/ncdata\/data\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file",
        "htaccess.RewriteBase": "\/",
        "default_phone_region": "US",
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "theme": "",
        "data-fingerprint": "4cd4fe8e080981d6aa23936a8981b0a1",
        "maintenance_window_start": 2
    }
}

HTTPd logs

[Wed Aug 21 14:00:42.130540 2024] [authz_host:error] [pid 1712:tid 1775] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/wizard.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.142387 2024] [authz_host:error] [pid 1712:tid 1723] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.181838 2024] [authz_host:error] [pid 1712:tid 1729] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.182887 2024] [authz_host:error] [pid 1712:tid 1789] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.189237 2024] [authz_host:error] [pid 1712:tid 1790] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.198741 2024] [authz_host:error] [pid 1712:tid 1787] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/logs.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.206032 2024] [authz_host:error] [pid 1712:tid 1754] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.223747 2024] [authz_host:error] [pid 1712:tid 1715] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:42.230261 2024] [authz_host:error] [pid 1712:tid 1785] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.85:4443/css/ncp.css
[Wed Aug 21 14:00:42.256044 2024] [authz_host:error] [pid 1712:tid 1788] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:42.268598 2024] [authz_host:error] [pid 1712:tid 1791] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:42.525418 2024] [authz_host:error] [pid 1712:tid 1791] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.399994 2024] [authz_host:error] [pid 1712:tid 1753] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.569568 2024] [authz_host:error] [pid 1712:tid 1753] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.604916 2024] [authz_host:error] [pid 1712:tid 1751] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.608058 2024] [authz_host:error] [pid 1712:tid 1776] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.608059 2024] [authz_host:error] [pid 1712:tid 1750] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.818627 2024] [authz_host:error] [pid 1712:tid 1751] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.819947 2024] [authz_host:error] [pid 1712:tid 1750] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name
[Wed Aug 21 14:00:49.894395 2024] [authz_host:error] [pid 1712:tid 1776] [remote 192.168.1.1:7060] AH01753: access check of 'localhost' to /img/delete.svg 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

Personally, I have made a new installation in the hope that this will not happen again.

It’ll happen again. I’ve rebuilt my instance several times, but this is the longest without it messing up. I’m at 2 years I think.

it’s true that it’s very difficult to lose the work we’ve accumulated over the years.

1 Like