Corrupt zip archives when downloading?

Need help? Post your questions here.

Moderator: moderators

Corrupt zip archives when downloading?

Postby bobpullen » Mon Dec 28, 2015 10:15 pm

Wondering if anyone can help?

I have a Subsonic install that's been working fine for aeons now, however I've recently been made aware that some of my users are unable to download content as they once used to.

I've just replicated this problem myself by trying to download an album both remotely and via the same local network. In both cases I am unable to open/extract from the resulting .zip archive because Windows tells me the file is invalid or corrupted.

I have restarted the host machine and tried 7zip, Explorer, Winzip and WinRAR all to no avail. Have also tried different browsers to do the downloading.

Anybody any pointers on how I can troubleshoot this one?

Edit - Bit more info: The corrupted zip file can be repaired using WinRAR, however there's little logging to suggest what action is taken to repair it. When I compare the corrupted and fixed archives, the only difference is that the filesize is ~720 bytes larger for the broken copy.

Edit again: This only seesm to happen when viewing an album and using the 'Download all' hyperlink. If you select each of the tracks individually and use the 'Download' drop-down towards the bottom then it doesn't happen. Interested to know if others can replicate this as the behaviour suggests it could be a bug?
bobpullen
 
Posts: 4
Joined: Mon Sep 28, 2015 9:20 am

Re: Corrupt zip archives when downloading?

Postby ben1234567 » Sat Jan 02, 2016 1:45 pm

I can replicate this exactly the same. Using the 'Download All' link gives a corrupted archive however using the dropdown to 'select all' then 'download' gives a full, working archive as intended.

License Subsonic Premium
Version 5.3 (build 4568) – October 24, 2015
Server jetty-6.1.x, java 1.7.0_76, FreeBSD
ben1234567
 
Posts: 1
Joined: Sat Jan 02, 2016 1:39 pm

Re: Corrupt zip archives when downloading?

Postby bobpullen » Sat Jan 02, 2016 3:15 pm

Thanks. Created a bug report here.
bobpullen
 
Posts: 4
Joined: Mon Sep 28, 2015 9:20 am

Re: Corrupt zip archives when downloading?

Postby bobpullen » Fri May 13, 2016 11:06 am

Seems to be working for me now after updating to 6.0 (build 830afc). I have recently switched to using the default theme instead of '2 Minutes To Midnight' though, which may have also helped?
bobpullen
 
Posts: 4
Joined: Mon Sep 28, 2015 9:20 am


Return to Help

Who is online

Users browsing this forum: No registered users and 14 guests