Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Download Newly Uploaded Books #3340

Open
cryptaliagy opened this issue Mar 24, 2025 · 0 comments
Open

Cannot Download Newly Uploaded Books #3340

cryptaliagy opened this issue Mar 24, 2025 · 0 comments

Comments

@cryptaliagy
Copy link

cryptaliagy commented Mar 24, 2025

Describe the bug/problem

For the last while, I have been unable to download any newly-updated books. The existing books are still working, and the newly uploaded books can be found in the file system, but the download doesn't work. See the logs below:

[2025-03-23 20:51:36,899] ERROR {cps.helper:533} Rename title from /tmp/calibre_web/309750a2ec07f326002ea7b701266508 to /books/Unknown/Microsoft Word - Assignment Description.docx (463) failed with error, trying to move without metadata
[2025-03-23 20:51:36,958] ERROR {cps.helper:557} Rename title from /tmp/calibre_web/309750a2ec07f326002ea7b701266508 to /books/Unknown/Microsoft Word - Assignment Description.docx (463) failed with error: [Errno 1] Operation not permitted: '/books/Unknown/Microsoft Word - Assignment Description.docx (463)/Microsoft Word - Assignment Description.docx.pdf'
[2025-03-23 20:53:05,199] ERROR {cps.helper:960} File not found: /books/Unknown/Microsoft Word - Assignment Description.docx/Microsoft Word - Assignment Description.do - Unknown.pdf

Looking over the file system, it looks like "'/books/Unknown/Microsoft Word - Assignment Description.docx (463)/Microsoft Word - Assignment Description.docx.pdf" does exist, but when the download is attempted, it tries to find "/books/Unknown/Microsoft Word - Assignment Description.docx/Microsoft Word - Assignment Description.do - Unknown.pdf"

I'm unclear on what the cause of the "Operation not permitted" errors are, and I am actively investigating the same to see if these are related. Since I hadn't seen other issues here, I assume they might be

To Reproduce

Steps to reproduce the behavior:

  1. Upload a book
  2. Attempt to download that book
  3. Receive 404 error

Environment (please complete the following information):

  • OS: Linux
  • Python version: LinuxServer docker container- latest version
  • Calibre-Web version: 0.6.24
  • Docker container: LinuxServer
  • Special Hardware: None
  • Browser: All

Additional context
I host calibre-web as a Container App in Azure, using Azure Files for the storage component. I've been doing so successfully for quite some time (max 1 replica, scale to zero, nobrl flag on the volume mounts).

This issue has been around for quite some time on my setup, but I didn't have additional time to try to debug it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant