heviat / Mailu-OpenID

Mailu mailservice extended by OpenID Connect user authentication
https://mailu.io
Other
12 stars 7 forks source link

TLS_FLAVOR=notls fails #8

Open jjj0 opened 1 month ago

jjj0 commented 1 month ago

Version

Description

The front container does not work with TLS_FLAVOR=notls set.

Replication Steps

Start Mailu-OpenID with TLS_FLAVOR=notls

Observed behaviour

Front container not working.

Expected behaviour

Front container working without TLS

Logs

Traceback (most recent call last): File "/config.py", line 48, in if "TLS" in args and not all(os.path.exists(file_path) for file_path in args["TLS"]): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not iterable

Wombosvideo commented 1 month ago

Thank you for bringing this to our attention. The latest version of Mailu changes some things in terms of versioning and configuration. Since the Mailu Setup (docker-compose.yml and mailu.env generator) doesn't allow selecting the old version, things are broken at the moment. We are currently in the procress of migrating Mailu-OpenID to version 2024.06 so you can use the Setup with all the available options again. This means that you won't be able to use notls until then. In the meantime, you can use the mailu v2.0 documentation to find out how to backport the generated config files.