Skip to content

[Bug] Possible regression with opening CBZ files #2589

@kkwpsi

Description

@kkwpsi

What Went Wrong?

Hello 👋
I was using Booklore 1.17.0. In early January 2026, I scanned my comic book library. The comic book (cbz file) I'm referring to was also scanned, its cover was added, and I was able to read it. Today I updated Booklore to version 1.18.5, and this particular comic book was no longer readable. Booklore reports that it can't open the zip archive.
The command "podman exec -it booklore unzip -l /books/start/'title.cbz'" correctly displays the archive contents. 7z app confirms that it is a zip archive.

Container logs include:

2026-02-02T23:34:37.245+01:00 ERROR 6 --- [booklore-api] [io-8080-exec-34] c.a.b.service.reader.CbxReaderService : Failed to read archive for book 5773

java.io.IOException: Unable to read ZIP archive with any supported encoding

I restarted the container several times. I also replaced the cbz file, i.e., repacked it, and, incidentally, zipped the files so that there are no folders in the archive. The archive contains 182 JPG files. No changes.

cbx-reader works. Other comics, including CBZ, open correctly. However, I can't test all of them.

How Can We Reproduce This?

Try to open a comic to read, but instead of comic book pages, an error appears.

What Should Have Happened?

The comic book page should appear.

Screenshots or Error Messages (Optional)

Image

Any Ideas on How to Fix This? (Optional)

I can only assume that something has changed at the Java level (CbxReaderService?), which is why the application cannot open the cbz archive.

Your Setup

  • Debian 13.3
  • Booklore 1.18.5 (ghcr.io/booklore-app/booklore:v1.18.5),
  • Podman compose
  • local storage
  • on desktop: Firefox 147.0.1

Before Submitting

  • I've searched existing issues and confirmed this bug hasn't been reported yet

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions