Skip to content

Docker image fails to run #218

@kinga112

Description

@kinga112

Describe the bug
A clear and concise description of what the bug is.

Traceback (most recent call last):
File "/opt/kanmail/scripts/run_server.py", line 9, in
from kanmail.server.app import app, boot
File "/opt/kanmail/./kanmail/server/app.py", line 57, in
dsn=get_hidden_value("SENTRY_DSN"),
File "/opt/kanmail/./kanmail/settings/hidden.py", line 37, in get_hidden_value
data = get_hidden_data()
File "/opt/kanmail/./kanmail/settings/hidden.py", line 30, in get_hidden_data
return pickle.loads(b64decode(hidden_data))
EOFError: Ran out of input

hidden.json is empty so pickle fails.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

After a successful docker build, the image fails run.
Using MacOS and python 3.9.18

I tried with honcho as well, but I got other package errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions