Unknown error in the log: `Error: OCA\EndToEndEncryption\Connector\Sabre\APlugin::isFile(): Argument #1 ($url) must be of type string, int given`

Hi there,

I’m noticing two error messages popping up continuously in the log. I’m not sure what’s these are about.

Here’s the formatted version of the first error:

[webdav] Error: OCA\EndToEndEncryption\Connector\Sabre\APlugin::isFile(): Argument #1 ($url) must be of type string, int given, called in /var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/PropFindPlugin.php on line 85 PROPFIND /remote.php/dav/uploads/admin/837f8b06b3a0dbcefa1af91f941b5657 from 103.62.56.45 by admin at Sep 23, 2024, 5:52:00 PM

Raw version:

{"reqId":"kTQeEkNM6TeG6rQyQcP1","level":3,"time":"2024-09-23T11:52:00+00:00","remoteAddr":"103.62.140.164","user":"admin","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/uploads/admin/837f8b06b3a0dbcefa1af91f941b5657","message":"OCA\\EndToEndEncryption\\Connector\\Sabre\\APlugin::isFile(): Argument #1 ($url) must be of type string, int given, called in /var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/PropFindPlugin.php on line 85","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.2","version":"30.0.0.14","exception":{"Exception":"TypeError","Message":"OCA\\EndToEndEncryption\\Connector\\Sabre\\APlugin::isFile(): Argument #1 ($url) must be of type string, int given, called in /var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/PropFindPlugin.php on line 85","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/PropFindPlugin.php","line":85,"function":"isFile","class":"OCA\\EndToEndEncryption\\Connector\\Sabre\\APlugin","type":"->","args":[1,"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"updateProperty","class":"OCA\\EndToEndEncryption\\Connector\\Sabre\\PropFindPlugin","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1662,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["uploads/admin/837f8b06b3a0dbcefa1af91f941b5657",["{DAV:}getcontenttype","{DAV:}getcontentlength","{DAV:}resourcetype"],1]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1647,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\Xml\\Writer",[],"/remote.php/dav/",["d","s","oc","nc"],[]],["Generator"],false]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[["Generator"],false]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":370,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/APlugin.php","Line":112,"message":"OCA\\EndToEndEncryption\\Connector\\Sabre\\APlugin::isFile(): Argument #1 ($url) must be of type string, int given, called in /var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/PropFindPlugin.php on line 85","exception":[],"CustomMessage":"OCA\\EndToEndEncryption\\Connector\\Sabre\\APlugin::isFile(): Argument #1 ($url) must be of type string, int given, called in /var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/PropFindPlugin.php on line 85"},"id":"66f169a326152"}

Formatted version of the 2nd error:

DriverExceptionAn exception occurred while executing a query

Raw:
[core] Error: Error while running background job OCA\DAV\BackgroundJob\EventReminderJob (id: 23, arguments: null) from ? by -- at Sep 23, 2024, 6:16:18 PM

TIA

This log entry is new for NC 30, if yes → bugtracker.

Do you see issues with the end-to-end encryption folders? You can still read the file, put new ones, …?

1 Like

I can upload and download from the mobile without any issue. I also have SSE enabled.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.