从29.0.5升级到29.0.6后,登入WEB时,显示内部服务错误

9.6

日志显示错误:

{“reqId”:“ZtsQj5ewYXvm5zJDL3zxKQAAANc”,“level”:3,“time”:“2024-09-06T14:24:15+00:00”,“remoteAddr”:“192.168.0.221”,“user”:“–”,“app”:“index”,“method”:“GET”,“url”:“/index.php/login?redirect_url=/index.php/apps/files/”,“message”:“Call to undefined method OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent::isLoggedIn()”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0”,“version”:“29.0.6.1”,“exception”:{“Exception”:“Error”,“Message”:“Call to undefined method OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent::isLoggedIn()”,“Code”:0,“Trace”:[{“file”:“/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php”,“line”:86,“function”:“handle”,“class”:“OCA\Unsplash\EventListener\BeforeTemplateRenderedEventListener”,“type”:“->”,“args”:[[“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”]]},{“file”:“/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:230,“function”:“__invoke”,“class”:“OC\EventDispatcher\ServiceEventListener”,“type”:“->”,“args”:[[“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”],“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”,[“Symfony\Component\EventDispatcher\EventDispatcher”]]},{“file”:“/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:59,“function”:“callListeners”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”,“args”:[[[“Closure”],[“Closure”],[“Closure”],[“Closure”]],“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”,[“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”]]},{“file”:“/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:86,“function”:“dispatch”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”,“args”:[[“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”],“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”]},{“file”:“/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:98,“function”:“dispatch”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”,“args”:[“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”,[“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”]]},{“file”:“/var/www/html/nextcloud/lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php”,“line”:50,“function”:“dispatchTyped”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”,“args”:[[“OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent”]]},{“file”:“/var/www/html/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php”,“line”:142,“function”:“afterController”,“class”:“OC\AppFramework\Middleware\AdditionalScriptsMiddleware”,“type”:“->”,“args”:[[“OC\Core\Controller\LoginController”],“showLoginForm”,[“OCP\AppFramework\Http\TemplateResponse”]]},{“file”:“/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:175,“function”:“afterController”,“class”:“OC\AppFramework\Middleware\MiddlewareDispatcher”,“type”:“->”,“args”:[[“OC\Core\Controller\LoginController”],“showLoginForm”,[“OCP\AppFramework\Http\TemplateResponse”]]},{“file”:“/var/www/html/nextcloud/lib/private/AppFramework/App.php”,“line”:184,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”,“args”:[[“OC\Core\Controller\LoginController”],“showLoginForm”]},{“file”:“/var/www/html/nextcloud/lib/private/Route/Router.php”,“line”:331,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”,“args”:[“OC\Core\Controller\LoginController”,“showLoginForm”,[“OC\AppFramework\DependencyInjection\DIContainer”],[“core.login.showloginform”]]},{“file”:“/var/www/html/nextcloud/lib/base.php”,“line”:1058,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”,“args”:[“/login”]},{“file”:“/var/www/html/nextcloud/index.php”,“line”:49,“function”:“handleRequest”,“class”:“OC”,“type”:“::”,“args”:}],“File”:“/var/www/html/nextcloud/apps/unsplash/lib/EventListener/BeforeTemplateRenderedEventListener.php”,“Line”:82,“message”:“Call to undefined method OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent::isLoggedIn()”,“exception”:{},“CustomMessage”:“Call to undefined method OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent::isLoggedIn()”}}
{“reqId”:“ZtsQnsbwBUl54fqk@Oh4xgAAAAo”,“level”:1,“time”:“2024-09-06T14:24:30+00:00”,“remoteAddr”:“192.168.0.221”,“user”:“prd”,“app”:“no app in context”,“method”:“GET”,“url”:“/ocs/v2.php/apps/notifications/api/v2/notifications?format=json”,“message”:“Notification was not parsed by any notifier [app: suspicious_login, subject: suspicious_login_detected]”,“userAgent”:“Mozilla/5.0 (Windows) mirall/3.9.4stable-Win64 (build 20230906) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)”,“version”:“29.0.6.1”,“data”:}

我感觉是某个App冲突了,不过不是很确定;
你有安装一些特别的App吗?这个是login界面加载错误还是Dashboard?