NC 31 breaks connection
Since updating the NC server to 31.0.0, the following error is logged on the server when attempting to use the Android app:
{"reqId":"PY63vsVrujJ8XLZvMJ2D","level":3,"time":"2025-03-05T11:42:33+00:00","remoteAddr":"212.51.137.74","user":"zulliger","app":"index","method":"POST","url":"//index.php/apps/timemanager/api/updateObjects","message":"Call to undefined method OC\\Server::getLogger() in file '/var/www/html/nextcloud/apps/timemanager/lib/Db/StorageHelper.php' line 216","userAgent":"Dart/3.4 (dart:io)","version":"31.0.0.18","exception":{"Exception":"Exception","Message":"Call to undefined method OC\\Server::getLogger() in file '/var/www/html/nextcloud/apps/timemanager/lib/Db/StorageHelper.php' line 216","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1018,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":146,"Previous":{"Exception":"Error","Message":"Call to undefined method OC\\Server::getLogger()","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/timemanager/lib/Controller/TApiController.php","line":204,"function":"getObjectsAfterCommit","class":"OCA\\TimeManager\\Db\\StorageHelper","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"updateObjects","class":"OCA\\TimeManager\\Controller\\TApiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1018,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps/timemanager/lib/Db/StorageHelper.php","Line":216},"message":"Call to undefined method OC\\Server::getLogger() in file '/var/www/html/nextcloud/apps/timemanager/lib/Db/StorageHelper.php' line 216","exception":[],"CustomMessage":"Call to undefined method OC\\Server::getLogger() in file '/var/www/html/nextcloud/apps/timemanager/lib/Db/StorageHelper.php' line 216"},"id":"67c83924c8308"}
Within the Android app, no clients or any other data is presented. It appears as if no entries works have been made.
Logging off and on again has not resolved the issue.
Server-side, the web app appears to be functioning as usual, all data are available, new entries can be made, etc.