You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: (none)
Status: Closed (closed on 2016-04-19 04:35:33 +00:00)
Target Version: (none)
Last Update: 2016-04-19 04:35:33 +00:00 (in Redmine)
After upgrading to Icinga Web 2.3.0 we encouter the following error when clicking on a service or a host.
SQLSTATE[42803]: Grouping error: 7 ERROR: column "cgo.name1" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT cgo.name1 AS contactgroup_name, cg.alias AS contactgr...
^, query was: SELECT cgo.name1 AS contactgroup_name, cg.alias AS contactgroup_alias FROM icinga_contactgroups AS cg
INNER JOIN icinga_objects AS cgo ON cgo.object_id = cg.contactgroup_object_id AND cgo.is_active = 1 AND cgo.objecttype_id = 11
LEFT JOIN icinga_service_contactgroups AS scg ON scg.contactgroup_object_id = cg.contactgroup_object_id
LEFT JOIN icinga_services AS s ON s.service_id = scg.service_id
LEFT JOIN icinga_objects AS so ON so.object_id = s.service_object_id AND so.is_active = 1 AND so.objecttype_id = 2 WHERE (so.name1 = 'package' AND so.name2 = 'apache') GROUP BY cg.contactgroup_id
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11603
Created by jsaathof on 2016-04-18 06:58:12 +00:00
Assignee: (none)
Status: Closed (closed on 2016-04-19 04:35:33 +00:00)
Target Version: (none)
Last Update: 2016-04-19 04:35:33 +00:00 (in Redmine)
After upgrading to Icinga Web 2.3.0 we encouter the following error when clicking on a service or a host.
SQLSTATE[42803]: Grouping error: 7 ERROR: column "cgo.name1" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT cgo.name1 AS contactgroup_name, cg.alias AS contactgr...
^, query was: SELECT cgo.name1 AS contactgroup_name, cg.alias AS contactgroup_alias FROM icinga_contactgroups AS cg
INNER JOIN icinga_objects AS cgo ON cgo.object_id = cg.contactgroup_object_id AND cgo.is_active = 1 AND cgo.objecttype_id = 11
LEFT JOIN icinga_service_contactgroups AS scg ON scg.contactgroup_object_id = cg.contactgroup_object_id
LEFT JOIN icinga_services AS s ON s.service_id = scg.service_id
LEFT JOIN icinga_objects AS so ON so.object_id = s.service_object_id AND so.is_active = 1 AND so.objecttype_id = 2 WHERE (so.name1 = 'package' AND so.name2 = 'apache') GROUP BY cg.contactgroup_id
Extra information is given below:
Relations:
The text was updated successfully, but these errors were encountered: