Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2023 22:52:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275289] net-mgmt/icingaweb2: 2.12.0 fails after upgrade from 2.11.4 with Zend errors
Message-ID:  <bug-275289-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275289

            Bug ID: 275289
           Summary: net-mgmt/icingaweb2: 2.12.0 fails after upgrade from
                    2.11.4 with Zend errors
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: niels=3Dfreebsd@bakker.net
             Flags: maintainer-feedback?(joneum@FreeBSD.org)
          Assignee: joneum@FreeBSD.org

After upgrading from a working 2.11.4 install to 2.12.0, visiting the web
frontend now only gives this error: (linebreaks added)

Fatal error: Uncaught Error: Class "Zend_Controller_Request_Http" not found=
 in
/usr/local/www/icingaweb2/library/Icinga/Web/Request.php:14
Stack trace:
 #0 /usr/local/www/icingaweb2/library/Icinga/Application/ClassLoader.php(27=
5):
require()
 #1 /usr/local/www/icingaweb2/library/Icinga/Application/EmbeddedWeb.php(89=
):
Icinga\Application\ClassLoader->loadClass('Icinga\\Web\\Requ...')
 #2 /usr/local/www/icingaweb2/library/Icinga/Application/Web.php(92):
Icinga\Application\EmbeddedWeb->setupRequest()
 #3
/usr/local/www/icingaweb2/library/Icinga/Application/ApplicationBootstrap.p=
hp(388):
Icinga\Application\Web->bootstrap()
 #4 /usr/local/www/icingaweb2/library/Icinga/Application/webrouter.php(105):
Icinga\Application\ApplicationBootstrap::start()
 #5 /usr/local/www/icingaweb2/public/index.php(4):
require_once('/usr/local/www/...')
 #6 {main} thrown in /usr/local/www/icingaweb2/library/Icinga/Web/Request.p=
hp
on line 14

Judging from the upgrade patch
(https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245396&action=3Ddiff)
everything in /usr/local/www/icingaweb2/library/vendor/ is no longer includ=
ed,
including Zend.

Restoring everything in this directory from a 2.11.4 package didn't restore
functionality, nor did installing the ZendFramework-php82 package.

This commit removed the vendor directory's contents:
https://github.com/Icinga/icingaweb2/commit/50bd5cfdc9ebc5a556ba0f0d3078585=
70890ef18

The icinga-php-thirdparty port remains at version 0.11 while 0.12 has been
released since which does include all the Zend directories.

Installing that at version 0.12.0, however, still throws an error about a
missing class:

Class "ipl\Web\Style" not found

and various other warnings mentioning ipl.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275289-7788>