• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
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
v3.5.2 Latest
Buy Hosting

What are all the options for `./nodebb upgrade`?

Scheduled Pinned Locked Moved Developer FAQ
faqupgradenodebb
2 Posts 2 Posters 516 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.
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by julian
    #1

    ./nodebb upgrade conducts an upgrade of your NodeBB installation. It is typically run after new code is checked out via git, or if your installation directory has been overwritten with a new version of NodeBB.

    It does a number of things in sequence, but did you know you can also instruct the upgrader to run only a subset of those tasks?

    Here are the options for ./nodebb upgrade:

    ./nodebb upgrade [-mipsb]
    
        -m    merge; merges the latest package.json from install/ into the root level package.json file
        -i    install; runs the package manager installation (npm or yarn)
        -p    plugins; checks the NodeBB package manager for new plugin versions and upgrades them as necessary
        -s    schema; runs database schema upgrade scripts as necessary
        -b    build; builds NodeBB assets
    

    You are able to run any combination of those options, and running ./nodebb upgrade with no flags at all will execute all of the above tasks.

    Happy upgrading!

    omegaO 1 Reply Last reply
    1
  • omegaO Offline
    omegaO Offline
    omega Community Rep
    replied to julian on last edited by
    #2

    Cool and for context a link to the upgrade doc section - https://docs.nodebb.org/configuring/upgrade/

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development