Not able to access icinga2 web interface

After Update from icinga 2.14 to 2.15 and also Update php from 8.0 to 8.2 the web interface show the following error:
#0 /usr/share/icinga-php/ipl/vendor/ipl/orm/src/Contract/PropertyBehavior.php(61): ipl\Orm\Behavior\BoolCast->fromDb()
#1 /usr/share/icinga-php/ipl/vendor/ipl/orm/src/Behaviors.php(120): ipl\Orm\Contract\PropertyBehavior->retrieveProperty()
#2 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/Redis/VolatileStateResults.php(196): ipl\Orm\Behaviors->retrieveProperty()
#3 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/Redis/VolatileStateResults.php(167): Icinga\Module\Icingadb\Redis\VolatileStateResults->apply()
#4 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/Redis/VolatileStateResults.php(93): Icinga\Module\Icingadb\Redis\VolatileStateResults->applyRedisUpdates()
#5 /usr/share/icinga-php/ipl/vendor/ipl/web/src/Widget/ItemList.php(179): Icinga\Module\Icingadb\Redis\VolatileStateResults->rewind()
#6 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/Widget/ItemList/ObjectList.php(266): ipl\Web\Widget\ItemList->assemble()
#7 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(344): Icinga\Module\Icingadb\Widget\ItemList\ObjectList->assemble()
#8 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(566): ipl\Html\HtmlDocument->ensureAssembled()
#9 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(390): ipl\Html\HtmlDocument->render()
#10 /usr/share/icinga-php/ipl/vendor/ipl/html/src/BaseHtmlElement.php(297): ipl\Html\HtmlDocument->renderUnwrapped()
#11 /usr/share/icinga-php/ipl/vendor/ipl/html/src/BaseHtmlElement.php(365): ipl\Html\BaseHtmlElement->renderContent()
#12 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(568): ipl\Html\BaseHtmlElement->renderUnwrapped()
#13 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(390): ipl\Html\HtmlDocument->render()
#14 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(568): ipl\Html\HtmlDocument->renderUnwrapped()
#15 /usr/share/icinga-php/ipl/vendor/ipl/web/src/Compat/ViewRenderer.php(62): ipl\Html\HtmlDocument->render()
#16 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action/Helper/ViewRenderer.php(970): ipl\Web\Compat\ViewRenderer->render()
#17 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#18 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/Web/Controller.php(482): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#19 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Icinga\Module\Icingadb\Web\Controller->dispatch()
#20 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Icinga\Web\Controller\Dispatcher->dispatch()
#21 /usr/share/php/Icinga/Application/Web.php(294): Zend_Controller_Front->dispatch()
#22 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#23 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#24 {main}

  • Icinga Web 2 version 2.15
  • Used modules and their versions (System - About)
  • |icingadb||1.2.2|
    |cube||1.3.3
    |director||1.11.5
    |doc||2.12.5
    |grafana||2.0.3
    |incubator||0.23.0
    |kubernetes||0.3.1
    |migrate||2.12.5
    |pdfexport||0.11.0
    |reporting||1.0.2
    |translation||2.12.5
    |x509||1.3.2
  • Web browser used: Edge
  • Icinga 2 version used (icinga2 --version)
  • icinga2 - The Icinga 2 network monitoring daemon (version: r2.15.0-1)

Copyright (c) 2012-2025 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later https://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
Platform: Red Hat Enterprise Linux
Platform version: 9.6 (Plow)
Kernel: Linux
Kernel version: 5.14.0-570.46.1.el9_6.x86_64
Architecture: x86_64

Build information:
Compiler: GNU 11.5.0
Build host: unknown
OpenSSL version: OpenSSL 3.2.2 4 Jun 2024

Application information:

General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2

Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var

Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid

  • PHP version used (php --version)

  • PHP 8.2.28 (cli) (built: Mar 11 2025 17:58:12) (NTS gcc x86_64)
    Copyright (c) The PHP Group
    Zend Engine v4.2.28, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.28, Copyright (c), by Zend Technologies

  • Server operating system and version RHEL9

I guess it’s your icingadb (daemon, not web-module) version. With icinga2 2.15 and IcingaWeb-DB 1.2.2 you need icingadb version 1.4. Also, don’t forget this implies a db-schema upgrade.

2 Likes

Yes it was the icingadb Version. Now it works.

Thank you

1 Like