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

[BUG] pip not installed so docker image incomplete #329

Open
1 task done
banksonian opened this issue Nov 25, 2024 · 2 comments
Open
1 task done

[BUG] pip not installed so docker image incomplete #329

banksonian opened this issue Nov 25, 2024 · 2 comments
Labels

Comments

@banksonian
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

logs show a persistent error looking for the Flask package and web site is inaccessible (not running)

Instance fixed by:
docker exec -it calibre-web /bin/bash

apt install python3-pip
rerunning the dockerfile's RUN commands

Expected Behavior

web site is acccessible

Steps To Reproduce

fresh docker compose

Environment

pulled using docker compose

CPU architecture

x86-64

Docker creation

image pulled using docker compose

Container logs

...
calibre-web  | ModuleNotFoundError: No module named 'flask'
calibre-web  | Traceback (most recent call last):
calibre-web  |   File "/app/calibre-web/cps.py", line 28, in <module>
calibre-web  |     from cps.main import main
calibre-web  |   File "/app/calibre-web/cps/__init__.py", line 28, in <module>
calibre-web  |     from flask import Flask
calibre-web  | ModuleNotFoundError: No module named 'flask'
calibre-web  | Traceback (most recent call last):
calibre-web  |   File "/app/calibre-web/cps.py", line 28, in <module>
calibre-web  |     from cps.main import main
calibre-web  |   File "/app/calibre-web/cps/__init__.py", line 28, in <module>
calibre-web  |     from flask import Flask
calibre-web  | ModuleNotFoundError: No module named 'flask'
calibre-web  | Traceback (most recent call last):
calibre-web  |   File "/app/calibre-web/cps.py", line 28, in <module>
calibre-web  |     from cps.main import main
calibre-web  |   File "/app/calibre-web/cps/__init__.py", line 28, in <module>
calibre-web  |     from flask import Flask
...
@banksonian banksonian changed the title [BUG] pip not installed os docker image incomplete [BUG] pip not installed so docker image incomplete Nov 25, 2024
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Insufficient Info in Issue & PR Tracker Nov 25, 2024
Copy link

A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Insufficient Info
Development

No branches or pull requests

2 participants