LDAP setup error

  • Icinga Web 2 version: 2.12.0
  • Used modules and their versions (System - About): n/a
  • Web browser used: Google Chrome, Firefox
  • Icinga 2 version used (icinga2 --version): 2.14.0
  • PHP version used (php --version): 8.2.7
  • Server operating system and version: Debian Testing

After settings up LDAP - after entering the Group config, icinga2 reliably gives this error under this title:

Call to undefined method Icinga\Repository\RepositoryQuery::setUsePagedResults()

#0 /usr/share/icingaweb2/modules/setup/application/forms/AdminAccountPage.php(110): Icinga\Module\Setup\Forms\AdminAccountPage->fetchGroups()
#1 /usr/share/php/Icinga/Web/Form.php(776): Icinga\Module\Setup\Forms\AdminAccountPage->createElements()
#2 /usr/share/php/Icinga/Web/Wizard.php(706): Icinga\Web\Form->create()
#3 /usr/share/icingaweb2/modules/setup/application/views/scripts/index/parts/wizard.phtml(1): Icinga\Web\Wizard->getForm()
#4 /usr/share/php/Icinga/Web/View.php(235): include(String)
#5 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/View/Abstract.php(886): Icinga\Web\View->_run()
#6 /usr/share/icingaweb2/modules/setup/application/views/scripts/index/index.phtml(210): Zend_View_Abstract->render()
#7 /usr/share/php/Icinga/Web/View.php(235): include(String)
#8 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/View/Abstract.php(886): Icinga\Web\View->_run()
#9 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action/Helper/ViewRenderer.php(910): Zend_View_Abstract->render()
#10 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action/Helper/ViewRenderer.php(931): Zend_Controller_Action_Helper_ViewRenderer->renderScript()
#11 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action/Helper/ViewRenderer.php(970): Zend_Controller_Action_Helper_ViewRenderer->render()
#12 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#13 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#14 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#15 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Icinga\Web\Controller\Dispatcher->dispatch()
#16 /usr/share/php/Icinga/Application/Web.php(294): Zend_Controller_Front->dispatch()
#17 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#18 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#19 {main}

…what exactly is the problem? All steps before valoidated successfully, but that last step doesn’t have a validate button.

Hii @Artim96, this is unfortunately a bug in Icinga Web introduced with the latest release, can you please create an issue here. Thanks!

Done.

Fix has been released now.