matrix-synapse: Fix startup error caused by bind_address setting

- Drop the `bind_address` key during upgrade
- Use the new `bind_addresses` key instead

Fixes #1420

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati authored and Sunil Mohan Adapa committed 2019-01-23 13:02:55 -08:00
1 parent 80b4b654de
commit b2c6112990
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -56,7 +56,8 @@ def subcommand_post_install(_):
for listener in config['listeners']:
if listener['port'] == 8448:
listener['bind_address'] = '0.0.0.0'
listener['bind_addresses'] = ['::1', '0.0.0.0']
listener.pop('bind_address', None)
# Setup ldap parameters
config['password_providers'] = [{}]