Awesome-Technologies / synapse-admin

Admin console for synapse Matrix homeserver
https://awesome-technologies.github.io/synapse-admin/
Apache License 2.0
861 stars 126 forks source link

Feature request - Manage homeserver.yaml #256

Open Eirikr70 opened 2 years ago

Eirikr70 commented 2 years ago

Hi Folks, thanks for that admin app. Do you think it would be possible to extend its perimeter to the administration of the homeserver.yaml file ? It is sometimes hard for admin to understand the right setups in that file. Thanks

awesome-michael commented 2 years ago

Synapse-Admin in its current form is not able to do this as it would require an API from Synapse itself to change the configuration. But this would be a very interesting feature. Any ideas on how this could be achieved are warmly welcome.

Eirikr70 commented 2 years ago

I can't much tell how that could be achieved : I have installed Synapse and found it very hard to configure. I suppose some fields go together and the choices you make for one open or close choices for some other (e.g. you open email 3pid, then you have to set up an email server, so that might open a page to enter the mail parameters ; or you want to join the federation, then the federation tester is launched and maybe the coherence of the internal parameters of the homeserver.yaml is checked). By the way, although the homeserver.yaml example is quite verbose, it is written in IT english, so a non IT professional low level english speaker gets lost : the admin app might be a bit more user-friendly. I'd love to contribute but I'd have to be explained the internal coherence of the configuration, in international english (or french or italian ;)), which might be quite a long way ...

Eirikr70 commented 2 years ago

Six months later, I'm still thinking about that : I think you don't even need any api to set up the administration of the homeserver.yaml. You just need to know where it is located, and to be able to restart the synapse service. The homeserver.yaml admin interface may just read and write the homeserver.yamlfile with no access to the app, and then, when the user is ready, propose to restart the server. The service will then read the new file and take into account the new settings.