Nextcloud Fehler 500 - Login nicht möglich

Hallo,
ich habe das Problem, dass bei mir Nextcloud Fehler 500 anzeigt und keine Benutzeroberfläche mehr aufbaut. Im Apache2 Log habe ich folgende Fehlermeldung:

[Mon Oct 14 17:15:33.531194 2019] [php7:error] [pid 1607] [client 10.47.208.2:62645] PHP Fatal error: Uncaught Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:64\nStack trace:\n#0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(992): OC\DB\Connection->connect()\n#1 /var/www/nextcloud/lib/private/DB/Connection.php(216): Doctrine\DBAL\Connection->executeUpdate(‘PRAGMA read_unc…’, Array, Array)\n#2 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): OC\DB\Connection->executeUpdate(‘PRAGMA read_unc…’)\n#3 /var/www/nextcloud/lib/private/DB/Connection.php(151): Doctrine\DBAL\Connection->setTransactionIsolation(2)\n#4 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\DB\Connection->__construct(Array, Object(Doctrine\DBAL\Driver\PDOSqlite\Driver), Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))\n#5 /var/www/nextcloud/lib/private/DB/ConnectionFactory.php(156): Doctrine\DBAL\DriverMan in /var/www/nextcloud/lib/private/DB/Connection.php on line 64
[Mon Oct 14 17:15:33.531550 2019] [php7:error] [pid 1607] [client 10.47.208.2:62645] PHP Fatal error: Uncaught Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:64\nStack trace:\n#0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(992): OC\DB\Connection->connect()\n#1 /var/www/nextcloud/lib/private/DB/Connection.php(216): Doctrine\DBAL\Connection->executeUpdate(‘PRAGMA read_unc…’, Array, Array)\n#2 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): OC\DB\Connection->executeUpdate(‘PRAGMA read_unc…’)\n#3 /var/www/nextcloud/lib/private/DB/Connection.php(151): Doctrine\DBAL\Connection->setTransactionIsolation(2)\n#4 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\DB\Connection->__construct(Array, Object(Doctrine\DBAL\Driver\PDOSqlite\Driver), Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))\n#5 /var/www/nextcloud/lib/private/DB/ConnectionFactory.php(156): Doctrine\DBAL\DriverMan in /var/www/nextcloud/lib/private/DB/Connection.php on line 64

Kann wer da mir weiterhelfen?

Hallo
Ich glaub es ist besser geholfen wenn du die log der cloud auch zeigst :wink:

Lg

Hier ein Ausschnitt von dem LOG der Cloud (das neuste ist da aber vom 11.10.19):
{“reqId”:“0f6KqnNLtMqMgj4ipedj”,“level”:2,“time”:“2019-10-11T15:54:18+00:00”,“remoteAddr”:“10.47.208.208”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.php/dav/",“message”:“Login failed: ‘schr10’ (Remote IP: ‘10.47.208.208’)”,“userAgent”:“iOS/11.1.1 (15B150) dataaccessd/1.0”,“version”:“15.0.11.1”}
{“reqId”:“I11KFyPiHgBJqoC8DHOI”,“level”:2,“time”:“2019-10-11T15:54:23+00:00”,“remoteAddr”:“10.47.208.208”,“user”:"–",“app”:“user_ldap”,“method”:“PROPFIND”,“url”:"/remote.php/dav/",“message”:“Bind failed: 49: Invalid credentials”,“userAgent”:“iOS/11.1.1 (15B150) dataaccessd/1.0”,“version”:“15.0.11.1”}
{“reqId”:“I11KFyPiHgBJqoC8DHOI”,“level”:2,“time”:“2019-10-11T15:54:23+00:00”,“remoteAddr”:“10.47.208.208”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.php/dav/",“message”:“Login failed: ‘schr10’ (Remote IP: ‘10.47.208.208’)”,“userAgent”:“iOS/11.1.1 (15B150) dataaccessd/1.0”,“version”:“15.0.11.1”}

Die Meldung gibt eindeutig Auskunft über die Problemursache. Das für den Zugriff auf die Datenbank notwendige PHP-Modul kann nicht gefunden werden, d.h. es wurde von Dir vermutlich nicht installiert bzw. korrekt geladen.

Diese Art von Problem trat in der Vergangenheit schon vielfach auf, sodass Dir die Suchfunktion des Forums, welche Du in der oberen rechten Ecke findest, Hinweise geben sollte wie das Modul heißt und konfiguriert bzw. geladen werden muss.

Es wurde nachdem Neustart die falsche PHP Version geladen … jetzt gehts wieder

1 Like