On 31-07-2024 14:31, Marcin Haba wrote:
On Wed, 31 Jul 2024 at 14:08, Kees Bakker <ke...@ghs.com> wrote:


    I have now enabled Config. Two problems:

    1. On the Director details page, it does not show the "Configure
    director" tab.


Hello Kees,
Hi Marcin,

To have the configuration function enabled, this config capability needs to be enabled in the API. It is this section in the initial wizard where originally you answered 'no'. To enable it you don't need to go through all the wizard once again, but you can go to the API panel

[Main menu] => [Page: API Panel]

then log in to the API panel and then please go to:

[Main menu] => [Page: Settings] => [Tab: Config]

Alternatively it is also available at this address:

https://YOUR_HOST/panel/settings/#settings_config <https://YOUR_HOST/panel/settings/#settings_config>

There you can configure which Bacula components you would like to use with this API instance. In this case it will be Director, so you need to configure the bdirjson tool settings in that form.

That was already done. "Test configuration" marks all sections with OK.

Something is working, because I can see the Storage configuration. Client configurations are visible too, except they all show the data from the one FD Client.
However, the "Configure director" tab is missing.


    2. If I select one of the other clients (not the client where
    Apache is running) and go to the details of the client, next click
    "Configure file daemon" tab, I am getting the details of the
    client where Apache is running (in other words the FD client where
    the Director is). There is no error message, but this is clearly
    wrong. Is this a known issue?

On the Client details page you can see the main FD settings from Director host if on the FD side does not work Bacularis API. This is default behavior. It could be better, I know.
I think it is a bug. Not "it could be better" :-)

Another case when it can happen is if the Bacularis API is installed and configured on the FD host but the FD address used in Bacula and that Bacularis FD API host address are different. In this case you can switch the FD API host to the right one on the Client details page on the green menu bar on the right side. There is a combobox with the FD API hosts to select.

Until now I have a hard time understanding where the API component lives. You make it sound as if I can have a separate API component installed  somewhere. That's not the case. There is only a Bacularis package to be installed, which is a web interface to Bacula.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to