Re: [Bacula-users] Mysql / status client discrepancy

2018-05-28 Thread Tilman Schmidt
You may want to have a look at the raw result of the two commands mysql bacula -e "select * from Client" -ss echo "status client" | bconsole After saving both to files and massaging them a bit with sed or a similar tool, you should be able to feed them to diff and find out where the difference co

Re: [Bacula-users] editing config files with baculum

2018-05-28 Thread Vanush "Misha" Paturyan
On Mon, 28 May 2018 at 19:56 Vanush "Misha" Paturyan wrote: > You can either make the files owned by a group that the web server user > belongs to (typically www-data), > That should read "...make the file BE owned by a group..." --

Re: [Bacula-users] editing config files with baculum

2018-05-28 Thread Vanush "Misha" Paturyan
You can either make the files owned by a group that the web server user belongs to (typically www-data), and then set permissions to 660 or 664, or you can add the user that web server runs under (again, typically www-data) a member of the "bacula" group (if such group exists), and make files be gr

Re: [Bacula-users] editing config files with baculum

2018-05-28 Thread Marcin Haba
Hello Matthias, The Baculum API to work uses web server that, in case using config module, requires access to read and write Bacula config files. You can set appropriate permissions to these files or you can manipulate user or/and group or you can change web server user or group. Unfortunately thi

[Bacula-users] Mysql / status client discrepancy

2018-05-28 Thread Steffen Schwebel
Hello, Ive been working with Bacula and see a discrepany I cant explain: mysql bacula -e "select * from Client" -ss | wc -l 336 echo "status client" | bconsole | wc -l 241 I tried to use the dbcheck to correct this mismatch. But that is showing me 16 orhpaned clients. It should close to a hundr

[Bacula-users] Bacula 9.0.8 released

2018-05-28 Thread Kern Sibbald
Hello, We are pleased to announce that we have just released Bacula version 9.0.8 to Source Forge (and later this evening on www.bacula.org). This is a minor release that fixes a couple of bugs and corrects some copyrights that were not t

[Bacula-users] editing config files with baculum

2018-05-28 Thread Matthias Leopold
Hi, i just started to explore baculum. One of the first things i tried was editing config files on API hosts. This only works when setting permissions of the config files to 666, else i get Error 1000: Internal error. [Warning] file_put_contents(/etc/bacula/bacula-fd.conf): failed to open st