Hi,

Does anyone have any success running Bareos-WebUI 23.0 with PHP 8.2?

The package on FreeBSD has the default dependency on PHP 8.2, however it returns an error while trying to load the login page:

Next Zend\ServiceManager\Exception\ServiceNotCreatedException: An exception was raised while creating "Zend\Session\SessionManager"; no instance returned in /usr/local/www/bareos/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:941
Stack trace:
#0 /usr/local/www/bareos/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1094): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Object(Closure), 'zendsessionsess...', 'Zend\\Session\\Se...') #1 /usr/local/www/bareos/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(634): Zend\ServiceManager\ServiceManager->createFromFactory('zendsessionsess...', 'Zend\\Session\\Se...') #2 /usr/local/www/bareos/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(597): Zend\ServiceManager\ServiceManager->doCreate('Zend\\Session\\Se...', 'zendsessionsess...') #3 /usr/local/www/bareos/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create(Array) #4 /usr/local/www/bareos/module/Application/Module.php(80): Zend\ServiceManager\ServiceManager->get('Zend\\Session\\Se...') #5 /usr/local/www/bareos/module/Application/Module.php(41): Application\Module->initSession(Object(Zend\Mvc\MvcEvent)) #6 [internal function]: Application\Module->onBootstrap(Object(Zend\Mvc\MvcEvent)) #7 /usr/local/www/bareos/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #8 /usr/local/www/bareos/vendor/zendframework/zend-eventmanager/src/EventManager.php(211): Zend\EventManager\EventManager->triggerListeners('bootstrap', Object(Zend\Mvc\MvcEvent), Array) #9 /usr/local/www/bareos/vendor/zendframework/zend-mvc/src/Application.php(157): Zend\EventManager\EventManager->trigger('bootstrap', Object(Zend\Mvc\MvcEvent)) #10 /usr/local/www/bareos/vendor/zendframework/zend-mvc/src/Application.php(261): Zend\Mvc\Application->bootstrap(Array) #11 /usr/local/www/bareos/public/index.php(47): Zend\Mvc\Application::init(Array)
#12 {main}
thrown in <b>/usr/local/www/bareos/vendor/zendframework/zend-servicemanager/src/ServiceManager.php


It seems the issue is specific to any recent PHP version starting from 8.2, or even may be 8.1.


Cheers,
Oleg

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/0f6ee6b2-c270-4ee8-a300-0a104af05438%40yandex.com.

Reply via email to