Open AndyFx12 opened 3 weeks ago
cc @ChristophWurst @miaulalala @SebastianKrupinski
Hello full GROUP MY, my old f(r)iend. Not MYSQL; the same principle applies.
@hamza221 this should be easy to reproduce if you use mysql/mariadb and (temporarily) enable strict mode. Every SELECTed column has to be in the GROUP BY as well. Expand cr.* to the individual columns in SELECT and GROUP BY.
⚠️ This issue respects the following points: ⚠️
Bug description
On every backgroundjob I see an error at protocol: 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"."... ^ Error while running background job OCA\DAV\BackgroundJob\EventReminderJob (id: 9156, arguments: null)
Steps to reproduce
Expected behavior
No error should be visible.
Installation method
None
Nextcloud Server version
30rc1
Operating system
Ubuntu 22.04
PHP engine version
8.2
Web server
Apache
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?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response