[Bug]: Share link's download button is double the size it should be - zip file is again zipped up. #2924

Closed
opened 2026-04-25 00:11:53 +02:00 by adam · 4 comments
Owner

Originally created by @blitzmann on GitHub (Jul 30, 2025).

What happened?

I have a share link for Andy Weir - Project Hail Mary. The directory looks like this:

Image

On the share link that I generated (which allows download), there is a download icon

Image

Clicking that downloads a zip file, however it's twice as big as expected. Inside of the zip is another zip, which duplicates the files again

Image

What did you expect to happen?

I expect it to just zip up the directory without doubling up

Steps to reproduce the issue

  1. Download from shared link
  2. See zip file inside of the zip file that is downloaded

Audiobookshelf version

2.26.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs


Additional Notes

No response

Originally created by @blitzmann on GitHub (Jul 30, 2025). ### What happened? I have a share link for Andy Weir - Project Hail Mary. The directory looks like this: <img width="741" height="746" alt="Image" src="https://github.com/user-attachments/assets/7fcc1a4d-60ee-42b2-a972-b30a464aaafc" /> On the share link that I generated (which allows download), there is a download icon <img width="415" height="408" alt="Image" src="https://github.com/user-attachments/assets/cfd248bd-3ed2-4bbc-83d4-459d31199fe6" /> Clicking that downloads a zip file, however it's twice as big as expected. Inside of the zip is another zip, which duplicates the files again <img width="867" height="337" alt="Image" src="https://github.com/user-attachments/assets/52077299-fe9c-4683-8b16-f1151ab7a527" /> ### What did you expect to happen? I expect it to just zip up the directory without doubling up ### Steps to reproduce the issue 1. Download from shared link 2. See zip file inside of the zip file that is downloaded ### Audiobookshelf version 2.26.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell ``` ### Additional Notes _No response_
adam added the bugwaitingunable to reproduce labels 2026-04-25 00:11:53 +02:00
adam closed this issue 2026-04-25 00:11:53 +02:00
Author
Owner

@advplyr commented on GitHub (Jul 30, 2025):

I'm not able to reproduce this. Are you able to reproduce that on other books?

@advplyr commented on GitHub (Jul 30, 2025): I'm not able to reproduce this. Are you able to reproduce that on other books?
Author
Owner

@blitzmann commented on GitHub (Jul 30, 2025):

No, actually. It's just this one. Very strange. Is there a way to provide more logging?

@blitzmann commented on GitHub (Jul 30, 2025): No, actually. It's just this one. Very strange. Is there a way to provide more logging?
Author
Owner

@advplyr commented on GitHub (Jul 30, 2025):

Can you share the logs? Looking through the code I can't see how it could be possible

@advplyr commented on GitHub (Jul 30, 2025): Can you share the logs? Looking through the code I can't see how it could be possible
Author
Owner

@blitzmann commented on GitHub (Jul 31, 2025):

Looks like there actually was a errant zip file in teh directory. WinSCP didn't see it, must have had some cached data (?) and I guess the "library files" under the book in audiobookshelf didn't show it either.

Had to ssh into the box directly to see it, very strange. Sorry for the false alarm!

@blitzmann commented on GitHub (Jul 31, 2025): Looks like there actually was a errant zip file in teh directory. WinSCP didn't see it, must have had some cached data (?) and I guess the "library files" under the book in audiobookshelf didn't show it either. Had to ssh into the box directly to see it, very strange. Sorry for the false alarm!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2924