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 from a command line. The command for silent 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 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-upgrade-18.104.22.168-290.bin -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir>
.\pentaho-upgrade-22.214.171.124-290.exe -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir>
When the server upgrade process is complete, the console displays an exit code.
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.