Synapse: Please can we ship a homeserver.yaml.sample (SYN-772)

Created on 18 Sep 2016  路  10Comments  路  Source: matrix-org/synapse

Submitted by @​matthew:matrix.org
So that folks can see more easily what the new options are that they should be c+p'ing into their live config

(Imported from https://matrix.org/jira/browse/SYN-772)

Most helpful comment

Could you please rename this file in the repo to something that includes "homeserver"? I've found myself googling for a sample homeserver yaml several times now, and the easiest way to find it is via this issue where you have to guess it'll be linked from some comment. A filename like "homeserver.sample.yaml" would make that much easier.

All 10 comments

馃憤

Meanwhile the Debian packages look to ship with a config file from 2016?!

https://github.com/matrix-org/package-synapse-debian/blob/debian/debian/homeserver.yaml

The sample configs generated upon a fresh install of Synapse (from apt) appear to be obsolete (homeserver.yaml is dated Nov 20, 2017) and do not include all of the available current config options. Running "python -m synapse.app.homeserver --generate-config" does appear to give me the latest config file though.

Perhaps this should be a separate issue, but it's certainly relevant to including a useful sample config.

Please add all new options.

Especially for the new DSGVO from 25.5.2018

Would love to see this updated. As a synapse newbie, the lack of an up to date sample config makes it difficult to get up and running.

Agreed. Especially when moving from 0.3x --> 0.99 / 1.0

This is definitely a thing I want to fix, but for anyone coming to this in the meantime: be aware that synapse ships with a generate_config script which will generate a sample config.

Could you please rename this file in the repo to something that includes "homeserver"? I've found myself googling for a sample homeserver yaml several times now, and the easiest way to find it is via this issue where you have to guess it'll be linked from some comment. A filename like "homeserver.sample.yaml" would make that much easier.

Was this page helpful?
0 / 5 - 0 ratings