Here is an extract from baculum-api.log

1353 is the job I was restoring from.

The path= is blank which is what I see in the API page at Step 3.

, File=/var/www/baculum/protected/API/Class/Bconsole.php, Line=201
(line 67, /var/www/baculum/protected/Common/Class/Logging.php)
Nov 05 20:46:36 [Debug] [Execute] Command=sudo /usr/sbin/bconsole -c
/etc/bacula/bconsole.conf -D homeserver-dir 2>&1 <<END_OF_DATA
gui on
.bvfs_lsdirs jobid="1353" path=""
quit
END_OF_DATA, Output=Array
(
    [0] => Connecting to Director 192.168.1.126:9101
    [1] => 1000 OK: 103 homeserver-dir Version: 9.2.1 (12 August 2018)
    [2] => Enter a period to cancel a command.
    [3] => gui on
    [4] => .bvfs_lsdirs jobid="1353" path=""
    [5] => Using Catalog "MyCatalog"
    [6] => quit
)
, File=/var/www/baculum/protected/API/Class/Bconsole.php, Line=201
(line 67, /var/www/baculum/protected/Common/Class/Logging.php)
Nov 05 20:46:36 [Debug] [Execute] Command=sudo /usr/sbin/bconsole -c
/etc/bacula/bconsole.conf -D homeserver-dir 2>&1 <<END_OF_DATA
gui on
.bvfs_lsfiles jobid="1353" path=""
quit
END_OF_DATA, Output=Array
(
    [0] => Connecting to Director 192.168.1.126:9101
    [1] => 1000 OK: 103 homeserver-dir Version: 9.2.1 (12 August 2018)
    [2] => Enter a period to cancel a command.
    [3] => gui on
    [4] => .bvfs_lsfiles jobid="1353" path=""
    [5] => Using Catalog "MyCatalog"
    [6] => quit



Regards
Chris Wilkinson

On Mon, 5 Nov 2018, 8:14 p.m. Marcin Haba <ganius...@gmail.com wrote:

> Hello Chris,
>
> I think that there isn't direct relation between changing password and
> this problem with 3rd step of the restore wizard.
>
> To check why the files list is empty you can enable debug from the API
> side as described here:
>
>
> http://www.bacula.org/9.2.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION00350000000000000000
>
> When you reproduce this problem then in the baculum-api.log you can
> see bconsole commands started with ".bvfs_" for example .bvfs_lsdirs
> and .bvfs_lsfiles. Do you see there any directory list or file list
> output for them?
>
> Best regards.
> Marcin Haba (gani)
> On Mon, 5 Nov 2018 at 09:33, Chris Wilkinson <winstonia...@gmail.com>
> wrote:
> >
> > Since I changed the Web and API password in config as you suggested, I'm
> finding that Step 3 of the restore wizard shows an empty file selection
> list.
> >
> > Everything else seems to be working just fine.
> >
> > What could I do to debug the cause of this?
> >
> > Regards
> > Chris Wilkinson
> >
> > On Thu, 25 Oct 2018, 6:20 p.m. Marcin Haba <ganius...@gmail.com wrote:
> >>
> >> Hello Chris,
> >>
> >> I am seeing the problem with the error page and links. I fixed it and
> >> in next versions you should be able to go to config wizard to change
> >> the password.
> >>
> >> Workarround for you can be editing this file on host with Baculum Web:
> >>
> >> /usr/share/baculum/htdocs/protected/Web/Config/hosts.conf
> >>
> >> then finding there section with the API host, which password you
> >> changed, and update the "password" option to the new one.
> >>
> >> Best regards.
> >> Marcin Haba (gani)
> >> On Wed, 24 Oct 2018 at 21:54, Chris Wilkinson <winstonia...@gmail.com>
> wrote:
> >> >
> >> > I changed the password for the API to something other than the
> default 'admin'.
> >> >
> >> > The web interface now complains
> >> >
> >> > Baculum problem
> >> >
> >> > Error 100 - Problem with connection to remote host. cURL error 0: .
> >> >
> >> > Unauthorized
> >> >
> >> >
> >> > TRY AGAIN or run Baculum Initial Wizard
> >> >
> >> > Neither of these links are operative.
> >> >
> >> > If I reset the API password back to admin it all works again.
> >> >
> >> > How should I change the passwords of the API and Web interface?
> >> >
> >> > Regards
> >> > Chris Wilkinson
> >> > _______________________________________________
> >> > 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
>
>
>
> --
> "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