[Pkg-matrix-maintainers] Bug#945759: matrix-synapse: signing_key_path not found
sergio
sergio+it at outerface.net
Thu Nov 28 07:26:32 GMT 2019
Package: matrix-synapse
Version: 1.5.1-1~bpo10+1
Severity: normal
# /etc/init.d/matrix-synapse start
chown: missing operand after ‘matrix-synapse:nogroup’
Try 'chown --help' for more information.
chmod: missing operand after ‘0600’
Try 'chmod --help' for more information.
# grep signing_key_path /etc/matrix-synapse/homeserver.yaml
signing_key_path: "/etc/matrix-synapse/homeserver.signing.key"
# python3 -m synapse.config read signing_key_path --config-path /etc/matrix-synapse/homeserver.yaml --config-path /etc/matrix-synapse/conf.d/
This server is configured to use 'matrix.org' as its trusted key server via the
'trusted_key_servers' config option. 'matrix.org' is a good choice for a key
server since it is long-lived, stable and trusted. However, some admins may
wish to use another server for this purpose.
To suppress this warning and continue using 'matrix.org', admins should set
'suppress_key_server_warning' to 'true' in homeserver.yaml.
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/synapse/config/__main__.py", line 31, in <module>
print(getattr(config, key))
File "/usr/lib/python3/dist-packages/synapse/config/_base.py", line 222, in __getattr__
return self._get_unclassed_config(None, item)
File "/usr/lib/python3/dist-packages/synapse/config/_base.py", line 245, in _get_unclassed_config
raise AttributeError(item, "not found in %s" % (list(self._configs.keys()),))
AttributeError: ('signing_key_path', "not found in ['server', 'tls', 'database', 'logging', 'ratelimiting', 'media', 'captcha', 'voip', 'registration', 'metrics', 'api', 'appservice', 'key', 'saml2', 'cas', 'jwt', 'password', 'email', 'worker', 'authproviders', 'push', 'spamchecker', 'groups', 'userdirectory', 'consent', 'stats', 'servernotices', 'roomdirectory', 'thirdpartyrules', 'tracing']")
zsh: exit 1 python3 -m synapse.config read signing_key_path --config-path --config-path
# python3 -m synapse.config read signing_key_file --config-path /etc/matrix-synapse/homeserver.yaml --config-path /etc/matrix-synapse/conf.d/
This server is configured to use 'matrix.org' as its trusted key server via the
'trusted_key_servers' config option. 'matrix.org' is a good choice for a key
server since it is long-lived, stable and trusted. However, some admins may
wish to use another server for this purpose.
To suppress this warning and continue using 'matrix.org', admins should set
'suppress_key_server_warning' to 'true' in homeserver.yaml.
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/synapse/config/__main__.py", line 31, in <module>
print(getattr(config, key))
File "/usr/lib/python3/dist-packages/synapse/config/_base.py", line 222, in __getattr__
return self._get_unclassed_config(None, item)
File "/usr/lib/python3/dist-packages/synapse/config/_base.py", line 245, in _get_unclassed_config
raise AttributeError(item, "not found in %s" % (list(self._configs.keys()),))
AttributeError: ('signing_key_file', "not found in ['server', 'tls', 'database', 'logging', 'ratelimiting', 'media', 'captcha', 'voip', 'registration', 'metrics', 'api', 'appservice', 'key', 'saml2', 'cas', 'jwt', 'password', 'email', 'worker', 'authproviders', 'push', 'spamchecker', 'groups', 'userdirectory', 'consent', 'stats', 'servernotices', 'roomdirectory', 'thirdpartyrules', 'tracing']")
zsh: exit 1 python3 -m synapse.config read signing_key_file --config-path --config-path
More information about the Pkg-matrix-maintainers
mailing list