Getting below error #icinga2cli director kickstart run


Getting below error PFA screenshot as well as below error contents

While running #icinga2cli director kickstart run
getting below error on debian 10, Icinga Web 2 Version 2.6.2

root@icinga:/usr/share/icingaweb2/modules# icingacli director kickstart run
PHP Fatal error: Uncaught Error: Class ‘Ramsey\Uuid\Uuid’ not found in /usr/share/icingaweb2/modules/director/library/Director/Data/Db/DbObject.php:577
Stack trace:
#0 /usr/share/icingaweb2/modules/director/library/Director/Data/Db/DbObject.php(837): Icinga\Module\Director\Data\Db\DbObject->getUniqueId()
#1 /usr/share/icingaweb2/modules/director/library/Director/Data/Db/DbObject.php(912): Icinga\Module\Director\Data\Db\DbObject->insertIntoDb()

(( FYI :- #php version
php --version
PHP 7.3.31-1~deb10u1 (cli) (built: Oct 24 2021 15:18:08) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.31, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.31-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies

how did you even install icingaweb 2.6.2?

aah you installed the debian repo package.
Please read:
[Debian - Icinga Web 2]
remove all icingaweb2 related packages and install icingaweb2 after you added the icinga repository!
latest stable is 2.10.1

Thanks for reply :slight_smile:
I will try 2.10.1
Is that known issue for 2.6.2 ?

2.6.2 is from 2017 :slight_smile: and most likely not compatible with the director you installed manually

1 Like

okay Thanks for update.I will try to install and update you.

I have terminated old setup .Installed 2.10.1 on new centos7 and its working fine.
I am trying to create service template from
Main Dasshboard > icinga director>services > service template >
here i am not getting what exactly need to put in "check command ".i have referred /etc/icinga2/conf.d/services.conf file in this file i am able to see “ssh” “ping4” commands.
i have tried to put “ssh” in "check command "
but getting error.can you please help

Please open a new thread and mark this one with a solution as closed