Shared WebHosting - 1blu - EasyApp Installation - Fehlerbehebung

Upgrade auf Nextcloud 29.0.1

Ein neuer Fehler:

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. Fehlende optionaler Index “oc_npushhash_di” in der Tabelle “notifications_pushhash”.

Der occ Befehl wird nicht angenommen.

Meine PHP ist Version: 8.3.7.

Lösungsversuch


/www/nextcloud$ /opt/php83/bin/php occ  db:add-missing-indices
Created directory: /var/lib
Created directory: /var/lib/snmp
Created directory: /var/lib/snmp/cert_indexes
Adding additional oc_npushhash_di index to the buwz_notifications_pushhash table, this can take some time...
buwz_notifications_pushhash table updated successfully.

Das Problem ist gelöst. :slight_smile:

|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

OT
:smiling_imp: Server VPS Ubuntu 22.4 Nexcloud mit c-rieger Script :smiling_imp:

sudo -u www-data /usr/bin/php /var/www/nextcloud/occ update:check

sudo -u www-data /usr/bin/php /var/www/nextcloud/occ db:add-missing-indices