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

FòrumCAT

  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 3 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.
  • J This user is from outside of this forum
    J This user is from outside of this forum
    julian@community.nodebb.org
    wrote on 20 Jan 2025, 19:24 last edited by
    #1

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

    K B C N E 31 Replies Last reply 22 Jan 2025, 22:10
    0
    • J julian@community.nodebb.org
      20 Jan 2025, 19:24

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

      K This user is from outside of this forum
      K This user is from outside of this forum
      karsten13@community.nodebb.org
      wrote on 22 Jan 2025, 22:10 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
      • J julian@community.nodebb.org
        20 Jan 2025, 19:24

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

        B This user is from outside of this forum
        B This user is from outside of this forum
        baris@community.nodebb.org
        wrote on 22 Jan 2025, 23:16 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.

        J 1 Reply Last reply 22 Jan 2025, 23:20
        0
        • B baris@community.nodebb.org
          22 Jan 2025, 23:16

          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.

          J This user is from outside of this forum
          J This user is from outside of this forum
          julian@community.nodebb.org
          wrote on 22 Jan 2025, 23:20 last edited by
          #4

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

          1 Reply Last reply
          0
          • J julian@community.nodebb.org
            20 Jan 2025, 19:24

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

            C This user is from outside of this forum
            C This user is from outside of this forum
            cagatay@community.nodebb.org
            wrote on 23 Jan 2025, 07:22 last edited by
            #5

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

            1 Reply Last reply
            0
            • J julian@community.nodebb.org
              20 Jan 2025, 19:24

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

              C This user is from outside of this forum
              C This user is from outside of this forum
              cagatay@community.nodebb.org
              wrote on 23 Jan 2025, 07:55 last edited by
              #6

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

              image.png

              J 1 Reply Last reply 23 Jan 2025, 12:56
              0
              • C cagatay@community.nodebb.org
                23 Jan 2025, 07:55

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

                image.png

                J This user is from outside of this forum
                J This user is from outside of this forum
                julian@community.nodebb.org
                wrote on 23 Jan 2025, 12:56 last edited by
                #7

                @cagatay can you share the link with me?

                1 Reply Last reply
                0
                • J julian@community.nodebb.org
                  20 Jan 2025, 19:24

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

                  C This user is from outside of this forum
                  C This user is from outside of this forum
                  cagatay@community.nodebb.org
                  wrote on 23 Jan 2025, 13:11 last edited by
                  #8

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

                  J 1 Reply Last reply 23 Jan 2025, 14:07
                  0
                  • C cagatay@community.nodebb.org
                    23 Jan 2025, 13:11

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

                    J This user is from outside of this forum
                    J This user is from outside of this forum
                    julian@community.nodebb.org
                    wrote on 23 Jan 2025, 14:07 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
                    • J julian@community.nodebb.org
                      20 Jan 2025, 19:24

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

                      C This user is from outside of this forum
                      C This user is from outside of this forum
                      cagatay@community.nodebb.org
                      wrote on 23 Jan 2025, 14:45 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.

                      J 1 Reply Last reply 23 Jan 2025, 16:07
                      0
                      • C cagatay@community.nodebb.org
                        23 Jan 2025, 14:45

                        @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.

                        J This user is from outside of this forum
                        J This user is from outside of this forum
                        julian@community.nodebb.org
                        wrote on 23 Jan 2025, 16:07 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
                        • J julian@community.nodebb.org
                          20 Jan 2025, 19:24

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

                          N This user is from outside of this forum
                          N This user is from outside of this forum
                          nono-lqdn@community.nodebb.org
                          wrote on 23 Jan 2025, 16:23 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: nodebb-plugin-emoji-one@4.0.0
                          npm error Found: nodebb-plugin-emoji@6.0.1
                          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 nodebb-plugin-emoji-android@4.1.1
                          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 nodebb-plugin-emoji-one@4.0.0
                          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: nodebb-plugin-emoji@5.2.0
                          npm error node_modules/nodebb-plugin-emoji
                          npm error   peer nodebb-plugin-emoji@"^5.0.0" from nodebb-plugin-emoji-one@4.0.0
                          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
                          
                          N 1 Reply Last reply 23 Jan 2025, 16:27
                          0
                          • N nono-lqdn@community.nodebb.org
                            23 Jan 2025, 16:23

                            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: nodebb-plugin-emoji-one@4.0.0
                            npm error Found: nodebb-plugin-emoji@6.0.1
                            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 nodebb-plugin-emoji-android@4.1.1
                            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 nodebb-plugin-emoji-one@4.0.0
                            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: nodebb-plugin-emoji@5.2.0
                            npm error node_modules/nodebb-plugin-emoji
                            npm error   peer nodebb-plugin-emoji@"^5.0.0" from nodebb-plugin-emoji-one@4.0.0
                            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
                            
                            N This user is from outside of this forum
                            N This user is from outside of this forum
                            nono-lqdn@community.nodebb.org
                            wrote on 23 Jan 2025, 16:27 last edited by
                            #13

                            @nono-lqdn Fixed by doing :

                            npm unl nodebb-plugin-emoji
                            npm i nodebb-plugin-emoji
                            
                            1 Reply Last reply
                            0
                            • J julian@community.nodebb.org
                              20 Jan 2025, 19:24

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

                              C This user is from outside of this forum
                              C This user is from outside of this forum
                              cagatay@community.nodebb.org
                              wrote on 23 Jan 2025, 17:29 last edited by
                              #14

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

                              J 1 Reply Last reply 23 Jan 2025, 19:16
                              0
                              • J julian@community.nodebb.org
                                20 Jan 2025, 19:24

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

                                E This user is from outside of this forum
                                E This user is from outside of this forum
                                eeeee@community.nodebb.org
                                wrote on 23 Jan 2025, 18:05 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
                                • J julian@community.nodebb.org
                                  20 Jan 2025, 19:24

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

                                  F This user is from outside of this forum
                                  F This user is from outside of this forum
                                  frankm@linux-nerds.org
                                  wrote on 23 Jan 2025, 18:42 last edited by
                                  #16

                                  try

                                  git reset --hard origin/v4.x
                                  
                                  1 Reply Last reply
                                  0
                                  • C cagatay@community.nodebb.org
                                    23 Jan 2025, 17:29

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

                                    J This user is from outside of this forum
                                    J This user is from outside of this forum
                                    julian@community.nodebb.org
                                    wrote on 23 Jan 2025, 19:16 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
                                    • J julian@community.nodebb.org
                                      20 Jan 2025, 19:24

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

                                      J This user is from outside of this forum
                                      J This user is from outside of this forum
                                      julian@community.nodebb.org
                                      wrote on 30 Jan 2025, 15:18 last edited by
                                      #18

                                      @jdp23@neuromatch.social 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 30 Jan 2025, 17:29
                                      0
                                      • J julian@community.nodebb.org
                                        30 Jan 2025, 15:18

                                        @jdp23@neuromatch.social 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
                                        jdp23@neuromatch.social
                                        wrote on 30 Jan 2025, 17:29 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:

                                        * jon@discussions.thenexus.today and jdp23.thenexus.today (on Bluesky) are following each other

                                        * thenexusofprivacy.net on Bluesky and jon@discussions.thenexus.today *aren't* following each other (but thenexusofprivacy.net *is* following ap.brid.gy, and bridges correctly in other situations)

                                        jon@discussions.thenexus.today 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

                                        jon@discussions.thenexus.today 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
                                        • J julian@community.nodebb.org
                                          20 Jan 2025, 19:24

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

                                          K This user is from outside of this forum
                                          K This user is from outside of this forum
                                          karsten13@community.nodebb.org
                                          wrote on 30 Jan 2025, 18:40 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!

                                          B 1 Reply Last reply 31 Jan 2025, 00:32
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes

                                          9/49

                                          23 Jan 2025, 14:07

                                          40 unread

                                          • Login

                                          9 out of 49
                                          • First post
                                            9/49
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups