Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. General Discussion
  3. Okey, so, #mastodon and #activitypub knowers: is there an established procedure for changing your server's domain?

Okey, so, #mastodon and #activitypub knowers: is there an established procedure for changing your server's domain?

Scheduled Pinned Locked Moved General Discussion
mastodonactivitypub
12 Posts 6 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • shinmera@mastodon.tymoon.euS shinmera@mastodon.tymoon.eu

    Okey, so, #mastodon and #activitypub knowers: is there an established procedure for changing your server's domain?

    I understand this case is (unfortunately) not covered by the protocol, and thus is not doable optimally. I don't care about that, I just want to know the closest to optimal method.

    Is there some way to set up another instance on the new domain and migrate all the data over? Make some kinda redirect before ultimately abandoning the old domain some years down the road?

    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.space
    wrote last edited by
    #3

    @shinmera@mastodon.tymoon.eu if you're looking for a solution that is doable today, then that would be setting up the new site, iterating over your old user database to set movedTo, iterating over the new user database to set alsoKnownAs, and then publishing a Move to every user's followers.

    That'd preserve user accounts and migrate followers, but lose content.

    1 Reply Last reply
    0
    • shinmera@mastodon.tymoon.euS This user is from outside of this forum
      shinmera@mastodon.tymoon.euS This user is from outside of this forum
      shinmera@mastodon.tymoon.eu
      wrote last edited by
      #4

      @julian What about automated export and import of the posts? So that they at least exist in the new history, even if other federated servers will still point to the old domains?

      julian@activitypub.spaceJ shnizmuffin@toots.inbutts.lolS 2 Replies Last reply
      0
      • shinmera@mastodon.tymoon.euS shinmera@mastodon.tymoon.eu

        @julian What about automated export and import of the posts? So that they at least exist in the new history, even if other federated servers will still point to the old domains?

        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.space
        wrote last edited by
        #5

        @shinmera@mastodon.tymoon.eu oh sure I assume that would be taken care of if you're literally just changing domains, the underlying database is still the same.

        This is assuming the software didn't hardcode the IDs with the old domain 😏

        1 Reply Last reply
        0
        • shinmera@mastodon.tymoon.euS This user is from outside of this forum
          shinmera@mastodon.tymoon.euS This user is from outside of this forum
          shinmera@mastodon.tymoon.eu
          wrote last edited by
          #6

          @julian I know absolutely nothin' about mastodon internals

          julian@activitypub.spaceJ 1 Reply Last reply
          0
          • shinmera@mastodon.tymoon.euS shinmera@mastodon.tymoon.eu

            @julian I know absolutely nothin' about mastodon internals

            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.space
            wrote last edited by
            #7

            @shinmera@mastodon.tymoon.eu oh yes, I should also mention there is no user friendly tooling to do this.

            1 Reply Last reply
            0
            • shinmera@mastodon.tymoon.euS shinmera@mastodon.tymoon.eu

              @julian What about automated export and import of the posts? So that they at least exist in the new history, even if other federated servers will still point to the old domains?

              shnizmuffin@toots.inbutts.lolS This user is from outside of this forum
              shnizmuffin@toots.inbutts.lolS This user is from outside of this forum
              shnizmuffin@toots.inbutts.lol
              wrote last edited by
              #8

              @shinmera @julian there's no support for importing toots from other instances. Your export is only an archive.

              1 Reply Last reply
              0
              • shinmera@mastodon.tymoon.euS shinmera@mastodon.tymoon.eu

                Okey, so, #mastodon and #activitypub knowers: is there an established procedure for changing your server's domain?

                I understand this case is (unfortunately) not covered by the protocol, and thus is not doable optimally. I don't care about that, I just want to know the closest to optimal method.

                Is there some way to set up another instance on the new domain and migrate all the data over? Make some kinda redirect before ultimately abandoning the old domain some years down the road?

                django@social.coopD This user is from outside of this forum
                django@social.coopD This user is from outside of this forum
                django@social.coop
                wrote last edited by
                #9

                @shinmera GoToSocial has a Mastodon migration tool, I see it’s archived though https://github.com/VyrCossont/slurp/

                shinmera@mastodon.tymoon.euS 1 Reply Last reply
                0
                • django@social.coopD django@social.coop

                  @shinmera GoToSocial has a Mastodon migration tool, I see it’s archived though https://github.com/VyrCossont/slurp/

                  shinmera@mastodon.tymoon.euS This user is from outside of this forum
                  shinmera@mastodon.tymoon.euS This user is from outside of this forum
                  shinmera@mastodon.tymoon.eu
                  wrote last edited by
                  #10

                  @django thanks. it's only archived cause it's now on codeberg (nice) https://codeberg.org/vyr/slurp

                  django@social.coopD 1 Reply Last reply
                  0
                  • shinmera@mastodon.tymoon.euS shinmera@mastodon.tymoon.eu

                    @django thanks. it's only archived cause it's now on codeberg (nice) https://codeberg.org/vyr/slurp

                    django@social.coopD This user is from outside of this forum
                    django@social.coopD This user is from outside of this forum
                    django@social.coop
                    wrote last edited by
                    #11

                    @shinmera oh I missed that, awesome!

                    1 Reply Last reply
                    0
                    • shinmera@mastodon.tymoon.euS shinmera@mastodon.tymoon.eu

                      Okey, so, #mastodon and #activitypub knowers: is there an established procedure for changing your server's domain?

                      I understand this case is (unfortunately) not covered by the protocol, and thus is not doable optimally. I don't care about that, I just want to know the closest to optimal method.

                      Is there some way to set up another instance on the new domain and migrate all the data over? Make some kinda redirect before ultimately abandoning the old domain some years down the road?

                      fox@social.hostnetwork.xyzF This user is from outside of this forum
                      fox@social.hostnetwork.xyzF This user is from outside of this forum
                      fox@social.hostnetwork.xyz
                      wrote last edited by
                      #12

                      @shinmera when my main acces domain moved from mastodon to social I just changed the settings and made everything redirect there. Probably only broke the I stances that can't handle webfinger and the alias domain stuff thingy

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better πŸ’—

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups