Hello everyone.
since a little time i find more and more database-issues.
I’m unable to apply the schema migration because of this:
Migration 187 failed (SQLSTATE[42601]: Syntax error: 7 FEHLER: Syntaxfehler bei »INSERT« LINE 3: INSERT INTO director_schema_migration ^) while running ALTER TABLE import_row_modifier ADD COLUMN filter_expression text DEFAULT NULL, INSERT INTO director_schema_migration (schema_version, migration_time) VALUES (187, NOW())
But my current main issue is, that i’m unable to open “Service Sets” in Director because of this:
SQLSTATE[42803]: Grouping error: 7 FEHLER: Spalte »o.object_name« muss in der GROUP-BY-Klausel erscheinen oder in einer Aggregatfunktion verwendet werden
LINE 1: ...os.object_type, os.assign_filter, os.description, o.object_n...
^, query was: SELECT COUNT(*) AS cnt FROM (SELECT os.id, os.uuid, (NULL) AS branch_uuid, os.object_name, os.object_type, os.assign_filter, os.description, o.object_name AS service_object_name, COUNT(DISTINCT o.uuid) AS count_services FROM icinga_service_set AS os
LEFT JOIN icinga_service AS o ON o.service_set_id = os.id WHERE (os.object_type = 'template') GROUP BY os.uuid,
os.uuid,
os.id,
os.object_name,
os.object_type,
os.assign_filter,
os.description ORDER BY os.object_name ASC) AS t (Pdo.php:225)
i installed the master becaus of a good reason i didn’t remind, and i’m now no more able to return to a release, because it’s “older than the installed version”.
I would very thankful when someone could help me out there.
Thank you,
viper
- Director version (System - About): master
- Icinga Web 2 version and modules (System - About): 2.11.4
- Icinga 2 version (
icinga2 --version
): r2.14.0-1 - Operating System and version: Debian 11
- Webserver, PHP versions: Apache, 7.4.33
- Database: Postgres 11