ich habe vorhin meine Nextcloud von Version 25 auf 26 geupdatet bekomme aber jetzt unter Sicherheit folgendes angezeigt :
Es gibt einige Warnungen zu Ihrer Systemkonfiguration.
In der Datenbank fehlen einige Indizes. Auf Grund der Tatsache, dass das Hinzufügen von Indizes in großen Tabellen einige Zeit in Anspruch nehmen kann, wurden diese nicht automatisch erzeugt. Durch das Ausführen von "occ db:add-missing-indices" können die fehlenden Indizes manuell hinzugefügt werden, während die Instanz weiter läuft. Nachdem die Indizes hinzugefügt wurden, sind Anfragen auf die Tabellen normalerweise schneller.
Fehlender Index "fs_parent" in der Tabelle "oc_filecache".
An dieser Stelle wäre es nun tatsächlich gut zu wissen, welches System Du hast, denn so kann Dir hier nicht weiter geholfen werden.
Liebe Nutzer des deutschen Subforums.
Es passiert leider häufig genug, dass ganz wesentliche Infos bei vielen Threads fehlen. Dabei weiß niemand außer Euch selbst, wie ihr eure Maschine(n) konfiguriert habt. Doch Informationen sind wesentlich für eventuelle Helfer.
Bitte beachtet beim Posten deshalb folgende kleine Hinweise - die erleichtern allen die Fehlersuche. Und sparen allen Zeit. Und auch Nerven
Bei welchen Anbieter? Was für ein Server? v-server, shared, root, usw. Oder Lokal?
Auf welcher Hardware? PC, Raspberry PI, Banana, NAS usw…
Betriebssystem sowie Version ALLER beteiligten Systeme
Nextcloud Version: <bitte ausfüllen>
PHP Version: <bitte ausfüllen>
Welche Datenbank? MySql,Engine X (Nginx),MariaDB usw…
Apache version, usw.
Läuft NC in Docker,Snap oder VM
Netzwerk Aufgliederung: zb. Router>Switch>PI>
Wurden vor kurzen Server Updates gemacht? Wenn ja von was?
Habt ihr die Logs angesehen von Nextcloud und von System?
Bei was für einer Aktion ist der Fehler aufgetreten?
Das ist ein umfangreicher Fragenkatalog. Nicht immer ist es sinnvoll ALLES zu beantworten. Generell aber sollte gelten, lieber mehr Infos als wenig Infos.
Bei vielem hilft euch die App issue template aus dem App-Store.
user@raspi:~ # sudo -i
root@raspi:~ # cd /
root@raspi:/ # find -name occ
/var/www/html/nextcloud/occ
root@raspi:/ # sudo -u http php81 /var/www/html/nextcloud/occ db:add-missing-indices
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_preferences table.
Check indices of the oc_mounts table.
Done.
root@raspi:/ #
Die Nextcloud sollte doch mit dem Benutzer “http” laufen, oder?
Edit:
Versuch einmal an Stelle von “http” den Benutzer “www-data”
Habe es mit einer anderen Installation verwechselt, da ist der Nextcloud-Benutzer “http”.
Versuch einmal an Stelle von “http” den Benutzer “www-data”, siehe oben.
Okay, also ganz anders als ähnliche Installationen.
Deine Nextcloud liegt also im Ordner “/var/www/nextcloud”. Jetzt wäre nur noch der Benutzer interessant und der wäre ganz rechts im Bild gewesen.
Bei einer Nextcloud-Installation sollte es www-data:www-data sein, es geht aber auch anders.
vielen Dank, damit hat es nun ohne Fehlermeldung geklappt.
Check indices of the share table.
Check indices of the filecache table.
Adding additional parent index to the filecache table, this can take some time…
Filecache table updated successfully.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_preferences table.
Check indices of the oc_mounts table.