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]: Error in log "App Related Resources - error Related Resource Provider NotFound Error" when acces to contact / circles app #362

Open
6 of 8 tasks
rchaconmolero opened this issue Feb 23, 2024 · 16 comments · May be fixed by #454
Labels
0. Needs triage Pending approval or rejection bug Something isn't working

Comments

@rchaconmolero
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

After installing the Contacts app, every time we access these 6 messages appear in the log.

Error | related_resources | RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound | Feb 22, 2024, 2:03:24 PM |

Error | related_resources | RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound | Feb 22, 2024, 2:03:24 PM |

Error | related_resources | RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound | Feb 22, 2024, 2:03:24 PM |

Error | related_resources | RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound | Feb 22, 2024, 2:03:24 PM |

Error | related_resources | RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound | Feb 22, 2024, 2:03:24 PM |

Error | related_resources | RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound

After testing, we have detected that if we have the Deck, Calendar and Talk apps installed and enabled, it does not give this error message. We think that the app does not correctly detect that these providers are not installed. Tested with NextCloud 28.0.1, 28.0.2 and 28.0.3 RC1 y 28.0.3 RC2.

Test with php8.1 and php 8.2 with the same result and error messages.

Steps to reproduce

  1. Install and enable contacts app.
  2. Acess contact app.
  3. Logs messages with error

Expected behavior

No errors logs.

Installation method

Community Web installer on a VPS or web space

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 22.1 to 22.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

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

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "next03t.canal-sur.interno"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.2.5",
        "overwrite.cli.url": "https:\/\/next03t.canal-sur.interno\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "timeout": 1.5
        },
        "htaccess.RewriteBase": "\/",
        "default_phone_region": "ES",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpdebug": true,
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpstreamoptions": {
            "ssl": {
                "verify_peer": false,
                "verify_peer_name": false
            }
        },
        "logtimezone": "Europe\/Madrid",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "logfile_audit": "\/var\/log\/nextcloud\/nextcloud.log",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "tempdirectory": "\/nextcloud-datos\/tmp\/",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "updater.release.channel": "stable",
        "maintenance_window_start": 17,
        "allow_local_remote_servers": true,
        "session_lifetime": 86400,
        "remember_login_cookie_lifetime": "0",
        "session_keepalive": "false",
        "preview_max_x": 1024,
        "preview_max_y": 768,
        "preview_max_scale_factor": 1,
        "allow_local_address": true
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - admin_audit: 1.18.0
  - circles: 28.0.0-dev
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contacts: 5.5.2
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_accesscontrol: 1.18.0
  - files_fulltextsearch: 28.0.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - fulltextsearch: 28.0.0
  - fulltextsearch_elasticsearch: 28.0.0
  - groupfolders: 16.0.3
  - impersonate: 1.15.0
  - jitsi: 0.18.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - nextcloud_announcements: 1.17.0
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - onlyoffice: 9.0.0
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - support: 1.11.0
  - survey_client: 1.16.0
  - systemtags: 1.18.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - updatenotification: 1.18.0
  - user_ldap: 1.19.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0
Disabled:
  - bruteforcesettings: 2.8.0
  - encryption: 2.16.0
  - files_external: 1.20.0
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - suspicious_login: 6.0.0
  - twofactor_totp: 10.0.0-beta.2

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"PAXCmVnyZ97bx0jdiqYo","level":1,"time":"2024-02-23T12:10:31+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"admin_audit","method":"POST","url":"/settings/apps/enable","message":"App \"contacts\" enabled","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","version":"28.0.2.5","data":{"app":"admin_audit"}}
{"reqId":"FlIjUT6YVOU7Znd7CLl7","level":3,"time":"2024-02-23T12:10:59+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"related_resources","method":"GET","url":"/ocs/v2.php/apps/related_resources/related/account?itemId=admin&resourceType=talk&limit=5&format=json","message":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","version":"28.0.2.5","exception":{"Exception":"OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":173,"function":"getRelatedResourceProvider","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":127,"function":"retrieveRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php","line":108,"function":"getRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getRelatedResources","class":"OCA\\RelatedResources\\Controller\\ApiController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","Line":605,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"}}
{"reqId":"jnhCAAJsNCcrWphlcGBP","level":3,"time":"2024-02-23T12:10:59+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"related_resources","method":"GET","url":"/ocs/v2.php/apps/related_resources/related/account?itemId=admin&resourceType=calendar&limit=5&format=json","message":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","version":"28.0.2.5","exception":{"Exception":"OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":173,"function":"getRelatedResourceProvider","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":127,"function":"retrieveRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php","line":108,"function":"getRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getRelatedResources","class":"OCA\\RelatedResources\\Controller\\ApiController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","Line":605,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"}}
{"reqId":"PPp6NDRaQWyotiNUV31a","level":3,"time":"2024-02-23T12:10:59+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"related_resources","method":"GET","url":"/ocs/v2.php/apps/related_resources/related/account?itemId=admin&resourceType=deck&limit=5&format=json","message":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","version":"28.0.2.5","exception":{"Exception":"OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":173,"function":"getRelatedResourceProvider","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":127,"function":"retrieveRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php","line":108,"function":"getRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getRelatedResources","class":"OCA\\RelatedResources\\Controller\\ApiController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","Line":605,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"}}
{"reqId":"B0IgSJGRK9uciuTVOc73","level":3,"time":"2024-02-23T12:10:59+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"related_resources","method":"GET","url":"/ocs/v2.php/apps/related_resources/related/account?itemId=admin&resourceType=talk&limit=5&format=json","message":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","version":"28.0.2.5","exception":{"Exception":"OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":173,"function":"getRelatedResourceProvider","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":127,"function":"retrieveRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php","line":108,"function":"getRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getRelatedResources","class":"OCA\\RelatedResources\\Controller\\ApiController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","Line":605,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"}}
{"reqId":"cygCKNpraT3ZY3xKqoUf","level":3,"time":"2024-02-23T12:10:59+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"related_resources","method":"GET","url":"/ocs/v2.php/apps/related_resources/related/account?itemId=admin&resourceType=deck&limit=5&format=json","message":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","version":"28.0.2.5","exception":{"Exception":"OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":173,"function":"getRelatedResourceProvider","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":127,"function":"retrieveRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php","line":108,"function":"getRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getRelatedResources","class":"OCA\\RelatedResources\\Controller\\ApiController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","Line":605,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"}}
{"reqId":"Qs30Jn8eE7UIl00VsKa6","level":3,"time":"2024-02-23T12:10:59+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"related_resources","method":"GET","url":"/ocs/v2.php/apps/related_resources/related/account?itemId=admin&resourceType=calendar&limit=5&format=json","message":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","version":"28.0.2.5","exception":{"Exception":"OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":173,"function":"getRelatedResourceProvider","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":127,"function":"retrieveRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php","line":108,"function":"getRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getRelatedResources","class":"OCA\\RelatedResources\\Controller\\ApiController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php","Line":605,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"}}
{"reqId":"kJWshCvpJxrHYACxhmgo","level":1,"time":"2024-02-23T12:11:47+01:00","remoteAddr":"","user":"--","app":"admin_audit","method":"","url":"--","message":"Console command executed: config:list system","userAgent":"--","version":"28.0.2.5","data":{"app":"admin_audit"}}
{"reqId":"GOH6CeZPgxQkRjMaRjim","level":1,"time":"2024-02-23T12:12:08+01:00","remoteAddr":"","user":"--","app":"admin_audit","method":"","url":"--","message":"Console command executed: app:list","userAgent":"--","version":"28.0.2.5","data":{"app":"admin_audit"}}

Additional info

No response

@rchaconmolero
Copy link
Author

To provide more information when trying to solve the problem, after several tests, if the circles app is disabled, the log error does not reproduce.

But the circles app is very valid for us and that error did not appear before.

@rchaconmolero
Copy link
Author

F12

@rchaconmolero
Copy link
Author

rchaconmolero commented Feb 27, 2024

I have simulated an upgrade from version 27.1.6 with the contact app (v: 5.5.2), circles (v: 27.0.1) and related_resources (v:1.2.0) to version 28.0.2 of Nextcloud and I confirm that the bug appears in version 28 of Nextcloud.
In version 28.0.2 the related_resources apps have been updated to 1.3.0 and circles to 28.0.0-dev.

Thanks a lot for your work

@rchaconmolero rchaconmolero changed the title [Bug]: Error in log "App Related Resources - error Related Resource Provider NotFound Error" when acces to contact app [Bug]: Error in log "App Related Resources - error Related Resource Provider NotFound Error" when acces to contact / circles app Mar 2, 2024
@rchaconmolero
Copy link
Author

After several tests and reviewing the code, I think the problem is checking to see if the deck, contacts and calendar app are installed. If they are not installed and enabled, it gives that error that did not appear before. Is there a workaround?

@rchaconmolero
Copy link
Author

Any news about this problem?.

@50P15
Copy link

50P15 commented Apr 14, 2024

Getting the same error on 28.0.4
Did you guys found a wayto fix it?

@Pytal
Copy link
Member

Pytal commented Apr 15, 2024

cc @ArtificialOwl

@50P15
Copy link

50P15 commented Apr 16, 2024

Are you guys using Hestia CP ?

@tj775
Copy link

tj775 commented May 6, 2024

Same issue with Nextcloud 29, Related Ressources V1.4.0

@nh-mike
Copy link

nh-mike commented May 8, 2024

I have also found this to be due to Related Resources V1.3.0. I have disabled this app and cleared my log and so far so good.
My guess is that Related Resources is trying to check other apps, expecting them to be enabled rather than checking first, and also not catching the exceptions.

@ectoledo
Copy link

Any news about this bug or problem?

@melroy89
Copy link

melroy89 commented Jul 1, 2024

Confirmed. I'm also getting these.

@koelle25
Copy link

Same problem here. We disabled the related_resources app for now.

@Gekko23
Copy link

Gekko23 commented Sep 28, 2024

Same problem here, too. App expects 'deck' to be installed, but never was.

Exception thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound

@MrMoose
Copy link

MrMoose commented Nov 5, 2024

I too have this problem. I'm not sure if it actually is one since everything appears to work normally but I see lots of such errors in the logs.
I just tried if installing "Deck" removes the errors but in my case does not.

Version is Nextcloud Hub 7 (28.0.11), hosted natively on Ubuntu behind nginx. No docker or anything.

Can we get information about the severity of this? Is this just a stray error without real consequence or is that a bug? Is there a workaround if installing "Deck" is not enough?

@ozgurkazancci
Copy link

ozgurkazancci commented Nov 6, 2024

Got the same trouble with Nextcloud 30.0.1;

Image

RelatedResourceProviderNotFound
Exception thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound
Exception thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound

I don't think of a possible misconfiguration please I correctly, step-by-step patiently implemented Nextcloud requirements with everything possible, so the admin overview page says "all passed" in green tick, however these error/warning logs are produced.

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.