Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • 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-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. General Discussion
  4. AP Test (community.nodebb.org)
  5. Updates to the world page

Updates to the world page

Scheduled Pinned Locked Moved AP Test (community.nodebb.org)
nodebbactivitypnodebb
33 Posts 7 Posters 45 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.
  • snoopy@piefed.socialS This user is from outside of this forum
    snoopy@piefed.socialS This user is from outside of this forum
    snoopy@piefed.social
    wrote on last edited by
    #7

    Very cool ! That's amazing 😄

    1 Reply Last reply
    0
    • projectmoon@forum.agnos.isP This user is from outside of this forum
      projectmoon@forum.agnos.isP This user is from outside of this forum
      projectmoon@forum.agnos.is
      wrote on last edited by
      #8

      I've successfully managed to find and track https://sh.itjust.works/c/localllama from my instance. But when I try, for example, https://lemmy.world/c/technology, I can't find anything. These Lemmy communities DO, however, show up as users on my NodeBB instance. Is there something I'm doing wrong? I tried going directly to /category/@technology@lemmy.world too.

      1 Reply Last reply
      0
      • nutomic@lemmy.mlN This user is from outside of this forum
        nutomic@lemmy.mlN This user is from outside of this forum
        nutomic@lemmy.ml
        wrote on last edited by
        #9

        What exactly do you mean with parallel federation and queues backed up? There is such a feature but only a single case that requires it, which is federation from lemmy.world to aussie.zone. NodeBB wont be affected by that.

        K 1 Reply Last reply
        0
        • julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote on last edited by
          #10

          @projectmoon@forum.agnos.is have you tried navigating directly to the url without the preceding @? It isn't required (for NodeBB).

          In cases where the category is currently a user, you'll have to put the whole handle into the search box and execute the search, the category will then be migrated from the user.

          1 Reply Last reply
          0
          • projectmoon@forum.agnos.isP This user is from outside of this forum
            projectmoon@forum.agnos.isP This user is from outside of this forum
            projectmoon@forum.agnos.is
            wrote on last edited by
            #11

            Not specifically that URL, no. Now I just tried it. It resulted in a deadlock in Postgres. 😄

            2025-04-08T12:42:10.933614676Z 2025-04-08 12:42:10.933 UTC [32590] DETAIL:  Process 32590 waits for ShareLock on transaction 35424413; blocked by process 32626.
            2025-04-08T12:42:10.933621228Z 	Process 32626 waits for ShareLock on transaction 35424434; blocked by process 32590.
            2025-04-08T12:42:10.933624695Z 	Process 32590: 
            2025-04-08T12:42:10.933626920Z 	INSERT INTO "legacy_object" ("_key", "type")
            2025-04-08T12:42:10.933629244Z 	SELECT k, $2::TEXT::LEGACY_OBJECT_TYPE
            2025-04-08T12:42:10.933631398Z 	  FROM UNNEST($1::TEXT[]) k
            2025-04-08T12:42:10.933633432Z 	    ON CONFLICT
            2025-04-08T12:42:10.933635396Z 	    DO NOTHING
            2025-04-08T12:42:10.933637329Z 	Process 32626: 
            2025-04-08T12:42:10.933639423Z 	INSERT INTO "legacy_object" ("_key", "type")
            2025-04-08T12:42:10.933641588Z 	SELECT k, $2::TEXT::LEGACY_OBJECT_TYPE
            2025-04-08T12:42:10.933643603Z 	  FROM UNNEST($1::TEXT[]) k
            2025-04-08T12:42:10.933645586Z 	    ON CONFLICT
            2025-04-08T12:42:10.933647519Z 	    DO NOTHING
            2025-04-08T12:42:10.933654783Z 2025-04-08 12:42:10.933 UTC [32590] HINT:  See server log for query details.
            2025-04-08T12:42:10.933656978Z 2025-04-08 12:42:10.933 UTC [32590] CONTEXT:  while inserting index tuple (6227,69) in relation "legacy_object"
            2025-04-08T12:42:10.933659042Z 2025-04-08 12:42:10.933 UTC [32590] STATEMENT:  
            2025-04-08T12:42:10.933660966Z 	INSERT INTO "legacy_object" ("_key", "type")
            2025-04-08T12:42:10.933663000Z 	SELECT k, $2::TEXT::LEGACY_OBJECT_TYPE
            2025-04-08T12:42:10.933664863Z 	  FROM UNNEST($1::TEXT[]) k
            2025-04-08T12:42:10.933666666Z 	    ON CONFLICT
            2025-04-08T12:42:10.933668430Z 	    DO NOTHING
            
            1 Reply Last reply
            0
            • projectmoon@forum.agnos.isP This user is from outside of this forum
              projectmoon@forum.agnos.isP This user is from outside of this forum
              projectmoon@forum.agnos.is
              wrote on last edited by
              #12

              After restarting NodeBB, I can load the category, though. Maybe some deadlock on initial import of the community.

              1 Reply Last reply
              0
              • julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.org
                wrote on last edited by
                #13

                😬

                1 Reply Last reply
                0
                • nutomic@lemmy.mlN nutomic@lemmy.ml

                  What exactly do you mean with parallel federation and queues backed up? There is such a feature but only a single case that requires it, which is federation from lemmy.world to aussie.zone. NodeBB wont be affected by that.

                  K This user is from outside of this forum
                  K This user is from outside of this forum
                  kichae@community.nodebb.org
                  wrote on last edited by
                  #14

                  @nutomic@lemmy.ml Mostly what I've observed is significant instances of timing out when trying to find communities on new instances from non-Lemmy-based websites, something that hasn't been notable from Lemmy-to-Lemmy first encounters.

                  1 Reply Last reply
                  0
                  • fitik@fedia.ioF This user is from outside of this forum
                    fitik@fedia.ioF This user is from outside of this forum
                    fitik@fedia.io
                    wrote on last edited by
                    #15

                    Great to see! Existed to see better interoperability between Threadiverse software! Will be cool to see NodeBB users posting in Lemmy/Mbin/Piefed communities

                    1 Reply Last reply
                    0
                    • nutomic@lemmy.mlN This user is from outside of this forum
                      nutomic@lemmy.mlN This user is from outside of this forum
                      nutomic@lemmy.ml
                      wrote on last edited by
                      #16

                      In principle that sounds like a problem with NodeBB or other platforms you are using. Lemmy doesnt do anything special to fetch remote communities. But if you notice any error responses served by Lemmy you can open an issue.

                      1 Reply Last reply
                      0
                      • julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.org
                        wrote last edited by
                        #17

                        I just realized that while we now have the ability to browse and follow remote communities, we don't have a page listing communities ordered by popularity or recency... time to add to my ever expanding list 😩

                        1 Reply Last reply
                        1
                        0
                        • System shared this topic
                        • projectmoon@forum.agnos.isP This user is from outside of this forum
                          projectmoon@forum.agnos.isP This user is from outside of this forum
                          projectmoon@forum.agnos.is
                          wrote last edited by
                          #18

                          Is it also possible to add remote communities to the main forum list? Or merge them into existing local categories?

                          1 Reply Last reply
                          1
                          0
                          • julian@community.nodebb.orgJ This user is from outside of this forum
                            julian@community.nodebb.orgJ This user is from outside of this forum
                            julian@community.nodebb.org
                            wrote last edited by
                            #19

                            Right now you're able to add remote categories to your world page. It's possible that we could allow admins to add remote categories to the forum index, although that'd be something we add later on.

                            1 Reply Last reply
                            1
                            0
                            • julian@community.nodebb.orgJ julian@community.nodebb.org

                              tl;dr — you can now find remote categories and see your tracked/watched categories in /world.

                              A new alpha version of NodeBB was tagged today: v4.3.0-alpha.3. The biggest change is to the /world route, which up until now showed a list of topics from outside of the local NodeBB instance.

                              New to this alpha release:

                              1. A quick search widget was added, allowing you to directly search for remote categories. There is no need to navigate to to the search page to discover new categories.
                              2. Your list of tracked and watched categories will show at the top of the page.
                                • "Tracking" and "Watching" categories—both local and remote—is how content discovery happens in NodeBB. Tracked categories will have new content show up in the "unread" page, while watched categories take that a step further and notify you when new content is posted.
                                • Tracking and watching a category will tell NodeBB to subscribe to that remote community for updates

                              At this time we're continuing to look for stability issues with the remote category integration. We'll be working on QoL fixes as we move into the beta phase this/next week.

                              60bd030a-7626-4629-9ac4-8ddd2bd34f3f-image.png

                              0a11627f-65cc-477b-8c33-49f1ea6de53f-image.png

                              projectmoon@forum.agnos.isP This user is from outside of this forum
                              projectmoon@forum.agnos.isP This user is from outside of this forum
                              projectmoon@forum.agnos.is
                              wrote last edited by
                              #20

                              I'm seeing issues with loading remote categories. I can't load the NodeBB bug reports category at all, and for the ActivityPub category, I can find it in my world category search, but I get a 404 when trying to load it. Also can't load general-discussion@community.nodebb.org for example.

                              It seems the NodeBB development board is the only one really federating for me. Any way I can solve this?

                              I am running beta2 of 4.3.0.

                              1 Reply Last reply
                              1
                              0
                              • julian@community.nodebb.orgJ This user is from outside of this forum
                                julian@community.nodebb.orgJ This user is from outside of this forum
                                julian@community.nodebb.org
                                wrote last edited by
                                #21

                                @projectmoon@forum.agnos.is hmm... could be a bug in the user migration code path.

                                Can you run your forum in dev mode (./nodebb dev) and try to load some of the categories here in your forum, and let me know if you see any errors in the console?

                                1 Reply Last reply
                                1
                                0
                                • projectmoon@forum.agnos.isP This user is from outside of this forum
                                  projectmoon@forum.agnos.isP This user is from outside of this forum
                                  projectmoon@forum.agnos.is
                                  wrote last edited by
                                  #22

                                  @julian@community.nodebb.org could not run it in dev mode directly because of docker compose, but did set NODE_ENV to development and got verbose logs. Only thing that shows up is:

                                  2025-05-03T19:35:59.553Z [4567/53] - warn: Route requested but not found: /category/activitypub@community.nodebb.org
                                  
                                  1 Reply Last reply
                                  1
                                  0
                                  • projectmoon@forum.agnos.isP This user is from outside of this forum
                                    projectmoon@forum.agnos.isP This user is from outside of this forum
                                    projectmoon@forum.agnos.is
                                    wrote last edited by
                                    #23

                                    So, this URL does work: https://forum.agnos.is/category/nodebb-development@community.nodebb.org

                                    Maybe it has something to do with the activitypub category being a sub-category of nodebb development?

                                    1 Reply Last reply
                                    1
                                    0
                                    • julian@community.nodebb.orgJ This user is from outside of this forum
                                      julian@community.nodebb.orgJ This user is from outside of this forum
                                      julian@community.nodebb.org
                                      wrote last edited by
                                      #24

                                      @projectmoon@forum.agnos.is no, that didn't matter. There is no concept of nested categories in ActivityPub yet.

                                      But the issue seems legitimate, I can't access the ActivityPub category from a test Mastodon server either.

                                      1 Reply Last reply
                                      1
                                      0
                                      • projectmoon@forum.agnos.isP This user is from outside of this forum
                                        projectmoon@forum.agnos.isP This user is from outside of this forum
                                        projectmoon@forum.agnos.is
                                        wrote last edited by
                                        #25

                                        @julian@community.nodebb.org I was able to access it from a Lemmy instance. So it is federating, at least partly. But interesting to know that Mastodon has issues with it...

                                        One thing that might be helpful is that NodeBB gives an invalid ID error when trying to follow the category via the sync function in admin settings. Stack trace shows it's the error being thrown when trying to follow (activitypub.js line 43).

                                        1 Reply Last reply
                                        1
                                        0
                                        • julian@community.nodebb.orgJ This user is from outside of this forum
                                          julian@community.nodebb.orgJ This user is from outside of this forum
                                          julian@community.nodebb.org
                                          wrote last edited by
                                          #26

                                          @projectmoon@forum.agnos.is thanks, can you try again? For whatever reason the handle-to-cid association was lost, and I'm not sure why. I've manually restored it now.

                                          1 Reply Last reply
                                          1
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

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