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


I need your help. I am installing Matrix-Synapse with Riot following this manual

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
File “/usr/lib/python3/dist-packages/synapse/_scripts/”, line 212, in main
config = yaml.safe_load(args.config)
File “/usr/lib/python3/dist-packages/yaml/”, line 162, in safe_load
return load(stream, SafeLoader)
File “/usr/lib/python3/dist-packages/yaml/”, line 114, in load
return loader.get_single_data()
File “/usr/lib/python3/dist-packages/yaml/”, line 49, in get_single_data
node = self.get_single_node()
File “/usr/lib/python3/dist-packages/yaml/”, line 36, in get_single_node
document = self.compose_document()
File “/usr/lib/python3/dist-packages/yaml/”, line 55, in compose_document
node = self.compose_node(None, None)
File “/usr/lib/python3/dist-packages/yaml/”, line 84, in compose_node
node = self.compose_mapping_node(anchor)
File “/usr/lib/python3/dist-packages/yaml/”, line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File “/usr/lib/python3/dist-packages/yaml/”, line 98, in check_event
self.current_event = self.state()
File “/usr/lib/python3/dist-packages/yaml/”, 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

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