Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000728bareos-core[All Projects] webuipublic2016-11-25 11:152018-08-09 10:25
Reporterexcalibur 
Assigned Tofrank 
PriorityhighSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformLinuxOSCentOSOS Version7
Product Version16.2.4 
Target VersionFixed in Version 
Summary0000728: restore to the different client doesn't work
DescriptionWhen I tried restore backup to another host (client) in the web-ui I got:

https://www.dropbox.com/s/jh9s33mwzpok2jb/Screenshot%202016-11-25%2012.10.16.png?dl=0 [^]

and restore doesn't start

apache log:

[Fri Nov 25 10:31:15 2016] [error] [client 192.168.1.120] PHP Warning: unpack(): Type N: not enough input, need 4, have 0 in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 170, referer: http://myhost.com/backuper/restore/?type=client&jobid=&client=excalibur-192.168.1.125-fd&restoreclient=&restorejob=&where=&fileset=&mergefilesets=0&mergejobs=0 [^]
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action
Attached Files

- Relationships

-  Notes
(0002531)
frank (manager)
2017-01-26 14:12

I'm not able to reproduce what you have reported, yet.

Can you please describe more detailed and in order the steps you have done to achieve the restore to another client (additional screenshots would be great but optional)?

That would be very helpful to reproduce the issue.

Thanks in advance.
(0002578)
achazot (reporter)
2017-02-22 08:42
edited on: 2017-02-22 08:44

Exactly the same trouble today.
I've reproduce this bug with a newly added client, and want to restore on it a HUGE backup from another machine.
Tested with Firefox and Opera.

(0002580)
khetzal (reporter)
2017-02-23 14:02

Hello,

I've the same problem restoring percona xtradb backup.
It work for some destination hosts but not all, and I don't know the difference between the ones that work and the ones that not work, so it won't help much
(0002590)
frank (manager)
2017-03-02 16:51

You are both able to restore via bconsole to another client and just webui is making trouble in that case?
(0002600)
achazot (reporter)
2017-03-06 09:25

It's work with bconsole. Trouble only with webui.
(0002644)
riot (reporter)
2017-05-30 17:29
edited on: 2017-05-30 17:31

I'm also having this problem. It doesn't seem to write anything useful in any log.

The JOB is Running infinitely.

Restoring to local machine or to the same client where from backups are done goes well.

(0003097)
lankme (reporter)
2018-08-09 10:25

Same problem:
---------apache errorlog----------------
[Thu Aug 09 10:16:09.287787 2018] [:error] [pid 854] [client 192.168.1.100:60968] PHP Warning: unpack(): Type N: not enough input, need 4, have 0 in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 170, referer: http://bareos/bareos-webui/restore/?type=client&jobid=1186&client=pc-user1-tp-fd&restoreclient=&restorejob=&where=&fileset=&mergefilesets=0&mergejobs=0&limit=2000 [^]
-----------------------------------------
root@bareos:/home/# uname -a
Linux bareos 4.9.0-7-amd64 0000001 SMP Debian 4.9.110-3+deb9u1 (2018-08-03) x86_64 GNU/Linux
root@bareos:/home/# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Codename: stretch
root@bareos:/home/# dpkg -l | grep bare
ii bareos 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - metapackage
ii bareos-bconsole 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - text console
ii bareos-client 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - client metapackage
ii bareos-common 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - common files
ii bareos-database-common 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - common catalog files
ii bareos-database-postgresql 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - PostgreSQL backend
ii bareos-database-tools 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - database tools
ii bareos-director 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - director daemon
ii bareos-filedaemon 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - file daemon
ii bareos-storage 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - storage daemon
ii bareos-tools 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - common tools
ii bareos-webui 17.2.4-15.1 all Backup Archiving Recovery Open Sourced - webui

- Issue History
Date Modified Username Field Change
2016-11-25 11:15 excalibur New Issue
2016-11-30 15:55 frank Assigned To => frank
2016-11-30 15:55 frank Status new => assigned
2017-01-26 14:12 frank Note Added: 0002531
2017-01-26 14:12 frank Status assigned => feedback
2017-02-22 08:42 achazot Note Added: 0002578
2017-02-22 08:44 achazot Note Edited: 0002578 View Revisions
2017-02-23 14:02 khetzal Note Added: 0002580
2017-03-02 16:51 frank Note Added: 0002590
2017-03-06 09:25 achazot Note Added: 0002600
2017-05-30 17:29 riot Note Added: 0002644
2017-05-30 17:31 riot Note Edited: 0002644 View Revisions
2017-05-30 18:30 frank Status feedback => acknowledged
2017-05-30 18:30 frank Priority normal => high
2018-08-09 10:25 lankme Note Added: 0003097


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker