Hi,
i installed a new bareos package on omnios and try to get the webui via 
nginx running. 
I get this error in the log file:

omnios2:~$ sudo tail -f /var/log/opt/ooce/nginx/error.log 


#6 
/var/www/webui/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): 
Zend\Mvc\Controller\AbstractController->dispat" while reading response 
header from upstream, client: 192.168.88.243, server: 192.168.88.11, 
request: "GET / HTTP/1.1", upstream: 
"fastcgi://unix:/var/opt/ooce/php/run/www-8.1.sock:", host: 
"192.168.88.11:9100"

2024/08/20 10:07:49 [error] 449#1: *23 FastCGI sent in stderr: "PHP 
message: PHP Warning:  Undefined array key "directors" in 
/var/www/webui/module/Auth/src/Auth/Controller/AuthController.php on line 
72PHP message: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 
($value) must be of type Countable|array, null given in 
/var/www/webui/module/Auth/src/Auth/Controller/AuthController.php:72

Stack trace:

#0 /var/www/webui/module/Auth/src/Auth/Controller/AuthController.php(72): 
count()

#1 
/var/www/webui/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82):
 
Auth\Controller\AuthController->loginAction()

#2 [internal function]: 
Zend\Mvc\Controller\AbstractActionController->onDispatch()

#3 
/var/www/webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(490):
 
call_user_func()

#4 
/var/www/webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(211):
 
Zend\EventManager\EventManager->triggerListeners()

#5 
/var/www/webui/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118):
 
Zend\EventManager\EventManager->trigger()

#6 
/var/www/webui/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): 
Zend\Mvc\Controller\AbstractController->dispat" while reading response 
header from upstream, client: 192.168.88.243, server: 192.168.88.11, 
request: "GET / HTTP/1.1", upstream: 
"fastcgi://unix:/var/opt/ooce/php/run/www-8.1.sock:", host: 
"192.168.88.11:9100"



In nginx the server is listening to port 9100, the bareos director is 
running and i can use the bconsole.
I have found something related to this, but it seems actually not relevant:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/13458


-- 
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 on the web visit 
https://groups.google.com/d/msgid/bareos-users/af6e8b0c-78d5-4a5c-a7b3-2d7a4d0e52e3n%40googlegroups.com.

Reply via email to