Hello Xavier,

It is not a problem in Baculum but in the bdirjson tool in Ubuntu
20.04 and Ubuntu 20.10 packages. I reported it in Launchpad and with
help Bacula Debian package maintainers it has been fixed. This problem
affects Ubuntu packages only. More about it you can read here:

https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1898006
https://bugs.bacula.org/view.php?id=2557

First version in Ubuntu repositories where it has been fixed is
9.6.6-2 that is not available yet for 20.04 and 20.10. For the
solution, you can wait on the 9.6.6-2 packages or you can compile
Bacula self.

Best regards,
Marcin Haba (gani)

On Thu, 12 Nov 2020 at 01:52, Xavier Clemens <fossy....@c0ncep1.com> wrote:
>
> Hi,
>
> I've got a problem configuring items via baculum. When I try to change
> the configuration i. e. of a client the entries below show up in the api
> debug file. Configure something which resides in the bacula-sd.conf
> works fine and the bacula-director daemon has no problem with the config
> file itself and since everything is working on the bacula side, it seems
> to be something wrong one the baculum side.
>
> I'm running the package installation of bacula from ubuntu and I tried
> the following combinations so far, but the error remains:
> 1st inst: ubuntu 20.04 LTS, bacula 9.4.2, baculum 9.6.6.1
> 2nd inst: ubuntu 20.10, bacula 9.6.5, baculum 9.6.6.1
> and now: ubuntu 20.10, bacula 9.6.5, baculum 9.6.6.2
>
> Here comes the debug:
>
> Nov 12 01:09:55 [Debug] [Application] Command=formatDirectiveValue,
> Output=Attemp to format a directive value with not supported value type
> 'NULL'.,
> File=/usr/share/baculum/htdocs/protected/API/Class/BaculaSetting.php,
> Line=516 (line 74,
> /usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
> Nov 12 01:09:55 [Debug] [Application] Command=formatDirectiveValue,
> Output=Attemp to format a directive value with not supported value type
> 'NULL'.,
> File=/usr/share/baculum/htdocs/protected/API/Class/BaculaSetting.php,
> Line=516 (line 74,
> /usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
> Nov 12 01:09:55 [Debug] [Execute] Command=sudo /usr/sbin/bdirjson -c
> /tmp/config_HUn5ma "-t" 2>&1, Output=Array
> (
>      [0] => bacula-dir: ERROR TERMINATION at lex.c:875
>      [1] => Config error: expected a name, got T_EOL: =
>      [2] =>             : line 99, col 13 of file /tmp/config_HUn5ma
>      [3] =>   Storage =
>      [4] =>
>      [5] => 12-Nov 01:09 bacula-dir: ERROR TERMINATION at lex.c:875
>      [6] => Config error: expected a name, got T_EOL: =
>      [7] =>             : line 99, col 13 of file /tmp/config_HUn5ma
>      [8] =>   Storage =
>      [9] =>
> )
> , File=/usr/share/baculum/htdocs/protected/API/Class/JSONTools.php,
> Line=114 (line 74,
> /usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
> Nov 12 01:09:55 [Debug] [Application] Command=validateConfig,
> Output=ERROR [dir] JSON tool returned wrong exitcode.
>   Output:bacula-dir: ERROR TERMINATION at lex.c:875
> Config error: expected a name, got T_EOL: =
>              : line 99, col 13 of file /tmp/config_HUn5ma
>    Storage =
>
> 12-Nov 01:09 bacula-dir: ERROR TERMINATION at lex.c:875
> Config error: expected a name, got T_EOL: =
>              : line 99, col 13 of file /tmp/config_HUn5ma
>    Storage =
> , File=/usr/share/baculum/htdocs/protected/API/Class/BaculaConfig.php,
> Line=110 (line 74,
> /usr/share/baculum/htdocs/protected/Common/Class/Logging.php)
>
>
>
> Thanks in advance.
>
> --
> LLAP \\//
> Xavier
>
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to