Hi,
entschuldigt die unspezifische Überschrift. Leider habe ich nach einem Update mehr wie den “Einen” Fehler.
Fangen wir mal mit den Basics an:
- Root Server, im Keller
- Debian 10
- Nextcloud 24.0.6
- Nginx
php-apcu-bc/buster,now 1.0.5-14+0~20211115.22+debian10~1.gbpa00758 amd64 [Installiert,automatisch]
php-apcu/buster,now 5.1.21+4.0.11-8+0~20220625.32+debian10~1.gbpa7cde5 amd64 [installiert]
php-common/buster,now 2:92+0~20220117.43+debian10~1.gbpe0d14e all [Installiert,automatisch]
php-igbinary/buster,now 3.2.7+2.0.8-1+0~20220421.34+debian10~1.gbp53e1f5 amd64 [Installiert,automatisch]
php-imagick/buster,now 3.6.0-4+0~20220117.35+debian10~1.gbp149f82 amd64 [installiert]
php-intl/now 2:8.0+90+0~20211222.39+debian10~1.gbp2301af all [Installiert,aktualisierbar auf: 2:8.1+92+0~20220117.43+debian10~1.gbpe0d14e]
php-redis/buster,now 5.3.7+4.3.0-1+0~20220330.42+debian10~1.gbp6fe8b7 amd64 [installiert]
php-smbclient/buster,now 1.0.6-6+0~20220117.22+debian10~1.gbp04c19d amd64 [installiert]
php7.4-apcu-bc/buster,now 1.0.5-14+0~20211115.22+debian10~1.gbpa00758 amd64 [Installiert,automatisch]
php7.4-apcu/buster,now 5.1.21+4.0.11-8+0~20220625.32+debian10~1.gbpa7cde5 amd64 [Installiert,automatisch]
php7.4-bcmath/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-bz2/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-cli/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [Installiert,automatisch]
php7.4-common/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [Installiert,automatisch]
php7.4-curl/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-fpm/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-gd/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-gmp/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-intl/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-json/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-ldap/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-mbstring/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-mysql/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-opcache/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [Installiert,automatisch]
php7.4-readline/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [Installiert,automatisch]
php7.4-xml/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php7.4-zip/buster,now 1:7.4.32-1+0~20220929.71+debian10~1.gbpe9c007 amd64 [installiert]
php8.0-apcu/buster,now 5.1.21+4.0.11-8+0~20220625.32+debian10~1.gbpa7cde5 amd64 [installiert]
php8.0-cli/buster,now 1:8.0.24-1+0~20220929.42+debian10~1.gbp2c640a amd64 [Installiert,automatisch]
php8.0-common/buster,now 1:8.0.24-1+0~20220929.42+debian10~1.gbp2c640a amd64 [Installiert,automatisch]
php8.0-igbinary/buster,now 3.2.7+2.0.8-1+0~20220421.34+debian10~1.gbp53e1f5 amd64 [Installiert,automatisch]
php8.0-imagick/buster,now 3.6.0-4+0~20220117.35+debian10~1.gbp149f82 amd64 [installiert]
php8.0-intl/buster,now 1:8.0.24-1+0~20220929.42+debian10~1.gbp2c640a amd64 [Installiert,automatisch]
php8.0-opcache/buster,now 1:8.0.24-1+0~20220929.42+debian10~1.gbp2c640a amd64 [Installiert,automatisch]
php8.0-phpdbg/buster,now 1:8.0.24-1+0~20220929.42+debian10~1.gbp2c640a amd64 [Installiert,automatisch]
php8.0-readline/buster,now 1:8.0.24-1+0~20220929.42+debian10~1.gbp2c640a amd64 [Installiert,automatisch]
php8.1-apcu/now 5.1.21+4.0.11-2+0~20211113.30+debian10~1.gbp4aed2f amd64 [Installiert,aktualisierbar auf: 5.1.21+4.0.11-8+0~20220625.32+debian10~1.gbpa7cde5]
php8.1-common/buster,now 8.1.11-1+0~20220929.27+debian10~1.gbpe414ce amd64 [Installiert,automatisch]
php8.1-igbinary/now 3.2.6+2.0.8-2+0~20211115.31+debian10~1.gbpfaf284 amd64 [Installiert,aktualisierbar auf: 3.2.7+2.0.8-1+0~20220421.34+debian10~1.gbp53e1f5]
php8.1-imagick/now 3.5.1-2+0~20211115.33+debian10~1.gbp94a5d6 amd64 [Installiert,aktualisierbar auf: 3.6.0-4+0~20220117.35+debian10~1.gbp149f82]
php8.1-redis/now 5.3.4+4.3.0-5+0~20211118.38+debian10~1.gbpf06028 amd64 [Installiert,aktualisierbar auf: 5.3.7+4.3.0-1+0~20220330.42+debian10~1.gbp6fe8b7]
php8.1-smbclient/now 1.0.6-2+0~20211118.21+debian10~1.gbpdf121a amd64 [Installiert,aktualisierbar auf: 1.0.6-6+0~20220117.22+debian10~1.gbp04c19d
Fehler
- Letzte Cron-Job-Ausführung: Vor 2 Tagen. Check the background job settings
.
- Ihr Webserver ist nicht richtig konfiguriert um “/.well-known/caldav” aufzulösen. Weitere Informationen hierzu finden Sie in unserer Dokumentation
.
- Ihr Webserver ist nicht richtig konfiguriert um “/.well-known/carddav” aufzulösen. Weitere Informationen hierzu finden Sie in unserer Dokumentation
.
- 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 “direct_edit_timestamp” in der Tabelle “oc_direct_edit”.
- Das PHP-Modul “imagick” ist nicht aktiviert, die Theming-App hingegen schon. Damit die Favicon-Generierung korrekt funktioniert, müssen Sie dieses Modul installieren und aktivieren.
Bei vielem hilft euch die App issue template aus dem App-Store.
- Meine Cron.php habe ich schon nach bestem gefunden Wissen angepasst:
*/5 * * * * php -f /var/www/nextcloud/cron.php --define apc.enable_cli=1
Leider ohne Erfolg
- Zu den Nginx Fehlern, so schaut der entsprechende Teil meiner config aus:
server {
server_name XXXXXX.de;
listen 80 default_server;
listen [::]:80 default_server;
location ^~ /.well-known/acme-challenge {
default_type text/plain;
root /var/www/letsencrypt;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
server_name XXXXXXX;
listen 443 ssl default_server;
listen [::]:443 ssl http2 default_server;
root /var/www/nextcloud/;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ^~ /.well-known {
location = /.well-known/carddav {
return 301 $scheme://$host/nextcloud/remote.php/dav/;
}
server {
server_name XXXXXXXXX;
listen 80 default_server;
listen [::]:80 default_server;
location ^~ /.well-known/acme-challenge {
default_type text/plain;
root /var/www/letsencrypt;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
server_name XXXXXXXX.de;
listen 443 ssl default_server;
listen [::]:443 ssl http2 default_server;
root /var/www/nextcloud/;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ^~ /.well-known {
location = /.well-known/carddav {
return 301 $scheme://$host/nextcloud/remote.php/dav/;
}
location = /.well-known/caldav {
return 301 $scheme://$host/nextcloud/remote.php/dav/;
}
location /.well-known/acme-challenge {
try_files $uri $uri/ =404;
}
location /.well-known/pki-validation {
try_files $uri $uri/ =404;
}
return 301 $scheme://$host/nextcloud/index.php$request_uri;
}
location = /.well-known/webfinger {
return 301 $scheme://$host:$server_port/index.php/.well-known/webfinger;
}
location = /.well-known/nodeinfo {
return 301 $scheme://$host:$server_port/index.php/.well-known/nodeinfo;
}
location = /.well-known/caldav {
return 301 $scheme://$host/nextcloud/remote.php/dav/;
}
location /.well-known/acme-challenge {
try_files $uri $uri/ =404;
}
location /.well-known/pki-validation {
try_files $uri $uri/ =404;
}
return 301 $scheme://$host/nextcloud/index.php$request_uri;
}
location = /.well-known/webfinger {
return 301 $scheme://$host:$server_port/index.php/.well-known/webfinger;
}
location = /.well-known/nodeinfo {
return 301 $scheme://$host:$server_port/index.php/.well-known/nodeinfo;
}
client_max_body_size 10240M;
location / {
rewrite ^ /index.php;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
- Die Indizes kann ich seid neuestem nicht hinzufügen. Wenn ich php occ db:add-missing-indices ausführe bekomme ich folgende Fehler:
An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurre d in the driver: could not find driver in /var/www/nextcloud/lib/private/DB/Conn ection.php:139
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Con nection->connect()
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\ DBAL\Connection->getWrappedConnection()
#2 /var/www/nextcloud/lib/private/DB/Connection.php(261): Doctrine\DBAL\Connecti on->executeQuery()
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC \DB\Connection->executeQuery()
#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(281): Doctrin e\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/AppConfig.php(411): OC\DB\QueryBuilder\QueryBu ilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(176): OC\AppConfig->loadConfigVa lues()
#7 /var/www/nextcloud/lib/private/AppConfig.php(367): OC\AppConfig->getApps()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(983): OC\AppConfig->getValue s()
#9 /var/www/nextcloud/lib/private/Server.php(713): OC_App::getAppVersions()
#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162) : OC\Server->OC{closure}()
#11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\ AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129) : Pimple\Container->offsetGet()
#13 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Uti lity\SimpleContainer->query()
#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query()
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(184) : OC\AppFramework\Utility\SimpleContainer->get()
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162) : OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#17 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\ AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129) : Pimple\Container->offsetGet()
#19 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Uti lity\SimpleContainer->query()
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query()
#21 /var/www/nextcloud/lib/private/Server.php(1105): OC\AppFramework\Utility\Sim pleContainer->get()
#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162) : OC\Server->OC{closure}()
#23 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\ AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129) : Pimple\Container->offsetGet()
#25 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Uti lity\SimpleContainer->query()
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query()
#27 /var/www/nextcloud/lib/private/Server.php(2082): OC\AppFramework\Utility\Sim pleContainer->get()
#28 /var/www/nextcloud/lib/private/Files/View.php(122): OC\Server->getLockingPro vider()
#29 /var/www/nextcloud/lib/private/Server.php(454): OC\Files\View->__construct()
#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162) : OC\Server->OC{closure}()
#31 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\ AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129) : Pimple\Container->offsetGet()
#33 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\AppFramework\Uti lity\SimpleContainer->query()
#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\ServerContainer->query()
#35 /var/www/nextcloud/lib/private/Server.php(1445): OC\AppFramework\Utility\Sim pleContainer->get()
#36 /var/www/nextcloud/lib/base.php(602): OC\Server->boot()
#37 /var/www/nextcloud/lib/base.php(1111): OC::init()
#38 /var/www/nextcloud/console.php(48): require_once(‘…’)
#39 /var/www/nextcloud/occ(11): require_once(‘…’)
- Seid dem Update kann ich die Protokolierung nicht mehr einsehen. Die Übersicht taucht kurz auf und danach ist der Bereich wo das Prtokoll stehen sollte leer. Bei dem Plugin Issue reporting habe ich den selben Fehler
Kann mir jemand durch diesen Wust helfen?