Open ectoledo opened 6 months ago
We have had the same problem for several weeks. Since version 28.X (28.0.1, 28.0.2 and now in 28.0.3) the same problem continues that did not appear in any of the 27.X versions.
We have the same problem after update to v29.0.0beta5
After update to 28.0.4 the problem persist. Any solution?. Can we do anything?.
Getting the same error on 28.0.4 Did you guys found a wayto fix it?
Are you guys using Hestia CP ?
I can reproduce this exception being thrown by opening the contacts app in the browser on two Nextcloud 28.0.5 instances.
The request URL from @ectoledo looks interesting:
/ocs/v2.php/apps/related_resources/related/account?itemId=rchacon&resourceType=files&limit=5&format=json
According to nextcloud/related_resources the URL schema is:
/ocs/v2.php/apps/related_resources/related/<providerId>/<itemId>?format=json
Where <providerId>
can be files
, deck
, talk
, calendar
. The provider account
is not mentioned. Maybe the contacts app requests related resources from the wrong provider 🤔
I'm currently working on this problem. It's definitely the Contact app, but I can't tell exactly what the app does yet.
The issue has disappeared after adding a missing app 'Deck', which apparently is required now, as well. I was able to spawn this error on demand, simply by browsing through Contacts. I'm on Nextcloud Hub 8 (29.0.4). In my case, the clue was **resourceType=deck**
.
{"reqId":"ZqgP9Qrqo1nox2qSsGLLvgAAANE","level":3,"time":"2024-07-29T21:56:05+00:00","remoteAddr":"XXX.XX.XX.XX","user":"admin","app":"related_resources","method":"GET","url":"/nextcloud/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 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/26.0 Chrome/122.0.0.0 Mobile Safari/537.36","version":"29.0.4.1","exception":{"Exception":"OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":173,"function":"getRelatedResourceProvider","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/html/nextcloud/apps/related_resources/lib/Service/RelatedService.php","line":127,"function":"retrieveRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/html/nextcloud/apps/related_resources/lib/Controller/ApiController.php","line":107,"function":"getRelatedToItem","class":"OCA\\RelatedResources\\Service\\RelatedService","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"getRelatedResources","class":"OCA\\RelatedResources\\Controller\\ApiController","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/ocs/v2.php","line":23,"args":["/var/www/html/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/related_resources/lib/Service/RelatedService.php","Line":605,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"}}
⚠️ This issue respects the following points: ⚠️
Bug description
After updating to version 28.0.3, the latest stable one, these messages appear in the log that did not appear in version 27. They appear, at least that I have detected, when we access the contacts app with circles.
Error | related_resources | RelatedResourceProviderNotFoundException thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound
More infomation debug log:
{"reqId":"pDqTuvBOQIKyADtLtVGv","level":3,"time":"2024-03-14T14:41:39+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/120.0.0.0 Safari/537.36","version":"28.0.3.2","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":107,"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":"hYQWtUOjhnzOJkKkR0CL","level":3,"time":"2024-03-14T14:41:39+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/120.0.0.0 Safari/537.36","version":"28.0.3.2","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":107,"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":"Ue5QuCOzB6pmCQkMNWj9","level":3,"time":"2024-03-14T14:41:39+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/120.0.0.0 Safari/537.36","version":"28.0.3.2","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":107,"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":"2zfVPzqIqv3gYZJDu6F0","level":0,"time":"2024-03-14T14:41:39+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=files&limit=5&format=json","message":"get available items to NdY1ybbrFlV3zPMd3zjbjh9bW5eJ7sc from files - []","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"2zfVPzqIqv3gYZJDu6F0","level":0,"time":"2024-03-14T14:41:39+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=files&limit=5&format=json","message":"caching available items to NdY1ybbrFlV3zPMd3zjbjh9bW5eJ7sc from files - []","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"WzNdLYGXsK8mIHwGu52v","level":3,"time":"2024-03-14T14:41:39+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"webdav","method":"GET","url":"/remote.php/dav/addressbooks/users/admin/z-server-generated--system/Database:admin.vcf?photo","message":"Could not get appdata folder for dav-photocache","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for dav-photocache","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/AppData/AppData.php","line":147,"function":"getAppDataFolder","class":"OC\Files\AppData\AppData","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CardDAV/PhotoCache.php","line":171,"function":"newFolder","class":"OC\Files\AppData\AppData","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CardDAV/PhotoCache.php","line":69,"function":"getFolder","class":"OCA\DAV\CardDAV\PhotoCache","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/CardDAV/ImageExportPlugin.php","line":103,"function":"get","class":"OCA\DAV\CardDAV\PhotoCache","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"OCA\DAV\CardDAV\ImageExportPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Files/AppData/AppData.php","Line":108,"message":"Could not get appdata folder for dav-photocache","exception":{},"CustomMessage":"Could not get appdata folder for dav-photocache"}} {"reqId":"GYMm9svD8grsCQUlzzrk","level":0,"time":"2024-03-14T14:41:39+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":"retrieving related to item account.admin","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"GYMm9svD8grsCQUlzzrk","level":0,"time":"2024-03-14T14:41:39+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":"existing cache on related from account.admin - {\"providerId\":\"account\",\"itemId\":\"admin\",\"title\":\"Account admin\",\"subtitle\":\"\",\"tooltip\":\"\",\"icon\":\"\",\"preview\":\"\",\"url\":\"\",\"score\":1,\"groupShared\":false,\"virtualGroup\":[\"NdY1ybbrFlV3zPMd3zjbjh9bW5eJ7sc\"],\"recipients\":[],\"improvements\":[],\"currentQuality\":[],\"meta\":[]}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"GYMm9svD8grsCQUlzzrk","level":3,"time":"2024-03-14T14:41:39+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/120.0.0.0 Safari/537.36","version":"28.0.3.2","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":107,"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":"n9wJRedgs8ZQMp61Jm2r","level":0,"time":"2024-03-14T14:41:39+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":"retrieving related to item account.admin","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"n9wJRedgs8ZQMp61Jm2r","level":0,"time":"2024-03-14T14:41:39+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":"existing cache on related from account.admin - {\"providerId\":\"account\",\"itemId\":\"admin\",\"title\":\"Account admin\",\"subtitle\":\"\",\"tooltip\":\"\",\"icon\":\"\",\"preview\":\"\",\"url\":\"\",\"score\":1,\"groupShared\":false,\"virtualGroup\":[\"NdY1ybbrFlV3zPMd3zjbjh9bW5eJ7sc\"],\"recipients\":[],\"improvements\":[],\"currentQuality\":[],\"meta\":[]}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"597kX88rVDwQfAH0oc4a","level":0,"time":"2024-03-14T14:41:39+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=files&limit=5&format=json","message":"retrieving related to item account.admin","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"n9wJRedgs8ZQMp61Jm2r","level":3,"time":"2024-03-14T14:41:39+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/120.0.0.0 Safari/537.36","version":"28.0.3.2","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":107,"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":"597kX88rVDwQfAH0oc4a","level":0,"time":"2024-03-14T14:41:39+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=files&limit=5&format=json","message":"existing cache on related from account.admin - {\"providerId\":\"account\",\"itemId\":\"admin\",\"title\":\"Account admin\",\"subtitle\":\"\",\"tooltip\":\"\",\"icon\":\"\",\"preview\":\"\",\"url\":\"\",\"score\":1,\"groupShared\":false,\"virtualGroup\":[\"NdY1ybbrFlV3zPMd3zjbjh9bW5eJ7sc\"],\"recipients\":[],\"improvements\":[],\"currentQuality\":[],\"meta\":[]}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"597kX88rVDwQfAH0oc4a","level":0,"time":"2024-03-14T14:41:39+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=files&limit=5&format=json","message":"existing cache on available items to NdY1ybbrFlV3zPMd3zjbjh9bW5eJ7sc from files - []","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"TNqW179UBEDKstmfM1bJ","level":0,"time":"2024-03-14T14:41:39+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":"retrieving related to item account.admin","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"TNqW179UBEDKstmfM1bJ","level":0,"time":"2024-03-14T14:41:39+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":"existing cache on related from account.admin - {\"providerId\":\"account\",\"itemId\":\"admin\",\"title\":\"Account admin\",\"subtitle\":\"\",\"tooltip\":\"\",\"icon\":\"\",\"preview\":\"\",\"url\":\"\",\"score\":1,\"groupShared\":false,\"virtualGroup\":[\"NdY1ybbrFlV3zPMd3zjbjh9bW5eJ7sc\"],\"recipients\":[],\"improvements\":[],\"currentQuality\":[],\"meta\":[]}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}} {"reqId":"TNqW179UBEDKstmfM1bJ","level":3,"time":"2024-03-14T14:41:39+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/120.0.0.0 Safari/537.36","version":"28.0.3.2","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":107,"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":"eh8TSrhsIpmWXNE2TgtQ","level":0,"time":"2024-03-14T14:41:40+01:00","remoteAddr":"10.236.138.4","user":"admin","app":"related_resources","method":"GET","url":"/ocs/v2.php/apps/related_resources/related/account?itemId=rchacon&resourceType=files&limit=5&format=json","message":"retrieving related to item account.rchacon","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"related_resources"}}
Steps to reproduce
Expected behavior
No error messages should appear in log.
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response