Hello @sj101,
Your bdirjson
setting looks almost fine. If you don't want to be able to configure the storage daemon, file daemon and bconsole, then I would propose to keep the appropriate fd, sd and bcons options empty.
If you have on that host the storage daemon, file daemon or bconsole and you would like to be able to configure them through the web interface, then you need to adapt fd, sd and bcons options to valid existing paths.
To set all this setting and to validate it, please log in to the API panel of the desired API host. It is in address:
http://yourapihost:9097/panel
There please go to:
[Main API menu] => [Page: Settings] => [Tab: Config]
Once you are there, please set empty paths to Bacula components (sd, fd, bcons) that you do not want to configure on the web interface. At the end, please run the Test configuration
button at the bottom. Is everything fine? If not, then you will see error message with the reason why it is not working.
The most common error is that the bdirjson
sudo setting is missing in the sudoers file. If it is this case, please copy the ready sudo configuration from the Get sudo configuration
link, put it to the Bacula sudoers.d file (usually in /etc/sudoers.d/
) and run the Test configuration
once again.
When the API host config test will start be valid (with green color), please save the form, leave the API panel and come back to the Bacularis web interface. Then please switch between API hosts on the web interface in the API host list at the top right. I mean switching from one host to another and then come back to the desired API host. This is needed to reload the session variables that are responsible for displaying and accessing the Bacula config elements (including buttons, that you are looking for). Another way to reload the session variables it to log out and log in.
At the end, I have one extra tip for you. In the Application settings page (the gear wheel button at the top left side of the web interface) on the Health self test
tab you can find test suite that is capable to test all your API host configuration and display results if everything with this API host is fine.
Please let us know if you were able to make it working.
Best regards,
Marcin Haba (gani)