-
I'm not sure but perhaps you need to update the well-known location?
-
This is a bug and I can reproduce it. A silly workaround:
- Backup synapse
- Move synapse to another domain. For example,
synapse2.domain.com
- Create a clone of the backup to the original domain
synapse.domain.com
This should fixup the turn server configuration.
-
@girish
In the meantime I was thinking about the domain change (move) for cloning, like you described.But doesn't this interfere with the rules that Synapse has/depends on?
I read this (old) article somewhere:
Why can't I rename my homeserver?
Currently, the homeserver name is assumed never to change. This means that if you rename your server, other servers will think it's a different server.Perhaps in the future we will add an API for changing the homeserver name, but for now this is not supported.
https://matrix.org/docs/older/faq/
It's an old documentation, but I just want to be on the safe side....
-
@DanTheMan we are not changing the matrix location. We are simply restoring from latest backup into same location as before. You can delete the
synapse2.domain.com
in the steps above. So:The end goal is here is just restore from latest backup to
synapse.domain.com
. This fixes up the turn configuration.- Backup your current synapse located at
synapse.domain.com
- Stop the synapse app
synapse.domain.com
- Move synapse to another domain. For example, move it to
synapse2.domain.com
. The reason for this is to free upsynapse.domain.com
- Now, create a clone of the backup created in step 1 to
synapse.domain.com
If everything is fine, you can just delete the app at
synapse2.domain.com
. - Backup your current synapse located at
-
@girish I'm a little stuck (not sure) with step 3 and maybe 4:
- 3: Move synapse to another domain. For example, move it to synapse2.domain.com. The reason for this is to free up synapse.domain.com
How do we move Synapse exactly? By just going to the location of the existing install and change the synapse.domain.com to synapse2.domain.com?
Or do we have to install a second app with synapse2.domain.com pointed to it? -
@DanTheMan said in Turn domain Matrix-Synapse not changing after moving to another my.domain:
How do we move Synapse exactly? By just going to the location of the existing install and change the synapse.domain.com to synapse2.domain.com?
yes, exactly. Just go to
Location
view of the app and change the subdomain tosynapse2
- https://docs.cloudron.io/apps/#locationThen, clone is the clone button in the backup section of the
synapse2
app - https://docs.cloudron.io/backups/#clone-app -