Hi Oleg,

Under Linux (openSUSE Tumbleweed here) bareos webui works with php 8.3.14 
and apache 2.4.62 

So I would say it is more related to FreeBSD installation maybe something 
is not similar for the php-fpm engine
or rights are not well defined for session cookies. or log etc ....

On Tuesday, 26 November 2024 at 16:53:02 UTC+1 Oleg Cherkasov wrote:

> 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/2f281e26-799d-4d3c-8859-4bb4cac4af61n%40googlegroups.com.

Reply via email to