Weird Error flooding my log

Nextcloud version (eg, 20.0.5): Nextcloud Hub II (23.0.8)
Operating system and version : Ubuntu 20.04
Apache or nginx version : Apache 2.4.25
PHP version : 7.3.33

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): YES

Steps to replicate it:

  1. Could not determinate when it happens.

The output of your Nextcloud log in Admin > Logging:

{"reqId":"MNR1mwi9sgUv24LzDv3t","level":3,"time":"2022-09-05T14:50:25+00:00","remoteAddr":"192.168.0.188","user":"admin","app":"duplicatefinder","method":"POST","url":"/index.php/apps/support/generateSystemReport","message":"Failed to handle NewFileInfoEvent.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 Edg/105.0.1343.27","version":"23.0.8.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/ADDDA383-95EF-4BB3-9B2D-68B2E62ACE64/files/PEDCARDS/BERLITZ PEDCARDS/1 GROUPS/A","Code":0,"Trace":[{"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/ADDDA383-95EF-4BB3-9B2D-68B2E62ACE64/files/PEDCARDS/BERLITZ PEDCARDS/1 GROUPS/A"]},{"file":"/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php","line":65,"function":"call_user_func_array","args":[[{"__class__":"OC\\Files\\Node\\Root"},"get"],["/ADDDA383-95EF-4BB3-9B2D-68B2E62ACE64/files/PEDCARDS/BERLITZ PEDCARDS/1 GROUPS/A"]]},{"file":"/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php","line":142,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["get",["/ADDDA383-95EF-4BB3-9B2D-68B2E62ACE64/files/PEDCARDS/BERLITZ PEDCARDS/1 GROUPS/A"]]},{"file":"/var/www/nextcloud/apps/duplicatefinder/lib/Service/FolderService.php","line":53,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["/ADDDA383-95EF-4BB3-9B2D-68B2E62ACE64/files/PEDCARDS/BERLITZ PEDCARDS/1 GROUPS/A"]},{"file":"/var/www/nextcloud/apps/duplicatefinder/lib/Service/FileInfoService.php","line":209,"function":"getNodeByFileInfo","class":"OCA\\DuplicateFinder\\Service\\FolderService","type":"->","args":[{"__class__":"OCA\\DuplicateFinder\\Db\\FileInfo","id":6517},"admin"]},{"file":"/var/www/nextcloud/apps/duplicatefinder/lib/Listener/FileInfoListener.php","line":39,"function":"calculateHashes","class":"OCA\\DuplicateFinder\\Service\\FileInfoService","type":"->","args":[{"__class__":"OCA\\DuplicateFinder\\Db\\FileInfo","id":6517},"admin"]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\DuplicateFinder\\Listener\\FileInfoListener","type":"->","args":[{"__class__":"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent"},"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"}],"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent",{"__class__":"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent"}]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent"},"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent"]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent",{"__class__":"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent"}]},{"file":"/var/www/nextcloud/apps/duplicatefinder/lib/Service/FileInfoService.php","line":144,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCA\\DuplicateFinder\\Event\\UpdatedFileInfoEvent"}]},{"file":"/var/www/nextcloud/apps/duplicatefinder/lib/Listener/FilesytemListener.php","line":67,"function":"save","class":"OCA\\DuplicateFinder\\Service\\FileInfoService","type":"->","args":["/admin/files/System information","admin"]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\DuplicateFinder\\Listener\\FilesytemListener","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeWrittenEvent"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeWrittenEvent"},"OCP\\Files\\Events\\Node\\NodeWrittenEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"}],"OCP\\Files\\Events\\Node\\NodeWrittenEvent",{"__class__":"OCP\\Files\\Events\\Node\\NodeWrittenEvent"}]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeWrittenEvent"},"OCP\\Files\\Events\\Node\\NodeWrittenEvent"]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\Files\\Events\\Node\\NodeWrittenEvent",{"__class__":"OCP\\Files\\Events\\Node\\NodeWrittenEvent"}]},{"file":"/var/www/nextcloud/lib/private/Files/Node/HookConnector.php","line":118,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeWrittenEvent"}]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[[true,"/System information"]]},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1284,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","post_write",[true,"/System information"]]},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1212,"function":"runHooks","class":"OC\\Files\\View","type":"->","args":[["create","write"],"/System information",true]},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":271,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["mkdir","/admin/files/System information",["create","write"]]},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":172,"function":"mkdir","class":"OC\\Files\\View","type":"->","args":["/admin/files/System information"]},{"file":"/var/www/nextcloud/apps/support/lib/Controller/ApiController.php","line":122,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->","args":["System information"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"generateSystemReport","class":"OCA\\Support\\Controller\\ApiController","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Support\\Controller\\ApiController"},"generateSystemReport"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Support\\Controller\\ApiController"},"generateSystemReport"]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Support\\Controller\\ApiController","generateSystemReport",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["support.api.generateSystemReport"]]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/support/generateSystemReport"]},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/lib/private/Files/Node/Root.php","Line":204,"CustomMessage":"Failed to handle NewFileInfoEvent."},"id":"63160cb1a5fec"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
         "***REMOVED SENSITIVE VALUE***",
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "23.0.8.1",
    "overwrite.cli.url": "http:\/\/localhost",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "memcache.local": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0
    },
    "filelocking.enabled": true,
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "allow_local_remote_servers": true,
    "mail_smtpdebug": true,
    "mail_smtpmode": "sendmail",
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "app_install_overwrite": [
        "flowupload"
    ],
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpstreamoptions": {
        "ssl": {
            "allow_self_signed": true,
            "verify_peer": false,
            "verify_peer_name": false
        }
    }
}

The output of your Apache/nginx/system log in /var/log/____:

https://pastebin.com/rmTyK8FS

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

https://pastebin.com/9Ge0KUNK

It seems that you are using the Duplicate Finder app which has reached v0.0.15.
check-out the existing list of reported errors to find-out if yours is already on the list:

1 Like

I disabled the app. I will check if persist

1 Like

Problem solve. No more errors like this.
Thanks!

1 Like