apt update/upgrade Configuration file '/etc/matrix-synapse/homeserver.yaml' ==> Modified (by you or by a script) since installation.
See original GitHub issueDescription: 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) …
Configuration file '/etc/matrix-synapse/homeserver.yaml'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** homeserver.yaml (Y/I/N/O/D/Z) [default=N] ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to automate changed config files during apt-get upgrade ...
113.11 ==> Modified (by you or by a script) since installation. 10.190.113.11 ==> Package distributor has shipped an updated version. 10.190.
Read more >apt upgrade merging modified files - Google Groups
Configuration file '/etc/matrix-synapse/homeserver.yaml' ==> Modified (by you or by a script) since installation.
Read more >Term for "Modified (by you or by a script) since installation ...
Modify - It means you or a script edited a configuration file. For example, if you install mysql server and then you go...
Read more >automatic yes's to linux update/upgrade - ubuntu - Super User
A new version (/tmp/filekTzYtV) of configuration file /etc/ssh/sshd_config is available, but the version installed currently has been locally │ ...
Read more >Updating script-installed deployments - IBM
You can modify the installed software, remove it, and add new components. ... then the script names the custom resource file ibm_content_cr_final.yaml.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There is already such a place: the whole directory
/etc/matrix-synapse/conf.d/
will have configuration files loaded. You’ll notice that, after setting up, there will already be one file in there which contains your server’s name. You’re free to add more files there so you can avoid changing the main configuration file.(You only need to write out the configuration values that you want to change)
this is a duplicate of https://github.com/matrix-org/synapse/issues/8159.