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
15 Messages 1 Publieurs 281 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
    #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
                a écrit sur 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
                • fariasF Hors-ligne
                  fariasF Hors-ligne
                  farias
                  écrit dernière édition par
                  #13

                  OS Update
                  Update NodeBB

                  # ./nodebb stop
                  Stopping NodeBB. Goodbye!
                  # git fetch
                  remote: Enumerating objects: 3161, done.
                  remote: Counting objects: 100% (1017/1017), done.
                  remote: Compressing objects: 100% (148/148), done.
                  remote: Total 3161 (delta 920), reused 873 (delta 869), pack-reused 2144 (from 4)
                  Receiving objects: 100% (3161/3161), 1.65 MiB | 6.20 MiB/s, done.
                  Resolving deltas: 100% (2000/2000), completed with 351 local objects.
                  From https://github.com/NodeBB/NodeBB
                   * [new branch]            ap-polls                                 -> origin/ap-polls
                     facfccddc2..cf2e25f4e3  develop                                  -> origin/develop
                   * [new branch]            fix-14241                                -> origin/fix-14241
                     bd4b34a55c..957a7f0d76  master                                   -> origin/master
                   * [new branch]            post-queue-for-ap                        -> origin/post-queue-for-ap
                   + e8e54b5058...4b0eb050c3 renovate/apidevtools-swagger-parser-12.x -> origin/renovate/apidevtools-swagger-parser-12.x  (forced update)
                   + 00207ce427...6fffeec05b renovate/archiver-8.x                    -> origin/renovate/archiver-8.x  (forced update)
                   * [new branch]            renovate/commander-15.x                  -> origin/renovate/commander-15.x
                   + 2b3a451264...ef00163812 renovate/cropperjs-2.x                   -> origin/renovate/cropperjs-2.x  (forced update)
                   + 7d01e6941f...6d46cb382b renovate/husky-9.x                       -> origin/renovate/husky-9.x  (forced update)
                   + 32566f63b1...0c1bd9150e renovate/jquery-4.x                      -> origin/renovate/jquery-4.x  (forced update)
                   * [new branch]            renovate/lint-staged-17.x                -> origin/renovate/lint-staged-17.x
                   + 5453793776...50ae1bea9e renovate/yargs-18.x                      -> origin/renovate/yargs-18.x  (forced update)
                   * [new branch]            tx-helper                                -> origin/tx-helper
                     88dd96c8fb..80150a9f24  v3.x                                     -> origin/v3.x
                     d78d9e24c1..9456aae12d  v4.x                                     -> origin/v4.x
                   * [new tag]               v3.12.9                                  -> v3.12.9
                   * [new tag]               v4.11.3                                  -> v4.11.3
                   * [new tag]               v4.12.0                                  -> v4.12.0
                  
                  # git reset --hard  v4.12.0
                  HEAD is now at 9a55dc8aa2 chore: incrementing version number - v4.12.0
                  # ./nodebb upgrade
                  Dependencies outdated or not yet installed. Error Code: DEP_WRONG_VERSION
                  TypeError: Incorrect dependency version: lru-cache
                      at checkVersion (/home/farias/nodebb/src/cli/index.js:40:14)
                      at Object.<anonymous> (/home/farias/nodebb/src/cli/index.js:51: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...
                  
                  
                  > nodebb@4.12.0 postinstall
                  > if [ "$NODE_ENV" != "production" ]; then npx husky install; fi
                  
                  
                  added 22 packages, removed 35 packages, changed 47 packages, and audited 862 packages in 35s
                  
                  125 packages are looking for funding
                    run `npm fund` for details
                  
                  24 vulnerabilities (9 moderate, 15 high)
                  
                  To address issues that do not require attention, run:
                    npm audit fix
                  
                  To address all issues possible (including breaking changes), run:
                    npm audit fix --force
                  
                  Some issues need review, and may require choosing
                  a different dependency.
                  
                  Run `npm audit` for details.
                  npm notice
                  npm notice New minor version of npm available! 11.6.4 -> 11.16.0
                  npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.16.0
                  npm notice To update run: npm install -g npm@11.16.0
                  npm notice
                  OK
                  
                  
                  Updating NodeBB...
                  
                  1. Updating package.json file with defaults...  OK
                  
                  2. Bringing base dependencies up to date...  started
                  
                  > nodebb@4.12.0 postinstall
                  > if [ "$NODE_ENV" != "production" ]; then npx husky install; fi
                  
                  
                  added 1 package, and audited 863 packages in 6s
                  
                  125 packages are looking for funding
                    run `npm fund` for details
                  
                  24 vulnerabilities (9 moderate, 15 high)
                  
                  To address issues that do not require attention, run:
                    npm audit fix
                  
                  To address all issues possible (including breaking changes), 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
                  
                  A total of 1 package(s) can be upgraded:
                  
                    * nodebb-plugin-poll (4.0.7 -> 4.0.8)
                  
                  Proceed with upgrade (y|n)? y
                  
                  Upgrading packages...
                  
                  4. Updating NodeBB data store schema...
                  Parsing upgrade scripts... 
                  OK | 2 script(s) found, 175 skipped
                    → [2026/5/8] Add users:muted zset...
                      [##############] (7/7) 100%  OK (0.03 seconds)
                    → [2026/5/20] Clear ap:retry:queue entries without digest... OK (0.01 seconds)
                  Schema update complete!
                  
                  
                  5. Rebuilding assets...  started
                  2026-06-01T12:43:17.265Z [4567/273854] - info: [build] Building in parallel mode
                  2026-06-01T12:43:17.270Z [4567/273854] - info: [build]         plugin static dirs  build started
                  2026-06-01T12:43:17.272Z [4567/273854] - info: [build]          requirejs modules  build started
                  2026-06-01T12:43:17.274Z [4567/273854] - info: [build]           client js bundle  build started
                  2026-06-01T12:43:17.275Z [4567/273854] - info: [build]            admin js bundle  build started
                  2026-06-01T12:43:17.276Z [4567/273854] - info: [build]         client side styles  build started
                  2026-06-01T12:43:17.277Z [4567/273854] - info: [build] admin control panel styles  build started
                  2026-06-01T12:43:17.282Z [4567/273854] - info: [build]                  templates  build started
                  2026-06-01T12:43:17.283Z [4567/273854] - info: [build]                  languages  build started
                  2026-06-01T12:43:18.691Z [4567/273854] - info: [build]         plugin static dirs  build completed in 1.421sec
                  2026-06-01T12:43:21.856Z [4567/273854] - info: [build]           client js bundle  build completed in 4.582sec
                  2026-06-01T12:43:21.857Z [4567/273854] - info: [build]            admin js bundle  build completed in 4.582sec
                  2026-06-01T12:43:27.809Z [4567/273854] - info: [build]                  languages  build completed in 10.526sec
                  2026-06-01T12:43:27.811Z [4567/273854] - info: [build]          requirejs modules  build completed in 10.539sec
                  2026-06-01T12:43:27.812Z [4567/273854] - info: [build] Bundling with Webpack.
                  [10%] building (0/0 modules)
                  2026-06-01T12:43:29.130Z [4567/273854] - info: [build]         client side styles  build completed in 11.853sec
                  [10%] building (23/236 modules)
                  338 assets
                  538 modules
                  
                  ERROR in ./build/public/scripts-client.js 3446:5
                  Module parse failed: Unexpected token (3446: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.107.2 compiled with 1 error in 12493 ms
                  2026-06-01T12:43:41.661Z [4567/273854] - info: [build] Asset compilation successful. Completed in 24.384sec.
                  
                  
                                                                                                     NodeBB Upgrade Complete!
                  
                  # ./nodebb start
                  
                  Starting NodeBB
                    "./nodebb stop" to stop the NodeBB server
                    "./nodebb log" to view server output
                    "./nodebb help" for more commands
                  
                  
                  1 réponse Dernière réponse
                  0
                  • fariasF Hors-ligne
                    fariasF Hors-ligne
                    farias
                    écrit dernière édition par
                    #14

                    OS Update
                    Update NodeBB

                    cd nodebb
                    ./nodebb stop
                    git fetch
                    git reset --hard  v4.13.0
                    ./nodebb upgrade
                    npm audit fix
                    npm update -g npm
                    ./nodebb start
                    
                    1 réponse Dernière réponse
                    0
                    • fariasF Hors-ligne
                      fariasF Hors-ligne
                      farias
                      écrit dernière édition par
                      #15

                      Update NodeBB v4.13.1

                      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