Register_new_matrix_user -c /etc/matrix-synapse/homeserver.yaml https://localhost

Hallo,

I need your help. I am installing Matrix-Synapse with Riot following this manual https://gist.github.com/attacus/cb5c8a53380ca755b10a5b37a636a0b9

When I try to register the first user like that:
register_new_matrix_user -c /etc/matrix-synapse/homeserver.yaml https://localhost

I get these errors:
Traceback (most recent call last):
File “/usr/bin/register_new_matrix_user”, line 22, in
main()
File “/usr/lib/python3/dist-packages/synapse/_scripts/register_new_matrix_user.py”, line 212, in main
config = yaml.safe_load(args.config)
File “/usr/lib/python3/dist-packages/yaml/init.py”, line 162, in safe_load
return load(stream, SafeLoader)
File “/usr/lib/python3/dist-packages/yaml/init.py”, line 114, in load
return loader.get_single_data()
File “/usr/lib/python3/dist-packages/yaml/constructor.py”, line 49, in get_single_data
node = self.get_single_node()
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 36, in get_single_node
document = self.compose_document()
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 55, in compose_document
node = self.compose_node(None, None)
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 84, in compose_node
node = self.compose_mapping_node(anchor)
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File “/usr/lib/python3/dist-packages/yaml/parser.py”, line 98, in check_event
self.current_event = self.state()
File “/usr/lib/python3/dist-packages/yaml/parser.py”, line 438, in parse_block_mapping_key
raise ParserError(“while parsing a block mapping”, self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
in “/etc/matrix-synapse/homeserver.yaml”, line 7, column 1
expected , but found ‘’
in “/etc/matrix-synapse/homeserver.yaml”, line 515, column 6

As I am no programmer I would like to know how to fix these paser errors.
Thanks in advance
Uli

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.