Hello Chris, Thanks for providing all these outputs.
It looks that for some reason the Bvfs ls commands didn't return any output and it caused that the restore file browser was empty. It can mean that the Bvfs cache wasn't generated correctly. The empty path="" is OK. Could you check in the baculum-api.log if ".bvfs_update jobid=XXX" command was executed and what was the execution result? If you see anything wrong there then could I ask you about executing the following bconsole command? .bvfs_update jobid=1353 It will update Bvfs cache for selected job. After that could you try to restore in the Baculum the job with jobid equal 1353 again? Thanks in advance for help. Best regards. Marcin Haba (gani) On Mon, 5 Nov 2018 at 23:56, Chris Wilkinson <winstonia...@gmail.com> wrote: > > Update: An example job (Job 1353) can be run successfully using bconsole > commands. > > $# bconsole > > *restore jobid=1353 > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > You have selected the following JobId: 1353 > > Building directory tree for JobId(s) 1353 ... > ++++++++++++++++++++++++++++++++++++++++++++ > 489 files inserted into the tree. > > You are now entering file selection mode where you add (mark) and > remove (unmark) files to be restored. No files are initially added, unless > you used the "all" keyword on the command line. > Enter "done" to leave this mode. > > cwd is: / > $ mark * > 525 files marked. > $ done > Bootstrap records written to /var/lib/bacula/server-dir.restore.4.bsr > > The Job will require the following (*=>InChanger): > Volume(s) Storage(s) SD Device(s) > =========================================================================== > > documents0021 documents-sd documents-dev > > Volumes marked with "*" are in the Autochanger. > > > 525 files selected to be restored. > > Defined Clients: > 1: ... > 2: documents-fd > 3: .... > .... > 11: .... > Select the Client (1-11): 2 > Using Catalog "MyCatalog" > Run Restore job > JobName: RestoreFiles > Bootstrap: /var/lib/bacula/server-dir.restore.4.bsr > Where: /tmp/restore > Replace: Always > FileSet: chrisw > Backup Client: documents-fd > Restore Client: documents-fd > Storage: documents-sd > When: 2018-11-05 22:28:21 > Catalog: MyCatalog > Priority: 10 > Plugin Options: *None* > OK to run? (yes/mod/no): yes > Job queued. JobId=1373 > *exit > $# > > When this completes, everything is good in the Job log and the expected files > are found in /tmp/restore > > Regards > Chris Wilkinson > > On Mon, 5 Nov 2018, 9:21 p.m. Chris Wilkinson <winstonia...@gmail.com wrote: >> >> Correction, I should have written *WEB* page at Step 3. >> >> Regards >> Chris Wilkinson >> >> On Mon, 5 Nov 2018, 9:10 p.m. Chris Wilkinson <winstonia...@gmail.com wrote: >>> >>> 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 -- "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