Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • 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

Darkscribes Community

  1. Home
  2. Uncategorized
  3. v4.0.0 Upgrade Support

v4.0.0 Upgrade Support

Scheduled Pinned Locked Moved Uncategorized
4.0.0
49 Posts 11 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.
  • 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
    #1

    If you have problems upgrading to v4.0.0, you can ask for help here.

    karsten13@community.nodebb.orgK baris@community.nodebb.orgB cagatay@community.nodebb.orgC nono-lqdn@community.nodebb.orgN eeeee@community.nodebb.orgE 31 Replies Last reply
    0
    • julian@community.nodebb.orgJ [email protected]

      If you have problems upgrading to v4.0.0, you can ask for help here.

      karsten13@community.nodebb.orgK This user is from outside of this forum
      karsten13@community.nodebb.orgK This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      Hi,

      I plan upgrading to v4 and tested the new version locally getting these warnings:

      2025-01-22T21:37:20.474Z [4567/233] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
        * nodebb-plugin-2factor
        * nodebb-plugin-composer-default
        * nodebb-plugin-dbsearch
        * nodebb-widget-essentials
        * nodebb-plugin-custom-pages
        * nodebb-plugin-recent-cards
        * nodebb-plugin-question-and-answer
        * nodebb-rewards-essentials
        * nodebb-plugin-spam-be-gone
      

      After digging in the code I found that the plugins define compatibility in their package.json

        "nbbpm": {
          "compatibility": "^3.0.0"
        },
      

      So I did some debug logging:

      'nodebb-theme-persona ^4.0.0'
      'nodebb-plugin-2factor ^3.8.0'
      'nodebb-plugin-composer-default ^3.0.0'
      'nodebb-plugin-dbsearch ^3.3.0'
      'nodebb-widget-essentials ^3.0.0'
      'nodebb-plugin-custom-pages ^3.2.0'
      'nodebb-plugin-recent-cards ^3.7.0'
      'nodebb-plugin-mentions ^4.0.0'
      'nodebb-plugin-markdown ^4.0.0'
      'nodebb-plugin-emoji ^4.0.0'
      'nodebb-plugin-question-and-answer ^3.6.3'
      'nodebb-rewards-essentials ^3.5.0'
      'nodebb-plugin-spam-be-gone ^3.0.0'
      

      Most incompatible plugins are delivered with core nodebb.

      My question: Is it safe to upgrade to v4? Waiting for compatibility updates of the plugins could take long ...

      Thanks!

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

        If you have problems upgrading to v4.0.0, you can ask for help here.

        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
        #3

        All those plugins are likely working with 4.x we just need to release new versions after updating the compatibility string. 4.x didn't have plugin breaking changes like 3.x did.

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

          All those plugins are likely working with 4.x we just need to release new versions after updating the compatibility string. 4.x didn't have plugin breaking changes like 3.x did.

          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
          #4

          @baris @karsten13 agreed, all of those plugins should be working fine with latest NodeBB

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

            If you have problems upgrading to v4.0.0, you can ask for help here.

            cagatay@community.nodebb.orgC This user is from outside of this forum
            cagatay@community.nodebb.orgC This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            I enabled ActivityPub, but I didn’t fully understand how it works.

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

              If you have problems upgrading to v4.0.0, you can ask for help here.

              cagatay@community.nodebb.orgC This user is from outside of this forum
              cagatay@community.nodebb.orgC This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              I created a topic, but when I search for the link, it doesn’t appear NodeBB web site.

              image.png

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

                I created a topic, but when I search for the link, it doesn’t appear NodeBB web site.

                image.png

                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
                #7

                @cagatay can you share the link with me?

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

                  If you have problems upgrading to v4.0.0, you can ask for help here.

                  cagatay@community.nodebb.orgC This user is from outside of this forum
                  cagatay@community.nodebb.orgC This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  here https://efelsefe.com/topic/2371/activitypub-a-hosgeldiniz

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

                    here https://efelsefe.com/topic/2371/activitypub-a-hosgeldiniz

                    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
                    #9

                    @cagatay loads fine: https://community.nodebb.org/post/https%3A%2F%2Fefelsefe.com%2Fpost%2F24380

                    I had to use the post URL though, to bring it in to this forum. I'll see if I can get the topic URL working instead.

                    The topic doesn't show up here automatically because there is no existing connection between this forum and yours.

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

                      If you have problems upgrading to v4.0.0, you can ask for help here.

                      cagatay@community.nodebb.orgC This user is from outside of this forum
                      cagatay@community.nodebb.orgC This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      @julian The manual addition feels odd because when I searched for your link, it appeared directly on my site and stayed there. However, my content did not appear on your site, neither as a link nor as normal content. If this connection is going to be made through manual addition, it doesn’t seem to make much sense to me.

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

                        @julian The manual addition feels odd because when I searched for your link, it appeared directly on my site and stayed there. However, my content did not appear on your site, neither as a link nor as normal content. If this connection is going to be made through manual addition, it doesn’t seem to make much sense to 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
                        #11

                        @cagatay content discovery via ActivityPub is powered through follow relationships – I wrote more about that in our documentation

                        https://docs.nodebb.org/activitypub/discovery/

                        When you "searched for my link", that is the same thing that I did for you. You instructed your NodeBB to load my topic/post, and conversely, I did the same to load your topic into this community.

                        The reason that right now it requires someone to search for it is because you don't follow me at NodeBB, and I don't follow you at efelsefe.com 😄 once I follow your account, your topics will automatically show up here in my world category.

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

                          If you have problems upgrading to v4.0.0, you can ask for help here.

                          nono-lqdn@community.nodebb.orgN This user is from outside of this forum
                          nono-lqdn@community.nodebb.orgN This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #12

                          Hello,

                          I have this error while upgrading to 4.0.0 :

                          2. Bringing base dependencies up to date...  started
                          npm error code ERESOLVE
                          npm error ERESOLVE could not resolve
                          npm error
                          npm error While resolving: [email protected]
                          npm error Found: [email protected]
                          npm error node_modules/nodebb-plugin-emoji
                          npm error   nodebb-plugin-emoji@"6.0.1" from the root project
                          npm error   peer nodebb-plugin-emoji@"^5.0.0 || ^6.0.1" from [email protected]
                          npm error   node_modules/nodebb-plugin-emoji-android
                          npm error     nodebb-plugin-emoji-android@"4.1.1" from the root project
                          npm error
                          npm error Could not resolve dependency:
                          npm error peer nodebb-plugin-emoji@"^5.0.0" from [email protected]
                          npm error node_modules/nodebb-plugin-emoji-one
                          npm error   nodebb-plugin-emoji-one@"4.0.0" from the root project
                          npm error
                          npm error Conflicting peer dependency: [email protected]
                          npm error node_modules/nodebb-plugin-emoji
                          npm error   peer nodebb-plugin-emoji@"^5.0.0" from [email protected]
                          npm error   node_modules/nodebb-plugin-emoji-one
                          npm error     nodebb-plugin-emoji-one@"4.0.0" from the root project
                          npm error
                          npm error Fix the upstream dependency conflict, or retry
                          npm error this command with --force or --legacy-peer-deps
                          npm error to accept an incorrect (and potentially broken) dependency resolution.
                          npm error
                          npm error
                          npm error For a full report see:
                          npm error /srv/nodebb/.npm/_logs/2025-01-23T16_21_06_646Z-eresolve-report.txt
                          
                          nono-lqdn@community.nodebb.orgN 1 Reply Last reply
                          0
                          • nono-lqdn@community.nodebb.orgN [email protected]

                            Hello,

                            I have this error while upgrading to 4.0.0 :

                            2. Bringing base dependencies up to date...  started
                            npm error code ERESOLVE
                            npm error ERESOLVE could not resolve
                            npm error
                            npm error While resolving: [email protected]
                            npm error Found: [email protected]
                            npm error node_modules/nodebb-plugin-emoji
                            npm error   nodebb-plugin-emoji@"6.0.1" from the root project
                            npm error   peer nodebb-plugin-emoji@"^5.0.0 || ^6.0.1" from [email protected]
                            npm error   node_modules/nodebb-plugin-emoji-android
                            npm error     nodebb-plugin-emoji-android@"4.1.1" from the root project
                            npm error
                            npm error Could not resolve dependency:
                            npm error peer nodebb-plugin-emoji@"^5.0.0" from [email protected]
                            npm error node_modules/nodebb-plugin-emoji-one
                            npm error   nodebb-plugin-emoji-one@"4.0.0" from the root project
                            npm error
                            npm error Conflicting peer dependency: [email protected]
                            npm error node_modules/nodebb-plugin-emoji
                            npm error   peer nodebb-plugin-emoji@"^5.0.0" from [email protected]
                            npm error   node_modules/nodebb-plugin-emoji-one
                            npm error     nodebb-plugin-emoji-one@"4.0.0" from the root project
                            npm error
                            npm error Fix the upstream dependency conflict, or retry
                            npm error this command with --force or --legacy-peer-deps
                            npm error to accept an incorrect (and potentially broken) dependency resolution.
                            npm error
                            npm error
                            npm error For a full report see:
                            npm error /srv/nodebb/.npm/_logs/2025-01-23T16_21_06_646Z-eresolve-report.txt
                            
                            nono-lqdn@community.nodebb.orgN This user is from outside of this forum
                            nono-lqdn@community.nodebb.orgN This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #13

                            @nono-lqdn Fixed by doing :

                            npm unl nodebb-plugin-emoji
                            npm i nodebb-plugin-emoji
                            
                            1 Reply Last reply
                            0
                            • julian@community.nodebb.orgJ [email protected]

                              If you have problems upgrading to v4.0.0, you can ask for help here.

                              cagatay@community.nodebb.orgC This user is from outside of this forum
                              cagatay@community.nodebb.orgC This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #14

                              @julian If it is a one-sided follow instead of mutual, will it not be visible post?

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

                                If you have problems upgrading to v4.0.0, you can ask for help here.

                                eeeee@community.nodebb.orgE This user is from outside of this forum
                                eeeee@community.nodebb.orgE This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #15

                                I had tried the alpha and now have to go back to normal upgrade route.
                                after

                                git fetch
                                

                                it said Fatal: not a git repository (or any of the parent directories): .git

                                whats going on here?

                                On another point, upgrading can be a hassle. It in theory, could something be coded so an admin could upgrade from the ACP?

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

                                  If you have problems upgrading to v4.0.0, you can ask for help here.

                                  frankm@linux-nerds.orgF This user is from outside of this forum
                                  frankm@linux-nerds.orgF This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #16

                                  try

                                  git reset --hard origin/v4.x
                                  
                                  1 Reply Last reply
                                  0
                                  • cagatay@community.nodebb.orgC [email protected]

                                    @julian If it is a one-sided follow instead of mutual, will it not be visible post?

                                    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
                                    #17

                                    @cagatay I think so. If A follows B, then B sends stuff to A, but A doesn't send stuff to B.

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

                                      If you have problems upgrading to v4.0.0, you can ask for help here.

                                      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
                                      #18

                                      @[email protected] can you please update the category handles on discussions.thenexus.today? There was a bug that caused some categories to not respond to webfinger request appropriately, so they could not be found on fedi.

                                      You can just change them from one handle to another, and then back again.

                                      That should fix the issue with the testing category not being able to be found.

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

                                        @[email protected] can you please update the category handles on discussions.thenexus.today? There was a bug that caused some categories to not respond to webfinger request appropriately, so they could not be found on fedi.

                                        You can just change them from one handle to another, and then back again.

                                        That should fix the issue with the testing category not being able to be found.

                                        jdp23@neuromatch.socialJ This user is from outside of this forum
                                        jdp23@neuromatch.socialJ This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #19

                                        @julian done, thanks for looking at this!

                                        while I've got you on the line ... i'm still experimenting with Bridgy Fed and last night i had somewhat unexpected results (although maybe it's just that my expectation is wrong). CCing @snarfed.org and @quillmatiq as well ...

                                        There were three accounts involved:

                                        * [email protected] and jdp23.thenexus.today (on Bluesky) are following each other

                                        * thenexusofprivacy.net on Bluesky and [email protected] *aren't* following each other (but thenexusofprivacy.net *is* following ap.brid.gy, and bridges correctly in other situations)

                                        [email protected] posted https://discussions.thenexus.today/topic/28/testing-federation-from-nodebb-to-bluesky-again-... and it federated correctly. Yay! Here's the bridged equivalent: https://bsky.app/profile/jon.discussions.thenexus.today.ap.brid.gy/post/3lgwoj4vkgbd2

                                        [email protected] replied and it federated back. also yay!

                                        but when thenexusofprivacy.net replied, it *didn't* federate back. not so yay.

                                        Any idea what's going on?

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

                                          If you have problems upgrading to v4.0.0, you can ask for help here.

                                          karsten13@community.nodebb.orgK This user is from outside of this forum
                                          karsten13@community.nodebb.orgK This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #20

                                          I did upgrade to v4.0.1 yesterday and now have an issue displaying some forum posts on apple devices (under safari or chrome).

                                          As example you can take a look at https://forum.magicmirror.builders/topic/19306/new-module-installer

                                          Problem is the preview of the 4 images from the topic at the top right. On an iphone they are overlapping so you can not really operate.

                                          IMG_0701.png

                                          Is there an option to disable this preview?

                                          Thanks!

                                          baris@community.nodebb.orgB 1 Reply Last reply
                                          0
                                          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
                                          • Users
                                          • Groups