[Bug]: DriverException An exception occurred while executing a query: SQLSTATE[42803]: Grouping error: 7 ERROR: column "cr.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT "cr".*, "co"."calendardata", "c"."displayname", "c"."... ^ #48671
⚠️ This issue respects the following points: ⚠️
Bug description
Hi, Following error is getting logged every 5 minutes.
Unformatted:
Steps to reproduce
Expected behavior
No such errors.
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 28 to 29)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
{ "system": { "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "REMOVED SENSITIVE VALUE**" ], "enable_previews": true, "enabledPreviewProviders": [ "OC\Preview\BMP", "OC\Preview\GIF", "OC\Preview\JPEG", "OC\Preview\MP3", "OC\Preview\OpenDocument", "OC\Preview\PNG", "OC\Preview\TXT", "OC\Preview\XBitmap", "OC\Preview\Movie", "OC\Preview\MP4", "OC\Preview\AVI", "OC\Preview\MKV", "OC\Preview\Image", "OC\Preview\HEIC", "OC\Preview\TIFF" ], "datadirectory": "REMOVED SENSITIVE VALUE*", "dbtype": "pgsql", "version": "30.0.0.14", "overwrite.cli.url": "*REMOVED SENSITIVE VALUE", "forcessl": true, "overwriteprotocol": "https", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "5432", "dbtableprefix": "oc_", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "maintenance": false, "theme": "", "loglevel": 1, "log_type": "file", "logfile": "\/var\/www\/nextcloud-data\/nextcloud.log", "logfilemode": 416, "memcache.locking": "\OC\Memcache\Redis", "memcache.local": "\OC\Memcache\APCu", "memcache.distributed": "\OC\Memcache\Redis", "updater.release.channel": "stable", "filelocking.enabled": "true", "redis": { "host": "REMOVED SENSITIVE VALUE", "port": 6379 }, "has_rebuilt_cache": true, "twofactor_enforced": "true", "twofactor_enforced_groups": [ "admin" ], "twofactor_enforced_excluded_groups": [], "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpsecure": "tls", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE", "mail_smtpport": "587", "default_phone_region": "IN", "defaultapp": "dashboard", "app_install_overwrite": [ "mindmap_app", "files_videoplayer", "issuetemplate" ], "maintenance_window_start": 1, "memories.exiftool": "\/var\/www\/html\/nxc\/apps\/memories\/bin-ext\/exiftool-amd64-glibc", "memories.vod.path": "\/var\/www\/html\/nxc\/apps\/memories\/bin-ext\/go-vod-amd64", "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg", "memories.vod.ffprobe": "\/usr\/bin\/ffprobe", "preview_max_x": 512, "preview_max_y": 512, "memories.db.triggers.fcu": true, "memories.gis_type": 2 } }
List of activated Apps
Enabled:
Nextcloud Signing status
404 not found
Nextcloud Logs
(already pasted above)
Additional info
Nextcloud Hub 9 (30.0.0) Ubuntu 22.04
Postgresql 17+264.pgdg22.04+1 php-common 2:95+ubuntu22.04.1+deb.sury.org+1 php 2:8.3+95+ubuntu22.04.1+deb.sury.org+1 nginx 1.18.0-6ubuntu14.5