Skip to content

[Bug]: "Uncaught exception" messages appearing in INFO logs after upgrade to 32.0.2 #57159

@CreativePR

Description

@CreativePR

⚠️ This issue respects the following points: ⚠️

Bug description

Error found in Logs

Nextcloud AIO
[Nextcloud Hub 25 Autumn] (32.0.2)

{"reqId":"REMOVED","level":1,"time":"2025-12-17T14:23:58+00:00","remoteAddr":"REMOVED","user":"REMOVED","app":"no app in context","method":"GET","url":"/remote.php/dav/trashbin/REMOVED/trash/Music%201.41.15%E2%80%AFPM/Media.localized/Automatically%20Add%20to%20Music.localized/.localized/de.strings","message":"Uncaught exception","userAgent":"Mozilla/5.0 (Macintosh) mirall/4.0.3 (Nextcloud, macos-24.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"32.0.2.2","exception":{"Exception":"Sabre\DAV\Exception\NotFound","Message":"","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":95,"function":"getChild","class":"OCA\Files_Trashbin\Sabre\TrashRoot","type":"->","args":["Music 1.41.15 PM"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":76,"function":"getNodeForPath","class":"Sabre\DAV\Tree","type":"->","args":["trashbin/REMOVED/trash/Music 1.41.15 PM/Media.localized/Automatically Add to Music.localized/.localized/de.strings"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\DAV\CorePlugin","type":"->","args":[{"class":"Sabre\HTTP\Request"},{"class":"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:GET",[{"class":"Sabre\HTTP\Request"},{"class":"Sabre\HTTP\Response"}]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Server.php","line":211,"function":"invokeMethod","class":"Sabre\DAV\Server","type":"->","args":[{"class":"Sabre\HTTP\Request"},{"class":"Sabre\HTTP\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":424,"function":"start","class":"OCA\DAV\Connector\Sabre\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":22,"function":"exec","class":"OCA\DAV\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":151,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/files_trashbin/lib/Sabre/TrashRoot.php","Line":78,"message":"Uncaught exception","exception":[],"CustomMessage":"Uncaught exception"},"id":"REMOVED"}

Another error that is new since the upgrade too

{
"reqId": "REMOVED",
"level": 1,
"time": "2025-12-17T14:29:16+00:00",
"remoteAddr": "REMOVED",
"user": "REMOVED",
"app": "no app in context",
"method": "GET",
"url": "/settings/ajax/checksetup",
"message": "The app config key files_external/user_certificate_scan is not defined in the config lexicon",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36",
"version": "32.0.2.2",
"data": [],
"id": "REMOVED"

And this one too

Raw log entry

{
"reqId": "REMOVED",
"level": 1,
"time": "2025-12-17T14:29:18+00:00",
"remoteAddr": "127.0.0.1",
"user": "--",
"app": "no app in context",
"method": "GET",
"url": "/remote.php/dav/",
"message": "Uncaught exception",
"userAgent": "Nextcloud Server Crawler",
"version": "32.0.2.2",
"exception": {
"Exception": "Sabre\DAV\Exception\NotAuthenticated",
"Message": "No public access to this resource., This request is not for a federated calendar, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "beforeMethod",
"class": "Sabre\DAV\Auth\Plugin",
"type": "->",
"args": [
{
"class": "Sabre\HTTP\Request"
},
{
"class": "Sabre\HTTP\Response"
}
]
},
{
"file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 456,
"function": "emit",
"class": "Sabre\DAV\Server",
"type": "->",
"args": [
"beforeMethod:GET",
[
{
"class": "Sabre\HTTP\Request"
},
{
"class": "Sabre\HTTP\Response"
}
]
]
},
{
"file": "/var/www/html/apps/dav/lib/Connector/Sabre/Server.php",
"line": 211,
"function": "invokeMethod",
"class": "Sabre\DAV\Server",
"type": "->",
"args": [
{
"class": "Sabre\HTTP\Request"
},
{
"class": "Sabre\HTTP\Response"
}
]
},
{
"file": "/var/www/html/apps/dav/lib/Server.php",
"line": 424,
"function": "start",
"class": "OCA\DAV\Connector\Sabre\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
"line": 22,
"function": "exec",
"class": "OCA\DAV\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/html/remote.php",
"line": 151,
"args": [
"/var/www/html/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php",
"Line": 152,
"message": "Uncaught exception",
"exception": [],
"CustomMessage": "Uncaught exception"
},
"id": "REMOVED"
}

Steps to reproduce

  1. Upgraded
  2. Saw Errors in Log

Expected behavior

No errors as before upgrade

Nextcloud Server version

32

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap32-feedbackbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions