View Issue Details

IDProjectCategoryView StatusLast Update
0001585bareos-corewebuipublic2023-12-21 13:50
Reportermariontrs Assigned Tobruno-at-bareos  
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSSLESOS Version15
Product Version22.1.3 
Summary0001585: Bareos 23 - webui and php-fpm conflicts
DescriptionWe are encountering issues while installing the bareos community version 23. We are working on a SLES SP4 with Apparmor installed.

We started with the bareos server by installing the bareos, bareos-webui and postgresql-server packages. We followed the official documentation but when accessing the webui-page we got an 403 issue.

Here are some details of what we tried:
- basic checks: firewall rules, files access rights, apparmor profile
- check php-fpm status, try with a basic info.php with "phpinfo();", it isn't interpreted but downloaded instead
- try to install apache2-mod_php7 instead, the info.php works correctly but then not bareos-webui since it should work with php-fpm only
- try the installation on ubuntu 22 and debian 10
- following the php-fpm configuration from SUSE, then we have an "access denied"

Our best lead is that we have a configuration issue between bareos-webui and php-fpm.
Steps To ReproduceBareos webui installation
https://docs.bareos.org/bareos-23/IntroductionAndTutorial/BareosWebui.html#installation
Minimal configuration
https://docs.bareos.org/bareos-23/IntroductionAndTutorial/BareosWebui.html#minimal-configuration
+ SUSE php-fpm config
https://en.opensuse.org/SDB:Apache_FastCGI_and_PHP-FPM_configuration
Tagserrors, webui, WebUI中

Activities

bruno-at-bareos

bruno-at-bareos

2023-12-20 14:32

manager   ~0005653

Hello,

Did you tried the recommended approach in documentation, to put apparmor in complain mode only and see what is reported in log ?
Did you analyze the output of apache access log and error log.
bruno-at-bareos

bruno-at-bareos

2023-12-21 13:50

manager   ~0005660

After setting up a working apache2 / php-fpm system the webui work as documented

Issue History

Date Modified Username Field Change
2023-12-19 17:35 mariontrs New Issue
2023-12-19 17:35 mariontrs Tag Attached: errors
2023-12-19 17:35 mariontrs Tag Attached: webui
2023-12-19 17:35 mariontrs Tag Attached: WebUI中
2023-12-20 14:32 bruno-at-bareos Note Added: 0005653
2023-12-20 15:03 bruno-at-bareos Assigned To => bruno-at-bareos
2023-12-20 15:03 bruno-at-bareos Status new => assigned
2023-12-21 13:50 bruno-at-bareos Status assigned => closed
2023-12-21 13:50 bruno-at-bareos Resolution open => no change required
2023-12-21 13:50 bruno-at-bareos Note Added: 0005660