element-hq / element-hq/synapse
Check for conflicting appservice IDs when running synapse.config check
Open
A-Application-Service
A-Config
S-Tolerable
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#11864](https://github.com/matrix-org/synapse/issues/11864).
---
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)
```
Contributor guide
Assessment
This issue has not been assessed yet.