webui fresh installation don't loads the page

54 views
Skip to first unread message

krz...@gmail.com

unread,
May 7, 2019, 2:19:11 AM5/7/19
to bareos-users
Hello, I have just done a fresh installation of bareos (latest) from repos on Debian 9 with webui. All seams to work fine apart for the problems with webui. It opens and I can login, but the page is nonresponsive. It loads the contents continously.
In the apache2 logs there is an error:
PHP Notice: Undefined index: meta in /usr/share/bareos-webui/module/Job/src/Job/Model/JobModel.php on line 126

What can be the issue?

Frank Ueberschar

unread,
May 8, 2019, 4:45:20 AM5/8/19
to bareos...@googlegroups.com
I can only guess that: Is TLS enabled for the webui console in the
director config? If you do not use TLS with Certificates you should
disable TLS (set at least TlsEnable=no, because TlsEnable is yes by
default).

Without given certificates our TLS will default to PSK which in turn
does not run with the PHP of the WebUi.

Am 07.05.19 um 08:19 schrieb krz...@gmail.com:
--
Mit freundlichen Grüßen

Frank Ueberschar frank.ue...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-88
http://www.bareos.com Fax: +49 221 63 06 93-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. Storz

Marcin Krzyżanowski

unread,
May 10, 2019, 6:27:17 PM5/10/19
to bareos-users
Hello Frank,
which director config do you have in mind:
a) /etc/bareos/bareos-dir.d/director/bareos-dir.conf (can't find here none of the TLS settings at all)
b) /etc/bareos/bareos-dir.d/console/admin.conf (here I've changed the default example file parameter TLSEnable from default Yes to No)
c) some other conf (where to find it)?

Frank Ueberschar

unread,
May 13, 2019, 9:16:06 AM5/13/19
to bareos...@googlegroups.com
b) is right

Am 11.05.19 um 00:27 schrieb Marcin Krzyżanowski:

Frank Bergkemper

unread,
May 13, 2019, 9:50:09 AM5/13/19
to bareos...@googlegroups.com
Am 07.05.19 um 08:19 schrieb krz...@gmail.com:
Hi!


Can you please provide the output of the following commands?


a) apt list --installed | grep bareos

b) pat list --installed | grep php


Regards,
Frank

--
Frank Bergkemper frank.be...@bareos.com
Bareos GmbH & Co. KG Phone: +49-221-630693-94
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
signature.asc

Marcin Krzyżanowski

unread,
May 13, 2019, 4:19:14 PM5/13/19
to bareos-users
Hallo Frank,

those are the information you requested. Do you think somenthing is missing?
root@backup:~# apt list --installed | grep bareos

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

bareos/stable,now 16.2.4-3+deb9u2 armhf [installed]
bareos-bconsole/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-client/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-common/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-database-common/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-database-mysql/stable,now 16.2.4-3+deb9u2 armhf [installed]
bareos-database-tools/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-director/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-filedaemon/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-storage/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-traymonitor/stable,now 16.2.4-3+deb9u2 armhf [installed,automatic]
bareos-webui/unknown,now 18.2.5-131.1 all [installed]


root@backup:~# apt list --installed | grep php

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libapache2-mod-php/stable,now 1:7.0+49 all [installed]
libapache2-mod-php7.0/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]
php-common/stable,now 1:49 all [installed,automatic]
php-curl/stable,now 1:7.0+49 all [installed,automatic]
php-date/stable,now 1.4.7-3 all [installed,automatic]
php-gettext/stable,now 1.0.12-0.1 all [installed,automatic]
php-intl/stable,now 1:7.0+49 all [installed,automatic]
php-mbstring/stable,now 1:7.0+49 all [installed,automatic]
php-pear/stable,stable,now 1:1.10.1+submodules+notgz-9+deb9u1 all [installed]
php-php-gettext/stable,now 1.0.12-0.1 all [installed,automatic]
php-xml/stable,now 1:7.0+49 all [installed,automatic]
php7.0/stable,stable,now 7.0.33-0+deb9u3 all [installed]
php7.0-cgi/stable,stable,now 7.0.33-0+deb9u3 armhf [installed]
php7.0-cli/stable,stable,now 7.0.33-0+deb9u3 armhf [installed]
php7.0-common/stable,stable,now 7.0.33-0+deb9u3 armhf [installed]
php7.0-curl/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]
php7.0-gd/stable,stable,now 7.0.33-0+deb9u3 armhf [installed]
php7.0-intl/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]
php7.0-json/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]
php7.0-mbstring/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]
php7.0-opcache/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]
php7.0-readline/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]
php7.0-xml/stable,stable,now 7.0.33-0+deb9u3 armhf [installed,automatic]


Thats all, do you think something is missing?

BR

Frank Bergkemper

unread,
May 14, 2019, 5:31:25 AM5/14/19
to bareos...@googlegroups.com
Am 13.05.19 um 22:19 schrieb Marcin Krzyżanowski:
You are mixing versions here, please use 16.2.x Bareos daemons with
16.2.x Bareos webui or 18.2.x daemons with 18.2.x webui.

Bareos WebUI compatibility between versions is not guaranteed in every
case.

Make sure to install the correct versions after adding
download.bareos.com or download.bareos.org repository as Debian itself
ships with an older Bareos version.
signature.asc
Reply all
Reply to author
Forward
0 new messages