Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Cerulean)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. ActivityPub Protocol
  4. FEP-a427: Server Domain Move

FEP-a427: Server Domain Move

Pianificato Fissato Bloccato Spostato ActivityPub Protocol
9 Post 4 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • skavish@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
    skavish@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
    skavish@socialhub.activitypub.rocks
    scritto su ultima modifica di
    #1

    This FEP defines a best-effort protocol for migrating an entire ActivityPub server from one domain to another when the operator controls both domains and can keep the old domain online.

    https://codeberg.org/fediverse/fep/src/commit/3359718e53ea66fabe123d44a375024fdcb0a2b4/fep/a427/fep-a427.md

    Appreciate any feedback, thanks!

    julian@activitypub.spaceundefined 2 Risposte Ultima Risposta
    0
    • skavish@socialhub.activitypub.rocksundefined skavish@socialhub.activitypub.rocks

      This FEP defines a best-effort protocol for migrating an entire ActivityPub server from one domain to another when the operator controls both domains and can keep the old domain online.

      https://codeberg.org/fediverse/fep/src/commit/3359718e53ea66fabe123d44a375024fdcb0a2b4/fep/a427/fep-a427.md

      Appreciate any feedback, thanks!

      julian@activitypub.spaceundefined Questo utente è esterno a questo forum
      julian@activitypub.spaceundefined Questo utente è esterno a questo forum
      julian@activitypub.space
      scritto su ultima modifica di
      #2

      The mapping rules outlined seem good in theory, but are not expressive enough in practice.

      There are three migration paths when migrating to a new domain:

      1. Keep software + db
        • Domain changes, no path changes
      2. Keep software + db, change subfolder (e.g. / to /forum)
        • All routes change, prefix rule applies
      3. Migrate software
        • All routes change, none of the available rules are expressive enough

      It's possible that one could change software, migrate data, and all identifiers remain the same.

      Realistically this never happens.

      Realistically what happens is a reverse proxy mapping is put into place so requests to the old path under the new domain redirect to the new URL. In this scenario, there is no regular expression that will fully capture this.

      e.g. /t/274884/some-topic-slug to /topic/274880/some-topic-slug

      1 Risposta Ultima Risposta
      0
      • skavish@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
        skavish@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
        skavish@socialhub.activitypub.rocks
        scritto su ultima modifica di
        #3

        Thanks, this breakdown makes sense.

        I agree that changing software while preserving everything is a much more complicated scenario. Once the software changes, routes and identifiers usually change in ways that cannot be captured cleanly by simple mapping rules. This spec is not trying to solve that problem.

        The first two cases likely cover 95 percent of real migrations. Keeping the same software and database, with either no path change or just a prefix change, is predictable and rule based. That seems like the right scope for what we are building here.

        I can clarify in the spec that full software migrations are out of scope.

        1 Risposta Ultima Risposta
        0
        • skavish@socialhub.activitypub.rocksundefined skavish@socialhub.activitypub.rocks

          This FEP defines a best-effort protocol for migrating an entire ActivityPub server from one domain to another when the operator controls both domains and can keep the old domain online.

          https://codeberg.org/fediverse/fep/src/commit/3359718e53ea66fabe123d44a375024fdcb0a2b4/fep/a427/fep-a427.md

          Appreciate any feedback, thanks!

          julian@activitypub.spaceundefined Questo utente è esterno a questo forum
          julian@activitypub.spaceundefined Questo utente è esterno a questo forum
          julian@activitypub.space
          scritto su ultima modifica di
          #4

          Have you looked into the migration spec that @jonny@neuromatch.social put together a couple months back?

          It was regarding content migrations between servers, but one could adopt the same for switching domains (although I think Jonny's is scoped to the user level, not at the instance level like yours)

          1 Risposta Ultima Risposta
          0
          • skavish@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
            skavish@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
            skavish@socialhub.activitypub.rocks
            scritto su ultima modifica di
            #5

            No, I have not seen it. I was actually trying to find an existing spec before starting this one. Is it one of the FEPs?

            silverpill@socialhub.activitypub.rocksundefined julian@activitypub.spaceundefined 2 Risposte Ultima Risposta
            0
            • jonny@neuromatch.socialundefined Questo utente è esterno a questo forum
              jonny@neuromatch.socialundefined Questo utente è esterno a questo forum
              jonny@neuromatch.social
              scritto su ultima modifica di
              #6

              @julian
              This one: https://codeberg.org/fediverse/fep/src/branch/main/fep/1580/fep-1580.md

              This was basically exactly what I had in mind actually, it would work equally well for whole instance moves (whether the source instance is still active or not). Using redirects from the old domain for objects is not really feasible for a bunch of reasons that come into play in core cases in which a domain migration would be necessary. Being able to migrate arbitrary objects resolves actor, instance, and object moves with a single mechanism. Predetermining IDs would be incompatible many AP implementations with and constrain the form IDs take. Re: the privacy note at the bottom, you don't need to publish actor lists either if you put the move object on the actor - the instance only needs to know the actors that the instance already knows about

              After drafting and discussing for awhile I came to the conclusion that migrations sort of have to be driven by the target instance, with the source instance's role just being issuing a signed migration object so the implementation can be as simple as possible for the source and it can be retired as quickly as possible. most of the time migrations are forced by some duress at the source, and also are likely to involve an old/out of date instances. Maintaining mappings from the source instance is fragile and inevitably prone to hijacking.

              jonny@neuromatch.socialundefined 1 Risposta Ultima Risposta
              0
              • jonny@neuromatch.socialundefined jonny@neuromatch.social

                @julian
                This one: https://codeberg.org/fediverse/fep/src/branch/main/fep/1580/fep-1580.md

                This was basically exactly what I had in mind actually, it would work equally well for whole instance moves (whether the source instance is still active or not). Using redirects from the old domain for objects is not really feasible for a bunch of reasons that come into play in core cases in which a domain migration would be necessary. Being able to migrate arbitrary objects resolves actor, instance, and object moves with a single mechanism. Predetermining IDs would be incompatible many AP implementations with and constrain the form IDs take. Re: the privacy note at the bottom, you don't need to publish actor lists either if you put the move object on the actor - the instance only needs to know the actors that the instance already knows about

                After drafting and discussing for awhile I came to the conclusion that migrations sort of have to be driven by the target instance, with the source instance's role just being issuing a signed migration object so the implementation can be as simple as possible for the source and it can be retired as quickly as possible. most of the time migrations are forced by some duress at the source, and also are likely to involve an old/out of date instances. Maintaining mappings from the source instance is fragile and inevitably prone to hijacking.

                jonny@neuromatch.socialundefined Questo utente è esterno a questo forum
                jonny@neuromatch.socialundefined Questo utente è esterno a questo forum
                jonny@neuromatch.social
                scritto su ultima modifica di
                #7

                @julian
                Its also a bit of a political question: who should be in charge? I tend to favor decentering instances in favor of empowering actors. So yes instances exist and need to change domains, but imo that would be best served by decoupling actors from instances and thereby domain changes, so an instance changing domains works just as well as an actor moving domains.

                1 Risposta Ultima Risposta
                0
                • skavish@socialhub.activitypub.rocksundefined skavish@socialhub.activitypub.rocks

                  No, I have not seen it. I was actually trying to find an existing spec before starting this one. Is it one of the FEPs?

                  silverpill@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
                  silverpill@socialhub.activitypub.rocksundefined Questo utente è esterno a questo forum
                  silverpill@socialhub.activitypub.rocks
                  scritto su ultima modifica di
                  #8

                  See my reply in another thread:

                  https://socialhub.activitypub.rocks/t/fep-7628-move-actor/3583/33

                  1 Risposta Ultima Risposta
                  0
                  • skavish@socialhub.activitypub.rocksundefined skavish@socialhub.activitypub.rocks

                    No, I have not seen it. I was actually trying to find an existing spec before starting this one. Is it one of the FEPs?

                    julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                    julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                    julian@activitypub.space
                    scritto su ultima modifica di
                    #9

                    Ugh, Discourse is not receiving the whole thread. Please take a look at @jonny@neuromatch.social's replies on ActivityPub.Space

                    https://activitypub.space/post/https%3A%2F%2Fneuromatch.social%2Fusers%2Fjonny%2Fstatuses%2F116133825045982326

                    1 Risposta Ultima Risposta
                    0

                    Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                    Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                    Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                    Registrati Accedi
                    Rispondi
                    • Risposta alla discussione
                    Effettua l'accesso per rispondere
                    • Da Vecchi a Nuovi
                    • Da Nuovi a Vecchi
                    • Più Voti


                    Feed RSS
                    FEP-a427: Server Domain Move
                    @pierobosio@soc.bosio.info
                    V4.10.1 Contributors
                    • Accedi

                    • Accedi o registrati per effettuare la ricerca.
                    • Primo post
                      Ultimo post