[Bug 275289] net-mgmt/icingaweb2: 2.12.0 fails after upgrade from 2.11.4 with Zend errors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Nov 2023 22:52:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275289 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=freebsd@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(275): 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.php(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.php on line 14 Judging from the upgrade patch (https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245396&action=diff) everything in /usr/local/www/icingaweb2/library/vendor/ is no longer included, 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/50bd5cfdc9ebc5a556ba0f0d307858570890ef18 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. -- You are receiving this mail because: You are the assignee for the bug.