./nodebb build vs ./nodebb upgrade
-
Out of curiosity, I was wondering what different actions these two perform as often I've used them interchangeably during upgrade testing (upgrading 2.x to 3.x) which has seemed to work without issues.
Like, does
upgrade
perform install and build too? And what's missing from build is just the migration steps?TIA
-
./nodebb help
Explains it well I thinkCommands: start Start the NodeBB server stop Stop the NodeBB server restart Restart the NodeBB server status Check the running status of the NodeBB server log Open the output log (useful for debugging) setup [options] [config] Run the NodeBB setup script, or setup with an initial config install [options] [plugin] Launch the NodeBB web installer for configuration setup or install a plugin build [options] [targets...] Compile static assets (JS, CSS, templates, languages) activate [plugin] Activate a plugin for the next startup of NodeBB (nodebb-plugin- prefix is optional) plugins List all installed plugins events [count] Outputs the most recent administrative events recorded by NodeBB info Outputs various system info reset [options] Reset plugins, themes, settings, etc user [command] Manage users upgrade [options] [scripts...] Run NodeBB upgrade scripts and ensure packages are up-to-date, or run a particular upgrade script help [command] Display help for [command]
-
One very important thing upgrade does that had not been mentioned yet is that it upgrades the database schemas.
-
Copyright © 2024 NodeBB | Contributors