This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
syn2mas: duplicate key value violates unique constraint "compat_sessions_device_id_unique" #2312
Comments
guyguy333
changed the title
duplicate key value violates unique constraint "compat_sessions_device_id_unique"
syn2mas: duplicate key value violates unique constraint "compat_sessions_device_id_unique"
Feb 6, 2024
I can confirm that I see the same issue. On my homeserver, duplicate
I didn't realize that shared secret auth is broken so ended up not using the migration, but just uniquifying the device_ids going into the migration allowed it to complete:
but this is probably not a great idea, since clients will probably happily add non-unique device IDs in the future. From the code, I couldn't get a sense of why the |
Whoops, this is just #2033 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I'm trying to migrate my users from Synapse to MAS. I use Synapse 1.100.0 and MAS 0.7.0.
However, there is an issue running migrate. I don't have issues when running with dryRun.
What's the right way to fix that ?
Thanks
The text was updated successfully, but these errors were encountered: