Closed fl0w1 closed 6 years ago
Do you use the internal chat backend?
Yes, I do.
Can you test the above patch?
According to my sources ;-), every call of getBackendName in Nextcloud itself looks like that:
The patch works for me, with the IMAP backend. Thanks.
Hey,
after the last update to version 3.4.0 users with oc_user_imap backend cannot longer login. Right after logging in the Nextcloud 13 Server responds with internal Server Error.
Server details: Nextcloud 13.0.2 JavaScript XMPP Chat 3.4.0 Browser: Multiple Browsers tested (with and without addons)
Error Message from NextCloud Log: {"reqId":"WwfEbMtviJtFPDPNTeikpAAAAFI","level":3,"time":"2018-05-25T10:08:13+02:00","remoteAddr":"","user":"user@example.org","app":"index","method":"GET","url":"\/","message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Call to undefined method OC_User_IMAP::getBackendName()\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/nextcloud\\/html\\/apps\\/ojsxc\\/appinfo\\/application.php(284): OCA\\OJSXC\\AppInfo\\Application::convertToRealUID('user...')\n#1 \\/var\\/www\\/nextcloud\\/html\\/apps\\/ojsxc\\/appinfo\\/routes.php(8): OCA\\OJSXC\\AppInfo\\Application->__construct()\n#2 \\/var\\/www\\/nextcloud\\/html\\/lib\\/private\\/Route\\/Router.php(351): include_once('\\/var\\/www\\/cloud....')\n#3 \\/var\\/www\\/nextcloud\\/html\\/lib\\/private\\/Route\\/Router.php(151): OC\\Route\\Router->requireRouteFile('\\/var\\/www\\/cloud....', 'ojsxc')\n#4 \\/var\\/www\\/nextcloud\\/html\\/lib\\/private\\/Route\\/Router.php(268): OC\\Route\\Router->loadRoutes()\n#5 \\/var\\/www\\/nextcloud\\/html\\/lib\\/base.php(999): OC\\Route\\Router->match('')\n#6 \\/var\\/www\\/nextcloud\\/html\\/index.php(37): OC::handleRequest()\n#7 {main}\",\"File\":\"\\/var\\/www\\/nextcloud\\/html\\/apps\\/ojsxc\\/appinfo\\/application.php\",\"Line\":366}","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.2.1"}
The problem was solved by disabling the ojsxc app.
Cheers,
Florian