You can upgrade from PingCentral 1.2 through 1.7 directly to 1.10. To begin the upgrade, download and extract the contents of the 1.10 distribution file and run the upgrade utility for Windows or Linux, as appropriate.
To learn how the upgrade works and which files are added and replaced during the process, see How the upgrade works.
For instructions on running the upgrade itself, see Upgrading to PingCentral 1.10.
Starting with PingCentral 1.8, signing certificates are stored in the PingCentral database instead of a PingCentral-specific trust store. Certificates that exist in this trust store are imported to the PingCentral database during the upgrade process.
How the upgrade works
The upgrade utility uses the extracted contents of the ping-central-1.10.0.zip file to copy and replace the appropriate information in the existing version installation location.
Files that were not modified since they were initially installed are overwritten with new versions during the upgrade process.
Note the following:
- The database files (h2-data directory), the log files (log directory), the external library files (ext-lib directory), and the host key file (conf/pingcentral.jwk) remain intact during the upgrade process to preserve user data.
- If the application.properties file was modified, the current version of
the file is merged with the latest version, preserving customizations.Note: If you are using an H2 database and are still using the default password from your last installation, a new password will override it during this upgrade. However, if you updated the password from the original default, it is preserved in the application.properties file.CAUTION:
Use the H2 database only for trial or training environments. It is not recommended to use the default H2 database in production. For testing and production environments, always use a secured external storage solution for proper functioning in a clustered environment. For more information on setting up an external database, see Setting up MySQL.
Testing involving H2 is not a valid test. In both testing and production, it might cause various problems due to its limitations, and PingCentral does not support H2-involved cases.
- If the conf/log4j2.xml, bin/run.sh, and bin.run.bat files were modified, the new versions are installed and the old versions are renamed. Manually update the new files with customizations as necessary.
The following image shows PingCentral 1.10 after it has been run and the database files that have been generated. It also shows which files are replaced with new files during the upgrade process.
Upgrading to PingCentral 1.10
To upgrade PingCentral to 1.10, on either Windows or Linux, download the 1.10 installation file, run the PingCentral upgrade utility, and plan for a short period of downtime.
- You are signed on to your system and have privileges that allow you to install applications.
- All system requirements are met, and the Oracle Java 11 LTS runtime environment is installed.
- The <JAVA_HOME> path points to the Java Development Kit software on your system. For example, /usr/lib/jvm/java-11-openjdk-126.96.36.199-0.e17_7.x86_64. To verify this information, run the echo $JAVA_HOME command.
- The JAVA /bin directory path is added to the <PATH> variable. To verify this information, run the echo $PATH command.
Download the ping-central-1.10.0.zip file and extract its
You can delete this file after the upgrade is complete.
If PingCentral is running, shut it
This maintains the integrity of the H2 database file and ensures that you are running 1.10 as you complete the installation.
Make a copy of the existing PingCentral
version product directory so that the older version can be restored if the
upgrade process fails.
If PingCentral has been configured to use an external database, such as MySQL, or PostgreSQL, make a copy of that database so that it can be restored if the upgrade process fails.
Go to the
directory and run the appropriate file:
Option Description Windows Run bin\upgrade.bat "--existing=<PINGCENTRAL_HOME>" Linux Run bin/upgrade.sh --existing=<PINGCENTRAL_HOME>The upgrade process begins. The upgrade utility uses the extracted contents of the ping-central-1.10.0.zip file to copy and replace the appropriate information in the existing version location.Note:
When the upgrade is complete for this release, PingCentral 1.10 will run from the directory in which PingCentral was initially installed. For example, if PingCentral 1.4 was initially installed and you upgraded to 1.6, and now to 1.10, PingCentral 1.10 will run from the original 1.4 directory. The same is true if you upgraded directly from 1.4 to 1.10.
To update the license file (conf/pingcentral.lic), add
--license=<file> at the end of the upgrade command
and specify the path to the new license.
As the upgrade continues, a message displays that reminds you to shut down PingCentral if you have not already done so.
To continue, type yes.
A message displays that reminds you to back up your PingCentral program files.
To continue, type yes.
The upgrade continues and the system displays a message when the upgrade is complete.Note:
If PingCentral was installed as a service by one user, and the upgrade is performed by another user, the service will no longer start. To resolve this issue, run the following command to update the installation files to match the existing ownership:
chown -R [user]:[group] [INSTALL_DIR]
Where the user and group match the existing installation:
chown -R pingcentral:pingcentral /usr/local/pingcentral-1-1.10.0/
Inspect the upgrade utility output for warnings regarding required manual
Other than the application.properties file, which is merged automatically, you must manually merge customizations you consider important. These customizations might include changes you made to the conf/log4j2.xml file, or changes you made to a file in the /bin directory.
If you are using an H2 database and were still using the default password from your last upgrade, you need to update the password in the application.properties file.
Start PingCentral 1.10.
Option Description Windows Run /<PINGCENTRAL_HOME>/bin/run.bat. Linux Run /<PINGCENTRAL_HOME>/bin/run.sh, or by running the systemd service command, systemctl pingcentral-# start.
Sign on to PingCentral using the
credentials you used to sign on to the previous version.
There is no need to reconfigure PingCentral to run as a Windows or Linux systemv or systemd service after the upgrade.
Upon successful upgrade, delete the 1.10 distribution
.zip file and the directory into which it was
After the upgrade, advise your users to refresh their browsers if they experience issues.