mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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:
parent
80b4b654de
commit
b2c6112990
@ -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'] = [{}]
|
||||
|
||||
@ -31,7 +31,7 @@ from plinth.menu import main_menu
|
||||
|
||||
from .manifest import backup, clients
|
||||
|
||||
version = 2
|
||||
version = 3
|
||||
|
||||
managed_services = ['matrix-synapse']
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user