Pentaho upgrade
You can upgrade your Pentaho products from version 8.3 or later to version 11.0 with the Pentaho Upgrade Installer.
The installer checks your environment, creates a backup, then upgrades to 11.0.
The installer supports Pentaho products installed on servers or workstations.
The installer requires 22 GB of free disk space.
The Pentaho Upgrade Installer is not supported on macOS.
If any installed product is earlier than 8.3, the installer will not proceed.
Upgrade those products to 8.3 first.
See Pentaho Server Upgrade Installer.
Before you begin
Before you run the Pentaho Upgrade Installer:
Verify your system components are current.
See Components Reference.
Stop the server before backups and installation.
Review your customizations.
Archive installation: Use this to decide what to include in the post-install report.
Manual installation: Use this to know what you must merge back.
If you are upgrading a manual installation, back up these items under
<root installation directory>/Pentaho__Installation:pentaho.warpentaho-style.warContent and folders inside
pentaho-server/pentaho-solutions
If you use Hadoop clusters, back up your
site.xmlfiles.The upgrade does not retain Hadoop drivers.
Reinstall drivers after upgrading.
If you use plugins, back up your plugins to a separate directory.
The upgrade does not retain plugins.
Re-apply plugins after upgrading.
Verify no users are logged in.
Run the Pentaho Server upgrade during off-hours.
Verify Java requirements and
JAVA_HOME.See Components Reference.
Download the upgrade files
You need the platform upgrade file and the installer hash files.
Download both from the Support Portal.
Sign in to the Support Portal.
In the Pentaho card, select Download.
Select See all <number> articles for 11.0 downloads.
Select Pentaho 11.0 GA Release.
In the file component section, go to
Utilities and Tools/Pentaho Server Upgrade Installer.Download the file for your platform:
Linux:
pentaho-update-11.0<.x.y-build number>.binWindows:
pentaho-update-11.0<.x.y-build number>.exe
Go back to the 11.0 page.
Select Installer Hash Files.
Download
installer-hash-files-<release number>-<build number>.zip.Do not extract it.
Use the latest available hash file ZIP.
Optional: Move the downloaded files to a temporary location.
Upgrade with the Pentaho Upgrade Installer (GUI)
You can upgrade an archive or manual installation of Pentaho products.
Use the section that matches your installation type:
Upgrade an archive installation
Use the Pentaho Upgrade Installer to guide you through the upgrade process.
If you are upgrading in an environment without a graphical interface, use console or silent mode. See Upgrade in console or silent mode.
Activate your new licenses (per Administer Pentaho Data Integration and Analytics) before you restore a repository with the import-export utility.
Upgrade workflow
Complete these sections in order:
Get started by checking your environment
Exit any running Pentaho products and stop the server.
Run the update file you downloaded from the Support Portal.
In Introduction, select Next.
In License Terms, read the agreement and accept it.
Select Next.
In Welcome, select Upgrade, then select Next.
Optional: To restore a backup instead of upgrading, select Restore and see Restore an archive installation backup.
In Choose Folder, set Folder to your Pentaho root directory, then select Next.
Example (default Windows):
C:\Pentaho
When prompted, update
white_list.csv. See Specify customized items to address after upgrading.When prompted, select the installer hash ZIP, then select Next.
The installer runs an environment check to find installed products and compatibility.
Example server check:

Example workstation check:

If you have Pentaho products installed under multiple root directories, run the installer once per root directory.
Specify customized items to address after upgrading
During the environment check, the installer generates:
preInstallConfigReport.txtwhite_list.csv
Location: <root installation directory>/Pentaho__Installation
If you have customizations, update white_list.csv before you proceed.
If you do not have customizations, skip this section.
Customizations may include:
Modified configuration files.
Added drivers, plugins, or other custom code.
The installer uses white_list.csv to generate post-upgrade versions of the listed items.
You may need to merge changes after the upgrade.
Perform these steps:
Go to
<root installation directory>/Pentaho__Installation.Verify that
white_list.csvincludes all changed items that must be carried forward.Review the two columns in
white_list.csv:Item type: script, configuration file, JDBC driver, directory, KTR file, or KJB file.
File or directory path: path within the distribution. It can include regular expressions.
Select Next to continue.
Review
<root installation directory>/Pentaho__Installation/preInstallConfigReport.txt.If you update
white_list.csv, select Previous, then Next to re-run the environment check.Re-open
preInstallConfigReport.txtand confirm the results match your expected customizations.
Custom directories you created at the <root installation directory> level are ignored by the installer.
Back up your existing Pentaho products and install Pentaho 11.0
Select Next to start the backup.
In Backup, wait for completion, then select Next.
In Pre-Installation Summary, review the information, then select Install.
After installation completes, select Next.
Default log location:
<root installation directory>/Pentaho__Installation/logs
In Install Complete, select Done.
Apply 11.0 licenses.
See Administer Pentaho Data Integration and Analytics.
Optional: Merge customizations.
See Post-upgrade tasks.
Restart the Pentaho Server.
After upgrading, complete the Post-upgrade tasks.
Upgrade a manual installation
Use the installer to create upgrade files in an empty folder.
Then copy those files into your manual installation.
If you cannot use a graphical interface, use console or silent mode. See Upgrade in console or silent mode.
Activate your new licenses (per Administer Pentaho Data Integration and Analytics) before you restore a repository using the import-export utility.
Install upgrade files into an empty folder
Go to a location separate from your current Pentaho installation.
Create an empty folder named
pentaho-upgrade-files.Run the installer update executable you downloaded from the Support Portal.
In Introduction, select Next.
In License Terms, accept the agreement.
Select Next.
In Welcome, select Upgrade, then select Next.
In Choose Folder, select
pentaho-upgrade-files, then select Next.When prompted, select the installer hash ZIP, then select Next.
Upgrade files are now in pentaho-upgrade-files.
Update files in a manual installation
In your manual installation, go to
<root installation folder>/Pentaho__Installation.Delete:
pentaho.warpentaho-style.warAll files and folders in
pentaho-server/pentaho-solutions
Copy
pentaho-upgrade-files/server/pentaho-server/pentaho-solutions/*into your manual installation’spentaho-server/pentaho-solutions.Create
pentaho.war:Go to
pentaho-upgrade-files/server/pentaho-server/tomcat/webapps/pentaho.Compress the contents of the
pentahofolder into a ZIP namedpentaho.war.Copy
pentaho.warto<root installation folder>/Pentaho__Installation.
Create
pentaho-style.war:Go to
pentaho-upgrade-files/server/pentaho-server/tomcat/webapps/pentaho-style.Compress the contents of the
pentaho-stylefolder into a ZIP namedpentaho-style.war.Copy
pentaho-style.warto<root installation folder>/Pentaho__Installation.
Next:
Review Post-upgrade tasks.
If you use a Quartz database, review Mandatory Quartz upgrade (10.2.0.1 and later).
Restore an archive installation backup
When you upgrade an archive installation, the installer creates a backup ZIP.
Use that backup to restore the earlier version.
Before you begin
Exit any Pentaho products that are running.
If you are restoring Pentaho Server, stop the server.
Verify that JAVA_HOME points to your current Java installation.
Restore an archive installation backup
Run the installer update executable you downloaded from the Support Portal.
In Introduction, select Next.
In License Terms, accept the agreement.
Select Next.
In Welcome, select Restore, then select Next.
In Environment Check, select the archive backup you want to restore.

Using Pentaho Upgrade Installer to restore a selected environment Select Next, then confirm the replacement.
After the restore completes:
If the installer reports errors, review the log.
If you cannot resolve the error, contact support.
Default log location:
<root installation directory>/Pentaho__Installation/logs
Select Done to exit the installer.
Restart the Pentaho Server.
Upgrade in console or silent mode
Use console mode or silent mode when you cannot use a GUI.
The Pentaho Upgrade Installer does not support console mode or silent mode on macOS.
Command-line parameters
-helpor--help: Show usage help.-i <gui|silent|console>: Select the installer interface.guiis the default.silentruns with no prompts.consoleis interactive text mode.
-DEULA=<true|false>: Accept or reject the EULA. Required for silent mode.-DHASH_FILE_ZIP=<path>: Path toinstaller-hash-files-<version>.zip.For 9.3.0.3, 9.4.0.1, or later, the installer requires this file.
-DUSER_INSTALL_DIR=<dir>: Pentaho root installation directory. Required for silent mode.-DRESTORE=<true|false>: Restore a backup before upgrading. Default:false.-DBACKUP_ZIP=<file>: Backup ZIP path. Required when restoring.
Using silent mode to upgrade Pentaho products
Silent mode runs without prompts.
Provide all values on the command line.
Upgrade an archive installation
Exit any Pentaho products you are running.
If you are upgrading Pentaho Server, stop the server.
Run the installer:
Linux:
./pentaho-update-<version>.bin -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir> -DHASH_FILE_ZIP=installer-hash-files-<version>.zipWindows:
pentaho-update-<version>.exe -i silent -DEULA=true -DUSER_INSTALL_DIR=<dir> -DHASH_FILE_ZIP=installer-hash-files-<version>.zip
If errors occur, review the installer log.
Default log location:
<root installation directory>/Pentaho__Installation/logs
If you are upgrading Pentaho Server, restart the server.
Upgrade a manual installation
Use silent mode to install upgrade files into an empty folder.
Then copy the files into your existing installation.
Exit any Pentaho products you are running.
If you are upgrading Pentaho Server, stop the server.
Install upgrade files into an empty folder:
Linux:
./pentaho-update-<version>.bin -i silent -DEULA=true -DUSER_INSTALL_DIR=/<filepath>/pentaho-upgrade-files/ -DHASH_FILE_ZIP=/<filepath>/installer-hash-files-<version>.zip -DFRESH_INSTALL=trueWindows:
pentaho-update-<version>.exe -i silent -DEULA=true -DUSER_INSTALL_DIR=/<filepath>/pentaho-upgrade-files/ -DHASH_FILE_ZIP=/<filepath>/installer-hash-files-<version>.zip -DFRESH_INSTALL=true
Copy upgrade files into your existing manual installation:
In
<root installation folder>/Pentaho__Installation, delete:pentaho.warpentaho-style.warAll files and folders in
pentaho-server/pentaho-solutions
Copy everything from
pentaho-upgrade-files/server/pentaho-server/pentaho-solutionsintopentaho-server/pentaho-solutions.Compress the contents of
pentaho-upgrade-files/server/pentaho-server/tomcat/webapps/pentahointopentaho.war.Copy
pentaho.warinto<root installation folder>/Pentaho__Installation.Compress the contents of
pentaho-upgrade-files/server/pentaho-server/tomcat/webapps/pentaho-styleintopentaho-style.war.Copy
pentaho-style.warinto<root installation folder>/Pentaho__Installation.
Start Pentaho Server.
If you plan to test Pentaho Server in a browser, clear the browser cache first.
Exit codes
0: Success.1: Success with warnings or non-fatal errors.-1: Fatal error.1000: Canceled by the user.1001: Invalid command-line option.
Exit code -1 common causes
Missing required parameters such as
-i,-DUSER_INSTALL_DIR, or-DEULA.Silent mode started while a Pentaho product is still running.
An exception occurred while backing up files.
For more exit codes, see InstallAnywhere exit codes.
Mandatory Quartz upgrade (10.2.0.1 and later)
When upgrading from 10.2.0.0 GA to 10.2.0.1 (or later), initialize the new Quartz database.
Always back up your data first.
If you want to keep your existing Quartz schedules, migrate your current tables.
Pentaho 10.2.0.0 and earlier use Quartz 1.x tables with a QRTZ5_ prefix.
Pentaho 10.2.0.1 and later use Quartz 2.x tables with a QRTZ6_ prefix.
Create the QRTZ6_ tables.
You can optionally migrate existing schedules using the migration script.
If you do not complete the Quartz upgrade, Pentaho Server can fail at startup.
You may see this message in catalina.log:
Choose your repository database
Initialize Quartz for PostgreSQL
Back up your repository database.
If Pentaho Server is running, stop it.
Confirm PostgreSQL is running.
Open
<your pentaho directory>/pentaho-server/data/postgresql/create_quartz_postgresql.sql.Update the script for your user, password, and database.
Run the script using
psqlor pgAdmin.Optional: To migrate existing schedules, run
<your pentaho directory>/pentaho-server/data/postgresql/migrate_old_quartz_data_postgresql.sql.Restart Pentaho Server.
Initialize Quartz for MySQL or MariaDB
Back up your repository database.
If Pentaho Server is running, stop it.
Confirm MySQL or MariaDB is running.
Open
<your pentaho directory>/pentaho-server/data/mysql/create_quartz_mysql.sql.Update the script for your user, password, and database.
Run the script using MySQL Workbench or a MySQL/MariaDB CLI.
Optional: To migrate existing schedules, run
<your pentaho directory>/pentaho-server/data/mysql/migrate_old_quartz_data_mysql.sql.Restart Pentaho Server.
Initialize Quartz for Oracle
Back up your repository database.
If Pentaho Server is running, stop it.
Confirm Oracle is running.
Open
<your pentaho directory>/pentaho-server/data/oracle/create_quartz_ora.sql.Update the script for your user, password, and database.
Run the script using SQL*Plus.
Optional: To migrate existing schedules, run
<your pentaho directory>/pentaho-server/data/oracle/migrate_old_quartz_data_oracle.sql.Restart Pentaho Server.
Initialize Quartz for MS SQL Server
Back up your repository database.
If Pentaho Server is running, stop it.
Confirm SQL Server is running.
Open
<your pentaho directory>/pentaho-server/data/sqlserver/create_quartz_sqlServer.sql.Update the script for your user, password, and database.
Run the script using
sqlcmdor SQL Server Management Studio.Optional: To migrate existing schedules, run
<your pentaho directory>/pentaho-server/data/sqlserver/migrate_old_quartz_data_sqlserver.sql.Restart Pentaho Server.
Post-upgrade tasks
After you upgrade to 11.0, you may need to perform optional tasks.
Optional tasks
Apply customizations
If you customized items from the default Pentaho setup, merge your customizations into the 11.0 versions.
Use the steps for your installation type:
Address customizations to upgraded archive installation
The installer generates postInstallConfigReport.txt.
Location: <root installation directory>/Pentaho__Installation
Open
postInstallConfigReport.txt.For each item listed in
These config files need merged, open both versions:Existing version.
.merge.post_upgradeversion.
Compare the files.
Do one of the following:
Keep the existing version and delete the post-upgrade version.
Merge changes into one file and keep the existing filename.
Replace the existing file with the post-upgrade version.
Address customizations to upgraded manual installation
Locate the files you backed up before upgrading.
Compare your backup files to the current files in
pentaho-server/pentaho-solutions.Merge your changes into the current files.
Update the default documentation version link
Go to
pentaho/server/pentaho-server/pentaho-solutions/system.Open
pentaho.xmlin a text editor.Update
<documentation-url>to the current version.
Example:
<documentation-url>https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/11.0</documentation-url>
Install Ops Mart
If you installed Ops Mart as part of a previous 7.x or 8.x upgrade, you do not need to reinstall it.
To install and use DI Ops Mart, see Administer Pentaho Data Integration and Analytics.
Install drivers for your Hadoop clusters
If you use Hadoop clusters, install the drivers for the clusters you want to access.
Drivers are not automatically installed after upgrading.
See Set up Pentaho to connect to a Hadoop cluster.
Apply your plugins
After upgrading, you must re-apply plugins.
For CTools plugins, see Pentaho CTools.
For PDI plugins, see Install Pentaho plugins.
Set up password encryption after upgrading
Encrypt passwords stored as plain text in configuration files.
Do this before you enable password encryption on the upgraded server.
Process summary
Modify the Tomcat
context.xmlfile.Update the Jackrabbit
repository.xmlfile.Verify your Quartz properties.
Update your Hibernate configuration.
Modify the Tomcat context.xml file
If you changed
context.xmlbefore upgrading, merge those changes into the 11.0 file.Stop Pentaho Server.
Go to
pentaho/server/pentaho-server/tomcat/webapps/pentaho/META-INF.Open
context.xml.Replace:
With:
Password encryption requires the 9.1 (or later) version of context.xml.
Add a Jackrabbit
Resourceentry for your database type:PostgreSQL
MySQL
Oracle
Replace
XEin the URL with your schema name.SQL Server
Save
context.xml.Restart the server and confirm there are no errors.
Update the Jackrabbit repository.xml file
If you use a repository database other than PostgreSQL:
Go to
pentaho/server/pentaho-server/pentaho-solutions/system/jackrabbit.Open
repository.xml.Comment out database configurations you do not use.
Uncomment the sections for your database.
If you customized
repository.xmlbefore upgrading, merge your changes into the 11.0 file.Restart the server and confirm there are no errors.
Verify your Quartz properties
Stop Pentaho Server.
Go to
server/pentaho-server/pentaho-solutions/scheduler-plugin/quartz.Open
quartz.properties.Verify this line exists:
org.quartz.dataSource.myDS.jndiURL = QuartzIf the line is missing:
If you have not customized
quartz.properties, add the line.If you customized it, merge your changes into the 11.0 file.
Save
quartz.properties.Restart the server and confirm there are no errors.
Update your Hibernate configuration
Stop Pentaho Server.
Go to
pentaho/server/pentaho-server/pentaho-solutions/system/hibernate.Update
hibernate.cfg.xml:If you have not customized it, replace it with
hibernate.cfg.xml.merge.post-upgrade.If you customized it, merge your changes into the 11.0 file.
Restart the server and confirm there are no errors.
After these updates, you can use encrypted passwords with Pentaho 11.0.
See Use password encryption with Pentaho.
Service pack information
To find the list of issues resolved in a service pack:
Sign in to the Support Portal.
In the Pentaho card, select Download.
Select your service pack in Downloads.
Scroll to the bottom of the page.
Locate the
<SP version #>-fixes.txtfile. Example:SP-9.3.0.4-739-Fixes.txt.Select the file name to view it.
Last updated
Was this helpful?

