Nextcloudpi ist nicht erreichbar über Windows oder iPhone

Liebes Forum,

ich nutze einen Raspberry Pi zum Betrieb der Nextcloudpi. Der hängt an der Fritzbox und über das WLAN wird der Zugriff per iPhone und Windows Nextcloud App geregelt. Er funktionierte über 1 Jahr problemlos.

Seit ca. 1 Woche besteht kein Zugriff mehr auf die Nextcloud. Die App zeigt das folgende Bild:

Über Firefox liefert die folgende Adresse eine Fehlermeldung
https://nextcloudpi.local/

Fehlermeldung:
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 server log.

Mittels Putty-Zugriff auf den Raspberry liefert der Befehl “nc-info” folgende Infos. Auffällig ist, dass “HBP service down" anzeigt. Nach einem Reboot blieb der Status weiterhin bestehen.

Ich weiß an der Stelle nicht weiter, wie der Zugriff wieder hergestellt werden kann.
Ist das Problem hier bekannt und kann jemand helfen?
Danke!

Beste Grüße
Robert

  • Betriebssystem: Nextcloud 23, Window 11, neueste Fritz-Firmware,

  • Nextcloud Version: 23.0.6.1

  • PHP Version: 7.4 (8.1 scheint auch vorhanden zu sein)

  • Welche Datenbank? MariaDB

  • Apache version, usw.

  • Netzwerk Aufgliederung: Fritzbox - LAN - Raspberry Pi

  • Wurden vor kurzen Server Updates gemacht? Automatische Updates sind aktiviert.

  • Habt ihr die Logs angesehen von Nextcloud und von System? Wo finde ich diese?

  • Bei was für einer Aktion ist der Fehler aufgetreten? Spontan, kein Zutun meinerseits

Hey Robert.

Danke für deine Meldung.
In den letzten Tagen sehe ich hier eine Menge ähnlicher Meldungen, gerade NCP betreffend. Hast du mal im Forum rumgeschaut, was es da für Lösungsvorschläge gibt?
Ich meine mich zu erinnern, dass es mit einer fehlerbehafteten NCP-Version zu tun hatte und dass es dafür Lösungen gibt!

Wenn du suchst und etwas findest, bitte poste die Lösung hier als Antwort

Hallo Robert,

Bitte füge einmal den output des Befehls sudo ncp-report bei.

Hallo zusammen,

Danke für Eure schnellen Antworten.
Ich hab mich schon umgesehen, aber konkrete Lösungshinweise habe ich dabei nicht gefunden.

Hier ist der ncp-report:
pi@nextcloudpi:~ $ sudo ncp-report
<–! Paste this in GitHub report →

NextCloudPi diagnostics

NextCloudPi version  v1.50.3
NextCloudPi image    NextCloudPi_10-08-21
OS                   Debian GNU/Linux 11. 5.15.61-v8+ (aarch64)
automount            yes
USB devices          sda sdb
datadir              /media/myCloudDrive1/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      155G/11T
rootfs usage         2.8G/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          down
Postfix service      up
Internet check       ok
public IP            ***REMOVED SENSITIVE VALUE***
public IP            ***REMOVED SENSITIVE VALUE***
Port check 80        closed
Port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               1day

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "22": "nextcloudpi",
            "1": "192.168.178.28",
            "11": "2a00:6020:b3ac:7300:89:165c:bc65:ac45",
            "3": "nextcloudpi",
            "14": "nextcloudpi",
            "": "nextcloudpi"
        },
        "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\/myCloudDrive1\/ncdata\/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",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "loglevel": "2",
        "log_type": "file",
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive1\/ncdata\/nextcloud.log",
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "data-fingerprint": "4cab9cbdb7409df75245d3e7a4231b48"
    }
}

HTTPd logs

[Sun Oct 09 00:00:06.373947 2022] [ssl:warn] [pid 1109:tid 548418257984] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 09 00:00:06.374232 2022] [ssl:error] [pid 1109:tid 548418257984] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC2 / notbefore: Oct  8 19:39:52 2021 GMT / notafter: Oct  6 19:39:52 2031 GMT]
[Sun Oct 09 00:00:06.374269 2022] [ssl:error] [pid 1109:tid 548418257984] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Sun Oct 09 00:00:06.376344 2022] [mpm_event:notice] [pid 1109:tid 548418257984] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Sun Oct 09 00:00:06.376388 2022] [core:notice] [pid 1109:tid 548418257984] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2022-10-08 10:43:56 0 [Note] Recovering after a crash using tc.log
2022-10-08 10:43:56 0 [Note] Starting crash recovery...
2022-10-08 10:43:56 0 [Note] Crash recovery finished.
2022-10-08 10:43:56 0 [Note] Server socket created on IP: '127.0.0.1'.
2022-10-08 10:43:57 0 [Note] Reading of all Master_info entries succeeded
2022-10-08 10:43:57 0 [Note] Added new Master_info '' to hash table
2022-10-08 10:43:57 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.36-MariaDB-0+deb10u2'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Debian 10
2022-10-08 10:43:57 0 [Note] InnoDB: Buffer pool(s) load completed at 221008 10:43:57
2022-10-08 10:44:04 9 [Warning] Aborted connection 9 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)
2022-10-08 11:22:56 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown
2022-10-08 11:22:56 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-10-08 11:22:56 0 [Note] InnoDB: FTS optimize thread exiting.
2022-10-08 11:22:56 0 [Note] InnoDB: Starting shutdown...
2022-10-08 11:22:56 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2022-10-08 11:22:56 0 [Note] InnoDB: Buffer pool(s) dump completed at 221008 11:22:56
2022-10-08 11:22:57 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-10-08 11:22:57 0 [Note] InnoDB: Shutdown completed; log sequence number 9821469047; transaction id 37888902
2022-10-08 11:22:57 0 [Note] /usr/sbin/mysqld: Shutdown complete


Die Nextcloud logs haben hier den Rahmen der maximal erlaubten Zeichen gesprengt. Falls diese benötigt werden, gebt mir bitte Bescheid - dann füge ich sie in mehreren Zügen hier ein.

Danke schonmal!

Ich hab gelesen, dass eine PHP Version dafür sorgt, dass die Nextcloud nicht mehr erreichbar ist. Ist es sinnvoll auf einem Nextcloudpi PHP 8.1 zu installieren?
Wenn ja, wie gehts das?

Wenn du die ncp Version =/>1.50.1 installiert hast wird php8.1 automatisch beim nächsten Update von Nextcloud mitinstalliert.
Getestet und vollzogen hab ich das aber nur bei Nextcloud 24.

Was mich bei dir etwas wundert ist, dass du automatische Updates installiert hast und auch auf v1.50.3 bist, aber deine Nextcloud noch bei 23 ist. Hast du nur ncp Updates auf automatisch und die Nextcloud Updates nicht?

Die Nextcloud Logs wären tatsächlich noch wichtig. Du kannst auch einen Service wie https://hastebin.com verwenden und sie dort hochladen

Danke für Eure Antworten!
Ich habe ein Update auf Version 24 probiert, allerdings ohne Erfolg.

Befehl:

Ergebnis:

Gibt es noch eine andere Möglichkeit die Nextcloud auf Version 24 zu bringen?

Hier der ganze Log:
https://hastebin.com/raw/mezuwajeqi

Hallo zusammen,

hat da jemand schon eine Idee dazu?

Danke und beste Grüße
Robert

Es scheint so, als hätte hastebin die Daten nicht gespeichert.
Hier ein neuer Versuch: https://hastebin.com/sexofuluji.swift

Hallo zusammen,

hat jemand eine Idee?
Alternativ würde ich gerne die Daten von den externen HDDs retten. Kann ich die einfach an einen Computer anschließen und auslesen? Muss ich dazu etwas beachten?

Danke und beste Grüße
Robert

Hallo zusammen,

meine Nextcloud läuft immer noch nicht.
Ich vermute, dass die Maria DB einen Schaden durch ein automatisches Update bekommen hat.
Gibt es eine Möglichkeit die Maria DB zu testen oder eine Selbstreparatur einzuleiten?

Frohes Neues & Danke!