Hi,
by creating a new host template with the director i got this exception:
ERROR - RuntimeException in /usr/share/icingaweb2/modules/director/library/Director/Data/Db/DbObject.php:853 with message: Storing director_datalist_entry[{"list_id":"2"}] failed: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'entry_name' cannot be null, query was: INSERT INTO director_datalist_entry (list_id, entry_name, entry_value, format, allowed_roles) VALUES (?, ?, ?, ?, ?) {array (
'list_id' => '2',
'entry_name' => NULL,
'entry_value' => NULL,
'format' => NULL,
'allowed_roles' => NULL,
)}
The template will be created anyway.
In addition when I use the icingacli to run the kickstart assistant i got a similar exception:
ERROR: RuntimeException in /usr/share/icingaweb2/modules/director/library/Director/Data/Db/DbObject.php:853 with message: Storing icinga_apiuser[] failed: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'object_name' cannot be null, query was: INSERT INTO icinga_apiuser (object_name, object_type, disabled, password, client_dn, permissions) VALUES (?, ?, ?, ?, ?, ?) {array (
'id' => NULL,
'object_name' => NULL,
'object_type' => 'external_object',
'disabled' => 'n',
'password' => NULL,
'client_dn' => NULL,
'permissions' => NULL,
)}
The import over icingaweb2 works well.
Is there a way to fix the problem?
Thanks
Sebastian