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.

apt update/upgrade Configuration file '/etc/matrix-synapse/homeserver.yaml' ==> Modified (by you or by a script) since installation.

See original GitHub issue

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) …

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:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
reivilibrecommented, Nov 4, 2021

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)

0reactions
richvdhcommented, Nov 9, 2021
Read more comments on GitHub >

github_iconTop 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 >

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