-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
29-feedback3. to reviewWaiting for reviewsWaiting for reviewsbugfeature: carddavRelated to CardDAV internalsRelated to CardDAV internals
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Error logged after upgrading to 29.0.3
Steps to reproduce
- upgrade to 29.0.3
- see error in the logs
{
"reqId": "625OdztVi2fbvKqsf9dR",
"level": 3,
"time": "2024-06-25T10:57:17+00:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job OCA\\DAV\\Migration\\BuildSocialSearchIndexBackgroundJob (id: 976, arguments: {\"offset\":0,\"stopAt\":23})",
"userAgent": "--",
"version": "29.0.3.4",
"exception": {
"Exception": "TypeError",
"Message": "OCA\\DAV\\CardDAV\\CardDavBackend::getUID(): Argument #1 ($cardData) must be of type string, resource given, called in /var/www/html/apps/dav/lib/CardDAV/CardDavBackend.php on line 708",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/apps/dav/lib/CardDAV/CardDavBackend.php",
"line": 708,
"function": "getUID",
"class": "OCA\\DAV\\CardDAV\\CardDavBackend",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php",
"line": 90,
"function": "updateCard",
"class": "OCA\\DAV\\CardDAV\\CardDavBackend",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php",
"line": 53,
"function": "buildIndex",
"class": "OCA\\DAV\\Migration\\BuildSocialSearchIndexBackgroundJob",
"type": "->",
"args": [
23,
23
]
},
{
"file": "/var/www/html/lib/public/BackgroundJob/Job.php",
"line": 80,
"function": "run",
"class": "OCA\\DAV\\Migration\\BuildSocialSearchIndexBackgroundJob",
"type": "->",
"args": [
[
0,
23
]
]
},
{
"file": "/var/www/html/lib/public/BackgroundJob/QueuedJob.php",
"line": 57,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
},
{
"file": "/var/www/html/lib/public/BackgroundJob/QueuedJob.php",
"line": 47,
"function": "start",
"class": "OCP\\BackgroundJob\\QueuedJob",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
},
{
"file": "/var/www/html/cron.php",
"line": 177,
"function": "execute",
"class": "OCP\\BackgroundJob\\QueuedJob",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
}
],
"File": "/var/www/html/apps/dav/lib/CardDAV/CardDavBackend.php",
"Line": 1477,
"message": "Error while running background job OCA\\DAV\\Migration\\BuildSocialSearchIndexBackgroundJob (id: 976, arguments: {\"offset\":0,\"stopAt\":23})",
"exception": [],
"CustomMessage": "Error while running background job OCA\\DAV\\Migration\\BuildSocialSearchIndexBackgroundJob (id: 976, arguments: {\"offset\":0,\"stopAt\":23})"
},
"id": "667aa2fd69054"
}Expected behavior
should not log an error
Installation method
Official All-in-One appliance
Nextcloud Server version
29
Operating system
None
PHP engine version
None
Web server
None
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
None
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
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
29-feedback3. to reviewWaiting for reviewsWaiting for reviewsbugfeature: carddavRelated to CardDAV internalsRelated to CardDAV internals