View Issue Details

IDProjectCategoryView StatusLast Update
0000728bareos-core[All Projects] webuipublic2018-08-09 10:25
ReporterexcaliburAssigned Tofrank 
PriorityhighSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
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

Activities

frank

frank

2017-01-26 14:12

manager   ~0002531

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.
achazot

achazot

2017-02-22 08:42

reporter   ~0002578

Last edited: 2017-02-22 08:44

View 2 revisions

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.

khetzal

khetzal

2017-02-23 14:02

reporter   ~0002580

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
frank

frank

2017-03-02 16:51

manager   ~0002590

You are both able to restore via bconsole to another client and just webui is making trouble in that case?
achazot

achazot

2017-03-06 09:25

reporter   ~0002600

It's work with bconsole. Trouble only with webui.
riot

riot

2017-05-30 17:29

reporter   ~0002644

Last edited: 2017-05-30 17:31

View 2 revisions

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.

lankme

lankme

2018-08-09 10:25

reporter   ~0003097

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