Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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
Brand Logo

agnos.is Forums

  1. Home
  2. Fediverse
  3. NodeBB v4.0.0 — Federate good times, come on!

NodeBB v4.0.0 — Federate good times, come on!

Scheduled Pinned Locked Moved Fediverse
activitypubnodebbactivitypreleaseforumsnodebb
116 Posts 65 Posters 1.1k 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.
  • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
    jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #102

    @julian I am now unable to import threads using the search area. It worked a few days ago (before 4.0.4) and maybe before changing http to https in config.json. Now I can only follow users without actually following their content (no following is operational). While importing threads worked, it was still useless, because I couldn't join in on conversations.
    Yesterday I experimented with different proxy_pass values in my nginx proxy.conf file:

    • proxy_pass http://forum_n66_pl; – original configuration
    • proxy_pass http://127.0.0.1:4567; – no effect on AP behaviour, nodebb's admin privileges affected
    • proxy_pass https://forum_n66_pl; – resulted in a "Bad Gateway" error.
      I attach the recent log file: https://u.pcloud.link/publink/show?code=XZun2L5Zy2PaNwGjuh72kxKbh6Wl9jEb4FmX

    Please tell me you know how to fix it. 🙄

    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
      [email protected]
      wrote on last edited by
      #103

      @Jakub-Urbanowicz http://forum_n66_pl this suggests there's an upstream block.

      Can you paste your entire nginx config?

      jakub-urbanowicz@community.nodebb.orgJ 1 Reply Last reply
      0
      • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
        jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #104

        I am afraid I hit a wall, No idea what else I could do short of reinstalling the whole thing.

        1 Reply Last reply
        0
        • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
          jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #105

          @julian just a moment; it's a bit complex, because configuration is divided into several files.

          1 Reply Last reply
          0
          • julian@community.nodebb.orgJ [email protected]

            @Jakub-Urbanowicz http://forum_n66_pl this suggests there's an upstream block.

            Can you paste your entire nginx config?

            jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
            jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #106

            @julian Please find attached a summary of my nginx settings.
            The back-end installation of NodeBB was done manually in a home directory, while the reverse proxy is part of on automated server solution called Webinoly. It is typically used for self-hosting WordPress, but not only. It worked pretty well before the advent of Federation capabilities, so I wasn't bothered. I just uncommented some proxy headers in /etc/nginx/apps.d/forum.n66.pl-proxy.conf and added "X-NginX-Proxy true" as per documentation. Mongodb (7.0) is provided from a deb repository as is nodejs.
            I'm not sure why the web root directory as mentioned in /etc/nginx/sites-available/forum.n66.pl does not exist (root /var/www/forum.n66.pl/htdocs). I don't even have /var/www/forum.n66.pl/.
            Thank you for helping me.

            julian@community.nodebb.orgJ 1 Reply Last reply
            0
            • jakub-urbanowicz@community.nodebb.orgJ [email protected]

              @julian Please find attached a summary of my nginx settings.
              The back-end installation of NodeBB was done manually in a home directory, while the reverse proxy is part of on automated server solution called Webinoly. It is typically used for self-hosting WordPress, but not only. It worked pretty well before the advent of Federation capabilities, so I wasn't bothered. I just uncommented some proxy headers in /etc/nginx/apps.d/forum.n66.pl-proxy.conf and added "X-NginX-Proxy true" as per documentation. Mongodb (7.0) is provided from a deb repository as is nodejs.
              I'm not sure why the web root directory as mentioned in /etc/nginx/sites-available/forum.n66.pl does not exist (root /var/www/forum.n66.pl/htdocs). I don't even have /var/www/forum.n66.pl/.
              Thank you for helping me.

              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #107

              @Jakub-Urbanowicz whatever your nginx config, if it was working before, it should not require any changes to support federation.

              I would revert back to a working config if you're seeing issues with regular usage of NodeBB. Otherwise if the site is loading fine then tweaking nginx (probably) won't fix anything and the problem likely lies elsewhere.

              I will look into your configs tomorrow.

              1 Reply Last reply
              0
              • wall_e@ioc.exchangeW [email protected]

                @julian haha now that reposting from fedi instances is possible, maybe you need to collapse the "... shared this topic N minutes ago", by default in the UI 😅

                baris@community.nodebb.orgB This user is from outside of this forum
                baris@community.nodebb.orgB This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #108

                @[email protected] This is done now, consecutive shares are merged.

                1 Reply Last reply
                0
                • jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
                  jakub-urbanowicz@community.nodebb.orgJ This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #109

                  @julian Updated to nodejs 22.x and nodebb 4.0.5. Still no joy with Federation. Did you manage to have a look at my Nginx settings? I have quite a few people subscribed, but not a piece of new ever showed from them. Otherwise the forum is working fine.

                  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
                    [email protected]
                    wrote on last edited by
                    #110

                    @Jakub-Urbanowicz can you please:

                    1. create a test account on ActivityPub.academy
                    2. Run your NodeBB in dev mode (./nodebb dev)
                    3. mention your account on your forum?
                    4. Have your forum account reply back.

                    See if there are any errors logged. ActivityPub errors are only logged to console in dev mode.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      Guest
                      wrote on last edited by
                      #111

                      Hi from Lemmy 🙂

                      1 Reply Last reply
                      0
                      • willi@social.tchncs.deW This user is from outside of this forum
                        willi@social.tchncs.deW This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #112

                        @julian So... I wonder if NodeBB is/can be a Fediverse instance now basically? Meaning, can registered users interact with other Fediverse instances?

                        I'm considering building a special interest community with NodeBB as a base. But some might want to create and/or embed media content and I'm thinking of using own PeerTube, Pixelfed instances for example for this purpose. Would a NodeBB user be able to interact with them? And can I gate areas from being public? Because of NSFW content.

                        julian@community.nodebb.orgJ 1 Reply Last reply
                        0
                        • willi@social.tchncs.deW [email protected]

                          @julian So... I wonder if NodeBB is/can be a Fediverse instance now basically? Meaning, can registered users interact with other Fediverse instances?

                          I'm considering building a special interest community with NodeBB as a base. But some might want to create and/or embed media content and I'm thinking of using own PeerTube, Pixelfed instances for example for this purpose. Would a NodeBB user be able to interact with them? And can I gate areas from being public? Because of NSFW content.

                          julian@community.nodebb.orgJ This user is from outside of this forum
                          julian@community.nodebb.orgJ This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #113

                          @[email protected] yes to all, NodeBB is a fediverse instance now 🙂

                          1 Reply Last reply
                          0
                          • willi@social.tchncs.deW This user is from outside of this forum
                            willi@social.tchncs.deW This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #114

                            @julian That's great! Any tips starting this as cheap as possible and with least amount of caring work? I've read so far you need VPS which is not only costly(?) but also backup etc would be in my hands, right? Would like to avoid that tbh.

                            julian@community.nodebb.orgJ 1 Reply Last reply
                            0
                            • willi@social.tchncs.deW [email protected]

                              @julian That's great! Any tips starting this as cheap as possible and with least amount of caring work? I've read so far you need VPS which is not only costly(?) but also backup etc would be in my hands, right? Would like to avoid that tbh.

                              julian@community.nodebb.orgJ This user is from outside of this forum
                              julian@community.nodebb.orgJ This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #115

                              @[email protected] a VPS can be had from DigitalOcean or Vultr quite economically (although I know that isn't always the case in some countries)

                              You can also use our referral link for an account credit too!

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


                              • Login

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