Upgrade the Search Application
The upgrade procedure is very similar to the initial installation process. The only thing to keep in mind is to back up the /adf/data/
directory where the database storing all ADF configurations is located, if the upgrade includes a new version of Tomcat or PoolParty since such an upgrade will overwrite this directory. The easiest way is to copy the directory to a desired backup location using the cp
command.
Prerequisites
The following prerequisites must be satisfied before you start with the upgrade procedure:
64bit GNU/Linux Server (CentOS/RHEL/Oracle Linux 7 and 8)
at least 5 GB free disk space and 4 GB RAM
PoolParty Thesaurus Server 9.1 (PoolParty 2022 Release 2) or higher
Search Server license or higher
PoolParty user with a user role permitting API write access, recommended is an API service user with ApiAdmin role
OpenJDK (same version as currently installed for your PoolParty instance), make sure that
JAVA_HOME
is set up properlyKeycloak (is shipped with PoolParty; during the installation, you will be prompted to provide its URL, name of the PoolParty realm and a client secret for the client
ppt
)Apache Tomcat 9 (you can install the ADF Search Application with its own Tomcat instance or as an application that shares an Apache Tomcat instance with PoolParty)
Important
If the upgrade includes a new version of Tomcat, you need to manually stop it before running the installer.
Note
Please note that if ADF and PoolParty share the same Tomcat instance, the database is moved into the PoolParty config
folder.
Upgrade Procedure
This will install ADF 1.1.0 on your computer. 1 OK [o, Enter], Cancel [c] > o Choose the appropriate option: 2 Install ADF [1, Enter], Upgrade an existing ADF installation [2], Cancel installation [c] > Choose the appropriate option: 3 ADF is run as a standalone application [1, Enter], ADF is run on a shared Tomcat 9 instance (this will not update Tomcat) [2], Cancel installation [c] > 1 Enter installation directory: 4 [/opt/ADF] > Please review the application properties: 5 SETTING VALUE Base Path /search PoolParty URL https://example.poolparty.biz PoolParty User Group ADF Keycloak URL uhttps://example-keycloak.poolparty.biz:8181rl Keycloak Realm poolparty Keycloak Client ID ppt Keycloak Client Secret JhbGciOiJSUzI1NiIsInR5 Proceed installation? OK [o, Enter], Cancel [c] >
Download the ADF Search Application installer (for example CautionRun the installer as a | |
When prompted about the installation options, select an upgrade by entering | |
Specify whether you want to upgrade the ADF Search Application running as a standalone application (i.e. with its own Tomcat 9 instance) by pressing | |
Specify the folder where the ADF Search Application is installed or confirm the default path by pressing | |
Review the current application settings:
If everything is correct, proceed with the installation by pressing |
Make sure that Keycloak and Apache Tomcat are up and running. Their default ports are:
Apache Tomcat: 8080
Keycloak: 8181
If a new version of Apache Tomcat was installed, you need to start Tomcat manually using a
startup.sh
script.# ./startup.sh ROOT-SURFACE: /opt/ADF/bin using CATALINA_BASE: /opt/ADF using CATALINA_HOME: /opt/ADF using CATALINA_TMPDIR: /opt/ADF/temp using JRE_HOME: /usr using CLASPATH: /opt/ADF/bin/boostrap.jar:/opt/ ADF/bin/tomcat-9.jar using CATALINA_OPTS: Tomcat started.
Open a browser and access the ADF installation at
localhost:8080/basepath/
to verify that everything works as expected.