Description
Hei Pauli,
once again using a release candidate of an upcoming release (Nextcloud 31 RC1) I just got a server error.
When I call the app Music I get the following log message:
"Could not boot music: Call to undefined method OC\Server::getLogger()"
Probably the function is no longer available that way...?
Would be very kind, if you could look into that issue.
Thank you very much!
Full log entry is:
{"reqId":"vm01cOsRdC6EgO9ZSVYk","level":4,"time":"2025-01-25T16:49:35+00:00","remoteAddr":"xx.xx.xx.xx","user":"xxx","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/calendars/xxx/inbox/","message":"Could not boot music: Call to undefined method OC\Server::getLogger()","userAgent":"macOS/15.3 (24D60) dataaccessd/1.0","version":"31.0.0.12","exception":{"Exception":"Error","Message":"Call to undefined method OC\Server::getLogger()","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":153,"function":"OCA\Music\AppInfo\{closure}","class":"OCA\Music\AppInfo\Application","type":"->","args":["*** sensitive parameters replaced "]},{"file":"/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php","line":122,"function":"OC\AppFramework\Utility\{closure}","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":120,"function":"offsetGet","class":"Pimple\Container","type":"->","args":["Logger"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":441,"function":"query","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":["Logger"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":419,"function":"queryNoFallback","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["Logger"]},{"file":"/var/www/html/custom_apps/music/lib/AppInfo/Application.php","line":667,"function":"query","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["Logger"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":153,"function":"OCA\Music\AppInfo\{closure}","class":"OCA\Music\AppInfo\Application","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php","line":122,"function":"OC\AppFramework\Utility\{closure}","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":120,"function":"offsetGet","class":"Pimple\Container","type":"->","args":["Maintenance"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":441,"function":"query","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":["Maintenance"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":419,"function":"queryNoFallback","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["Maintenance"]},{"file":"/var/www/html/custom_apps/music/lib/AppInfo/Application.php","line":779,"function":"query","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["Maintenance"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":153,"function":"OCA\Music\AppInfo\{closure}","class":"OCA\Music\AppInfo\Application","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php","line":122,"function":"OC\AppFramework\Utility\{closure}","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":[" sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":120,"function":"offsetGet","class":"Pimple\Container","type":"->","args":["UserHooks"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":441,"function":"query","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":["UserHooks"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":419,"function":"queryNoFallback","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["UserHooks"]},{"file":"/var/www/html/custom_apps/music/lib/AppInfo/Application.php","line":831,"function":"query","class":"OC\AppFramework\DependencyInjection\DIContainer","type":"->","args":["UserHooks"]},{"file":"/var/www/html/custom_apps/music/lib/AppInfo/Application.php","line":801,"function":"registerHooks","class":"OCA\Music\AppInfo\Application","type":"->","args":[]},{"file":"/var/www/html/custom_apps/music/lib/AppInfo/Application.php","line":796,"function":"init","class":"OCA\Music\AppInfo\Application","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":157,"function":"boot","class":"OCA\Music\AppInfo\Application","type":"->","args":[{"class":"OC\AppFramework\Bootstrap\BootContext"}]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":477,"function":"bootApp","class":"OC\AppFramework\Bootstrap\Coordinator","type":"->","args":["music"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":246,"function":"loadApp","class":"OC\App\AppManager","type":"->","args":["music"]},{"file":"/var/www/html/remote.php","line":130,"function":"loadApps","class":"OC\App\AppManager","type":"->","args":[["filesystem","logging"]]}],"File":"/var/www/html/custom_apps/music/lib/AppInfo/Application.php","Line":568,"message":"Could not boot music: Call to undefined method OC\Server::getLogger()","exception":{},"CustomMessage":"Could not boot music: Call to undefined method OC\Server::getLogger()"}}