-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: NC 26.0.0beta2 cron.php triggers OCP\\AppFramework\\Db\\DoesNotExistException #36541
Comments
Cc @artonge |
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix #36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix #36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix #36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
I tried calling the exec line of my cloud-cron.service ( ¹ |
The error comes when expiring versions. The new code expects an entry in the DB, but for versions created before 26, there is none. You can run |
I see. However, that server was created a couple on 2023-01-20 (so less that 30 days) and had no files before! |
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix #36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
I see the log messages again (although I don't know exactly why), so I should be able to confirm the fix in a couple of days. nextcloud.log{
"reqId": "fz8RoccgP7YCXqZpGvD0",
"level": 3,
"time": "2023-02-14T14:52:34+01:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"userAgent": "--",
"version": "26.0.0.5",
"exception": {
"Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
"Message": "Did expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*files_versions` WHERE (`file_id` = :dcValue1) AND (`timestamp` = :dcValue2)\"; ",
"Code": 0,
"Trace": [
{
"file": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"line": 361,
"function": "findOneQuery",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Db/VersionsMapper.php",
"line": 78,
"function": "findEntity",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 595,
"function": "findVersionForFileId",
"class": "OCA\\Files_Versions\\Db\\VersionsMapper",
"type": "->"
},
{
"function": "OCA\\Files_Versions\\{closure}",
"class": "OCA\\Files_Versions\\Storage",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 604,
"function": "array_filter"
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 69,
"function": "expireOlderThanMaxForUser",
"class": "OCA\\Files_Versions\\Storage",
"type": "::"
},
{
"file": "/FOLDER/lib/private/User/Manager.php",
"line": 638,
"function": "OCA\\Files_Versions\\BackgroundJob\\{closure}",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 70,
"function": "callForSeenUsers",
"class": "OC\\User\\Manager",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/Job.php",
"line": 78,
"function": "run",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 103,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 93,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/FOLDER/cron.php",
"line": 152,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"Line": 284,
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"exception": {},
"CustomMessage": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )"
}
}
{
"reqId": "PmAPjDmQKwaQrt9hyX8r",
"level": 3,
"time": "2023-02-14T15:26:59+01:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"userAgent": "--",
"version": "26.0.0.5",
"exception": {
"Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
"Message": "Did expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*files_versions` WHERE (`file_id` = :dcValue1) AND (`timestamp` = :dcValue2)\"; ",
"Code": 0,
"Trace": [
{
"file": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"line": 361,
"function": "findOneQuery",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Db/VersionsMapper.php",
"line": 78,
"function": "findEntity",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 595,
"function": "findVersionForFileId",
"class": "OCA\\Files_Versions\\Db\\VersionsMapper",
"type": "->"
},
{
"function": "OCA\\Files_Versions\\{closure}",
"class": "OCA\\Files_Versions\\Storage",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 604,
"function": "array_filter"
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 69,
"function": "expireOlderThanMaxForUser",
"class": "OCA\\Files_Versions\\Storage",
"type": "::"
},
{
"file": "/FOLDER/lib/private/User/Manager.php",
"line": 638,
"function": "OCA\\Files_Versions\\BackgroundJob\\{closure}",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 70,
"function": "callForSeenUsers",
"class": "OC\\User\\Manager",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/Job.php",
"line": 78,
"function": "run",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 103,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 93,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/FOLDER/cron.php",
"line": 152,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"Line": 284,
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"exception": {},
"CustomMessage": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )"
}
}
{
"reqId": "RAHUsJ5bb8IGrFplNEQo",
"level": 3,
"time": "2023-02-14T16:01:23+01:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"userAgent": "--",
"version": "26.0.0.5",
"exception": {
"Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
"Message": "Did expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*files_versions` WHERE (`file_id` = :dcValue1) AND (`timestamp` = :dcValue2)\"; ",
"Code": 0,
"Trace": [
{
"file": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"line": 361,
"function": "findOneQuery",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Db/VersionsMapper.php",
"line": 78,
"function": "findEntity",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 595,
"function": "findVersionForFileId",
"class": "OCA\\Files_Versions\\Db\\VersionsMapper",
"type": "->"
},
{
"function": "OCA\\Files_Versions\\{closure}",
"class": "OCA\\Files_Versions\\Storage",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 604,
"function": "array_filter"
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 69,
"function": "expireOlderThanMaxForUser",
"class": "OCA\\Files_Versions\\Storage",
"type": "::"
},
{
"file": "/FOLDER/lib/private/User/Manager.php",
"line": 638,
"function": "OCA\\Files_Versions\\BackgroundJob\\{closure}",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 70,
"function": "callForSeenUsers",
"class": "OC\\User\\Manager",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/Job.php",
"line": 78,
"function": "run",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 103,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 93,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/FOLDER/cron.php",
"line": 152,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"Line": 284,
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"exception": {},
"CustomMessage": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )"
}
}
{
"reqId": "YHbHpR8UatVLT7TMwdt0",
"level": 3,
"time": "2023-02-14T16:35:47+01:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"userAgent": "--",
"version": "26.0.0.5",
"exception": {
"Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
"Message": "Did expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*files_versions` WHERE (`file_id` = :dcValue1) AND (`timestamp` = :dcValue2)\"; ",
"Code": 0,
"Trace": [
{
"file": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"line": 361,
"function": "findOneQuery",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Db/VersionsMapper.php",
"line": 78,
"function": "findEntity",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 595,
"function": "findVersionForFileId",
"class": "OCA\\Files_Versions\\Db\\VersionsMapper",
"type": "->"
},
{
"function": "OCA\\Files_Versions\\{closure}",
"class": "OCA\\Files_Versions\\Storage",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 604,
"function": "array_filter"
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 69,
"function": "expireOlderThanMaxForUser",
"class": "OCA\\Files_Versions\\Storage",
"type": "::"
},
{
"file": "/FOLDER/lib/private/User/Manager.php",
"line": 638,
"function": "OCA\\Files_Versions\\BackgroundJob\\{closure}",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 70,
"function": "callForSeenUsers",
"class": "OC\\User\\Manager",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/Job.php",
"line": 78,
"function": "run",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 103,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 93,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/FOLDER/cron.php",
"line": 152,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"Line": 284,
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"exception": {},
"CustomMessage": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )"
}
}
{
"reqId": "JpQizl90CUCUGsjwKZ5D",
"level": 3,
"time": "2023-02-14T17:10:12+01:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"userAgent": "--",
"version": "26.0.0.5",
"exception": {
"Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
"Message": "Did expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*files_versions` WHERE (`file_id` = :dcValue1) AND (`timestamp` = :dcValue2)\"; ",
"Code": 0,
"Trace": [
{
"file": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"line": 361,
"function": "findOneQuery",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Db/VersionsMapper.php",
"line": 78,
"function": "findEntity",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 595,
"function": "findVersionForFileId",
"class": "OCA\\Files_Versions\\Db\\VersionsMapper",
"type": "->"
},
{
"function": "OCA\\Files_Versions\\{closure}",
"class": "OCA\\Files_Versions\\Storage",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 604,
"function": "array_filter"
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 69,
"function": "expireOlderThanMaxForUser",
"class": "OCA\\Files_Versions\\Storage",
"type": "::"
},
{
"file": "/FOLDER/lib/private/User/Manager.php",
"line": 638,
"function": "OCA\\Files_Versions\\BackgroundJob\\{closure}",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 70,
"function": "callForSeenUsers",
"class": "OC\\User\\Manager",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/Job.php",
"line": 78,
"function": "run",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 103,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 93,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/FOLDER/cron.php",
"line": 152,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"Line": 284,
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"exception": {},
"CustomMessage": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )"
}
}
{
"reqId": "JCL0EkTk6cIlyeI7Zdzr",
"level": 3,
"time": "2023-02-14T17:44:36+01:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"userAgent": "--",
"version": "26.0.0.5",
"exception": {
"Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
"Message": "Did expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*files_versions` WHERE (`file_id` = :dcValue1) AND (`timestamp` = :dcValue2)\"; ",
"Code": 0,
"Trace": [
{
"file": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"line": 361,
"function": "findOneQuery",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Db/VersionsMapper.php",
"line": 78,
"function": "findEntity",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 595,
"function": "findVersionForFileId",
"class": "OCA\\Files_Versions\\Db\\VersionsMapper",
"type": "->"
},
{
"function": "OCA\\Files_Versions\\{closure}",
"class": "OCA\\Files_Versions\\Storage",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 604,
"function": "array_filter"
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 69,
"function": "expireOlderThanMaxForUser",
"class": "OCA\\Files_Versions\\Storage",
"type": "::"
},
{
"file": "/FOLDER/lib/private/User/Manager.php",
"line": 638,
"function": "OCA\\Files_Versions\\BackgroundJob\\{closure}",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 70,
"function": "callForSeenUsers",
"class": "OC\\User\\Manager",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/Job.php",
"line": 78,
"function": "run",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 103,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 93,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/FOLDER/cron.php",
"line": 152,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"Line": 284,
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"exception": {},
"CustomMessage": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )"
}
}
{
"reqId": "eRT0PJaFfLYCiSst0q2r",
"level": 3,
"time": "2023-02-14T18:19:00+01:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"userAgent": "--",
"version": "26.0.0.5",
"exception": {
"Exception": "OCP\\AppFramework\\Db\\DoesNotExistException",
"Message": "Did expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*files_versions` WHERE (`file_id` = :dcValue1) AND (`timestamp` = :dcValue2)\"; ",
"Code": 0,
"Trace": [
{
"file": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"line": 361,
"function": "findOneQuery",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Db/VersionsMapper.php",
"line": 78,
"function": "findEntity",
"class": "OCP\\AppFramework\\Db\\QBMapper",
"type": "->"
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 595,
"function": "findVersionForFileId",
"class": "OCA\\Files_Versions\\Db\\VersionsMapper",
"type": "->"
},
{
"function": "OCA\\Files_Versions\\{closure}",
"class": "OCA\\Files_Versions\\Storage",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/Storage.php",
"line": 604,
"function": "array_filter"
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 69,
"function": "expireOlderThanMaxForUser",
"class": "OCA\\Files_Versions\\Storage",
"type": "::"
},
{
"file": "/FOLDER/lib/private/User/Manager.php",
"line": 638,
"function": "OCA\\Files_Versions\\BackgroundJob\\{closure}",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/FOLDER/apps/files_versions/lib/BackgroundJob/ExpireVersions.php",
"line": 70,
"function": "callForSeenUsers",
"class": "OC\\User\\Manager",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/Job.php",
"line": 78,
"function": "run",
"class": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 103,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->"
},
{
"file": "/FOLDER/lib/public/BackgroundJob/TimedJob.php",
"line": 93,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
},
{
"file": "/FOLDER/cron.php",
"line": 152,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->"
}
],
"File": "/FOLDER/lib/public/AppFramework/Db/QBMapper.php",
"Line": 284,
"message": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )",
"exception": {},
"CustomMessage": "Error while running background job (class: OCA\\Files_Versions\\BackgroundJob\\ExpireVersions, arguments: )"
}
} |
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Version on the FS can have no equivalent in the DB if they were created before the version naming feature. This makes sure that we catch the resulting exception and proceed as usual. Fix nextcloud#36541 Signed-off-by: Louis Chemineau <louis@chmn.me>
Bug description
On a newly installed NC 26.0.0beta2 instance, I see errors in nextcloud.log (see below).
Steps to reproduce
Expected behavior
No errors in log :)
Installation method
Community Manual installation with Archive
Operating system
Other
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: