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)
Linux: execute sudo stages stop
Windows: stop the Stages and Stages Search Windows services
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
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
(Manual Actions have to be done before running Upgrade Installer, make sure stages and StagesSearch service is stopped before executing )
<stages_install_folder>/stages/elasticsearch/data<stages_install_folder>/stages/elasticsearch/config/jvm.options<stages_install_folder>/stages/config.bat<stages_install_folder>/stages/bin/rc.conf* On Linux you will get the path if installed via yum by executing:
readlink -f /usr/bin/java | sed "s:/bin/java::"
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
Linux: execute stages reload
Windows: verify that Stages and Stages Search Windows services are running