You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using module ldap_auth_provider.LdapAuthProviderModule (as suggested by the README) in a Docker installation of Matrix Synapse using Docker image v1.57.0 causes an error:
AttributeError: module 'ldap_auth_provider' has no attribute 'LdapAuthProviderModule'
This error did not show up on Docker image v1.56.0 and earlier, but started to show up in v1.57.0. Downgrading to v1.56.0 fixes the issue.
To Reproduce
Steps to reproduce the behavior:
Use module: "ldap_auth_provider.LdapAuthProviderModule" in your Synapse homeserver
Run Synapse
Expected behavior
Synapse should run
Synapse Installed on:
OS: Using the Synapse Docker image
Version: v1.57.0
Additional context
Full error:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/site-packages/synapse/app/homeserver.py", line 460, in <module>
main()
File "/usr/local/lib/python3.9/site-packages/synapse/app/homeserver.py", line 450, in main
hs = setup(sys.argv[1:])
File "/usr/local/lib/python3.9/site-packages/synapse/app/homeserver.py", line 326, in setup
config = HomeServerConfig.load_or_generate_config(
File "/usr/local/lib/python3.9/site-packages/synapse/config/_base.py", line 697, in load_or_generate_config
obj.parse_config_dict(
File "/usr/local/lib/python3.9/site-packages/synapse/config/_base.py", line 718, in parse_config_dict
self.invoke_all(
File "/usr/local/lib/python3.9/site-packages/synapse/config/_base.py", line 347, in invoke_all
res[config_class.section] = getattr(config, func_name)(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/synapse/config/modules.py", line 33, in read_config
self.loaded_modules.append(load_module(module, config_path))
File "/usr/local/lib/python3.9/site-packages/synapse/util/module_loader.py", line 50, in load_module
provider_class = getattr(module, clz)
AttributeError: module 'ldap_auth_provider' has no attribute 'LdapAuthProviderModule'
The text was updated successfully, but these errors were encountered:
reivilibre
changed the title
module 'ldap_auth_provider' has no attribute 'LdapAuthProviderModule'
In Synapse 1.57.0 Docker image: module 'ldap_auth_provider' has no attribute 'LdapAuthProviderModule'
Apr 20, 2022
Describe the bug
Using module ldap_auth_provider.LdapAuthProviderModule (as suggested by the README) in a Docker installation of Matrix Synapse using Docker image v1.57.0 causes an error:
This error did not show up on Docker image v1.56.0 and earlier, but started to show up in v1.57.0. Downgrading to v1.56.0 fixes the issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Synapse should run
Synapse Installed on:
Additional context
Full error:
The text was updated successfully, but these errors were encountered: