View Issue Details

IDProjectCategoryView StatusLast Update
0001059bareos-corewebuipublic2019-12-18 15:24
Reporterbillg Assigned Toastoorangi  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSCentOSOS Version7
Product Version18.2.5 
Fixed 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.

Relationships

related to 0001152 closedarogge Release Bareos 18.2.7 

Activities

readonly

readonly

2019-07-09 11:22

viewer   ~0003422

Fix committed to bareos master branch with changesetid 11568.
astoorangi

astoorangi

2019-08-01 12:22

developer   ~0003551

Fix committed to bareos bareos-18.2 branch with changesetid 11627.

Related Changesets

bareos: master 8fd7e899

2019-07-08 17:47

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

bareos: bareos-18.2 3b10065b

2019-07-08 17:47

astoorangi


Committer: frank

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-08-01 12:22 frank Changeset attached => bareos bareos-18.2 3b10065b
2019-08-01 12:22 astoorangi Note Added: 0003551
2019-12-12 13:29 arogge Relationship added related to 0001152
2019-12-18 15:24 arogge Status resolved => closed