Icingadb module error

Hello,

I’m working on setting up Icinga2 2.12.2-1 with Icingadb on CentOS 8 . I followed the documentation but somehow got into PHP/FPM issue.

Whenever I choose “icingadb” module in Web UI, I get this error.

Undefined array key 1

#0 /usr/share/php/Icinga/Application/Modules/Module.php(891): Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}()
#1 /usr/share/php/Icinga/Application/Modules/Module.php(841): Icinga\Application\Modules\Module->metadata()
#2 /usr/share/icingaweb2/application/views/scripts/config/module.phtml(9): Icinga\Application\Modules\Module->getDependencies()
#3 /usr/share/php/Icinga/Web/View.php(248): include(String)
#4 /usr/share/icingaweb2/library/vendor/Zend/View/Abstract.php(877): Icinga\Web\View->_run()
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(904): Zend_View_Abstract->render()
#6 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(925): Zend_Controller_Action_Helper_ViewRenderer->renderScript()
#7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(964): Zend_Controller_Action_Helper_ViewRenderer->render()
#8 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action/HelperBroker.php(272): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#9 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(518): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#10 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#11 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch()
#12 /usr/share/php/Icinga/Application/Web.php(300): Zend_Controller_Front->dispatch()
#13 /usr/share/php/Icinga/Application/webrouter.php(99): Icinga\Application\Web->dispatch()
#14 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#15 {main}Preformatted text

Another issue I’ve is with the doc and monitoring module. I get the following error. The “ipl” module doesn’t show this error and I installed it via git.

file_get_contents(/usr/share/icingaweb2/modules/doc/.git/HEAD): Failed to open stream: No such file or directory

Any idea what could be wrong here?

Thanks