I have BareOS installed and it has been working perfectly until this
morning when I encountered the following bug in the WebUI.
*Summary:*
After logging into the WebUI, a blank page loads. Reloading the page
results in the following error message:
*Access denied*
Permission to execute the following commands is required:
list,llist,use,version,.api,.clients,.help
Read theBareos documentation
<https://docs.bareos.org/IntroductionAndTutorial/InstallingBareosWebui.html#configuration-details>on
how to configure ACL settings in your Console/Profile resources.
*BareOS Version:* 19.2.6 (11 February 2020)
Linux-3.10.0-1062.9.1.el7.x86_64 ubuntu Ubuntu 18.04 LTS
*OS Version:* Ubuntu 18.04.4 LTS
*What I Have Checked:*
1. using bconsole, I checked the status of all BareOS components and
they are all normal. In addition last night's backups all completed
sucessfully
2. checked /var/log/apache2/error.log and found the following error:
|[Wed Feb 12 08:42:45.725166 2020] [php7:error] [pid 24275] [client
xx.xx.xx.xx:38130] ||
||
||PHP Fatal error: Uncaught Error: Call to a member function prepare()
on null in
/usr/share/bareos-webui/module/Auth/view/auth/auth/login.phtml:45||
||
||Stack trace:||
||#0
/usr/share/bareos-webui/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(501):
include()||
||
||#1
/usr/share/bareos-webui/vendor/zendframework/zend-view/src/View.php(205):
Zend\\View\\Renderer\\PhpRenderer->render(NULL)||
||
||#2
/usr/share/bareos-webui/vendor/zendframework/zend-view/src/View.php(233):
Zend\\View\\View->render(Object(Zend\\View\\Model\\ViewModel))||
||
||#3
/usr/share/bareos-webui/vendor/zendframework/zend-view/src/View.php(198):
Zend\\View\\View->renderChildren(Object(Zend\\View\\Model\\ViewModel))||
||
||#4
/usr/share/bareos-webui/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(103):
Zend\\View\\View->render(Object(Zend\\View\\Model\\ViewModel))||
||
||#5 [internal function]:
Zend\\Mvc\\View\\Http\\DefaultRenderingStrategy->render(Object(Zend\\Mvc\\MvcEvent))||
||
||#6
/usr/share/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(444):
call_user_func(Arra in
/usr/share/bareos-webui/module/Auth/view/auth/auth/login.phtml on line
45, referer: http://bareos.tlh.delta-tech.com/bareos-webui/|
*What Has Been Changed:*
The only change to the system is that libxml was upgraded:
Upgraded:
libxml2:amd64 2.9.4+dfsg1-6.1ubuntu1.2 => 2.9.4+dfsg1-6.1ubuntu1.3
*What I have Tried:*
1. cleared cache on browser - no change
2. restarted all bareos components and apache - no change
Any advice on how I might fix this problem would be greatly appreciated.
--
Rick Sutphin
Project Manager
Delta Technologies, Inc.
P.O. Box 2301
Tallahassee, FL 32316-2301
Ofc: 850.575.3977
Fax: 850.575.3908
Cell: 850.251.2345
https://delta-tech.com
Licenses: EF-20000414, ES-0000212 (FL) & LVU-40502 (GA)
--
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/01d126e1-e940-5bad-4835-d56c10b208b2%40delta-tech.com.