Director: Trying to recreate icinga_zone ("<master-zone>") (DbObject.php:823)

Hey,

when running the kickstart wizard from director I get the following error, after entering endpoint, api user etc.:

Trying to recreate icinga_zone ("") (DbObject.php:823)

Im running icinga2 v2.11, icingaweb v2.7.3 on Ubuntu 20.04 with php 7.1 and mysql8
director v1.7.2,
reactbundle v0.7.0
ipl v0.5.0
incubator v0.5.0

enabled features: api checker command ido-mysql mainlog notification syslog

Anyone ever encountered this error?

Thanks :slight_smile:

What I found out yet:

When executing
root@master01:~# icingacli director endpoint create MASTER01 -host -port 5665

following error occurs:

ERROR: Icinga\Module\Director\Exception\DuplicateKeyException in /usr/share/icingaweb2/modules/director/library/Director/Data/Db/DbObject.php:823 with message: Trying to recreate icinga_endpoint (“ITS-MASTER01”)
-bash: syntax error near unexpected token `(’

Is there anything wrong with “DbObject.php”?

EDIT: Is my director-version maybe not compatible with PHP 7.1?

So, i created a new database for director and let the kickstart wizard create the schema again.
Now it seems to work…