Nextcloud version: 28.0.2
Operating system and version: Debian 12
Apache or nginx version: 1.25.3
PHP version: 8.2.15
The issue you are facing:
NC shows the following error in Admin logging. No malfunction recognized so far.
{“reqId”:“………”,“level”:3,“time”:“2024-02-15T21:23:16+01:00”,“remoteAddr”:“xx.xxx.xx.xxx”,“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 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.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”: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”},“id”:“………”}
Is this the first time you’ve seen this error? (Y/N):Y
Steps to replicate it:
- Unfortunately, at the moment I have no idea, how to replicate it.
The output of your Nextcloud log in Admin > Logging:
see above
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '***REMOVED SENSITIVE VALUE***',
'secret' => '***REMOVED SENSITIVE VALUE***',
'trusted_domains' =>
array (
0 => '***REMOVED SENSITIVE VALUE***',
1 => '***REMOVED SENSITIVE VALUE***',
2 => '***REMOVED SENSITIVE VALUE***',
),
'datadirectory' => '/var/nc_data',
'dbtype' => 'mysql',
'version' => '28.0.2.5',
'overwrite.cli.url' => '***REMOVED SENSITIVE VALUE***',
'dbname' => '***REMOVED SENSITIVE VALUE***',
'dbhost' => '***REMOVED SENSITIVE VALUE***',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '***REMOVED SENSITIVE VALUE***',
'dbpassword' => '***REMOVED SENSITIVE VALUE***',
'installed' => true,
'instanceid' => '***REMOVED SENSITIVE VALUE***',
'overwritehost' => '***REMOVED SENSITIVE VALUE***',
'activity_expire_days' => 14,
'allow_local_remote_servers' => true,
'auth.bruteforce.protection.enabled' => true,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'cron_log' => true,
'default_phone_region' => 'xx'<,
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'htaccess.RewriteBase' => '/',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => false,
'log_rotate_size' => '104857600',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => 2,
'logtimezone' => '***REMOVED SENSITIVE VALUE***',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'overwriteprotocol' => 'https',
'preview_max_x' => 1024,
'preview_max_y' => 768,
'preview_max_scale_factor' => 1,
'profile.enabled' => false,
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'password' => '***REMOVED SENSITIVE VALUE***',
'timeout' => 0.5,
'dbindex' => 1,
),
'quota_include_external_storage' => false,
'share_folder' => '/Freigaben',
'skeletondirectory' => '',
'trashbin_retention_obligation' => 'auto, 7',
'maintenance_window_start' => 1,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => '***REMOVED SENSITIVE VALUE***',
'mail_domain' => '***REMOVED SENSITIVE VALUE***',
'mail_smtphost' => '***REMOVED SENSITIVE VALUE***',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => '***REMOVED SENSITIVE VALUE***',
'mail_smtppassword' => '***REMOVED SENSITIVE VALUE***',
'remember_login_cookie_lifetime' => '1800',
'versions_retention_obligation' => 'auto, 365',
'simpleSignUpLink.shown' => false,
'upgrade.disable-web' => true,
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'maintenance' => false,
);
(END)
Has someone an idea, where to look for the root cause? Thank you