Hallo alle zusammen, ich benutze jetzt Docker für nextcloud, mariaDB und letsencrypt Container.
Damit bin ich eigentlich fast Wunschlos glücklich aber, gestern konnte ich dann zum zweiten mal nicht auf meine Cloud zugreifen. bzw wars der berühmte internal Server Error.
Alle Container neu gestartet, leider kein erfolg.
Nur ein System neustart half.
Die nextcloud log sagte folgendes.
Fatal webdav Doctrine\DBAL\Exception\DriverException: An exception occurred while
executing 'SELECT * FROM `oc_properties` WHERE `userid` = ? AND `propertypath` = ? AND
`propertyname` in (?, ?, ?, ?, ?)' with params ["Matthias_resenauer@yahoo.de", "\/", "
{DAV:}displayname", "{DAV:}creationdate", "{http:\/\/nextcloud.org\/ns}trashbin-filename", "
{http:\/\/nextcloud.org\/ns}trashbin-original-location", "{http:\/\/nextcloud.org\/ns}trashbin-
deletion-time"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
2019-11-18T23:04:38+0100
Error PHP Error while sending QUERY packet. PID=33 at
/var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#117
2019-11-18T23:04:38+0100
Fatal webdav Doctrine\DBAL\Exception\DriverException: An exception occurred while
executing 'SELECT * FROM `oc_properties` WHERE `userid` = ? AND `propertypath` = ? AND
`propertyname` in (?, ?, ?, ?, ?)' with params ["Matthias_resenauer@yahoo.de",
"\/Photos\/2019", "{DAV:}displayname", "{DAV:}creationdate", "
{http:\/\/nextcloud.org\/ns}trashbin-filename", "{http:\/\/nextcloud.org\/ns}trashbin-original-
location", "{http:\/\/nextcloud.org\/ns}trashbin-deletion-time"]: SQLSTATE[HY000]: General
error: 2006 MySQL server has gone away 2019-11-18T23:04:38+0100
Error PHP Error while sending QUERY packet. PID=30 at
/var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#117
2019-11-18T23:04:38+0100
Fatal webdav Doctrine\DBAL\Exception\DriverException: An exception occurred while
executing 'SELECT * FROM `oc_properties` WHERE `userid` = ? AND `propertypath` = ? AND
`propertyname` in (?, ?, ?, ?, ?, ?, ?)' with params ["Matthias_resenauer@yahoo.de",
"\/files\/Matthias_resenauer@yahoo.de\/Photos\/2019\/11\/19-11-18 15-31-46 2926.jpg", "
{DAV:}displayname", "{DAV:}creationdate", "{http:\/\/owncloud.org\/ns}owner-id", "
{http:\/\/owncloud.org\/ns}owner-display-name", "{http:\/\/nextcloud.org\/ns}trashbin-
filename", "{http:\/\/nextcloud.org\/ns}trashbin-original-location", "
{http:\/\/nextcloud.org\/ns}trashbin-deletion-time"]: SQLSTATE[HY000]: General error: 2006
MySQL server has gone away
Oke, war wohl der DB Container weg, bzw die Verbindung .
Aber beides ist per docker compose file auf restart: always gesetzt und nextcloud hängt auch vom DB Server ab.
Gibt es Ideen woran das liegen kann bzw welche logs ich abfragen soll wenn es das nächste mal passiert zur genaueren Analyse.
MFG
Matthias