YunoHost-Apps / synapse_ynh

Matrix server (synapse) package for YunoHost
https://matrix.org/
GNU General Public License v3.0
79 stars 42 forks source link

Can't use domain.tld as server_name if domain.tld is used by another application #323

Closed sebmennetrier closed 1 year ago

sebmennetrier commented 2 years ago

Describe the bug

When the app installed on domain.tld is installed after synapse, everything is working but the same error appears during update of synapse.

The error seems comming of creation of permission in install (and update) script :

    ynh_permission_create --permission=server_client_infos --url=$server_name/.well-known/matrix \
                          --label="Server info for clients. (well-known)" --show_tile=false --allowed=visitors \
                          --auth_header=false --protected=true

Context

Steps to reproduce

Expected behavior

Synapse can be installed with server_name that is set to a domain already used by another application.

Logs

https://paste.yunohost.org/raw/etevoyoyov

Josue-T commented 1 year ago

I think it's more a upstream issue linked to yunohost.