Technosoft2000 / docker-calibre-web

Docker image for Calibre Web https://github.com/janeczku/calibre-web/, based on docker image of Alpine
271 stars 57 forks source link

"*** is corrupt or not an image" while openning cbz files in broswer #113

Open scythk opened 3 years ago

scythk commented 3 years ago

I coverted several zip format comics to cbz using calibre and uploaded it to calibre-web. Then got this error while trying to view in broswer. The books can be openned normally after downloading back so I assume the files were not actually corrupted. image

Seems nothing wrong in log.



[INFO] Docker image version: 1.6.0

[INFO] Alpine Linux version: 3.12.0

[WARNING] A group with id 100 exists already [in use by users] and will be modified.

[WARNING] The group users will be renamed to calibre

[INFO] Create user calibre with id 99
[INFO] Current active timezone is CST
[INFO] Change the ownership of /calibre-web (including subfolders) to calibre:calibre
[INFO] Current git version is:

git version 2.26.3

[INFO] Checkout the latest Calibre-Web version ...

[INFO] Autoupdate is active, try to pull the latest sources for Calibre-Web ...
[INFO] ... current git status is
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
fe4db16a7edaf5e484ac0d2b8d2fba7c673e7c93
[INFO] ... pulling sources
warning: redirecting to https://github.com.cnpmjs.org/janeczku/calibre-web.git/

From https://hub.fastgit.org/janeczku/calibre-web
fe4db16a..aefed40a master -> origin/master
Updating fe4db16a..aefed40a
Fast-forward
cps/__init__.py | 3 +++
cps/gdrive.py | 76 +++++++++++++++++++++++++++++----------------------------
cps/web.py | 10 +-------
3 files changed, 43 insertions(+), 46 deletions(-)
[INFO] ... git status after update is
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
aefed40a2f0a2dbc370085098a5e047148d3599d
[INFO] Config directory option is ACTIVATED
> due this the directory /calibre-web/config will be used to store the configuration
[INFO] Change the ownership of /calibre-web/config (including subfolders) to calibre:calibre
[INFO] Checking permissions of the config directory: /calibre-web/config
> Output is: 755 calibre 100 calibre 99
> Permissions: 755
> Assigned group: calibre
> Assigned group ID: 100
> Assigned owner: calibre
> Assigned owner ID: 99
> Using permissions for checks: 0755
> The user calibre:99 is the owner and has write access at /calibre-web/config
[INFO] 'app.db' and 'gdrive.db' will be linked into /calibre-web/config
> 'app.db' link /calibre-web/app/app.db exists already and won't be recreated
> 'gdrive.db' link /calibre-web/app/gdrive.db exists already and won't be recreated
[INFO] Checking permissions of the books directory: /books
> Output is: 777 calibre 100 calibre 99
> Permissions: 777
> Assigned group: calibre
> Assigned group ID: 100
> Assigned owner: calibre
> Assigned owner ID: 99
> Using permissions for checks: 0777
> Everyone has write access at /books
[INFO] The mapped volume for /books contains a Calibre database file 'metadata.db' which will be used
[INFO] The kindlegen directory exist already and will be used: /calibre-web/kindlegen
[INFO] Kindlegen application exists already in directory: /calibre-web/kindlegen
[INFO] kindlegen (Amazon Kindle Generator) will be linked into /calibre-web/app/vendor
> kindlegen link /calibre-web/app/vendor/kindlegen exists already and won't be recreated
[INFO] Creating directory for temporary directories and files: /tmp
[INFO] Change the ownership of /tmp (including subfolders) to calibre:calibre
[INFO] Launching Calibre-Web ...
`
Technosoft2000 commented 3 years ago

Hi @scythk it seems something is missing in my image but can't see any error at the calibre-web.log. I've tested the same CBZ file then on the linuxserver/calibre-web docker image where it works correctly. Therefore I can only suggest that you switch to their image, see at https://docs.linuxserver.io/images/docker-calibre-web