Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Check for conflicting appservice IDs when running synapse.config check #11864

Open
Half-Shot opened this issue Jan 31, 2022 · 0 comments
Open
Labels
A-Application-Service Related to AS support A-Config Configuration, or the documentation thereof S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@Half-Shot
Copy link
Collaborator

We use synapse.config -c /config/homeserver.yaml -cc /extraconfigs to check the config of the homeserver before deploying an update.

Synapse doesn't check for conflicting appservice id fields when running this script, but when actually failing to start Synapse it will fail with:

synapse.config._base.ConfigError: Cannot reuse ID across application services: conference_bot (files: /extraconfigs/conference_bot_registration.yaml, /extraconfigs/conference_bot_registration.yaml)
@clokep clokep added S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Feb 1, 2022
@MadLittleMods MadLittleMods added A-Application-Service Related to AS support A-Config Configuration, or the documentation thereof labels Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Application-Service Related to AS support A-Config Configuration, or the documentation thereof S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

3 participants