Status
upgraded a 4.5 years old Icinga implementation to latest versions (incl. modules, libs, schema updates) all in one (was not my basic intention…).
used not any master branch, only stable tags.
all upgrade objects fine, except Director → Services → Servicesets → Services
would appreciate any hint or even a (temp) solution.
tx, Manfred
Expected Behavior
let correctly modify/manage/store Director → Services → Servicesets → Services
Current Behavior / Problem
when trying to manage Servicesets → Services in most (not all !) cases this error bailes out:
Uncaught Error: Call to a member function toString() on null in /usr/share/icingaweb2/modules/director/application/controllers/ServiceController.php:254
Stack trace:
#0 /usr/share/icingaweb2/modules/director/library/Director/Web/Controller/ObjectController.php(497): Icinga\Module\Director\Controllers\ServiceController->loadObject()
#1 /usr/share/icingaweb2/modules/director/library/Director/Web/Controller/ObjectController.php(90): Icinga\Module\Director\Web\Controller\ObjectController->loadOptionalObject()
#2 /usr/share/icingaweb2/modules/director/application/controllers/ServiceController.php(46): Icinga\Module\Director\Web\Controller\ObjectController->init()
#3 /usr/share/php/Icinga/Web/Controller/ActionController.php(165): Icinga\Module\Director\Controllers\ServiceController->init()
#4 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(59): Icinga\Web\Controller\ActionController->__construct(Object(Icinga\Web\Request), Object(Icinga\Web\Response), Array)
#5 /usr/share/icingaweb2/library/vendor/Zend/Controll
#0 [internal function]: Icinga\Application\Web->Icinga\Application\{closure}()
#1 {main}
Environment
browser = google chrome
# icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: 2.13.2-1)
System information:
Platform: Red Hat Enterprise Linux Server
Platform version: 7.9 (Maipo)
Kernel: Linux
Kernel version: 3.10.0-1160.59.1.el7.x86_64
Architecture: x86_64
Build information:
Compiler: GNU 4.8.5
Build host: runner-hh8q3bz2-project-322-concurrent-0
OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017
# icingacli --version
Icinga Web 2 2.9.5
Git Commit 053971c99dc1a4510beb64a888ea695cc14032dc
PHP Version 7.3.29
MODULE VERSION
director 1.9.0
doc 2.9.5
grafana 1.4.2
incubator 0.13.0
monitoring 2.9.5
setup 2.9.5
translation 2.9.5