nextcloud / nextcloud/server

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

Open
#57,159 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining apps/dav/lib/Connector/Sabre/Server.php, apps/files_trashbin/lib/Sabre/TrashRoot.php, and the reported Sabre DAV traces to determine which exceptions are newly logged after the upgrade. Reproduce the listed DAV and setup-check requests if possible, then verify that expected requests no longer produce the reported INFO-level "Uncaught exception" or config-lexicon messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.