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, you need to understand how to specify 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 9.0 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-324.bin -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir>
.\pentaho-upgrade-22.214.171.124-324.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, any of the following possible exit codes could appear 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 possible errors could occur:|
|The installation was canceled by the end user.|
|The installation includes an invalid command-line option.|
See the InstallAnywhere documentation for further possible exit codes.