Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Logfile littered by "OCP\AppFramework\QueryException: Could not resolve logger! Class logger does not exist" #33531

Closed
7 of 9 tasks
ruedigerkupper opened this issue Aug 13, 2022 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@ruedigerkupper
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

In my log, see millions of messages "OCP\AppFramework\QueryException: Could not resolve logger! Class logger does not exist". This message repeats every 5 seconds(!!). The log file keeps growing and growing (every 100MB it is replaced by a new one …)
The error is caused in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php

(These are the last two lines from my log:)

{"reqId":"BO14pOQj1NFxp4MvhJdn","level":2,"time":"2022-08-13T15:06:51+00:00","remoteAddr":"","user":"--","app":"OC\\Log\\Rotate","method":"","url":"--","message":"Log file \"/var/www/nextcloud/data/nextcloud.log\" was over 104857600 bytes, moved to \"/var/www/nextcloud/data/nextcloud.log.1\"","userAgent":"--","version":"24.0.4.1","data":{"app":"OC\\Log\\Rotate"}}
{"reqId":"jAdpfC6jXHp64IwxziEa","level":3,"time":"2022-08-13T15:06:51+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not load event listener service OCA\\Maps\\Listener\\CardUpdatedListener: Could not resolve logger! Class logger does not exist. Make sure the class is auto-loadable by the Nextcloud server container","userAgent":"--","version":"24.0.4.1","exception":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve logger! Class logger does not exist","Code":0,"Trace":[{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php","line":756,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CardDAV/SyncService.php","line":283,"function":"updateCard","class":"OCA\\DAV\\CardDAV\\CardDavBackend","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/dav/lib/HookManager.php","line":166,"function":"updateUser","class":"OCA\\DAV\\CardDAV\\SyncService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"changeUser","class":"OCA\\DAV\\HookManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Server.php","line":642,"function":"emit","class":"OC_Hook","type":"::"},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php","line":106,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":564,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/UserAvatar.php","line":216,"function":"triggerChange","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/UserAvatar.php","line":330,"function":"remove","class":"OC\\Avatar\\UserAvatar","type":"->"},{"file":"/var/www/nextcloud/lib/private/Server.php","line":1509,"function":"userChanged","class":"OC\\Avatar\\UserAvatar","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":264,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":239,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":122,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":561,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User/User.php","line":391,"function":"triggerChange","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":504,"function":"composeAndStoreDisplayName","class":"OCA\\User_LDAP\\User\\User","type":"->"},{"function":"getDisplayName","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":170,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":266,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":133,"function":"getDisplayName","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/Accounts/AccountManager.php","line":660,"function":"getDisplayName","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/lib/private/Accounts/AccountManager.php","line":348,"function":"buildDefaultUserRecord","class":"OC\\Accounts\\AccountManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Accounts/AccountManager.php","line":772,"function":"getUser","class":"OC\\Accounts\\AccountManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/AvatarManager.php","line":132,"function":"getAccount","class":"OC\\Accounts\\AccountManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Server.php","line":1508,"function":"getAvatar","class":"OC\\Avatar\\AvatarManager","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":264,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":239,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":122,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":561,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User/User.php","line":391,"function":"triggerChange","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":747,"function":"composeAndStoreDisplayName","class":"OCA\\User_LDAP\\User\\User","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":687,"function":"cacheUserDisplayName","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":643,"function":"ldap2NextcloudNames","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Group_LDAP.php","line":518,"function":"nextcloudUserNames","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Group_LDAP.php","line":928,"function":"getUsersInGidNumber","class":"OCA\\User_LDAP\\Group_LDAP","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Group_Proxy.php","line":155,"function":"usersInGroup","class":"OCA\\User_LDAP\\Group_LDAP","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/UpdateGroups.php","line":155,"function":"usersInGroup","class":"OCA\\User_LDAP\\Group_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/UpdateGroups.php","line":107,"function":"handleKnownGroups","class":"OCA\\User_LDAP\\Jobs\\UpdateGroups","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/UpdateGroups.php","line":87,"function":"updateGroups","class":"OCA\\User_LDAP\\Jobs\\UpdateGroups","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\User_LDAP\\Jobs\\UpdateGroups","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":102,"Previous":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Maps\\Listener\\ILogger! Class OCA\\Maps\\Listener\\ILogger does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":89,"function":"query","class":"OC\\ServerContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php","line":756,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CardDAV/SyncService.php","line":283,"function":"updateCard","class":"OCA\\DAV\\CardDAV\\CardDavBackend","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/dav/lib/HookManager.php","line":166,"function":"updateUser","class":"OCA\\DAV\\CardDAV\\SyncService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"changeUser","class":"OCA\\DAV\\HookManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Server.php","line":642,"function":"emit","class":"OC_Hook","type":"::"},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php","line":106,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":564,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/UserAvatar.php","line":216,"function":"triggerChange","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/UserAvatar.php","line":330,"function":"remove","class":"OC\\Avatar\\UserAvatar","type":"->"},{"file":"/var/www/nextcloud/lib/private/Server.php","line":1509,"function":"userChanged","class":"OC\\Avatar\\UserAvatar","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":264,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":239,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":122,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":561,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User/User.php","line":391,"function":"triggerChange","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":504,"function":"composeAndStoreDisplayName","class":"OCA\\User_LDAP\\User\\User","type":"->"},{"function":"getDisplayName","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":170,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":266,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":133,"function":"getDisplayName","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/Accounts/AccountManager.php","line":660,"function":"getDisplayName","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/lib/private/Accounts/AccountManager.php","line":348,"function":"buildDefaultUserRecord","class":"OC\\Accounts\\AccountManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Accounts/AccountManager.php","line":772,"function":"getUser","class":"OC\\Accounts\\AccountManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/AvatarManager.php","line":132,"function":"getAccount","class":"OC\\Accounts\\AccountManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Server.php","line":1508,"function":"getAvatar","class":"OC\\Avatar\\AvatarManager","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":264,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":239,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":122,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/User.php","line":561,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User/User.php","line":391,"function":"triggerChange","class":"OC\\User\\User","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":747,"function":"composeAndStoreDisplayName","class":"OCA\\User_LDAP\\User\\User","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":687,"function":"cacheUserDisplayName","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":643,"function":"ldap2NextcloudNames","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Group_LDAP.php","line":518,"function":"nextcloudUserNames","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Group_LDAP.php","line":928,"function":"getUsersInGidNumber","class":"OCA\\User_LDAP\\Group_LDAP","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Group_Proxy.php","line":155,"function":"usersInGroup","class":"OCA\\User_LDAP\\Group_LDAP","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/UpdateGroups.php","line":155,"function":"usersInGroup","class":"OCA\\User_LDAP\\Group_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/UpdateGroups.php","line":107,"function":"handleKnownGroups","class":"OCA\\User_LDAP\\Jobs\\UpdateGroups","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/UpdateGroups.php","line":87,"function":"updateGroups","class":"OCA\\User_LDAP\\Jobs\\UpdateGroups","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\User_LDAP\\Jobs\\UpdateGroups","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":122},"message":"Could not load event listener service OCA\\Maps\\Listener\\CardUpdatedListener: Could not resolve logger! Class logger does not exist. Make sure the class is auto-loadable by the Nextcloud server container","exception":{},"CustomMessage":"Could not load event listener service OCA\\Maps\\Listener\\CardUpdatedListener: Could not resolve logger! Class logger does not exist. Make sure the class is auto-loadable by the Nextcloud server container"}}

The important part seems to be at the end of the message:

"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":122},"message":"Could not load event listener service OCA\\Maps\\Listener\\CardUpdatedListener: Could not resolve logger! Class logger does not exist. Make sure the class is auto-loadable by the Nextcloud server container","exception":{},"CustomMessage":"Could not load event listener service OCA\\Maps\\Listener\\CardUpdatedListener: Could not resolve logger! Class logger does not exist. Make sure the class is auto-loadable by the Nextcloud server container

Steps to reproduce

I recently updated to NC 24, but I can't tell if that was wehn it started.

Expected behavior

No errors in the log.

Installation method

Manual installation

Operating system

No response

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - admin_audit: 1.14.0
  - appointments: 1.12.7
  - apporder: 0.15.0
  - auto_groups: 1.4.0
  - bbb: 2.3.1
  - bookmarks: 11.0.1
  - bruteforcesettings: 2.4.0
  - calendar: 3.4.2
  - circles: 24.0.1
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.2.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - external: 4.0.0
  - extract: 1.3.5
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_downloadactivity: 1.13.0
  - files_external: 1.16.1
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - groupfolders: 12.0.1
  - impersonate: 1.11.0
  - ldapcontacts: 2.0.5
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - mail: 1.13.8
  - maps: 0.2.0
  - nextcloud_announcements: 1.13.0
  - notes: 4.4.0
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - passwords: 2022.6.10
  - photos: 1.6.0
  - provisioning_api: 1.14.0
  - recommendations: 1.3.0
  - richdocuments: 6.2.0
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - spreed: 14.0.4
  - support: 1.7.0
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - updatenotification: 1.14.0
  - user_ldap: 1.14.1
  - video_converter: 1.0.5
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - welcome: 1.0.1
  - workflowengine: 2.6.0
Disabled:
  - audioplayer: 3.3.0
  - contactsinteraction: 1.3.0
  - encryption
  - files_mindmap: 0.0.26
  - files_texteditor: 2.14.0
  - firstrunwizard: 2.11.0
  - integration_moodle: 1.0.2
  - integration_onedrive: 1.1.2
  - integration_twitter: 1.0.2
  - integration_whiteboard: 0.0.14
  - jitsi: 0.15.0
  - ldap_contacts_backend: 1.4.0
  - music: 1.5.2
  - privacy: 1.6.0
  - survey_client: 1.10.0
  - systemtags: 1.12.0
  - tasks: 0.14.4
  - user_status: 1.1.1
  - workflow_pdf_converter: 1.8.0

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@ruedigerkupper ruedigerkupper added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 13, 2022
@joergmschulz
Copy link

joergmschulz commented Sep 27, 2022

this seems to result from the MAPS app. Deactivate maps, and the error vanishes.
so, I opened nextcloud/maps#858 // this one can be closed, I think

@szaimen szaimen closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

3 participants