10662
Comment:
|
16897
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
<<TableOfContents()>> |
<<TableOfContents(4)>> |
Line 10: | Line 9: |
Read this manual completely before starting. You might want to do a simple migration or a more complex one, depending on your needs. So make sure you understand the necessary preparation and decide which steps of the migration you will do and which steps you'll leave out.<<BR>> When you start, follow to the order of the migration steps outlined here. |
'''Read this manual completely before starting your migration.''' When you start your migration, follow to the order of the migration steps outlined here. |
Line 13: | Line 11: |
== Terms and abbreviations == | == Terms, abbreviations and main steps == The terms and abbreviations described in this paragraph will be used throughout the remainder of this document. |
Line 20: | Line 21: |
The D-ITET homeserver will be referred to as the '''old''' homeserver, the ETH ID homeserver as the '''new''' homeserver. Accounts residing on either of them will be referred to as your '''old''' or '''new''' account.<<BR>> Rooms your '''old''' account has the role ''Admin'' in are referred to as ''Your rooms''. |
* The D-ITET homeserver will be referred to as the ''old homeserver'', the ETH ID homeserver as the ''new homeserver''.<<BR>> Make sure you know which is your old and new homeserver based on your ETH affiliation.<<BR>> * The credentials you use to login on both old and new homeservers are always your ''ETH login'' and ''ETH password'' * At first login on a homeserver, your account will be created. It stores your settings on the homeserver. Your account on the new homeserver is referred to as your ''new account'', your account on the old homeserver as your ''old account''. * Rooms on the old homeserver you have the role ''Admin'' in are referred to as ''Your rooms'' * All other rooms in which your role is ''Default'' are referred to as ''rooms you joined'' or ''rooms you're a member of'' * ''Public'' rooms can be joined by anyone, ''private'' rooms can only be joined after receiving an ''invite'' * 1:1 people chats are identical to rooms from a technical viewpoint and not distinguished here. All actions referring to rooms have to be applied to 1:1 people chats as well. You might want to do a simple migration or a more complex one, depending on your personal preference. Make sure you understand the necessary preparation and decide which steps of the migration you will do and which steps you'll leave out. === Examples of migrations with varying complexity === The first step of any type of migration is to [[#Prepare_your_new_account|set up your new account]]. Afterwards you could passively wait until your new account [[#Accept_invites_with_your_new_account|gets invites]] to rooms and be done with the migration. If you want to invest more time you can actively start to [[#Join_public_rooms_with_your_new_account|join the rooms]] your old account is a member of and [[#Ask_for_an_invite_to_a_private_room_for_your_new_account|ask for invites for your new account]]. If you want to be able to decrypt the chat history of a room which originated on the old homeserver with your new account, you'll have to [[#Decrypt_chat_history_with_your_new_account|transfer your E2E keys]]. If you are a room admin, you could simply [[#Establish_your_rooms_on_the_new_homeserver|set up a successor room on the new homeserver]] and let people know how to join it, provided the chat history of the original room is irrelevant. Or if you want to retain your room's chat history you can [[#Set_up_your_new_account_as_room_admin|set up your new account as room admin]] and proactively [[#Replace_room_members_with_their_new_accounts|invite the new accounts]] of existing (old) room members |
Line 24: | Line 47: |
== Optional preparation == For the following migration steps it's convenient to open a browser window logged into your '''old''' and '''new''' account each, to be able to switch back and forth between them. === Visual distinction === * To be able to visually distinguish your '''old''' and '''new''' accounts, you might want to upload different profile pictures for the time of the migration |
== Preparation == For the migration to go smoothly there are mandatory steps you need to do. The optional steps are for your convenience and not strictly necessary, but helpful. === Mandatory preparation === ==== Prepare your new account ==== 1. Read the [[https://unlimited.ethz.ch/display/itkb/Chat|official documentation of ETH ID's Matrix service]] 1. Log in on your new homeserver (see next step for how to do this). This step creates your account and allows others to invite you to rooms with your new account. 1. Read the official documentation on [[https://unlimited.ethz.ch/display/itkb/Get+started|how to set up your new account on ETH ID's Matrix service]] 1. Set up your new account as outlined in official documentation ==== Verify security settings and sessions of your old account ==== * Do the self-verification of sessions you have on different devices * Verify any cleanup your sessions as described in ETH IDs official documentation under [[https://unlimited.ethz.ch/display/itkb/Get+started#Getstarted-Self-Verification|Self-Verification]]. === Optional preparation === For the following migration steps it's convenient to open a browser window logged into your old and new account each, to be able to switch back and forth between them. ==== Visual distinction ==== * To be able to visually distinguish your old and new accounts, you might want to upload different profile pictures for the time of the migration |
Line 29: | Line 68: |
=== Add other homeserver === Adding the '''new''' homeserver to the '''old''' account and vice versa enables searching for public rooms on the added homeserver: 1. In the column listing your rooms, klick on the plus symbol ['''+'''] to the right of the title '''Rooms''':<<BR>> {{attachment:Plus_symbol.png||class=framed}} 1. From the popup menu select '''Explore public rooms''':<<BR>> {{attachment:Explore_public_rooms.png||class=framed}} 1. Klick on the arrowhead pointing downwards ['''⋁'''] next to '''Matrix rooms [<homeserver>]''':<<BR>> {{attachment:Matrix_rooms_v.png||class=framed}} 1. In the popup menu select '''Add a new server''':<<BR>> {{attachment:Add_a_new_server.png||class=framed}} 1. Enter the homeserver of your account you're not working with right now:<<BR>> {{attachment:Enter_homeserver.png||class=framed}} 1. Klick on '''Add''' |
==== Add homeservers for room search ==== A foreign homeserver can be added to an account to enable search for public rooms on the foreign homeserver. Do the listed steps for both your old and new account. Specifically, while logged into your new account, add the old homeserver. While logged into your old account, add the new homeserver. 1. In the column listing your rooms, klick on the plus symbol ['''+'''] to the right of the title '''Rooms''':<<BR>> {{attachment:Plus_symbol.png||class=framed}} 1. From the popup menu select '''Explore public rooms''':<<BR>> {{attachment:Explore_public_rooms.png||class=framed}} 1. Klick on the arrowhead pointing downwards ['''⋁'''] next to '''Matrix rooms [<homeserver>]''':<<BR>> {{attachment:Matrix_rooms_v.png||class=framed}} 1. In the popup menu select '''Add a new server''':<<BR>> {{attachment:Add_a_new_server.png||class=framed}} 1. Enter the new homeserver if you're working with your old account, enter the old homeserver if you're working with your new account.<<BR>> The homeserver in the screenshot ''staffchat.ethz.ch'' is an example if you're a staff member and are logged into your old account. Make sure you enter the foreign homeserver you want here.<<BR>> {{attachment:Enter_homeserver.png||class=framed}} 1. Klick on '''Add''' This enables to search for rooms you might only know part of the rooms name. Another way to access rooms is by [[#Join_rooms_with_your_new_account|using their name or ID]]. |
Line 43: | Line 84: |
==== Decrypt chat history with your new account ==== In case you're not interested in any room's chat history, skip ahead to [[#Join_rooms_with_your_new_account|the next step]]. Be aware by skipping this step, previous chat history will never be available to your new account.<<BR>><<BR>> For your new account to be able to read the chat history of the freshly joined rooms, the end to end (E2E) room keys have to be exported from your old account and imported with your new account.<<BR>> The E2E keys of a room are rotated every 7 days or after 100 messages so this step needs to be done quickly after joining a room. |
|
Line 44: | Line 89: |
== Replace your old with your new account in rooms you joined == | ===== Export E2E keys from your old account ===== In your old account: 1. Klick on your display name in the top left area to open a popup menu containing the account settings:<<BR>> {{attachment:Account_settings.png||class=framed}} 1. Select '''Security & Privacy''':<<BR>> {{attachment:Security_privacy.png||class=framed}} 1. Under '''Encryption → Secure Backup''' klick on '''Restore from Backup''' to make sure all your room keys are loaded in your session:<<BR>> {{attachment:Restore_from_Backup.png||class=framed}}<<BR>> {X} Screenshot nochmals mit niedrigerer Auflösung hochladen 1. Under '''Encryption → Cryptography''' klick on '''Export E2E room keys''' to save the room keys to a file: <<BR>> {{attachment:Export_import_E2E.png||class=framed}} ===== Import E2E keys to your new account ===== In your new account: 1. As with the export step before, go to '''Settings → Security & Privacy → Encryption → Cryptography''' 1. Klick on '''Import E2E room keys''' to load the room keys from the file you previously saved == Join rooms with your new account == This might be as easy as [[#Accept_invites_with_your_new_account|accepting invites to rooms]]. For rooms you haven't gotten an invite, yet, you can [[#Check_uninvited_rooms.27_settings|check their settings]] and try to [[#Join_public_rooms_with_your_new_account|join them yourself]]. If rooms are private, you'll have to [[#Ask_for_an_invite_to_a_private_room_for_your_new_account|ask for an invite]]. Whenever you successfully joined a room with your new account, [[#Leave_rooms_with_your_old_account|leave it with your old account]]. |
Line 46: | Line 110: |
1. Check if your '''new''' account already received '''invites''' to rooms your '''old''' account has joined:<<BR>> | 1. Check if your new account already received '''invites''' to rooms your old account has joined:<<BR>> |
Line 52: | Line 116: |
With your '''old''' account, repeat the following steps for each room your '''new''' account hasn't been invited to, yet: | With your old account, repeat the following steps for each room your new account hasn't been invited to, yet. The example room used here is called ''Showroom''. |
Line 62: | Line 126: |
Alternatively you can find a room's address in its settings under '''General → Room Addresses → Published Addresses → Main Address''':<<BR>> | Alternatively you can find a room's address in its settings under '''General → Room Addresses → Published Addresses → Main Address'''. Our example room's address is ''#showroom_localaddress:matrix.ee.ethz.ch'':<<BR>> |
Line 66: | Line 130: |
Depending on the setting you can then join a room or ask for an invite. | Depending on the setting, your next step is either to join a public room or ask for an invite if it's a private room. |
Line 68: | Line 132: |
=== Join rooms with your new account === This is possible if a room's access setting is ''Anyone who knows the room's link, apart from guests'' or ''Anyone who knows the room's link, including guests'':<<BR>> → try to join these rooms with your '''new''' account by entering each room's URL in your browser's URL field: |
==== Join public rooms with your new account ==== This is possible if a room is public, i.e. it's access setting is ''Anyone who knows the room's link, apart from guests'' or ''Anyone who knows the room's link, including guests'':<<BR>> → try to join these rooms with your new account by entering each room's URL in your browser's URL field: |
Line 73: | Line 137: |
Alternatively you can search for a public room after you [[#Add_homeservers_for_room_search|added the room's homeserver]] and join it directly. | |
Line 74: | Line 139: |
=== Ask for an invite for your new account === This can be done if the room's access setting is ''Only people who have been invited'':<<BR>> → use your '''old''' account to ask the room admins to invite your '''new''' account:<<BR>> ''Please invite my account `@<ETH username>:<new homeserver>` due to the Matrix migration from D-ITET to ETH ID.'' |
==== Ask for an invite to a private room for your new account ==== This can be done in private rooms where your old account has been previously invited to, i.e. the room's access setting is ''Only people who have been invited'':<<BR>> → With your old account enter the room you want your new account to join and ask the room admins to invite your new account:<<BR>> ''Please invite my account `@<ETH username>:<new homeserver>` due to the Matrix migration from D-ITET to ETH ID.''<<BR>><<BR>> Admins are labelled as such in the room members list. In case the list is too long, look for a room admin in the room's settings under '''Roles & Permissions'''. |
Line 80: | Line 146: |
/!\ After successfully joining a room with your '''new''' account, leave the room with your '''old''' account. This step is important, as deletion of a room from the '''old''' homeserver is only possible when there are no more members with local accounts:<<BR>> | After successfully joining a room with your new account, leave the room with your old account. This step is important, as deletion of a room from the old homeserver is only possible when there are no more members with local accounts:<<BR>> |
Line 83: | Line 149: |
Your old account can only be deleted from the old homeserver after it left all rooms, so make sure you see no more 1:1 people chats listed under ''People'' or rooms listed under ''Rooms''. | |
Line 84: | Line 151: |
== Decrypt chat history with your new account == In case you're not interested in a room's chat history, skip ahead to the next step.<<BR>> For your '''new''' account to be able to read the chat history of the freshly joined rooms, the end to end (E2E) room keys have to be exported from your '''old''' account and imported with your '''new''' account.<<BR>> The E2E keys of a room are rotated every 7 days or after 100 messages so this step needs to be done quickly after joining a room. === Export E2E keys from your old account === In your '''old''' account: 1. Klick on your display name in the top left area to open a popup menu containing the account settings:<<BR>> {{attachment:Account_settings.png||class=framed}} 1. Select '''Security & Privacy''':<<BR>> {{attachment:Security_privacy.png||class=framed}} 1. Under '''Encryption → Cryptography''' klick on '''Export E2E room keys''' to save the room keys to a file: <<BR>> {{attachment:Export_import_E2E.png||class=framed}} === Import E2E keys to your new account === In your '''new''' account: 1. As with the export step before, go to '''Settings → Security & Privacy → Encryption → Cryptography''' 1. Klick on '''Import E2E room keys''' to load the room keys from the file you previously saved == Bring your rooms to the new homeserver == You have the choice of recreating your rooms from scratch on the '''new''' homeserver and [[#How_to_invite_an_account_to_one_of_your_rooms|invite]] room members again with their '''new''' accounts. This is an easy way to clean up the chat history and memberships.<<BR>> If you want to keep the chat history of a room, follow the steps below to synchronize your rooms to the '''new''' homeserver. |
== Establish your rooms on the new homeserver == You have the choice of recreating your rooms from scratch on the new homeserver and [[#How_to_invite_an_account_to_one_of_your_rooms|invite]] room members again with their new accounts or allow anyone to join by themselves. This is an easy way to clean up the chat history and memberships. If you set up such a successor room on the new homeserver, post it's address in your old room so room members are able to find it.<<BR>> If you want to keep the chat history of a room, follow the steps below to synchronize your rooms to the new homeserver. |
Line 110: | Line 156: |
The exception are local rooms set up to be accessible only on their homeserver. They cannot be synchronized to another homeserver. Such rooms will have to be re-created on the '''new''' homeserver, the chat history will be lost.<<BR>> | The exception are local rooms set up to be accessible only on their homeserver. They cannot be synchronized to another homeserver. Such rooms will have to be re-created on the new homeserver, the chat history will be lost.<<BR>> |
Line 113: | Line 159: |
If you invite an account on the '''new''' homeserver to a local room on the '''old''' homeserver, the invite will fail. | If you invite an account on the new homeserver to a local room on the old homeserver, the invite will fail. |
Line 116: | Line 162: |
With your '''old''' account, repeat the following steps for each of your rooms: 1. [[#How_to_invite_an_account_to_one_of_your_rooms|Invite]] your '''new''' account with your '''old''' account 1. Have your '''new''' account accept the invite. Verify this happened in the chat history:<<BR>> |
With your old account, repeat the following steps for each of your rooms: 1. [[#How_to_invite_an_account_to_one_of_your_rooms|Invite]] your new account with your old account 1. Have your new account accept the invite. Verify this happened in the chat history:<<BR>> |
Line 120: | Line 166: |
1. With your '''old''' account, grant your '''new''' account the role '''Admin''' by klicking on its profile picture appearing in the chat stating its joining. 1. Grant your '''new''' account the role '''Admin''':<<BR>> |
1. With your old account, grant your new account the role '''Admin''' by klicking on its profile picture appearing in the chat stating its joining. 1. Grant your new account the role '''Admin''':<<BR>> |
Line 128: | Line 174: |
With your '''new''' account, repeat the following steps for each of your rooms: 1. If your room is only accessible by invite, [[#How_to_invite_an_account_to_one_of_your_rooms|invite]] members again with their '''new''' accounts.<<BR>> The Computer Vision Lab (CVL) won't migrate to the '''new''' homeserver and its members don't need to be invited with their '''new''' accounts. 1. Kick the corresponding '''old''' account out of your room to enable deletion of a room from the '''old''' homeserver |
Depending on your rooms setting, people either need your invite to join it or can join freely. If an invite is necessary, repeat the following steps with your new account for each of your rooms. If your room has other admins than yourself, coordinate these steps with them: 1. [[#How_to_invite_an_account_to_one_of_your_rooms|Invite]] members again with their new accounts.<<BR>> Some users might not have logged into their new account and cannot be invited yet.<<BR>> The Computer Vision Lab (CVL) won't migrate to the new homeserver and its members don't need to be invited with their new accounts. 1. Kick the corresponding old account out of your room to enable deletion of a room from the old homeserver |
Line 134: | Line 181: |
With your '''old''' account, repeat the following steps for each of your rooms: 1. Verify your '''new''' account has the role '''Admin''' |
With your old account, repeat the following steps for each of your rooms: 1. Verify your new account has the role '''Admin''' |
Line 138: | Line 185: |
== How to invite an account to one of your rooms == |
== Additonal how-tos == As inviting a new account and verifying the action is critical to the migration process, this seemingly simple task is explained here in detail. === How to invite an account to one of your rooms === The example room used here is called ''Showroom'', the old account used in the example is called ''D-ITET Test User'', the new account ''ETH ID Test User''. |
This article is a work in progress, don't trust it's contents, yet.
Contents
Migrate to ETH ID's Matrix service
Except for the Computer Vision Lab (CVL) all D-ITET institutes and groups have to migrate away from D-ITET ISG's Matrix service to ETH ID's Matrix service. This article explains how to do this.
Read this manual completely before starting your migration. When you start your migration, follow to the order of the migration steps outlined here.
Terms, abbreviations and main steps
The terms and abbreviations described in this paragraph will be used throughout the remainder of this document.
The homeserver is the Matrix service on which an account or room was initially created. The following four homeservers are distinguished:
Homeserver |
Managed by |
Available to |
Type |
matrix.ee.ethz.ch |
D-ITET ISG |
staff |
old |
matrix-stud.ee.ethz.ch |
D-ITET ISG |
students |
old |
staffchat.ethz.ch |
ETH ID |
staff |
new |
studentchat.ethz.ch |
ETH ID |
students |
new |
The D-ITET homeserver will be referred to as the old homeserver, the ETH ID homeserver as the new homeserver.
Make sure you know which is your old and new homeserver based on your ETH affiliation.
The credentials you use to login on both old and new homeservers are always your ETH login and ETH password
- At first login on a homeserver, your account will be created. It stores your settings on the homeserver.
Your account on the new homeserver is referred to as your new account, your account on the old homeserver as your old account.
Rooms on the old homeserver you have the role Admin in are referred to as Your rooms
All other rooms in which your role is Default are referred to as rooms you joined or rooms you're a member of
Public rooms can be joined by anyone, private rooms can only be joined after receiving an invite
- 1:1 people chats are identical to rooms from a technical viewpoint and not distinguished here. All actions referring to rooms have to be applied to 1:1 people chats as well.
You might want to do a simple migration or a more complex one, depending on your personal preference. Make sure you understand the necessary preparation and decide which steps of the migration you will do and which steps you'll leave out.
Examples of migrations with varying complexity
The first step of any type of migration is to set up your new account.
Afterwards you could passively wait until your new account gets invites to rooms and be done with the migration. If you want to invest more time you can actively start to join the rooms your old account is a member of and ask for invites for your new account.
If you want to be able to decrypt the chat history of a room which originated on the old homeserver with your new account, you'll have to transfer your E2E keys.
If you are a room admin, you could simply set up a successor room on the new homeserver and let people know how to join it, provided the chat history of the original room is irrelevant.
Or if you want to retain your room's chat history you can set up your new account as room admin and proactively invite the new accounts of existing (old) room members
Preparation
For the migration to go smoothly there are mandatory steps you need to do. The optional steps are for your convenience and not strictly necessary, but helpful.
Mandatory preparation
Prepare your new account
- Log in on your new homeserver (see next step for how to do this). This step creates your account and allows others to invite you to rooms with your new account.
Read the official documentation on how to set up your new account on ETH ID's Matrix service
- Set up your new account as outlined in official documentation
Verify security settings and sessions of your old account
- Do the self-verification of sessions you have on different devices
- Verify any cleanup your sessions
as described in ETH IDs official documentation under Self-Verification.
Optional preparation
For the following migration steps it's convenient to open a browser window logged into your old and new account each, to be able to switch back and forth between them.
Visual distinction
- To be able to visually distinguish your old and new accounts, you might want to upload different profile pictures for the time of the migration
- It might also be helpful to change the display name of your accounts for the same purpose
Add homeservers for room search
A foreign homeserver can be added to an account to enable search for public rooms on the foreign homeserver. Do the listed steps for both your old and new account. Specifically, while logged into your new account, add the old homeserver. While logged into your old account, add the new homeserver.
In the column listing your rooms, klick on the plus symbol [+] to the right of the title Rooms:
From the popup menu select Explore public rooms:
Klick on the arrowhead pointing downwards [⋁] next to Matrix rooms [<homeserver>]:
In the popup menu select Add a new server:
Enter the new homeserver if you're working with your old account, enter the old homeserver if you're working with your new account.
The homeserver in the screenshot staffchat.ethz.ch is an example if you're a staff member and are logged into your old account. Make sure you enter the foreign homeserver you want here.
Klick on Add
This enables to search for rooms you might only know part of the rooms name. Another way to access rooms is by using their name or ID.
Decrypt chat history with your new account
In case you're not interested in any room's chat history, skip ahead to the next step. Be aware by skipping this step, previous chat history will never be available to your new account.
For your new account to be able to read the chat history of the freshly joined rooms, the end to end (E2E) room keys have to be exported from your old account and imported with your new account.
The E2E keys of a room are rotated every 7 days or after 100 messages so this step needs to be done quickly after joining a room.
Export E2E keys from your old account
In your old account:
Klick on your display name in the top left area to open a popup menu containing the account settings:
Select Security & Privacy:
Under Encryption → Secure Backup klick on Restore from Backup to make sure all your room keys are loaded in your session:
Screenshot nochmals mit niedrigerer Auflösung hochladenUnder Encryption → Cryptography klick on Export E2E room keys to save the room keys to a file:
Import E2E keys to your new account
In your new account:
As with the export step before, go to Settings → Security & Privacy → Encryption → Cryptography
Klick on Import E2E room keys to load the room keys from the file you previously saved
Join rooms with your new account
This might be as easy as accepting invites to rooms. For rooms you haven't gotten an invite, yet, you can check their settings and try to join them yourself. If rooms are private, you'll have to ask for an invite. Whenever you successfully joined a room with your new account, leave it with your old account.
Accept invites with your new account
Check if your new account already received invites to rooms your old account has joined:
Accept the invites for those rooms you want to join:
Check uninvited rooms' settings
With your old account, repeat the following steps for each room your new account hasn't been invited to, yet. The example room used here is called Showroom.
- Hover your mouse over a room's name in the room list
Klick on the triple dots [···] when they appear
Select Settings in the popup menu:
Check the room's access settings under Security & Privacy → Who can access this room?
Note the room's address or ID from the last part of the room's URL, beginning with either a hash [#] or an exclamation mark [!]:
#<room address>:<rooms homeserver>
!<room id>:<rooms homeserver>
Alternatively you can find a room's address in its settings under General → Room Addresses → Published Addresses → Main Address. Our example room's address is #showroom_localaddress:matrix.ee.ethz.ch:
And it's ID under Advanced → Room information:
Depending on the setting, your next step is either to join a public room or ask for an invite if it's a private room.
Join public rooms with your new account
This is possible if a room is public, i.e. it's access setting is Anyone who knows the room's link, apart from guests or Anyone who knows the room's link, including guests:
→ try to join these rooms with your new account by entering each room's URL in your browser's URL field:
https://<new homeserver>/_matrix/client/#/room/#<room address>:<rooms homeserver>
https://<new homeserver>/_matrix/client/#/room/!<room id>:<rooms homeserver>
Alternatively you can search for a public room after you added the room's homeserver and join it directly.
Ask for an invite to a private room for your new account
This can be done in private rooms where your old account has been previously invited to, i.e. the room's access setting is Only people who have been invited:
→ With your old account enter the room you want your new account to join and ask the room admins to invite your new account:
Please invite my account @<ETH username>:<new homeserver> due to the Matrix migration from D-ITET to ETH ID.
Admins are labelled as such in the room members list. In case the list is too long, look for a room admin in the room's settings under Roles & Permissions.
Leave rooms with your old account
After successfully joining a room with your new account, leave the room with your old account. This step is important, as deletion of a room from the old homeserver is only possible when there are no more members with local accounts:
- Open the popup menu containing the room's settings again
Select Leave Room
Your old account can only be deleted from the old homeserver after it left all rooms, so make sure you see no more 1:1 people chats listed under People or rooms listed under Rooms.
Establish your rooms on the new homeserver
You have the choice of recreating your rooms from scratch on the new homeserver and invite room members again with their new accounts or allow anyone to join by themselves. This is an easy way to clean up the chat history and memberships. If you set up such a successor room on the new homeserver, post it's address in your old room so room members are able to find it.
If you want to keep the chat history of a room, follow the steps below to synchronize your rooms to the new homeserver.
Exception: Local rooms
The exception are local rooms set up to be accessible only on their homeserver. They cannot be synchronized to another homeserver. Such rooms will have to be re-created on the new homeserver, the chat history will be lost.
Rooms with such a setup show This room is not accessible by remote Matrix servers under Room Settings → Advanced → Room information:
If you invite an account on the new homeserver to a local room on the old homeserver, the invite will fail.
Set up your new account as room admin
With your old account, repeat the following steps for each of your rooms:
Invite your new account with your old account
Have your new account accept the invite. Verify this happened in the chat history:
With your old account, grant your new account the role Admin by klicking on its profile picture appearing in the chat stating its joining.
Grant your new account the role Admin:
On the appearing warning dialogue, klick Continue
Verify the role change is visible in the room's chat history:
Replace room members with their new accounts
Depending on your rooms setting, people either need your invite to join it or can join freely. If an invite is necessary, repeat the following steps with your new account for each of your rooms. If your room has other admins than yourself, coordinate these steps with them:
Invite members again with their new accounts.
Some users might not have logged into their new account and cannot be invited yet.
The Computer Vision Lab (CVL) won't migrate to the new homeserver and its members don't need to be invited with their new accounts.- Kick the corresponding old account out of your room to enable deletion of a room from the old homeserver
Leave your rooms with your old account
With your old account, repeat the following steps for each of your rooms:
Verify your new account has the role Admin
- Leave the room
Additonal how-tos
As inviting a new account and verifying the action is critical to the migration process, this seemingly simple task is explained here in detail.
How to invite an account to one of your rooms
The example room used here is called Showroom, the old account used in the example is called D-ITET Test User, the new account ETH ID Test User.
- Right click on the room in the column listing all rooms
If the room has no members, yet, klick on the button Invite to this room:
Otherwise open the popup menu of a room containing Settings and select Invite People
Type the account you want to invite into the field left to the green button labelled Invite:
While you're typing, account suggestions appear in the lower part of the window. Select the account from the suggestions:
Klick on Invite
Verify the invite appeared in the room's chat history: