If you are upgrading in an environment that does not support the display of a graphical interface, use the Pentaho Upgrade Installer in silent mode or console mode from a command line. The command line for silent mode and console mode has specific parameters.
Before you begin
Before you begin upgrading from the command line interface, familiarize yourself with the available silent command line parameters.
The following command line parameters are available for running the Pentaho Upgrade Installer:
|Show help text for usage.|
|Specify one of the following methods for running the Pentaho Upgrade Installer:|
|Specify your response to the End User License Agreement:|
|Specify the location of the installer-hash-zip file when prompted. For installing 184.108.40.206, 220.127.116.11 or later, the upgrade installer requires an
installer hash file that must be downloaded from the Support
Portal. Example silent mode command:|
|Specify the location of the Pentaho root installation directory. This setting is required for the silent mode.|
|Specify if you are using the silent mode to restore a backup for your original
Pentaho products before an upgrade:|
|Specify the location of the backup ZIP file produced by the upgrade process. This setting is required if you are restoring your original Pentaho 8.3 or later products.|
Use silent mode to upgrade
Perform the following steps to run the Pentaho Upgrade Installer in silent mode:
Exit out of any Pentaho products you are currently running.If you are upgrading your Pentaho Server, stop the server. For instructions, see Start and stop the Pentaho Server for configuration.
At the command line, enter one of the following commands to run the installer and start the upgrade process:
./pentaho-update-<version>.bin -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir> -DHASH_FILE_ZIP=installer-hash-files-<version>.zip
pentaho-update-<version>.exe -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir> -DHASH_FILE_ZIP=installer-hash-files-<version>.zip
If any errors occur, review the log file generated by the installer.The default location of the log file is <root installation directory>/Pentaho__Installation/logs.
If you are upgrading your Pentaho Server, restart the server.
After completing the upgrade process, check for the following exit codes in the log file:
|The installation completed successfully, but one or more of the actions from the installation sequence caused a warning or a non-fatal error.|
|One or more of the actions from the installation sequence caused a fatal error. The following errors could have occurred:|
|The installation was canceled by the end user.|
|The installation includes an invalid command-line option.|
See the InstallAnywhere documentation for more possible exit codes.