Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Turn domain Matrix-Synapse not changing after moving to another my.domain

Turn domain Matrix-Synapse not changing after moving to another my.domain

Scheduled Pinned Locked Moved Solved Support
turn
14 Posts 3 Posters 1.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by girish
    #4

    @DanTheMan Think this is a bug . We don't seem to update the turn server information when the dashboard domain changes. I will investigate tomorrow and provide a fix/workaround.

    1 Reply Last reply
    3
    • DanTheManD Offline
      DanTheManD Offline
      DanTheMan
      wrote on last edited by DanTheMan
      #5

      Thanks for checking that Girish 👍

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #6

        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.

        DanTheManD 1 Reply Last reply
        2
        • DanTheManD Offline
          DanTheManD Offline
          DanTheMan
          wrote on last edited by DanTheMan
          #7

          Thanks a lot for that Girish 🙏
          I will check on it tommorow and report back when successfully accomplished....

          1 Reply Last reply
          1
          • girishG girish

            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.

            DanTheManD Offline
            DanTheManD Offline
            DanTheMan
            wrote on last edited by DanTheMan
            #8

            @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....

            girishG 1 Reply Last reply
            0
            • DanTheManD DanTheMan

              @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....

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #9

              @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 up synapse.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 .

              DanTheManD 1 Reply Last reply
              0
              • girishG girish

                @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 up synapse.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 .

                DanTheManD Offline
                DanTheManD Offline
                DanTheMan
                wrote on last edited by DanTheMan
                #10

                @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?

                girishG 1 Reply Last reply
                0
                • DanTheManD DanTheMan

                  @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?

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by girish
                  #11

                  @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 to synapse2 - https://docs.cloudron.io/apps/#location

                  Then, clone is the clone button in the backup section of the synapse2 app - https://docs.cloudron.io/backups/#clone-app

                  1 Reply Last reply
                  0
                  • DanTheManD Offline
                    DanTheManD Offline
                    DanTheMan
                    wrote on last edited by DanTheMan
                    #12

                    Everything worked out really good and calling through the Elements app is working again.
                    Thanks for the great and fast support Girish 🙏

                    We can close this one as solved!!

                    1 Reply Last reply
                    2
                    • girishG girish has marked this topic as solved on
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #13

                      @DanTheMan thanks! I am working on fixing the bug in any case.

                      1 Reply Last reply
                      2
                      • DanTheManD Offline
                        DanTheManD Offline
                        DanTheMan
                        wrote on last edited by
                        #14

                        Great👍
                        then we have at least tackled this bug for the upcoming future.

                        1 Reply Last reply
                        1
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search