I am hosting a Dendrite homeserver. However, I’m not happy with the pace of development of the software and I’d like to switch to Synapse.
Is there a documented way to migrate the data (rooms, chat history, users) from Dendrite to Synapse? I’ve used matrix-docker-ansible-deploy to set it up.

  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    This issue/this issue at the corporate Element fork seem to indicate that the process is entirely manual. As in, make a client side backup per account, make all accounts leave all rooms, log out all sessions, kill Dendrite, start Synapse, recreate accounts, restore backups, pray.

    Even if you don’t migrate the data, you still need to deactivate all the accounts. If you can’t keep the host signing key material, you also need to make sure all servers know about all users having left or you start getting tons of phantom events and possibly even make existing rooms impossible to join.

    As for client backups: I know Element can do backups/data dumps, but I’m not sure about restoring.

    Alternatively, you may be able to write SQL migrations to convert Dendrite to Synapse, but that sounds like absolute developer agony.

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      I think you can safely skip the database migration idea. If it was easy, someone would have done it by now. Probably takes several weeks of full time developer work to do something like that.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    Oh boy.

    The short answer, is no.

    The only matrix-to-matrix server migration I know of, is the remote possibility of some day maybe it being possible to go from synapse to dendrite. If one day dendrite achieves feature parity, and work starts happening to write the software necessary to convert a synapse database and config into a dendrite database and config.

    Going the other way, today? Nope.