Open CLU91 opened 1 year ago
why dont you post your yaml/config file? we cant know whats wrong without it. It says line 22, what is there? Are all the intendations correct? what system are you using? did you use the playbook or a package manager to install synapse?
# Sample configuration file explaining the minimum required keys to be set to run ma1sd
#
# For a complete list of options, see https://github.com/ma1uta/ma1sd/docs/README.md
#
# Please follow the Getting Started guide if this is your first time using/configuring ma1sd
#
# -- https://github.com/ma1uta/ma1sd/blob/master/docs/getting-started.md#getting-started
#
#######################
# Matrix config items #
#######################
# Matrix domain, same as the domain configure in your Homeserver configuration.
# NOTE: in Synapse Homeserver, the Matrix domain is defined as 'server_name' in configuration file.
#
# This is used to build the various identifiers in all the features.
#
# If the hostname of the public URL used to reach your Matrix services is different from your Matrix domain,
# per example matrix.domain.tld vs domain.tld, then use the server.name configuration option.
# See the "Configure" section of the Getting Started guide for more info.
#
matrix:
domain: 'matrix.company.com'
v1: false # deprecated
v2: true # MSC2140 API v2. Riot require enabled V2 API.
################
# Signing keys #
################
# Absolute path for the Identity Server signing keys database.
# /!\ THIS MUST **NOT** BE YOUR HOMESERVER KEYS FILE /!\
# If this path does not exist, it will be auto-generated.
#
# During testing, /var/tmp/ma1sd/keys is a possible value
# For production, recommended location shall be one of the following:
# - /var/lib/ma1sd/keys
# - /var/opt/ma1sd/keys
# - /var/local/ma1sd/keys
#
key:
path: '/var/lib/ma1sd/keys
This is the first part of my config. As mentioned, i used the example config delivered with ma1sd. I just filled out the necessairy settings, but the service doesnt start. Line 22 is where matrix: starts
Im using Ubuntu Server 22.04 and installed Synapse with offical release from https://packages.matrix.org/debian/ executed with standard apt install by ubuntu
No one who could help? :(
Did you try closing the quote?
key:
path: '/var/lib/ma1sd/keys'
Did you try closing the quote?
key: path: '/var/lib/ma1sd/keys'
Hey... it is closed, i just missed on copying it
Just in case someone gets here from Google...
The problem comes from the example documentation if you uncomment the ldalp or logging block. Both blocks are commented out but have an extra space after the comment # So if you uncomment the block, you will need to remove the extra space for the whole block or at least the heading.
# ldap:
# enabled: true`
# logging:
# root: error # default level for all loggers (apps and thirdparty libraries)
# app: info # log level only for the ma1sd
# requests: false # or true to dump full requests and responses
should be
#ldap:
# enabled: true`
#logging:
# root: error # default level for all loggers (apps and thirdparty libraries)
# app: info # log level only for the ma1sd
# requests: false # or true to dump full requests and responses
Why on earth the snakeyaml parser complains about the first uncommented line and not the actual line that is the problem, is beyond my understanding of Java, but that took me a good while to figure out.
Hey there,
i have ma1sd on the same server as matrix-synapse installed. Unfortunately i cant get it up and running. I followed the instructions precisely but somehow.... Logs showing the following:
ERROR App - Invalid or empty value for configuration item: while parsing a block mapping ma1sd in 'reader', line 22, column 1
Meanwhile i figured out, it has a problem with the .yaml file, but i used the example file.... so i dont get it.. maybe someone able to help??