Updater CLI — Command Reference

Description:
The updater is a Creatio command-line utility used to maintain and perform updates of the local file system.
Commands execution example: dotnet Updater.dll < command >
Commands:
Full Name:               Short Name:         Description:
---------------------------------------------------------------------------
--update                 run-update          Starts the update procedure; automatically downloads missing update packages/scenarios first
--download               run-download        Downloads all required prerequisites for the update
--show-config            show-config         Shows the settings the updater reads from the site, without changing anything
--changelog              run-changelog       Displays updater changelog
--remove-rollback-marker rm-marker           Forces removal of the rollback marker after a failed update

Site settings (creatio.json):
The updater reads the connection string, the database engine and schema, the version, the application type,
the IIS site and application pool and the Kestrel ports from the site in WebRootDirectory; --download needs
that folder too, or a copy of it.
Required: WebRootDirectory, WorkDirectory, Product, HubUser, HubPassword.
Optional overrides: ConnectionString, DbEngineType, HostingType, KestrelPorts, Version. They are not in the
shipped creatio.json; add one only when the updater cannot read a value and names the setting to set.
Optional settings, not in the shipped creatio.json either: WCConnectionTimeout (1024 seconds when not set) and
the Backup block, which only the ForceBackup and ForceRestore features read.

Configuration overrides:
Any configuration value (appsettings.json) can be overridden with an argument in the --<key>=<value> form, standalone or combined with a command.
Example: dotnet Updater.dll --update --stopAppPoolTries=3 -s

Author:
Creatio
