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] Won't start with latest version, flask error #275

Closed
1 task done
yieldhog opened this issue Oct 13, 2023 · 5 comments
Closed
1 task done

[BUG] Won't start with latest version, flask error #275

yieldhog opened this issue Oct 13, 2023 · 5 comments

Comments

@yieldhog
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Container web interface won't startup

Expected Behavior

No response

Steps To Reproduce

  1. Docker container 0.6.20 pulled on 8-Oct-23
  2. Start container

Environment

- OS: Synology
- How docker service was installed: Portainer

CPU architecture

x86-64

Docker creation

NA, default

Container logs

from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
Traceback (most recent call last):
  File "/app/calibre-web/cps.py", line 28, in <module>
    from cps.main import main
  File "/app/calibre-web/cps/__init__.py", line 28, in <module>
    from flask import Flask
ModuleNotFoundError: No module named 'flask'
@github-actions
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.

@aptalca
Copy link
Member

aptalca commented Oct 13, 2023

@yieldhog
Copy link
Author

That appears to have been the issue -- updated w/ Portainer and it broke. I removed the container, re-installed w/ Container Manager (Synology) and its back up and running, thank you

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Oct 13, 2023
@nguyenhung
Copy link

nguyenhung commented Nov 7, 2023

That appears to have been the issue -- updated w/ Portainer and it broke. I removed the container, re-installed w/ Container Manager (Synology) and its back up and running, thank you

I fixed it by editing the container PATH to: /lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

@dartzon
Copy link

dartzon commented Nov 24, 2023

I faced the same issue today after upgrading Calibre-web to the latest version. To fix it, all I had to do was to delete all of the environment variables expect the ones I set manually (tid, gid and tz) as well as all the labels then restart the container!

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

No branches or pull requests

4 participants