View Issue Details

IDProjectCategoryView StatusLast Update
0001059bareos-core[All Projects] webuipublic2019-07-09 14:27
ReporterbillgAssigned Toastoorangi 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSCentOSOS Version7
Product Version18.2.5 
Target VersionFixed in Version19.2.1 
Summary0001059: Webui spams Apache error_log with bconsole messages
DescriptionThe additional output when logging in to bconsole using the community packages, as well as when compiled from source code, displaying the notice that it is the community version results in Bareos spamming the Apache error_log whenever the webui is in use.

Example of spam now appearing in Apache's error_log file-
[root@backup ~]# >/var/log/httpd/error_log
[root@backup ~]# tail -f /var/log/httpd/error_log
[Sat Feb 16 12:10:27.343815 2019] [:error] [pid 6028] [client 127.0.0.1:60788] admin, referer: https://backup/
[Sat Feb 16 12:10:27.343879 2019] [:error] [pid 6028] [client 127.0.0.1:60788] console_name: admin, referer: https://backup/
[Sat Feb 16 12:10:27.387309 2019] [:error] [pid 6028] [client 127.0.0.1:60788] 1002\x1ebareos.org build binary\nbareos.org binaries are UNSUPPORTED by bareos.com.\nGet official binaries and vendor support on https://www.bareos.com\nYou are logged in as: admin, referer: https://backup/
[Sat Feb 16 12:10:28.062552 2019] [:error] [pid 5808] [client 127.0.0.1:60820] console_name: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:28.104348 2019] [:error] [pid 5808] [client 127.0.0.1:60820] 1002\x1ebareos.org build binary\nbareos.org binaries are UNSUPPORTED by bareos.com.\nGet official binaries and vendor support on https://www.bareos.com\nYou are logged in as: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:28.206117 2019] [:error] [pid 6024] [client 127.0.0.1:60822] console_name: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:28.248259 2019] [:error] [pid 6024] [client 127.0.0.1:60822] 1002\x1ebareos.org build binary\nbareos.org binaries are UNSUPPORTED by bareos.com.\nGet official binaries and vendor support on https://www.bareos.com\nYou are logged in as: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:29.868490 2019] [:error] [pid 6027] [client 127.0.0.1:60824] console_name: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:29.910374 2019] [:error] [pid 6027] [client 127.0.0.1:60824] 1002\x1ebareos.org build binary\nbareos.org binaries are UNSUPPORTED by bareos.com.\nGet official binaries and vendor support on https://www.bareos.com\nYou are logged in as: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:30.009492 2019] [:error] [pid 6028] [client 127.0.0.1:60788] console_name: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:30.051350 2019] [:error] [pid 6028] [client 127.0.0.1:60788] 1002\x1ebareos.org build binary\nbareos.org binaries are UNSUPPORTED by bareos.com.\nGet official binaries and vendor support on https://www.bareos.com\nYou are logged in as: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:34.021259 2019] [:error] [pid 6028] [client 127.0.0.1:60788] console_name: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:34.062302 2019] [:error] [pid 6028] [client 127.0.0.1:60788] 1002\x1ebareos.org build binary\nbareos.org binaries are UNSUPPORTED by bareos.com.\nGet official binaries and vendor support on https://www.bareos.com\nYou are logged in as: admin, referer: https://backup/dashboard/
[Sat Feb 16 12:10:34.480549 2019] [:error] [pid 6028] [client 127.0.0.1:60788] console_name: admin, referer: https://backup/schedule//
[Sat Feb 16 12:10:34.522273 2019] [:error] [pid 6028] [client 127.0.0.1:60788] 1002\x1ebareos.org build binary\nbareos.org binaries are UNSUPPORTED by bareos.com.\nGet official binaries and vendor support on https://www.bareos.com\nYou are logged in as: admin, referer: https://backup/schedule/
Steps To Reproduce# Install Bareos 17.2.x on Centos7 with Apache

# Update to 18.2.5
wget http://download.bareos.org/bareos/release/latest/CentOS_7/bareos.repo -O /etc/yum.repos.d/bareos.repo
yum update -y
reboot
tail -f /var/log/httpd/error_log

# Use the Bareos web UI
TagsNo tags attached.
bareos-master: impact
bareos-master: actionfixed
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

readonly

readonly

2019-07-09 11:22

viewer   ~0003422

Fix committed to bareos master branch with changesetid 11568.

Related Changesets

bareos: master 8fd7e899

2019-07-08 15:47:49

Tobias Plum

Ported: N/A

Details Diff
webui: Fixed always active debug messages in error.log

Fixes 0001059: Webui spams Apache error_log with bconsole messages
Affected Issues
0001059
mod - webui/module/Auth/src/Auth/Controller/AuthController.php Diff File
mod - webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php Diff File

Issue History

Date Modified Username Field Change
2019-02-16 19:16 billg New Issue
2019-07-03 09:59 joergs Assigned To => astoorangi
2019-07-03 09:59 joergs Status new => assigned
2019-07-09 11:22 Changeset attached => bareos master 8fd7e899
2019-07-09 11:22 readonly Note Added: 0003422
2019-07-09 14:27 astoorangi Status assigned => resolved
2019-07-09 14:27 astoorangi Resolution open => fixed
2019-07-09 14:27 astoorangi Fixed in Version => 19.2.1
2019-07-09 14:27 astoorangi bareos-master: action => fixed