Bareos Config files können nicht über UCR variables modifiziert werden; Bareos Config files cannot be modified using the UCR variables

Hallo zusammen,

ich verwende UCS 4.1-4 da das update für Plucs für UCS 4.2 noch nicht bereitsteht. Bareos verwende ich in der neusten Version 16.2.5.

Seit dem letzten Paket update konnte ich mich nicht mehr in das Bareos Webui einloggen.
Gemäß Bareos - Login Webinterface nicht möglich habe ich “reload” über die bconsole durchgeführt.

Dies hat jedoch das Problem nicht gelöst. Außerdem wurden dadurch der “bareos-dir.conf” auf default settings zurückgesetzt. Merkwürdigerweise wird die von mir modifizierte template Version “/etc/univention/templates/files/etc/bareos/bareos-dir.conf” nicht mehr in “bareos-dir.conf” geschrieben/ überschrieben. Modifiziere ich also bareos UCR variables oder auch restarte “service bareos-dir” hat dies keinen effekt, ich kann also die default variables nicht mehr ändern.

Woran könnte dies liegen?

Vielen Dank im voraus und mit freundlichen Grüßen

nycbroker

Hello everyone,

I’m currently using UCS 4.1-4 as I’m using Plucs. I am also using the latest version of Bareos (16.2.5).

After having installed the latest package update and rebooting the server I am no longer able to log into the Bareos webui. As suggested by Bareos - Login Webinterface nicht möglich I executed the “reload” command in the bconsole.

Unfortunately, this did not resolve the problem. In addition, “bareos-dir.conf” has been reset to its default values as expected. However, I modified the values in the template director conf file “/etc/univention/templates/files/etc/bareos/bareos-dir.conf” and these altered values are no longer written in “bareos-dir.conf”. To put it differently, modifying the bareos UCR variables or restarting “service bareos-dir” seems to have literally no effect on the bareos config files.

Any ideas?

Kind regards,

nycbroker

Hello nycbroker,

We also had some issues while upgrading bareos to v16.2.4 because bareos changed its config (file) structure completely and there seems to be no (well-working) automatic migration script.
Now config files are splitted in smaller files residing in

/etc/bareos/bareos-dir.d/
/etc/bareos/bareos-sd.d/
/etc/bareos/bareos-fd.d/

.
(for each daemon or service).

Same with template generated parts of bareos config, e.g. /etc/univention/templates/files/etc/bareos/bareos-dir.d/pool/Incremental.conf
But not all parts are template generated.

I migrated my existing config manually, committed template parts with
ucr commit $configfile_path_in_etc
and reloaded all bareos services.

Hope this helps & regards,
Robert

Mastodon