recognize icon indicating copy to clipboard operation
recognize copied to clipboard

Error: RelatedResourceProviderNotFound Exception thrown

Open PaulePils opened this issue 7 months ago • 0 comments
trafficstars

Which version of recognize are you using?

8.2.0

Enabled Modes

Object recognition, Face recognition

TensorFlow mode

Normal mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

30.0.8

Which Operating system do you have installed?

Ubuntu 22.04 LTS

Which database are you running Nextcloud on?

MariaDB

Which Docker container are you using to run Nextcloud? (if applicable)

Proxmox LXC

How much RAM does your server have?

8 GB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

The logs fill constantly with the error message in the title. After a while the log gets so big that the webgui becomes unusable....

In the App settings there is a warning that there is problem with the identification of important sights. Message in german:

Bei der Erkennung von Wahrzeichen ist ein Fehler aufgetreten. Bitte überprüfe die Nextcloud-Protokolle. Wahrzeichenerkennung: 1378 Dateien in der Warteschlange:, Letzte Klassifikation: 7 Tage her, Geplante Hintergrundjobs: 1, Letzte Hintergrundjobs-Ausführung:12 Stunden her

Expected Behavior

Just work :-)

To Reproduce

Just install Memories and Recognize

Debug log

Here the formated log:

[related_resources] Fehler: Exception thrown: OCA\RelatedResources\Exceptions\RelatedResourceProviderNotFound
	GET /ocs/v2.php/apps/related_resources/related/account?itemId=Alisa&resourceType=talk&limit=5&format=json
	von 192.168.20.104 von Alisa um 24.03.2025, 10:21:05

Here the raw:

{
  "reqId": "CIzBtOkytFAW9AYpoH2S",
  "level": 3,
  "time": "2025-03-24T10:21:05+01:00",
  "remoteAddr": "192.168.20.104",
  "user": "Alisa",
  "app": "related_resources",
  "method": "GET",
  "url": "/ocs/v2.php/apps/related_resources/related/account?itemId=Alisa&resourceType=talk&limit=5&format=json",
  "message": "Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0",
  "version": "30.0.7.2",
  "exception": {
    "Exception": "OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound",
    "Message": "",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php",
        "line": 153,
        "function": "getRelatedResourceProvider",
        "class": "OCA\\RelatedResources\\Service\\RelatedService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php",
        "line": 107,
        "function": "retrieveRelatedToItem",
        "class": "OCA\\RelatedResources\\Service\\RelatedService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/related_resources/lib/Controller/ApiController.php",
        "line": 87,
        "function": "getRelatedToItem",
        "class": "OCA\\RelatedResources\\Service\\RelatedService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 208,
        "function": "getRelatedResources",
        "class": "OCA\\RelatedResources\\Controller\\ApiController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 114,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 161,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 303,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/ocs/v1.php",
        "line": 43,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/ocs/v2.php",
        "line": 7,
        "args": [
          "/var/www/nextcloud/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/apps/related_resources/lib/Service/RelatedService.php",
    "Line": 585,
    "message": "",
    "exception": [],
    "CustomMessage": "Exception thrown: OCA\\RelatedResources\\Exceptions\\RelatedResourceProviderNotFound"
  },
  "id": "67e198eccbdbd"
}

PaulePils avatar Mar 24 '25 17:03 PaulePils