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.
  • baris@community.nodebb.orgB [email protected]

    You can hide it with custom css in the ACP, .topic-header [component="topic/thumb/list"] { display: none }

    This is only happening on apple devices?

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

    @baris looks to be Persona, could be a bug with the theme.

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

      > You can hide it with custom css in the ACP, .topic-header [component="topic/thumb/list"] { display: none }

      Thanks!

      > This is only happening on apple devices?

      android and normal browsers seems o.k. so far

      > looks to be Persona, could be a bug with the theme.

      yes it's Persona

      1 Reply Last reply
      0
      • karsten13@community.nodebb.orgK [email protected]

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

        @karsten13 https://github.com/NodeBB/nodebb-theme-persona/commit/a45cbffc869018046a7c95a81662eba7a747613f

        try persona 14.0.6, let me know if 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.

          projectmoon@forum.agnos.isP This user is from outside of this forum
          projectmoon@forum.agnos.isP This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #26

          Out of curiosity: what plugin/setting does one need to use in order to get a header like the NodeBB.org forums? With the links up top.

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

            Those are standard html widgets created at /admin/extend/widgets. They are placed in the brand widget area.

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

              > try persona 14.0.6, let me know if it works.

              @baris not really, thumbnails moved to the left but there are still the gray areas around them which overlap nearly the whole site

              original-60016584-481F-4EEB-9C10-1428B5D2280E.jpeg

              baris@community.nodebb.orgB 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
                #29

                @karsten13 does it happen when you load this topic https://community.nodebb.org/topic/18426/nodebb-3.11.0?

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

                  no, this looks o.k.

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

                    no, this looks o.k.

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

                    @karsten13 can you try persona v14.0.7? I've matched the classes with harmony theme so maybe that was the issue. https://github.com/NodeBB/nodebb-theme-persona/commit/9b42abd5f8eb26b16e39633a2c8c407d40d3ab4e

                    Don't forget to rebuild and restart after installing the new version.

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

                      sorry, but no change to my picture posted above ...

                      I edited package.json to change persona version and

                      rm -f package-lock.json
                      rm -rf node_modules
                      npm i
                      ./nodebb build
                      

                      I'm not really familiar with apple but used new private tab and deleted cache (have only a business cellphone for testing).

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

                        Yeah it's weird, I don't have access to an apple device so I can't reproduce.

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

                          Which model iphone are you using which has the issue?
                          I tried it on iphone 15
                          IMG_0020.png

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

                            @eeeee

                            • the problem occurs only if you logged in (as you see the images are blocked as guest)
                            • in the public forum I use the css workaround to remove the problematic thumbnails (so it will work there too if you are logged in)
                            • for testing I used a local copy
                            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
                              #36

                              CSS - dont get me started - the industry has been going in the wrong direction with this for the last 15 years. I wont bore you with my thoughts on this here, but its incredibly painful to get web pages to look ideal on all devices.

                              On a more constructive note, although most of us here will probably access nodebb from a computer, its important to remember 90%+ plus of users will access a forum from a phone.

                              Controversial as this is, if desktop nodebb was exactly mobile nodebb (i.e. in a narrow window) it may help its long term development. Shocking as that might sound, look at Telegram on web, its exactly mobile view, in a narrow pc window.
                              The point is, then the focus would be on optimising the mobile view, without splitting development efforts. At present the mobile view isnt as strong as the pc UI, and you cant do some Admin changes from it. Like setting up widgets as Ive previously posted about

                              1 Reply Last reply
                              0
                              • karsten13@community.nodebb.orgK [email protected]

                                > try persona 14.0.6, let me know if it works.

                                @baris not really, thumbnails moved to the left but there are still the gray areas around them which overlap nearly the whole site

                                original-60016584-481F-4EEB-9C10-1428B5D2280E.jpeg

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

                                @karsten13 https://github.com/NodeBB/NodeBB/issues/13118 filed an issue for this

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

                                  @karsten13 can you try with [email protected] and let me know if 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.

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

                                    @baris LGTM, Thanks!

                                    original-9A42DBD3-F001-46B0-AFB6-40495D64D23B.jpeg

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

                                      @karsten13 nice. Off topic but you can add mb-3 class to your header widget so it is not so close to your title.

                                      <div class="well mb-3" style="border:1px solid lightgrey">...</div>
                                      

                                      image.png

                                      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.

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

                                        Just upgraded to 4.0.5 from 3.x (I think it was the latest 3.12.4)

                                        The following error occurred

                                        4. Updating NodeBB data store schema...
                                        Parsing upgrade scripts...
                                        OK | 6 script(s) found, 145 skipped
                                          → [2024/11/25] Add website and location as custom profile fields... OK (0.01 seconds)
                                          → [2024/12/2] Add setting for keeping original image after resize... OK (0.00 seconds)
                                          → [2024/2/22] Setting up default configs/privileges re: ActivityPub... OK (0.30 seconds)
                                          → [2024/11/28] Regenerate user slugs for users whose usernames contained periods...
                                            [##############] (25/25) 100%  OK (0.01 seconds)
                                          → [2025/1/27] Changing integer search indices to string...
                                            [##############] (3659/3659) 100%  OK (4.21 seconds)
                                          → [2025/2/18] Add timestamp field to searchtopic searchpost collections...Error occurred
                                        Error occurred during upgrade: MongoServerError: Projection cannot have a mix of inclusion and exclusion.
                                            at Connection.sendCommand (/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js:296:27)
                                            at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
                                            at async Connection.command (/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js:323:26)
                                            at async Server.command (/home/nodebb/nodebb/node_modules/mongodb/lib/sdam/server.js:170:29)
                                            at async FindOperation.execute (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/find.js:36:16)
                                            at async tryOperation (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:203:20)
                                            at async executeOperation (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:73:16)
                                            at async FindCursor._initialize (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/find_cursor.js:60:26)
                                            at async FindCursor.cursorInit (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:607:27)
                                            at async FindCursor.fetchBatch (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:641:13)
                                        2025-02-27T01:21:41.642Z [4567/150701] - error: uncaughtException: Projection cannot have a mix of inclusion and exclusion.
                                        MongoServerError: Projection cannot have a mix of inclusion and exclusion.
                                            at Connection.sendCommand (/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js:296:27)
                                            at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
                                            at async Connection.command (/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js:323:26)
                                            at async Server.command (/home/nodebb/nodebb/node_modules/mongodb/lib/sdam/server.js:170:29)
                                            at async FindOperation.execute (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/find.js:36:16)
                                            at async tryOperation (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:203:20)
                                            at async executeOperation (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:73:16)
                                            at async FindCursor._initialize (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/find_cursor.js:60:26)
                                            at async FindCursor.cursorInit (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:607:27)
                                            at async FindCursor.fetchBatch (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:641:13) {"date":"Thu Feb 27 2025 12:21:41 GMT+1100 (Australian Eastern Daylight Time)","error":{"code":2,"codeName":"BadValue","errorResponse":{"code":2,"codeName":"BadValue","errmsg":"Projection cannot have a mix of inclusion and exclusion.","ok":0},"ok":0},"exception":true,"os":{"loadavg":[1.08,0.39,0.18],"uptime":1031967.39},"process":{"argv":["/usr/bin/node","/home/nodebb/nodebb/nodebb","upgrade"],"cwd":"/home/nodebb/nodebb","execPath":"/usr/bin/node","gid":1001,"memoryUsage":{"arrayBuffers":19486426,"external":24049422,"heapTotal":104038400,"heapUsed":70664672,"rss":197357568},"pid":150701,"uid":1001,"version":"v22.14.0"},"stack":"MongoServerError: Projection cannot have a mix of inclusion and exclusion.\n    at Connection.sendCommand (/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js:296:27)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Connection.command (/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js:323:26)\n    at async Server.command (/home/nodebb/nodebb/node_modules/mongodb/lib/sdam/server.js:170:29)\n    at async FindOperation.execute (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/find.js:36:16)\n    at async tryOperation (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:203:20)\n    at async executeOperation (/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js:73:16)\n    at async FindCursor._initialize (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/find_cursor.js:60:26)\n    at async FindCursor.cursorInit (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:607:27)\n    at async FindCursor.fetchBatch (/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js:641:13)","trace":[{"column":27,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js","function":"Connection.sendCommand","line":296,"method":"sendCommand","native":false},{"column":5,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":105,"method":"processTicksAndRejections","native":false},{"column":26,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/cmap/connection.js","function":"async Connection.command","line":323,"method":"command","native":false},{"column":29,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/sdam/server.js","function":"async Server.command","line":170,"method":"command","native":false},{"column":16,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/operations/find.js","function":"async FindOperation.execute","line":36,"method":"execute","native":false},{"column":20,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js","function":"async tryOperation","line":203,"method":null,"native":false},{"column":16,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/operations/execute_operation.js","function":"async executeOperation","line":73,"method":null,"native":false},{"column":26,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/find_cursor.js","function":"async FindCursor._initialize","line":60,"method":"_initialize","native":false},{"column":27,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js","function":"async FindCursor.cursorInit","line":607,"method":"cursorInit","native":false},{"column":13,"file":"/home/nodebb/nodebb/node_modules/mongodb/lib/cursor/abstract_cursor.js","function":"async FindCursor.fetchBatch","line":641,"method":"fetchBatch","native":false}]}
                                        

                                        I know nothing about mongodb so have no clue to the cause of this issue.

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

                                          @jaromanda please install [email protected] and try again. Let me know if the upgrade script works.

                                          jaromanda@community.nodebb.orgJ 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