-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap26-feedbackbug
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 (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
In my error log I can find the following errors every 12 hours since updating to NC 26 and PHP 8.2:
Undefined array key 169178 at /var/www/nextcloud/apps/files_versions/lib/Storage.php#615
TypeError: OCP\AppFramework\Db\QBMapper::delete(): Argument #1 ($entity) must be of type OCP\AppFramework\Db\Entity, null given, called in /var/www/nextcloud/apps/files_versions/lib/Storage.php on line 615
Steps to reproduce
don't know
Expected behavior
no error
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
Other
Web server
Nginx
Database engine version
MariaDB
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
Enabled:
- activity: 2.18.0
- admin_audit: 1.16.0
- cloud_federation_api: 1.9.0
- dav: 1.25.0
- federatedfilesharing: 1.16.0
- files: 1.21.1
- files_pdfviewer: 2.7.0
- files_rightclick: 1.5.0
- files_sharing: 1.18.0
- files_trashbin: 1.16.0
- files_versions: 1.19.1
- geoblocker: 0.5.7
- groupfolders: 14.0.0
- logreader: 2.11.0
- lookup_server_connector: 1.14.0
- notes: 4.7.2
- notifications: 2.14.0
- oauth2: 1.14.0
- password_policy: 1.16.0
- photos: 2.2.0
- previewgenerator: 5.2.1
- privacy: 1.10.0
- provisioning_api: 1.16.0
- recommendations: 1.5.0
- related_resources: 1.1.0-alpha1
- serverinfo: 1.16.0
- settings: 1.8.0
- sharebymail: 1.16.0
- systemtags: 1.16.0
- text: 3.7.2
- theming: 2.1.1
- twofactor_backupcodes: 1.15.0
- updatenotification: 1.16.0
- viewer: 1.10.0
- workflowengine: 2.8.0Nextcloud Signing status
No response
Nextcloud Logs
[cron] Error: TypeError: OCP\AppFramework\Db\QBMapper::delete(): Argument #1 ($entity) must be of type OCP\AppFramework\Db\Entity, null given, called in /var/www/nextcloud/apps/files_versions/lib/Storage.php on line 615 at <<closure>>
0. /var/www/nextcloud/apps/files_versions/lib/Storage.php line 615
OCP\AppFramework\Db\QBMapper->delete()
1. /var/www/nextcloud/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 69
OCA\Files_Versions\Storage::expireOlderThanMaxForUser()
2. /var/www/nextcloud/lib/private/User/Manager.php line 639
OCA\Files_Versions\BackgroundJob\ExpireVersions->OCA\Files_Versions\BackgroundJob\{closure}("*** sensitive parameters replaced ***")
3. /var/www/nextcloud/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 64
OC\User\Manager->callForSeenUsers()
4. /var/www/nextcloud/lib/public/BackgroundJob/Job.php line 78
OCA\Files_Versions\BackgroundJob\ExpireVersions->run()
5. /var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php line 103
OCP\BackgroundJob\Job->start()
6. /var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php line 93
OCP\BackgroundJob\TimedJob->start()
7. /var/www/nextcloud/cron.php line 152
OCP\BackgroundJob\TimedJob->execute()
at 2023-03-25T18:40:02+01:00Additional info
No response
webracer999, Rauks, sephrat and sdellenb
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap26-feedbackbug