Table of Contents

Steps to upgrade from V7.9 to V7.10

Mandatory Manual Actions Before Upgrading

To be safe in case of any problems during the update, back up your database and the stages folder before the upgrade.
If the backup is running automated - please check whether the backup was created successfully.

Please also backup your cacerts file from your JDK8 installation. (<JavaHome>/jre/lib/security/cacerts)

Stop Stages

Linux: execute sudo stages stop

Windows: stop the Stages and Stages Search Windows services

Install Java 17 JDK

Upgrade on Windows

Upgrade on RHEL8+9 and derivates

We recommend doing all of the following as root in Linux shell.

Backup your cacerts file from your JDK8 installation. (<JavaHome>/jre/lib/security/cacerts), if not done already.

yum remove java-1.8.0-openjdk-headless.x86_64
yum remove java
yum install java-17-openjdk-devel.x86_64

Upgrade on CentOS7 or RHEL7

stages stop
yum remove java-1.8.0-openjdk-headless.x86_64
yum remove java
## Create repo file
touch /etc/yum.repos.d/adoptium.repo

## Fill repo with information
## # Uncomment and change the distribution name if you are not using CentOS/RHEL/Fedora
# DISTRIBUTION_NAME=centos
cat <<EOF> /etc/yum.repos.d/adoptium.repo
[Adoptium]
name=Adoptium
baseurl=https://packages.adoptium.net/artifactory/rpm/${DISTRIBUTION_NAME:-$(. /etc/os-release; echo $ID)}/\$releasever/\$basearch
enabled=1
gpgcheck=1
gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public
EOF

# Install JDK17
yum install temurin-17-jdk

Insert the following into a new file “/etc/profile.d/java_home.sh”

export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:/bin/java::")
export PATH=$PATH:$JAVA_HOME/bin

Execute Manual Actions

(Manual Actions have to be done before running Upgrade Installer, make sure stages and StagesSearch service is stopped before executing )

* On Linux you will get the path if installed via yum by executing:

readlink -f /usr/bin/java | sed "s:/bin/java::"

Run Stages Upgrade Installer

Linux: execute sudo rpm -Uvh stages-…rpm or sudo yum localinstall stages-…rpm, depending on your Linux flavor

Windows: execute Stages V7.10 Windows installer in an administrative command prompt and follow the assistant steps

Restart Stages

Linux: execute stages reload

Windows: verify that Stages and Stages Search Windows services are running