View Issue Details

IDProjectCategoryView StatusLast Update
0001531bareos-corestorage daemonpublic2023-09-13 16:05
Reportermpflash Assigned Tobruno-at-bareos  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionreopened 
PlatformWindowsOSWindowsOS Version10
Product Version22.0.3 
Summary0001531: bextractor.exe write only one zero file, if enabled compression in "fileset"
Descriptionbextractor.exe on Windows10x64 write only one zero file, if enabled any compression (GZIP/LZO/LZ4) in "fileset".

Recovery from WEBUI always work! 100%!
Additional InformationFileSet {
  Enable VSS = no
  Name = "All-DOC-XLS"
  Include {
     Options {
        wildFile = "*.jpg"
        wildFile = "*.jpeg"
        wildFile = "*.doc*"
        wildFile = "*.xls*"
        wildFile = "*.csv*"
        wildFile = "*.pdf"
        wildFile = "*.txt"
        wildFile = "*.rtf"
        signature = MD5
        compression = GZIP
        IgnoreCase = yes
        }
     Options {
        RegexFile = ".*"
        exclude = yes
     }
     File = "C:/Users/USER/desktop"
     File = "C:/Users/USER/Documents"
     File = "C:/Users/USER/Pictures"
     File = "D:/desktop"
     File = "D:/Documents"
     File = "D:/Pictures"

  }
}
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-04-26 09:34

manager   ~0004983

There's no bextractor.exe executable delivered by Bareos, So it is hard to understand your trouble.
Also to be acceptable as a bug, we need to reproduce the trouble, this can be achieved only if you make the effort of giving all commands and related configuration.

No one in the community is clairvoyant ;-)
mpflash

mpflash

2023-04-26 14:10

reporter   ~0004984

Last edited: 2023-04-26 14:10

dir-sd-configs.zip (18,127 bytes)
Screenshot_2.png (42,141 bytes)   
Screenshot_2.png (42,141 bytes)   
mpflash

mpflash

2023-04-26 14:11

reporter   ~0004985

mpflash

mpflash

2023-04-26 14:18

reporter   ~0004986

Screenshot_1.png (51,378 bytes)   
Screenshot_1.png (51,378 bytes)   
mpflash

mpflash

2023-04-26 14:21

reporter   ~0004987

will you be able to check the recoverability of my archive in Linux assemblies of bareos? ROZN6-fd-Incremental-PoolIncr-2023-04-26-15-05
bruno-at-bareos

bruno-at-bareos

2023-04-27 16:12

manager   ~0004988

Just to be sure to have all element, if you retest the same fileset without the compression enabled it works and extract folders and files ?
That confirmation will help to create a regression test.

It look like you found a bug, as I can confirm the same result as you, under windows or linux when using bextract. under linux using bscan to import the volume allow to restore its content.
bruno-at-bareos

bruno-at-bareos

2023-04-27 16:15

manager   ~0004989

While you are retesting, would a compression like lz4 produce the same error.
Thanks.
mpflash

mpflash

2023-04-28 01:17

reporter   ~0004990

Screenshot_3.png (192,167 bytes)   
Screenshot_3.png (192,167 bytes)   
mpflash

mpflash

2023-04-28 01:19

reporter   ~0004991

Attach LZ4 archive file
mpflash

mpflash

2023-04-28 01:45

reporter   ~0004992

If ANY copression disable, bextract.exe correct work
Screenshot_4.png (152,577 bytes)   
Screenshot_4.png (152,577 bytes)   
bruno-at-bareos

bruno-at-bareos

2023-05-03 15:38

manager   ~0004996

Last edited: 2023-06-13 16:08

Reproducible in all versions (and all plateform: linux/windows)
Need a fix either by community, or by payed contract
irekpias

irekpias

2023-06-06 01:13

reporter   ~0005064

Adding "me to": Bareos version: 22.0.4~pre114.45a6341f6 - bextract always write 0 size files, when compresion is enabled in job - i use lz4hc. Tested the same version of bareos with AlmaLinux 8 and AlmaLinux 9.
bruno-at-bareos

bruno-at-bareos

2023-06-13 16:09

manager   ~0005069

Reproducible in all versions (and all plateform: linux/windows)
Need a fix either by community, or by payed contract
bruno-at-bareos

bruno-at-bareos

2023-09-12 16:31

manager   ~0005419

Fixed in 22.1.0 (backport commit 521b83eb2 and ab5654539)
mpflash

mpflash

2023-09-12 21:17

reporter   ~0005426

I apologize, maybe the syntax has changed? Another mistake began to appear. (Do not look at the application launch path)

bextract.exe -V LUS4-fd-Incremental-PoolIncr-2023-08-24-19-00 StorageDIRFA-dev d:/bareos-storage1
12-Sep 22:09 bextract: Warning: Cannot open IPv4 stream socket. ERR=╬яхЁрЎш  єёях°эю чртхЁ°хэр.

12-Sep 22:09 bextract: Warning: Cannot open IPv6 stream socket. ERR=╬яхЁрЎш  єёях°эю чртхЁ°хэр.

12-Sep 22:09 bextract: Warning: Can't add default IPv4 address (IPv4 address wanted but IPv4 is disabled!)
12-Sep 22:09 bextract: Warning: Can't add default IPv6 address (IPv6 address wanted but IPv6 is disabled!)
bextract: ERROR TERMINATION at lib/address_conf.cc:521
Can't add default IPv6 and IPv4 addresses
mpflash

mpflash

2023-09-12 21:18

reporter   ~0005427

Screenshot_1-2.png (52,362 bytes)   
Screenshot_1-2.png (52,362 bytes)   
bruno-at-bareos

bruno-at-bareos

2023-09-13 10:22

manager   ~0005428

If your network doesn't allow neither ipv4 nor ipv6 there's no chance to make Bareos working.
it needs the presence of both addr familly.
bruno-at-bareos

bruno-at-bareos

2023-09-13 10:23

manager   ~0005429

closing again, not an issue
mpflash

mpflash

2023-09-13 12:27

reporter   ~0005435

On CLEAR default installed on WINDOWS7 and WINDOWS10 in RELEASE 22.1.1 also leads to this error
mpflash

mpflash

2023-09-13 12:28

reporter   ~0005436

Screenshot_1-3.png (63,420 bytes)   
Screenshot_1-3.png (63,420 bytes)   
bruno-at-bareos

bruno-at-bareos

2023-09-13 14:17

manager   ~0005437

My mistake sorry not yet fixed, will in next patch release
bruno-at-bareos

bruno-at-bareos

2023-09-13 16:05

manager   ~0005438

Ok here the situation, the bextract with compressed data is fixed in bareos-22 branch since August 3, but our CI had problems building & signing a new version of the package.
So the new published version will have that fix in.

So this bug can be and should stay closed as it is fixed.
Concerning the other new problem, this need a new bug entry, which I will acknowledged immediately, as it can be reproduced, and will be fixed we hope 22.1.1 (so 22.1.2~pre for community)

Issue History

Date Modified Username Field Change
2023-04-25 23:49 mpflash New Issue
2023-04-26 09:34 bruno-at-bareos Note Added: 0004983
2023-04-26 14:10 mpflash Note Added: 0004984
2023-04-26 14:10 mpflash File Added: dir-sd-configs.zip
2023-04-26 14:10 mpflash File Added: Screenshot_2.png
2023-04-26 14:10 mpflash Note Edited: 0004984
2023-04-26 14:11 mpflash Note Added: 0004985
2023-04-26 14:11 mpflash File Added: ROZN6-fd-Incremental-PoolIncr-2023-04-26-15-05
2023-04-26 14:18 mpflash Note Added: 0004986
2023-04-26 14:18 mpflash File Added: Screenshot_1.png
2023-04-26 14:21 mpflash Note Added: 0004987
2023-04-27 16:12 bruno-at-bareos Note Added: 0004988
2023-04-27 16:15 bruno-at-bareos Note Added: 0004989
2023-04-28 01:17 mpflash Note Added: 0004990
2023-04-28 01:17 mpflash File Added: Screenshot_3.png
2023-04-28 01:19 mpflash Note Added: 0004991
2023-04-28 01:19 mpflash File Added: ROZN6-fd-Incremental-PoolIncr-2023-04-28-02-09
2023-04-28 01:45 mpflash Note Added: 0004992
2023-04-28 01:45 mpflash File Added: Screenshot_4.png
2023-05-03 15:38 bruno-at-bareos Status new => acknowledged
2023-05-03 15:38 bruno-at-bareos Note Added: 0004996
2023-06-06 01:13 irekpias Note Added: 0005064
2023-06-13 16:08 bruno-at-bareos Note Edited: 0004996
2023-06-13 16:09 bruno-at-bareos Assigned To => bruno-at-bareos
2023-06-13 16:09 bruno-at-bareos Status acknowledged => confirmed
2023-06-13 16:09 bruno-at-bareos Note Added: 0005069
2023-09-12 16:31 bruno-at-bareos Status confirmed => closed
2023-09-12 16:31 bruno-at-bareos Resolution open => fixed
2023-09-12 16:31 bruno-at-bareos Note Added: 0005419
2023-09-12 21:17 mpflash Status closed => new
2023-09-12 21:17 mpflash Resolution fixed => reopened
2023-09-12 21:17 mpflash Note Added: 0005426
2023-09-12 21:18 mpflash Note Added: 0005427
2023-09-12 21:18 mpflash File Added: Screenshot_1-2.png
2023-09-13 10:22 bruno-at-bareos Note Added: 0005428
2023-09-13 10:23 bruno-at-bareos Status new => closed
2023-09-13 10:23 bruno-at-bareos Note Added: 0005429
2023-09-13 12:27 mpflash Status closed => new
2023-09-13 12:27 mpflash Note Added: 0005435
2023-09-13 12:28 mpflash Note Added: 0005436
2023-09-13 12:28 mpflash File Added: Screenshot_1-3.png
2023-09-13 14:17 bruno-at-bareos Note Added: 0005437
2023-09-13 16:05 bruno-at-bareos Status new => closed
2023-09-13 16:05 bruno-at-bareos Note Added: 0005438