====== Update ====== The Synchronet Update module (''[[https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/update.js|update.js]]'') is to be used (executed) when updating an //existing// installation with new/updated modules from [[dev:Git]] or a Windows update-package (e.g. ''sbup3???.zip''). When executed, the update module will: * Performs any necessary data migration tasks * Performs any necessary configuration migration tasks * Installs newly-available modules * [[module:binkit]] * [[module:sbbslist]] * [[module:avatars]] * Re-compiles all [[util:Baja]] modules ''[[dir:exec]]/*.src'' -> ''*.bin'' **Note:**\\ No harm should come if the update module is run unnecessarily, e.g. multiple times in succession. ===== Invocation ===== You run the Synchronet Update module (**after** any other update steps have been performed) with the following [[util:JSexec]] command-line: jsexec update.js ===== Options ===== ^ Option ^ Description ^ | ''-test'' | Report what would change without modifying anything | | ''-noavatars'' | Skip installing the [[module:avatars|Avatars]] feature | ===== See Also ===== * [[:module:|Modules]] * [[:module:chksetup|Check setup module]] * [[:module:cleanup|Cleanup module]] {{tag>update jsutil}}