January 30, 20242 yr [index] Fehler: Call to undefined method OC\Server::getEventDispatcher() GET /apps/occweb/ von 10.100.1.3 von ......... um 30.01.2024, 15:07:24 {"reqId":"1nuRD2L4ifds1d70TrxS","level":3,"time":"2024-01-30T14:07:24+00:00","remoteAddr":"10.100.1.3","user":"Patrick","app":"index","method":"GET","url":"/apps/occweb/","message":"Call to undefined method OC\\Server::getEventDispatcher()","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.1.1","exception":{"Exception":"Error","Message":"Call to undefined method OC\\Server::getEventDispatcher()","Code":0,"Trace":[{"function":"__construct","class":"OCA\\OCCWeb\\Controller\\OccController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":83,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":128,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":146,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":468,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":440,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":163,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/occweb/lib/Controller/OccController.php","Line":35,"message":"Call to undefined method OC\\Server::getEventDispatcher()","exception":[],"CustomMessage":"Call to undefined method OC\\Server::getEventDispatcher()"},"id":"65b902a36064e"} Hat hier einer eine Lösung des Problems? Oder braucht ihr noch irgendwelche infos? Edited January 30, 20242 yr by Syrincs
January 30, 20242 yr Hast du vor kurzem eine App installiert, oder ein Update gemacht? Gefunden hab ich das hier: Mind that OCCweb is DEPRECATED since more than a year now (as can seen on its homepage). That is why it's only available for NC18 and earlier. It did work in NC19…21 using "allow incompatible app". In NC22 and newer the Logging API changed, now it renders an "Internal server error". Demnach könntest di schauen, ob du die App mit occ app:list findest und wenn ja dann entfernst.
January 30, 20242 yr Author Hi, ok ja es lag an der occweb app hab sie gelöscht und die logs ebenso nun ist wieder alles ok. Bei der sache ist mir jedoch schon was neues aufgefallen mein container startet zwar aber zeigt auch einen fehler.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.