Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

We need a way to rename homeservers (SYN-28) #1209

Open

Description

@matrixbot

The current common use case for Synapse is that people install it running as localhost - have a play with it; see that it's good.

They then want to expose the same server to run as --server-name foo.net - except there isn't (as far as I know) an easy way to change the server-name without vaping the whole HS DB. We need one.

(Imported from https://matrix.org/jira/browse/SYN-28)

(Reported by @ara4n)

Activity

  1. matrixbot commented on Sep 16, 2014

    @matrixbot
    MemberAuthor

    Jira watchers: @erikjohnston @ara4n

  2. matrixbot commented on Sep 16, 2014

    @matrixbot
    MemberAuthor

    Links exported from Jira:

    relates to SYN-266

  3. matrixbot commented on Sep 25, 2014

    @matrixbot
    MemberAuthor

    I don't think this can be done once the home server has federated with anyone else, since the remote will will always send to the old server name.

    For the special case of renaming from a localhost we can probably write a script that goes and rewrites the local DB.

    -- @erikjohnston

  4. matrixbot commented on Feb 2, 2015

    @matrixbot
    MemberAuthor

    We need to think this through better before it's too late.

    If I decide to rebrand from foo.com to bar.com, it sounds like my only choice is to create a new HS DB containing the same account/profile names as before, and then somehow bootstrap these new users into the same rooms as the old ones (by inviting them using the old users)?

    This feels very unwieldy. I guess supporting forwarding addresses would be a step in the better direction, and then we can migrate like email. For now, however, I can't see anything better than a script which creates the new DB and helps guide you through rejoining your users into rooms as the new user (and possibly leaving those rooms as the old user).

    (Thank goodness we don't have 1:1 rooms!)

    -- @ara4n

  5. matrixbot commented on Feb 3, 2015

    @matrixbot
    MemberAuthor

    The old users won't necessarily have permission to invite new users into the room.

    -- @erikjohnston

  6. added
    z-p2
    z-feature
    on Nov 7, 2016
  7. changed the title [-]We need a way to rename homeservers (SYN-28)[/-] [+]We need a way to rename homeservers (https://github.com/matrix-org/synapse/issues/1209)[/+] on Nov 7, 2016
  8. changed the title [-]We need a way to rename homeservers (https://github.com/matrix-org/synapse/issues/1209)[/-] [+]We need a way to rename homeservers (SYN-28)[/+] on Nov 7, 2016
  9. ptman commented on Oct 1, 2020

    @ptman
    Contributor
  10. cypherworld commented on Aug 18, 2021

    @cypherworld

    +1
    please re-open this

  11. Mikaela commented on Aug 18, 2021

    @Mikaela
  12. added
    T-Enhancement
    on Aug 23, 2021
  13. erikjohnston commented on Aug 23, 2021

    @erikjohnston
    Member

    This will need spec work FTR

  14. added
    S-Tolerable
    O-Uncommon
    and removed
    z-p2
    z-feature
    on Aug 24, 2022
  15. IngwiePhoenix commented on Sep 13, 2022

    @IngwiePhoenix

    I am stripping away a few domains I own. One of them is associated to my HS.

    Can I transfer my existing (two and a half years of work) state to a new domain? Or do I have to redo just about everything?

    Thanks. :)

  16. ptman commented on Sep 13, 2022

    @ptman
    Contributor

    This ticket would (hopefully) have been closed if there was a way

  17. IngwiePhoenix commented on Sep 13, 2022

    @IngwiePhoenix

    I see, so I'll be spending my day trying to note down all the channels I am in and re-joining them... ah, fun. :/
    Thanks tho :)

  18. IngwiePhoenix commented on Sep 13, 2022

    @IngwiePhoenix

    Looks neat; however I will have to figure out a way to run a new blank homeserver and my "old" homeserver at the same time for that. That said, this tool is super handy nevertheless, making a bookmark for later. Thanks!

  19. jlemangarin commented on Aug 7, 2023

    @jlemangarin

    How can we do when our instance is only local without federation (so we don't have any external synchronisation issues as mentionned in #1209 (comment) )

  20. gleruzh commented on Oct 29, 2023

    @gleruzh

    There exists https://ems.element.io/tools/matrix-migration

    1. but it looks like a migration of room memebership, but not messages visibility, or I'm mistaken?
    2. how it could work for "private per server" rooms (with "Block anyone not part of {{ matrix_domain }} from ever joining this room: Enabled")?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-UncommonS-TolerableT-Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions