1
submitted 11 months ago by jeffcdo@alien.top to c/main@selfhosted.forum

I've been running calibre-web successfully in Container Manager (formerly Docker) until the latest update. Now I can no longer open the app and the logs indicate an error "No module named 'flask"" Any insight on how to repair this?

top 2 comments
sorted by: hot top controversial new old
[-] Normanras@alien.top 1 points 11 months ago

Have you opened an issue on repo for the devs to see? might as well go straight to the source.

i’m assuming the flask module here is the flask that is a python framework for building apps. sounds like the dependency wasn’t added to the latest build

[-] jpedroleite@alien.top 1 points 11 months ago

I had the exact same problem. I solved it by:

- Deleting the container and image

- Create a task in task scheduler with root user and with the following config

docker run -d \
--name=calibre-web \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Europe/Lisbon \
-e DOCKER_MODS=ghcr.io/linuxserver/mods:universal-calibre \
-e OAUTHLIB_RELAX_TOKEN_SCOPE=1 \
-e TP_THEME=aquamarine \
-p 8083:8083 \
-v /volume1/docker/calibre-web:/config \
-v /volume1/docker/calibre/BibliotecaCalibre:/books \
--restart unless-stopped \
lscr.io/linuxserver/calibre-web

Replace PUID and PGID by your own

It will this time install flask and all necessary python modules. All your data and configs will be preserved

this post was submitted on 13 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS