Aller directement au contenu
  • Catégories
  • Récent
  • Mots-clés
  • Populaire
  • Web
  • Utilisateurs
  • Groupes
Habillages
  • Clair
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Sombre
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Défaut (Darkly)
  • Aucun habillage
Réduire

NodeBB

  1. Accueil
  2. Announcements
  3. NodeBB (update)

NodeBB (update)

Planifié Épinglé Verrouillé Déplacé Announcements
updatenodebb
12 Messages 1 Publieurs 171 Vues 1 Abonné
  • Du plus ancien au plus récent
  • Du plus récent au plus ancien
  • Les plus votés
Répondre
  • Répondre à l'aide d'un nouveau sujet
Se connecter pour répondre
Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
  • fariasF Hors-ligne
    fariasF Hors-ligne
    farias
    a écrit sur dernière édition par
    #1

    Mise à jours de la version de NodeBB via le script :

    ./nodebb stop
    ./nodebb upgrade
    ./nodebb start
    
    1 réponse Dernière réponse
    0
    • fariasF Hors-ligne
      fariasF Hors-ligne
      farias
      a écrit sur dernière édition par
      #2

      Mise à jours : v4.5.1

      ./nodebb stop
      ./nodebb upgrade
      ./nodebb start
      
      1 réponse Dernière réponse
      0
      • fariasF Hors-ligne
        fariasF Hors-ligne
        farias
        a écrit sur dernière édition par
        #3

        J’ai du mal à comprendre comment faire la mise à jours …

        # ./nodebb stop
        Stopping NodeBB. Goodbye
        # ./nodebb upgrade
        
        Updating NodeBB...
        
        1. Updating package.json file with defaults...  OK
        
        2. Bringing base dependencies up to date...  started
        
        up to date, audited 911 packages in 4s
        
        121 packages are looking for funding
          run `npm fund` for details
        
        5 vulnerabilities (4 low, 1 high)
        
        To address all issues possible, run:
          npm audit fix --force
        
        Some issues need review, and may require choosing
        a different dependency.
        
        Run `npm audit` for details.
        
        3. Checking installed plugins for updates...Checking installed plugins and themes for updates...   OK
        All packages up-to-date!
        
        4. Updating NodeBB data store schema...
        Parsing upgrade scripts... 
        OK | 0 script(s) found, 160 skipped
        Schema update complete!
        
        
        5. Rebuilding assets...  started
        2025-09-10T06:13:28.965Z [4567/24033] - info: [build] Building in parallel mode
        2025-09-10T06:13:28.967Z [4567/24033] - info: [build]         plugin static dirs  build started
        2025-09-10T06:13:28.968Z [4567/24033] - info: [build]          requirejs modules  build started
        2025-09-10T06:13:28.968Z [4567/24033] - info: [build]           client js bundle  build started
        2025-09-10T06:13:28.969Z [4567/24033] - info: [build]            admin js bundle  build started
        2025-09-10T06:13:28.969Z [4567/24033] - info: [build]         client side styles  build started
        2025-09-10T06:13:28.970Z [4567/24033] - info: [build] admin control panel styles  build started
        2025-09-10T06:13:28.972Z [4567/24033] - info: [build]                  templates  build started
        2025-09-10T06:13:28.972Z [4567/24033] - info: [build]                  languages  build started
        2025-09-10T06:13:29.550Z [4567/24033] - info: [build]         plugin static dirs  build completed in 0.583sec
        2025-09-10T06:13:30.884Z [4567/24033] - info: [build]           client js bundle  build completed in 1.916sec
        2025-09-10T06:13:30.885Z [4567/24033] - info: [build]            admin js bundle  build completed in 1.915sec
        WARNING: Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.
            @fontsource/inter/scss/mixins.scss 37:3       generator()
            @fontsource/inter/scss/mixins.scss 168:3      faces()
            ../../../../public/scss/admin/fonts.scss 7:1  @import
            admin/admin.scss 1:9                          @import
            - 11:9                                        root stylesheet
        
        WARNING: Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.
            @fontsource/poppins/scss/mixins.scss 37:3      generator()
            @fontsource/poppins/scss/mixins.scss 168:3     faces()
            ../../../../public/scss/admin/fonts.scss 13:1  @import
            admin/admin.scss 1:9                           @import
            - 11:9                                         root stylesheet
        
        2025-09-10T06:13:35.514Z [4567/24033] - info: [build]                  languages  build completed in 6.541sec
        2025-09-10T06:13:35.560Z [4567/24033] - info: [build]          requirejs modules  build completed in 6.593sec
        2025-09-10T06:13:35.561Z [4567/24033] - info: [build] Bundling with Webpack.
        2025-09-10T06:13:35.736Z [4567/24033] - info: [build]         client side styles  build completed in 6.767sec
        [10%] building (0/0 modules)
        [10%] building (10/186 modules)
        327 assets
        808 modules
        
        ERROR in ./build/public/scripts-client.js 3341:5
        Module parse failed: Unexpected token (3341:5)
        You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
        | });
        | 
        > ;CC0 1.0 Universal
        | 
        | Statement of Purpose
        
        webpack 5.99.8 compiled with 1 error in 11203 ms
        2025-09-10T06:13:48.375Z [4567/24033] - info: [build] Asset compilation successful. Completed in 19.404sec.
        
        NodeBB Upgrade Complete!
        
        # npm audit fix --force              
        npm audit fix --force
        npm warn using --force Recommended protections disabled.
        npm warn audit No fix available for connect-multiparty@*
        npm warn audit Updating compression to 1.8.1, which is outside your stated dependency range.
        npm warn audit Updating morgan to 1.10.1, which is outside your stated dependency range.
        npm warn audit Updating express-session to 1.18.2, which is outside your stated dependency range.
        npm warn audit No fix available for coveralls@*
        npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
        npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
        npm warn deprecated osenv@0.1.5: This package is no longer supported.
        npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
        npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
        npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
        npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
        npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
        npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
        npm warn deprecated har-validator@5.1.5: this library is no longer supported
        npm warn deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported
        npm warn deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported
        npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
        npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
        
        added 533 packages, changed 4 packages, and audited 1444 packages in 18s
        
        255 packages are looking for funding
          run `npm fund` for details
        
        # npm audit report
        
        connect-multiparty  *
        Severity: high
        Connect-Multiparty allows arbitrary file upload - https://github.com/advisories/GHSA-w2xw-44r3-4v9g
        No fix available
        node_modules/connect-multiparty
        
        form-data  <2.5.4
        Severity: critical
        form-data uses unsafe random function in form-data for choosing boundary - https://github.com/advisories/GHSA-fjxv-7rqg-78g4
        No fix available
        node_modules/form-data
          request  *
          Depends on vulnerable versions of form-data
          Depends on vulnerable versions of tough-cookie
          node_modules/request
            coveralls  *
            Depends on vulnerable versions of request
            node_modules/coveralls
        
        
        tough-cookie  <4.1.3
        Severity: moderate
        tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
        No fix available
        node_modules/request/node_modules/tough-cookie
        
        5 vulnerabilities (2 moderate, 1 high, 2 critical)
        
        Some issues need review, and may require choosing
        a different dependency.
        
        # npm update -g npm
        npm update -g npm
        
        removed 9 packages, and changed 42 packages in 9s
        
        29 packages are looking for funding
          run `npm fund` for details
        # npm cache clean -f
        npm warn using --force Recommended protections disabled.
        # npm install -g n
        
        added 1 package in 1s
        # n stable
          installing : node-v22.19.0
               mkdir : /usr/local/n/versions/node/22.19.0
               fetch : https://nodejs.org/dist/v22.19.0/node-v22.19.0-linux-x64.tar.xz
             copying : node/22.19.0
           installed : v22.19.0 (with npm 10.9.3)
        
        Note: the node command changed location and the old location may be remembered in your current shell.
                 old : /usr/bin/node
                 new : /usr/local/bin/node
        If "node --version" shows the old version then start a new shell, or reset the location hash with:
        hash -r  (for bash, zsh, ash, dash, and ksh)
        rehash   (for csh and tcsh)
        # ./nodebb upgrade
        
        Updating NodeBB...
        
        1. Updating package.json file with defaults...  OK
        
        2. Bringing base dependencies up to date...  started
        
        up to date, audited 911 packages in 4s
        
        121 packages are looking for funding
          run `npm fund` for details
        
        5 vulnerabilities (4 low, 1 high)
        
        To address all issues possible, run:
          npm audit fix --force
        
        Some issues need review, and may require choosing
        a different dependency.
        
        Run `npm audit` for details.
        
        3. Checking installed plugins for updates...Checking installed plugins and themes for updates...   OK
        All packages up-to-date!
        
        4. Updating NodeBB data store schema...
        Parsing upgrade scripts... 
        OK | 0 script(s) found, 160 skipped
        Schema update complete!
        
        
        5. Rebuilding assets...  started
        2025-09-10T06:18:00.334Z [4567/24833] - info: [build] Building in parallel mode
        2025-09-10T06:18:00.336Z [4567/24833] - info: [build]         plugin static dirs  build started
        2025-09-10T06:18:00.337Z [4567/24833] - info: [build]          requirejs modules  build started
        2025-09-10T06:18:00.337Z [4567/24833] - info: [build]           client js bundle  build started
        2025-09-10T06:18:00.338Z [4567/24833] - info: [build]            admin js bundle  build started
        2025-09-10T06:18:00.338Z [4567/24833] - info: [build]         client side styles  build started
        2025-09-10T06:18:00.339Z [4567/24833] - info: [build] admin control panel styles  build started
        2025-09-10T06:18:00.341Z [4567/24833] - info: [build]                  templates  build started
        2025-09-10T06:18:00.341Z [4567/24833] - info: [build]                  languages  build started
        2025-09-10T06:18:00.890Z [4567/24833] - info: [build]         plugin static dirs  build completed in 0.554sec
        2025-09-10T06:18:01.823Z [4567/24833] - info: [build]            admin js bundle  build completed in 1.484sec
        2025-09-10T06:18:02.099Z [4567/24833] - info: [build]           client js bundle  build completed in 1.762sec
        WARNING: Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.
            @fontsource/inter/scss/mixins.scss 37:3       generator()
            @fontsource/inter/scss/mixins.scss 168:3      faces()
            ../../../../public/scss/admin/fonts.scss 7:1  @import
            admin/admin.scss 1:9                          @import
            - 11:9                                        root stylesheet
        
        WARNING: Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.
            @fontsource/poppins/scss/mixins.scss 37:3      generator()
            @fontsource/poppins/scss/mixins.scss 168:3     faces()
            ../../../../public/scss/admin/fonts.scss 13:1  @import
            admin/admin.scss 1:9                           @import
            - 11:9                                         root stylesheet
        
        2025-09-10T06:18:05.448Z [4567/24833] - info: [build]                  languages  build completed in 5.107sec
        2025-09-10T06:18:05.502Z [4567/24833] - info: [build]          requirejs modules  build completed in 5.165sec
        2025-09-10T06:18:05.504Z [4567/24833] - info: [build] Bundling with Webpack.
        [10%] building (0/0 modules)
        2025-09-10T06:18:06.891Z [4567/24833] - info: [build]         client side styles  build completed in 6.552sec
        [10%] building (10/186 modules)
        327 assets
        808 modules
        
        ERROR in ./build/public/scripts-client.js 3341:5
        Module parse failed: Unexpected token (3341:5)
        You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
        | });
        | 
        > ;CC0 1.0 Universal
        | 
        | Statement of Purpose
        
        webpack 5.99.8 compiled with 1 error in 9875 ms
        2025-09-10T06:18:16.638Z [4567/24833] - info: [build] Asset compilation successful. Completed in 16.297sec.
        
        NodeBB Upgrade Complete!
        # ./nodebb start
        
        1 réponse Dernière réponse
        0
        • fariasF Hors-ligne
          fariasF Hors-ligne
          farias
          a écrit sur dernière édition par
          #4

          J’ai toujours ceci :

          image.png

          Misère.

          1 réponse Dernière réponse
          0
          • fariasF Hors-ligne
            fariasF Hors-ligne
            farias
            a écrit sur dernière édition par
            #5

            Nouvel update :

            # ./nodebb stop
            Stopping NodeBB. Goodbye!
            # git fetch 
            remote: Enumerating objects: 1013, done.
            remote: Counting objects: 100% (195/195), done.
            remote: Compressing objects: 100% (62/62), done.
            remote: Total 1013 (delta 150), reused 142 (delta 133), pack-reused 818 (from 4)
            Receiving objects: 100% (1013/1013), 685.60 KiB | 6.92 MiB/s, done.
            Resolving deltas: 100% (463/463), completed with 10 local objects.
            From https://github.com/NodeBB/NodeBB
             * [new branch]            ap-send-promise                          -> origin/ap-send-promise
               a771b17fac..8d6a0f0298  develop                                  -> origin/develop
               1ea10eff1c..527f27af29  master                                   -> origin/master
             + 5d673b81e4...8a4f0def72 relays                                   -> origin/relays  (forced update)
             * [new branch]            renovate/actions-setup-node-5.x          -> origin/renovate/actions-setup-node-5.x
             + 619011a913...d8160de4cb renovate/apidevtools-swagger-parser-12.x -> origin/renovate/apidevtools-swagger-parser-12.x  (forced update)
             + 33e6d46ab5...bebc90a494 renovate/cropperjs-2.x                   -> origin/renovate/cropperjs-2.x  (forced update)
             + c1738b634c...1270aa5ed3 renovate/eslint-monorepo                 -> origin/renovate/eslint-monorepo  (forced update)
             + e7ab184378...acab7b90fd renovate/helmet-8.x                      -> origin/renovate/helmet-8.x  (forced update)
             + 530bcbb9b4...6ee5092531 renovate/husky-9.x                       -> origin/renovate/husky-9.x  (forced update)
             * [new branch]            renovate/lint-staged-16.x                -> origin/renovate/lint-staged-16.x
             * [new branch]            renovate/lru-cache-11.x                  -> origin/renovate/lru-cache-11.x
             + 48f66915c1...194405c30e renovate/major-font-awesome              -> origin/renovate/major-font-awesome  (forced update)
             * [new branch]            renovate/major-github-artifact-actions   -> origin/renovate/major-github-artifact-actions
             + 6902e2040e...3f75536a23 renovate/mime-4.x                        -> origin/renovate/mime-4.x  (forced update)
             * [new branch]            renovate/mocha-11.x                      -> origin/renovate/mocha-11.x
             + 528224b13e...d1859798c8 renovate/sass-1.x                        -> origin/renovate/sass-1.x  (forced update)
             + dd72908e66...fba81fd76a renovate/sass-embedded-1.x               -> origin/renovate/sass-embedded-1.x  (forced update)
             + 78fe61031f...41dc351b98 renovate/yargs-18.x                      -> origin/renovate/yargs-18.x  (forced update)
               074043ad41..69f4b61f63  v4.x                                     -> origin/v4.x
             * [new tag]               v4.5.0                                   -> v4.5.0
             * [new tag]               v4.5.1                                   -> v4.5.1
            # git reset --hard  v4.5.1
            HEAD is now at 7a9e09a696 chore: incrementing version number - v4.5.1
            # ./nodebb upgrade
            Dependencies outdated or not yet installed. Error Code: DEP_WRONG_VERSION
            TypeError: Incorrect dependency version: commander
                at checkVersion (/home/farias/nodebb/src/cli/index.js:31:14)
                at Object.<anonymous> (/home/farias/nodebb/src/cli/index.js:39:2)
                at Module._compile (node:internal/modules/cjs/loader:1706:14)
                at Object..js (node:internal/modules/cjs/loader:1839:10)
                at Module.load (node:internal/modules/cjs/loader:1441:32)
                at Function._load (node:internal/modules/cjs/loader:1263:12)
                at TracingChannel.traceSync (node:diagnostics_channel:322:14)
                at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
                at Module.require (node:internal/modules/cjs/loader:1463:12)
                at require (node:internal/modules/helpers:147:16)
            Installing them now...
            
            npm warn deprecated multer@1.4.5-lts.2: Multer 1.x is impacted by a number of vulnerabilities, which have been patched in 2.x. You should upgrade to the latest 2.x version.
            
            added 30 packages, removed 66 packages, changed 50 packages, and audited 871 packages in 33s
            
            117 packages are looking for funding
              run `npm fund` for details
            
            found 0 vulnerabilities
            OK
            
            
            Updating NodeBB...
            
            1. Updating package.json file with defaults...  OK
            
            2. Bringing base dependencies up to date...  started
            
            added 3 packages, and audited 874 packages in 5s
            
            119 packages are looking for funding
              run `npm fund` for details
            
            found 0 vulnerabilities
            
            3. Checking installed plugins for updates...Checking installed plugins and themes for updates...   OK
            All packages up-to-date!
            
            4. Updating NodeBB data store schema...
            Parsing upgrade scripts... 
            OK | 3 script(s) found, 160 skipped
              → [2025/7/5] Move post:<pid>:uploads to post hash...
                [##############] (684/684) 100%  OK (0.18 seconds)
              → [2025/7/5] Move topic:<tid>:thumbs to topic hash...
                [##############] (274/274) 100%  OK (0.04 seconds)
              → [2025/7/8] Changing integer cid index to text for psql... OK (0.00 seconds)
            Schema update complete!
            
            
            5. Rebuilding assets...  started
            2025-09-10T06:33:48.627Z [4567/25487] - info: [build] Building in parallel mode
            2025-09-10T06:33:48.633Z [4567/25487] - info: [build]         plugin static dirs  build started
            2025-09-10T06:33:48.635Z [4567/25487] - info: [build]          requirejs modules  build started
            2025-09-10T06:33:48.636Z [4567/25487] - info: [build]           client js bundle  build started
            2025-09-10T06:33:48.638Z [4567/25487] - info: [build]            admin js bundle  build started
            2025-09-10T06:33:48.639Z [4567/25487] - info: [build]         client side styles  build started
            2025-09-10T06:33:48.640Z [4567/25487] - info: [build] admin control panel styles  build started
            2025-09-10T06:33:48.644Z [4567/25487] - info: [build]                  templates  build started
            2025-09-10T06:33:48.645Z [4567/25487] - info: [build]                  languages  build started
            2025-09-10T06:33:49.497Z [4567/25487] - info: [build]         plugin static dirs  build completed in 0.864sec
            2025-09-10T06:33:50.719Z [4567/25487] - info: [build]            admin js bundle  build completed in 2.081sec
            2025-09-10T06:33:50.720Z [4567/25487] - info: [build]           client js bundle  build completed in 2.083sec
            2025-09-10T06:33:53.961Z [4567/25487] - info: [build]                  languages  build completed in 5.316sec
            2025-09-10T06:33:53.962Z [4567/25487] - info: [build]          requirejs modules  build completed in 5.328sec
            2025-09-10T06:33:53.963Z [4567/25487] - info: [build] Bundling with Webpack.
            [10%] building (0/0 modules)
            2025-09-10T06:33:55.322Z [4567/25487] - info: [build]         client side styles  build completed in 6.682sec
            [10%] building (15/225 modules)
            330 assets
            810 modules
            
            ERROR in ./build/public/scripts-client.js 3341:5
            Module parse failed: Unexpected token (3341:5)
            You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
            | });
            | 
            > ;CC0 1.0 Universal
            | 
            | Statement of Purpose
            
            webpack 5.101.3 compiled with 1 error in 16923 ms
            2025-09-10T06:34:12.132Z [4567/25487] - info: [build] Asset compilation successful. Completed in 23.495sec.
            
             NodeBB Upgrade Complete!
            
            # ./nodebb start
            
            1 réponse Dernière réponse
            0
            • fariasF Hors-ligne
              fariasF Hors-ligne
              farias
              a écrit sur dernière édition par
              #6

              Mise à jours :

              # node app --upgrade
              2025-10-31T13:11:19.842Z [4567/160090] - info: NodeBB v4.5.1 Copyright (C) 2013-2025 NodeBB Inc.
              2025-10-31T13:11:19.844Z [4567/160090] - info: This program comes with ABSOLUTELY NO WARRANTY.
              2025-10-31T13:11:19.844Z [4567/160090] - info: This is free software, and you are welcome to redistribute it under certain conditions.
              2025-10-31T13:11:19.844Z [4567/160090] - info: 
              
              Updating NodeBB...
              
              1. Updating package.json file with defaults...  OK
              
              2. Bringing base dependencies up to date...  started
              
              up to date, audited 874 packages in 6s
              
              119 packages are looking for funding
                run `npm fund` for details
              
              3 moderate severity vulnerabilities
              
              To address all issues (including breaking changes), run:
                npm audit fix --force
              
              Run `npm audit` for details.
              npm notice
              npm notice New major version of npm available! 10.9.3 -> 11.6.2
              npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.2
              npm notice To update run: npm install -g npm@11.6.2
              npm notice
              
              3. Checking installed plugins for updates...Checking installed plugins and themes for updates...   OK
              
              A total of 1 package(s) can be upgraded:
              
                * nodebb-plugin-link-preview (2.1.4 -> 2.1.5)
              ...
              [10%] building (14/225 modules)
              330 assets
              810 modules
              
              ERROR in ./build/public/scripts-client.js 3341:5
              Module parse failed: Unexpected token (3341:5)
              You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
              | });
              | 
              > ;CC0 1.0 Universal
              | 
              | Statement of Purpose
              
              webpack 5.101.3 compiled with 1 error in 10919 ms
              2025-10-31T13:13:14.819Z [4567/160090] - info: [build] Asset compilation successful. Completed in 18.307sec.
              
              
                                                                                                            NodeBB Upgrade Complete!
              
              
              1 réponse Dernière réponse
              0
              • fariasF Hors-ligne
                fariasF Hors-ligne
                farias
                a écrit sur dernière édition par
                #7

                C’est pas une réussite :

                image.png

                1 réponse Dernière réponse
                0
                • fariasF Hors-ligne
                  fariasF Hors-ligne
                  farias
                  a écrit sur dernière édition par
                  #8

                  Crash de NodeBB …

                  1 réponse Dernière réponse
                  0
                  • fariasF Hors-ligne
                    fariasF Hors-ligne
                    farias
                    a écrit sur dernière édition par
                    #9

                    Mise à jours en v4.7.0.
                    Suppression de rustup :

                    # rustup self uninstall
                    
                    
                    Thanks for hacking in Rust!
                    
                    This will uninstall all Rust toolchains and data, and remove
                    $HOME/.cargo/bin from your PATH environment variable.
                    
                    Continue? (y/N) y
                    
                    info: removing rustup home
                    info: removing cargo home
                    info: removing rustup binaries
                    info: rustup is uninstalled
                    
                    
                    1 réponse Dernière réponse
                    0
                    • fariasF Hors-ligne
                      fariasF Hors-ligne
                      farias
                      a écrit sur dernière édition par
                      #10

                      Configuration de logrotate pour mongodb :

                      /var/log/mongodb/*.log {
                          rotate 30
                          size 50M
                          compress
                          dateext
                          missingok
                          notifempty
                          sharedscripts
                          postrotate
                              /bin/kill -SIGUSR1 `cat /var/lib/mongodb/mongod.lock 2> /dev/null` 2> /dev/null || true
                          endscript
                      }
                      
                      
                      1 réponse Dernière réponse
                      0
                      • fariasF Hors-ligne
                        fariasF Hors-ligne
                        farias
                        a écrit sur dernière édition par
                        #11

                        Update OS.
                        Update NodeBB.

                        # ./nodebb upgrade
                        
                        Updating NodeBB...
                        
                        1. Updating package.json file with defaults...  OK
                        
                        2. Bringing base dependencies up to date...  started
                        
                        added 3 packages, and audited 884 packages in 16s
                        
                        121 packages are looking for funding
                          run `npm fund` for details
                        
                        18 vulnerabilities (5 low, 5 moderate, 8 high)
                        
                        To address issues that do not require attention, run:
                          npm audit fix
                        
                        To address all issues (including breaking changes), run:
                          npm audit fix --force
                        
                        Run `npm audit` for details.
                        npm notice
                        npm notice New minor version of npm available! 11.6.4 -> 11.8.0
                        npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.8.0
                        npm notice To update run: npm install -g npm@11.8.0
                        npm notice
                        
                        3. Checking installed plugins for updates...Checking installed plugins and themes for updates... [baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
                          OK
                        
                        A total of 2 package(s) can be upgraded:
                        
                          * @nodebb/nodebb-plugin-reactions (2.2.7 -> 2.2.8)
                          * nodebb-plugin-feed (3.1.34 -> 3.1.37)
                        
                        Proceed with upgrade (y|n)? y
                        
                        
                        1 réponse Dernière réponse
                        0
                        • fariasF Hors-ligne
                          fariasF Hors-ligne
                          farias
                          écrit dernière édition par
                          #12

                          Update OS
                          Update NodeBB

                          # ./nodebb upgrade
                          
                          Updating NodeBB...
                          
                          1. Updating package.json file with defaults...  OK
                          
                          2. Bringing base dependencies up to date...  started
                          
                          up to date, audited 873 packages in 14s
                          
                          120 packages are looking for funding
                            run `npm fund` for details
                          
                          30 vulnerabilities (3 low, 9 moderate, 18 high)
                          
                          To address issues that do not require attention, run:
                            npm audit fix
                          
                          To address all issues (including breaking changes), run:
                            npm audit fix --force
                          
                          Run `npm audit` for details.
                          npm notice
                          npm notice New minor version of npm available! 11.6.4 -> 11.12.1
                          npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.12.1
                          npm notice To update run: npm install -g npm@11.12.1
                          npm notice
                          
                          3. Checking installed plugins for updates...Checking installed plugins and themes for updates...   OK
                          
                          A total of 3 package(s) can be upgraded:
                          
                            * nodebb-plugin-extended-markdown (2.1.0 -> 2.1.1)
                            * @nodebb/nodebb-plugin-reactions (2.2.8 -> 2.2.10)
                            * nodebb-plugin-poll (3.2.6 -> 3.2.9)
                          
                          Proceed with upgrade (y|n)? y
                          
                          Upgrading packages...
                          
                          4. Updating NodeBB data store schema...
                          Parsing upgrade scripts... 
                          OK | 0 script(s) found, 165 skipped
                          Schema update complete!
                          
                          
                          5. Rebuilding assets...  started
                          2026-04-17T13:10:30.597Z [4567/146983] - info: [build] Building in parallel mode
                          2026-04-17T13:10:30.601Z [4567/146983] - info: [build]         plugin static dirs  build started
                          2026-04-17T13:10:30.603Z [4567/146983] - info: [build]          requirejs modules  build started
                          2026-04-17T13:10:30.604Z [4567/146983] - info: [build]           client js bundle  build started
                          2026-04-17T13:10:30.605Z [4567/146983] - info: [build]            admin js bundle  build started
                          2026-04-17T13:10:30.606Z [4567/146983] - info: [build]         client side styles  build started
                          2026-04-17T13:10:30.607Z [4567/146983] - info: [build] admin control panel styles  build started
                          2026-04-17T13:10:30.611Z [4567/146983] - info: [build]                  templates  build started
                          2026-04-17T13:10:30.612Z [4567/146983] - info: [build]                  languages  build started
                          2026-04-17T13:10:31.816Z [4567/146983] - info: [build]         plugin static dirs  build completed in 1.215sec
                          2026-04-17T13:10:33.386Z [4567/146983] - info: [build]           client js bundle  build completed in 2.782sec
                          2026-04-17T13:10:33.388Z [4567/146983] - info: [build]            admin js bundle  build completed in 2.783sec
                          2026-04-17T13:10:38.235Z [4567/146983] - info: [build]          requirejs modules  build completed in 7.632sec
                          2026-04-17T13:10:38.236Z [4567/146983] - info: [build] Bundling with Webpack.
                          2026-04-17T13:10:38.402Z [4567/146983] - info: [build]                  languages  build completed in 7.79sec
                          [10%] building (0/0 modules)
                          2026-04-17T13:10:43.192Z [4567/146983] - info: [build] admin control panel styles  build completed in 12.585sec
                          [10%] building (20/230 modules)
                          333 assets
                          814 modules
                          
                          ERROR in ./build/public/scripts-client.js 3335:5
                          Module parse failed: Unexpected token (3335:5)
                          You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
                          | });
                          | 
                          > ;CC0 1.0 Universal
                          | 
                          | Statement of Purpose
                          
                          webpack 5.104.1 compiled with 1 error in 13151 ms
                          2026-04-17T13:10:56.141Z [4567/146983] - info: [build] Asset compilation successful. Completed in 25.537sec.
                          
                          
                                                                                                                        NodeBB Upgrade Complete!
                          
                          
                          1 réponse Dernière réponse
                          0

                          Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.

                          Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.

                          Grâce à votre participation, ce message peut devenir encore meilleur 💗

                          S'inscrire Se connecter
                          Répondre
                          • Répondre à l'aide d'un nouveau sujet
                          Se connecter pour répondre
                          • Du plus ancien au plus récent
                          • Du plus récent au plus ancien
                          • Les plus votés


                          • Se connecter

                          • Vous n'avez pas de compte ? S'inscrire

                          • Connectez-vous ou inscrivez-vous pour faire une recherche.
                          Powered by NodeBB Contributors
                          • Premier message
                            Dernier message
                          0
                          • Catégories
                          • Récent
                          • Mots-clés
                          • Populaire
                          • Web
                          • Utilisateurs
                          • Groupes