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

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

Open
matrixbot opened this issue Sep 16, 2014 · 16 comments
Open

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

matrixbot opened this issue Sep 16, 2014 · 16 comments
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@matrixbot
Copy link
Member

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)

@matrixbot
Copy link
Member Author

Jira watchers: @erikjohnston @ara4n

@matrixbot
Copy link
Member Author

matrixbot commented Sep 16, 2014

Links exported from Jira:

relates to SYN-266

@matrixbot
Copy link
Member Author

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

@matrixbot
Copy link
Member Author

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

@matrixbot
Copy link
Member Author

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

-- @erikjohnston

@matrixbot matrixbot added z-p2 (Deprecated Label) z-feature (Deprecated Label) labels Nov 7, 2016
@matrixbot matrixbot 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) Nov 7, 2016
@matrixbot matrixbot 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) Nov 7, 2016
@ptman
Copy link
Contributor

ptman commented Oct 1, 2020

matrix-org/matrix-spec-proposals#2787

@cypherworld
Copy link

+1
please re-open this

@Mikaela

This comment has been minimized.

@erikjohnston erikjohnston added the T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. label Aug 23, 2021
@erikjohnston
Copy link
Member

This will need spec work FTR

@reivilibre reivilibre added S-Tolerable Minor significance, cosmetic issues, low or no impact to users. O-Uncommon Most users are unlikely to come across this or unexpected workflow and removed z-p2 (Deprecated Label) z-feature (Deprecated Label) labels Aug 24, 2022
@IngwiePhoenix
Copy link

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. :)

@ptman
Copy link
Contributor

ptman commented Sep 13, 2022

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

@IngwiePhoenix
Copy link

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 :)

@ptman
Copy link
Contributor

ptman commented Sep 13, 2022

@IngwiePhoenix
Copy link

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!

@jlemangarin
Copy link

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) )

@gleruzh
Copy link

gleruzh commented Oct 29, 2023

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

9 participants