[Bug 221739] net-mgmt/icingaweb2-module-director: 'Undefined offse...', '/usr/local/www/...', 233, Array)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 23 12:36:40 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221739

            Bug ID: 221739
           Summary: net-mgmt/icingaweb2-module-director: 'Undefined
                    offse...', '/usr/local/www/...', 233, Array)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lme at FreeBSD.org
          Reporter: ohartmann at walstatt.org
          Assignee: lme at FreeBSD.org
             Flags: maintainer-feedback?(lme at FreeBSD.org)

Having run icinga2/icingaweb2 so far on either separated hosts, I tried the
director as this module is supposed to be a relief in bringing out
configurations in a cluster.

On any type of configuration I tried and we use, the director doesn't work
properly and bails out with the message show below, when clicking on the
director-button in icingaweb2 interface, where the director's wizzard should
appear with fancy icons, as it works on our RedHat installations as expected.

Well, in this special case, the webserver is Apache 2.4 (running icingaweb2),
there is a remote icinga2 master server (remote), there is also a remote
PostgreSQL 9.6 server. Having successfully transfered some config data from the
icingaweb2/director bearing host to the icinga2-master (/var/lib/icinga2/api
gets some infill), I consider the API working so far and do not bother you with
details.

Since the error message doesn't tell much and seems to be useless that way,
loging also doesn't provide any further information as I can't find any hints
what is wrong or of what PHP is complaining about. Any advice?

[...]
#0
/usr/local/www/icingaweb2/modules/director/library/Director/Dashboard/Dashlet/Dashlet.php(233):
Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(8,
'Undefined offse...', '/usr/local/www/...', 233, Array)
#1
/usr/local/www/icingaweb2/modules/director/library/Director/Dashboard/Dashlet/Dashlet.php(163):
Icinga\Module\Director\Dashboard\Dashlet\Dashlet->statSummary(false)
#2
/usr/local/www/icingaweb2/modules/director/library/Director/Dashboard/Dashlet/Dashlet.php(172):
Icinga\Module\Director\Dashboard\Dashlet\Dashlet->getSummary()
#3
zend.view:///usr/local/www/icingaweb2/modules/director/application/views/scripts/dashlets/default.phtml(4):
Icinga\Module\Director\Dashboard\Dashlet\Dashlet->getEscapedSummary()
#4 /usr/local/www/icingaweb2/library/Icinga/Web/View.php(231):
include('zend.view:///us...')
#5 /usr/local/www/icingaweb2/library/vendor/Zend/View/Abstract.php(877):
Icinga\Web\View->_run('/usr/local/www/...')
#6 /usr/local/www/icingaweb2/library/vendor/Zend/View/Helper/Partial.php(106):
Zend_View_Abstract->render('dashlets/defaul...')
#7 [internal function]: Zend_View_Helper_Partial->partial('dashlets/defaul...',
Array)
#8 /usr/local/www/icingaweb2/library/vendor/Zend/View/Abstract.php(346):
call_user_func_array(Array, Array)
#9 /usr/local/www/icingaweb2/library/Icinga/Web/View.php(250):
Zend_View_Abstract->__call('partial', Array)
#10
/usr/local/www/icingaweb2/modules/director/library/Director/Dashboard/Dashlet/Dashlet.php(129):
Icinga\Web\View->__call('partial', Array)
#11
/usr/local/www/icingaweb2/modules/director/library/Director/Dashboard/Dashlet/Dashlet.php(129):
Icinga\Web\View->partial('dashlets/defaul...', Array)
#12
zend.view:///usr/local/www/icingaweb2/modules/director/application/views/scripts/dashboard/index.phtml(26):
Icinga\Module\Director\Dashboard\Dashlet\Dashlet->render()
#13 /usr/local/www/icingaweb2/library/Icinga/Web/View.php(231):
include('zend.view:///us...')
#14 /usr/local/www/icingaweb2/library/vendor/Zend/View/Abstract.php(877):
Icinga\Web\View->_run('/usr/local/www/...')
#15
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(904):
Zend_View_Abstract->render('dashboard/index...')
#16
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(925):
Zend_Controller_Action_Helper_ViewRenderer->renderScript('dashboard/index...',
NULL)
#17
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action/Helper/ViewRenderer.php(964):
Zend_Controller_Action_Helper_ViewRenderer->render()
#18
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action/HelperBroker.php(272):
Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#19 /usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action.php(518):
Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#20 /usr/local/www/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(76):
Zend_Controller_Action->dispatch('indexAction')
#21 /usr/local/www/icingaweb2/library/vendor/Zend/Controller/Front.php(937):
Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request),
Object(Icinga\Web\Response))
#22 /usr/local/www/icingaweb2/library/Icinga/Application/Web.php(389):
Zend_Controller_Front->dispatch(Object(Icinga\Web\Request),
Object(Icinga\Web\Response))
#23 /usr/local/www/icingaweb2/library/Icinga/Application/webrouter.php(109):
Icinga\Application\Web->dispatch()
#24 /usr/local/www/icingaweb2/public/index.php(4):
require_once('/usr/local/www/...')
#25 {main}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list