-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
apt update/upgrade Configuration file '/etc/matrix-synapse/homeserver.yaml' ==> Modified (by you or by a script) since installation. #11238
Comments
There is already such a place: the whole directory (You only need to write out the configuration values that you want to change) |
Closing because I think this answers your question, otherwise can re-open |
OK! I finally figure this out, nobody likes to reinvent the wheel, so when I install new software I check the official documentation and wiki for said product, and when that is missing or insufficient I check google. In this case I installed matrix-synapse originally using a google guide. The only values I changed in the initial homeserver.yaml file are:
nobody ever mentions not editing the main homeserver.yaml file.
next create a config file under conf.d for any values we wish to change.
then reboot, now in the future I wont edit the homeserver.yaml, I will instead edit the conf.d/config.yaml to overwrite values in homeserver.yaml Thanks again for your help! |
That's a pity. In some ways, this is because the Debian/Ubuntu package is a little special in that you benefit a lot by splitting out the configuration so the original file is left untouched, but if you install any other way then you probably don't care much about that. Thanks for writing it up! I'm sure others will find that information useful. |
this is a duplicate of #8159. |
Description:
would it be possible to support a local configuration, eg:
homeserver.yaml.local
the values defined in .local would overwrite anything specificed in the main homeserver.yaml
This way I can leave homeserver.yaml untouched and will not be prompted what to do when updating the server.
(or if there is another way to accomplish the same result, please let me know, thank you.)
when I perform an apt update of my synapse install.
I am always prompted:
Setting up matrix-synapse-py3 (1.46.0+focal1) ...
The text was updated successfully, but these errors were encountered: