element-hq / element-hq/synapse

Check for conflicting appservice IDs when running synapse.config check

Open
#11,864 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.