Plötzlicher Internal Server Error

Liebe Community,

ich nutze schon eine Weile mit Begeisterung Nextcloud und konnte mir bisher auch immer gut selbst bei kleinen Problemen helfen. Jetzt habe ich aber seit Samstagabend einen ‚ÄúInternal Server Error‚ÄĚ. Aus dem Log werde ich nicht wirklich schlau. Leider bin ich auch recht unge√ľbt als Sys-Admin, weil das System sonst eigentlich gut l√§uft und mir die Praxis fehlt. :wink:

Folgende Infos zur Installation:

  • Strato V-Server
  • Ubuntu 18.04.6 LTS
  • Nextcloud 24
  • PHP 8.1.8
  • MariaDB 10.5.16
  • nginx 1.23.1

Es wurden unmittelbar vorher keine Updates am System gemacht. Ich habe mich am fr√ľhen Abend noch via Web-Zugriff eingeloggt, um ein Passwort f√ľr eine andere Webseite zu kopieren. Am Sonntag habe ich einen Client geupdated, der schon l√§nger nicht mehr lief, und wollte drei Dateien hochladen. Dabei bin ich auf den Fehler gesto√üen.

Ich habe bereits erfolglos versucht ein Backup vom 29.07. von Strato einzuspielen, bei dem ich mir sicher bin, dass die Nexcloud noch funktioniert hat. Der gleiche Fehler tritt trotzdem auf.

Hat jemand eine Idee, was ich probieren könnte?

Danke schon mal und viele Gr√ľ√üe!
Tom

  • Die letzten 20 Zeilen des Logs:
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":1,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"no app in context","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"Unable to generate a URL for the named route \"ocs.password_policy.API.generate\" as such route does not exist.","userAgent":"Python-urllib/3.8","version":"24.0.2.1","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"ocs.password_policy.API.generate\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":361,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":58,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":107,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/apps/password_policy/lib/Capabilities.php","line":58,"function":"linkToOCSRouteAbsolute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/CapabilitiesManager.php","line":75,"function":"getCapabilities","class":"OCA\\Password_Policy\\Capabilities","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/JSConfigHelper.php","line":190,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":223,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":185,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":802,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":34,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"Unable to generate a URL for the named route \"ocs.password_policy.API.generate\" as such route does not exist."}}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":1,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"no app in context","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"Unable to generate a URL for the named route \"ocs.password_policy.API.validate\" as such route does not exist.","userAgent":"Python-urllib/3.8","version":"24.0.2.1","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"ocs.password_policy.API.validate\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":361,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":58,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":107,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/apps/password_policy/lib/Capabilities.php","line":59,"function":"linkToOCSRouteAbsolute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/CapabilitiesManager.php","line":75,"function":"getCapabilities","class":"OCA\\Password_Policy\\Capabilities","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/JSConfigHelper.php","line":190,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":223,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":185,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":802,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":34,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"Unable to generate a URL for the named route \"ocs.password_policy.API.validate\" as such route does not exist."}}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::process ordinary check follows","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::variablesChanged storedVariables: \"b92d206521717ac032f8aa58d3c7ff2f\" currentInjectedVariables: \"\"","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::resetCache","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::resetCache Lock acquired","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::resetCache css cache cleared!","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::resetCache Locking removed","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::process Lock acquired for /core/css/server.scss","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::cache /core/css/server.scss compiled and successfully cached","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::process Lock removed for /core/css/server.scss","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::process ordinary check follows","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::isCached 55e0-65ac-css-variables.css isCachedCache is expired or unset","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::isCached NotFoundException /appdata_ocxsnz4kpf8p/css/core/55e0-65ac-css-variables.css","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::process Lock acquired for /core/css/css-variables.scss","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::cache /core/css/css-variables.scss compiled and successfully cached","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"p5bHhpy4g1F4qZXIu5sb","level":0,"time":"2022-07-30T21:04:54+02:00","remoteAddr":"20.163.90.250","user":"--","app":"scss_cacher","method":"GET","url":"/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession","message":"SCSSCacher::process Lock removed for /core/css/css-variables.scss","userAgent":"Python-urllib/3.8","version":"24.0.2.1"}
{"reqId":"Vs3j3Ai2OdIiaadQP8yG","level":2,"time":"2022-07-30T23:13:23+02:00","remoteAddr":"198.235.24.156","user":"--","app":"core","method":"GET","url":"/","message":"Trusted domain error. \"198.235.24.156\" tried to access using \"_dmarc.<website>.de\" as host.","userAgent":"Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers&#39; presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com","version":"24.0.2.1"}
{"reqId":"Vs3j3Ai2OdIiaadQP8yG","level":1,"time":"2022-07-30T23:13:23+02:00","remoteAddr":"198.235.24.156","user":"--","app":"no app in context","method":"GET","url":"/","message":"Unable to generate a URL for the named route \"ocs.password_policy.API.generate\" as such route does not exist.","userAgent":"Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers&#39; presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com","version":"24.0.2.1","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"ocs.password_policy.API.generate\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":361,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":58,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":107,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/apps/password_policy/lib/Capabilities.php","line":58,"function":"linkToOCSRouteAbsolute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/CapabilitiesManager.php","line":75,"function":"getCapabilities","class":"OCA\\Password_Policy\\Capabilities","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/JSConfigHelper.php","line":190,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":223,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":185,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":802,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":34,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/UrlGenerator/Generator.php","Line":143,"CustomMessage":"Unable to generate a URL for the named route \"ocs.password_policy.API.generate\" as such route does not exist."}}
{"reqId":"Vs3j3Ai2OdIiaadQP8yG","level":1,"time":"2022-07-30T23:13:23+02:00","remoteAddr":"198.235.24.156","user":"--","app":"no app in context","method":"GET","url":"/","message":"Unable to generate a URL for the named route \"ocs.password_policy.API.validate\" as such route does not exist.","userAgent":"Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers&#39; presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com","version":"24.0.2.1","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"ocs.password_policy.API.validate\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":361,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":58,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":107,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/apps/password_policy/lib/Capabilities.php","line":59,"function":"linkToOCSRouteAbsolute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/CapabilitiesManager.php","line":75,"function":"getCapabilities","class":"OCA\\Password_Policy\\Capabilities","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/JSConfigHelper.php","line":190,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":223,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":185,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":802,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":34,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"Unable to generate a URL for the named route \"ocs.password_policy.API.validate\" as such route does not exist."}}

Du hast dein * Ubuntu 18.04.6 LTS schon mal ganz normal rebootet oder?
console:> reboot

Ein reboot tut immer gut :wink: Da dadurch die Dienste neu gestartet werden.

Das ein ausschnitt von der Nextclou log.
Interessanter wäre die des servers.

Klar, das ganze System habe ich schon (mehrfach) neu gestartet. War durch das Einspielen des Backups auch nicht zu vermeiden. :wink:

Welches Log denn genau? Allgemein? Vom nginx? PHP?

Mir f√§llt an der Stelle noch ein Hinweis ein: Eine andere Webseite auf Wordpress-Basis unter einer anderen Subdomain l√§uft weiterhin problemlos (beide nat√ľrlich √ľber den gleichen nginx). Ich vermute daher, dass das Problem eher bei meiner Nextcloud selbst liegen muss.

var/log/syslog

Logischer weise kann es dann nicht an der Cloud liegen.
Wenn du der √ľberzeugung bist das dieser Fehler erst nach diesen besagten Datum aufgetrehten ist.

Wenn du noch fr√ľhere snapshots hast w√ľrde ich zuerst diese versuchen.
Durch den speicher werden oftmals darstellungsfehler erst verspätet dargestellt. Bis dieser sich leert.

Ich denke mal du hast folgende sachen schon versucht.

sudo -u www-data php occ maintenance:repair
sudo -u www-data php occ maintenance:update:htaccess

Hallo,

danke schonmal f√ľr den Input. Ich habe die php occ Commands tats√§chlich noch nicht genutzt. Repair wirft auch gleich folgenden Fehler:

An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:139
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Connection->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\Connection->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): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/AppConfig.php(411): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(176): OC\AppConfig->loadConfigValues()
#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->getValues()
#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\Utility\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\Utility\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\SimpleContainer->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\Utility\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\SimpleContainer->get()
#28 /var/www/nextcloud/lib/private/Files/View.php(122): OC\Server->getLockingProvider()
#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\Utility\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\SimpleContainer->get()
#36 /var/www/nextcloud/lib/base.php(602): OC\Server->boot()
#37 /var/www/nextcloud/lib/base.php(1104): OC::init()
#38 /var/www/nextcloud/console.php(48): require_once('...')
#39 /var/www/nextcloud/occ(11): require_once('...')
#40 {main}

Scheint also ein Problem mit der Datenbank-Anbindung zu sein?

Hier der Inhalt von /var/log/syslog. Meines Erachtens nichts Auffälliges.

Aug  1 20:54:24 h2867718 systemd[1]: Started MariaDB 10.5.16 database server.
Aug  1 20:54:24 h2867718 /etc/mysql/debian-start[640]: Upgrading MySQL tables if necessary.
Aug  1 20:54:24 h2867718 /etc/mysql/debian-start[651]: Checking for insecure root accounts.
Aug  1 20:54:24 h2867718 /etc/mysql/debian-start[655]: Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables
Aug  1 20:54:38 h2867718 mariadbd[407]: 2022-08-01 20:54:38 0 [Note] InnoDB: Buffer pool(s) load completed at 220801 20:54:38
Aug  1 20:55:01 h2867718 CRON[830]: (www-data) CMD (php -f /var/www/nextcloud/cron.php > /dev/null 2>&1)
Aug  1 20:55:39 h2867718 systemd[1]: dev-getty.device: Job dev-getty.device/start timed out.
Aug  1 20:55:39 h2867718 systemd[1]: Timed out waiting for device dev-getty.device.
Aug  1 20:55:39 h2867718 systemd[1]: Dependency failed for Serial Getty on getty.
Aug  1 20:55:39 h2867718 systemd[1]: serial-getty@getty.service: Job serial-getty@getty.service/start failed with result 'dependency'.
Aug  1 20:55:39 h2867718 systemd[1]: dev-getty.device: Job dev-getty.device/start failed with result 'timeout'.
Aug  1 20:55:39 h2867718 systemd[1]: Reached target Login Prompts.
Aug  1 20:55:39 h2867718 systemd[1]: Reached target Multi-User System.
Aug  1 20:55:39 h2867718 systemd[1]: Reached target Graphical Interface.
Aug  1 20:55:39 h2867718 systemd[1]: Starting Update UTMP about System Runlevel Changes...
Aug  1 20:55:39 h2867718 systemd[1]: Starting Tell that Container is started...
Aug  1 20:55:39 h2867718 systemd[1]: Started Tell that Container is started.
Aug  1 20:55:39 h2867718 systemd[1]: Started Update UTMP about System Runlevel Changes.
Aug  1 20:55:39 h2867718 systemd[1]: Startup finished in 1min 30.394s.
Aug  1 21:00:02 h2867718 CRON[876]: (www-data) CMD (php -f /var/www/nextcloud/cron.php > /dev/null 2>&1)

Einen √§lteren Snapshot habe ich noch. Ich bin mir aber auch 100% sicher, dass es am 30.08. am fr√ľhen Abend noch funktioniert hat. Daher habe ich extra schon einen Tag fr√ľher gew√§hlt. Ich kann aber nat√ľrlich noch einen neuen Versuch mit einem Snapshot machen, der ein paar Tage √§lter ist.

Na siehste :slight_smile: Schon etwas mehr output …
bevor wir da rumw√ľhlen mu√üt du ein paar sachen neu starten

sudo systemctl restart nginx

/etc/init.d/mysqld restart

Sollte da immernoch der fehler sein

sudo -u www-data php occ maintenance:mimetype:update-db

Dann schauen wir weiter :wink:

Der zus√§tzliche Restart von nginx und mysql (habe mal mariadb neugestartet) hat leider nichts gebracht. Der OCC Maintainance Command f√ľr zum gleichen Fehler, wie oben, da anscheinend Treiber fehlen oder defekt sind.

Ich habe am Wochenende nochmal ein √§lteres Backup eingespielt. Das hat funktioniert! Auch wenn es mit dem weniger alten Backup, wie oben beschrieben, eigentlich auch h√§tte funktionieren m√ľssen, da ich meine Nextcloud in den folgenden Tagen definitiv benutzt habe. Vielleicht hatte ein Update einen Treiber korrumpiert und das ist erst nach einem Neustart des Dienstes aktiv geworden, wer wei√ü.

Jendenfalls konnte ich das Problem f√ľr mich durch das Einspielen des Backups l√∂sen. Leider nicht allgemeing√ľltig nutzbar. Ich denke, der Thread kann trotzdem geschlossen werden.

Danke f√ľr die Hilfe!

Hi, der ‚ÄúInternal Server Error‚ÄĚ tritt auch gern mal bei √Ąnderungen bzw. Fehlkonfigurationen in der .htaccess auf. Liegt im Hauptverzeichnis Deiner NC-Installation.
Andererseits, wenn Du vorher keine Veränderungen gemacht hast… War nur ne Idee - spreche aus Erfahrung :grinning:

Ich denke mal eher an ein Fehler in der Datenbank.

W√ľrde die htaccess nicht passen gingen die backups auchnicht mehr :wink: Und keiner √§ndert freiwillig die htaccess wenn sie ohne Probleme rennt.

Ich f√ľr mein teil mache immer bevor ich ein neues Update der NC einspiele immer alle APP‚Äôs aus f√ľr die es kein update auf der n√§chsten Version gibt. Und dann mache ich das BACKUP bzw. Snapshot.
Danach erst das NC update.

Somit ist sichergestellt das kein Fehler nicht wieder ausgeb√ľgelt werden kann.

Soweit geb ich Dir mit allem recht. Ohne Backup geht mal gar nichts…
Ich nutze OwnCloud seit 2010 und nat√ľrlich NC, seit es das gibt
Persönlich hatte ich noch nie Probleme mit der DB.
Meistens war irgendwas in der .htaccess oder eine Aktualisierung von PHP war schuld
Aber manchmal muss trotzdem an der .htaccess rumgefeilt werden…
Sei es drum, ich sagte ja - war nur ne Idee :grinning:

Mal als Tip. Schreib den größten Teil in der apache.conf
NC macht ihre eigene htaccess
Bei der htaccess zählt. Wer zuerst kommt mahlt zuerst :wink: