question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider supplying a more complete example configuration file

See original GitHub issue

https://github.com/matrix-org/synapse/pull/12941 replaced the generated 2850-line sample configuration file with a very bare-bones starting point.

I still believe that was a good decision for all the reasons set out in #8159 , however a lot of people have found it surprising so I am opening this issue as a place to discuss whether there is a sensible middle ground.

One thing that might be worthwhile is an example file containing some of the settings you are likely to need to configure (eg: url previews, turn server) without attempting to be comprehensive. The CUPS project does something like this (it generates an example cupsd.conf from https://github.com/OpenPrinting/cups/blob/master/conf/cupsd.conf.in; the authoritative documentation is managed separately at https://github.com/OpenPrinting/cups/blob/master/man/cupsd.conf.5).

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
StanleyLexcommented, Jul 19, 2022

Please return the config file as it was. We are already used to it. I have to set up new matrix-synapse instances often, so I do it automatically. Constant changes in the config file force scripts to be rewritten. Yes, the old config file was large, but it was well documented.

4reactions
immanuelfodorcommented, Jul 19, 2022

I also vote for bringing back the old big but transparent config file with all the available options and the documentation included in it. The config removal and the separation of docs and code made me to trust my Homeserver less.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Complete Guide to Linux Config Files | CBT Nuggets
Discover how some of the most common Linux OS configuration and network files work. ... An Example of the network-scripts Config File.
Read more >
XML Configuration Files - Ultra Messaging Resources
XML configuration files let you address many different applications and operating requirements, removing the need to programmatically set and reset options ...
Read more >
24. Externalized Configuration - Spring
Spring Boot lets you externalize your configuration so that you can work with the same application code in different environments. You can use...
Read more >
Passing local config file to task - Nomad - HashiCorp Discuss
Here is a more complete example of the command using flags. $ nomad job run -var redis_config_file=./redis/redis.conf example.nomad. Hope this ...
Read more >
Working with Configuration Files - Cisco
Managing Configuration Files. Configuration files can contain some or all of the commands needed to configure one or more switches. For example, you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found