Differences
This shows you the differences between two versions of the page.
711:upgrade_from_710 [2024/08/29 14:25] – created Meier, Erich | 711:upgrade_from_710 [2024/08/29 14:28] (current) – Meier, Erich | ||
---|---|---|---|
Line 12: | Line 12: | ||
Windows: stop the '' | Windows: stop the '' | ||
- | |||
- | ===== Install Java 17 JDK ===== | ||
- | |||
- | ==== Upgrade on Windows ==== | ||
- | |||
- | * Download a Java 17 JDK Installer for Windows (Links can be found under [[: | ||
- | * Execute the installer as an administrator | ||
- | * If the Installer offers to update the JAVA_HOME variable it is recommended to do so. | ||
- | * If not please update the JAVA_HOME variable manually. | ||
- | * Proceed with **Execute Manual Actions**, **Run Upgrade Installer** | ||
- | * Insert the cacerts file in < | ||
- | |||
- | ==== 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. (< | ||
- | |||
- | * Uninstall Java 8 | ||
- | * execute the following | ||
- | |||
- | <code -> | ||
- | yum remove java-1.8.0-openjdk-headless.x86_64 | ||
- | yum remove java | ||
- | </ | ||
- | |||
- | * Install Java 17 | ||
- | * execute the following | ||
- | |||
- | <code -> | ||
- | yum install java-17-openjdk-devel.x86_64 | ||
- | </ | ||
- | |||
- | * Insert the cacerts file in < | ||
- | * Proceed with **Execute Manual Actions**, **Run Stages Upgrade Installer** | ||
- | |||
- | ==== Upgrade on CentOS7 or RHEL7 ==== | ||
- | |||
- | * We recommend doing all of the following as root in Linux shell. | ||
- | * Stop stages service | ||
- | |||
- | <code -> | ||
- | stages stop | ||
- | </ | ||
- | |||
- | * Uninstall java JDK 8 | ||
- | * execute the following | ||
- | |||
- | <code -> | ||
- | yum remove java-1.8.0-openjdk-headless.x86_64 | ||
- | yum remove java | ||
- | </ | ||
- | |||
- | * Install Java JDK 17 | ||
- | * e.g. with Adoptium Temurin OpenJDK, execute the following | ||
- | * [[https:// | ||
- | |||
- | <code -> | ||
- | ## Create repo file | ||
- | touch / | ||
- | |||
- | ## Fill repo with information | ||
- | ## # Uncomment and change the distribution name if you are not using CentOS/ | ||
- | # DISTRIBUTION_NAME=centos | ||
- | cat << | ||
- | [Adoptium] | ||
- | name=Adoptium | ||
- | baseurl=https:// | ||
- | enabled=1 | ||
- | gpgcheck=1 | ||
- | gpgkey=https:// | ||
- | EOF | ||
- | |||
- | # Install JDK17 | ||
- | yum install temurin-17-jdk | ||
- | </ | ||
- | |||
- | * Set JAVA_HOME & PATH variable when system is restarting | ||
- | |||
- | Insert the following into a new file "/ | ||
- | |||
- | <code -> | ||
- | export JAVA_HOME=$(readlink -f / | ||
- | export PATH=$PATH: | ||
- | </ | ||
- | |||
- | * Restart the Server | ||
- | |||
- | * Insert the cacerts file in < | ||
- | |||
- | * Proceed with **Execute Manuel Actions**, **Run Stages Upgrade Installer** | ||
===== Execute Manual Actions ===== | ===== Execute Manual Actions ===== | ||
- | (Manual Actions have to be done before running Upgrade Installer, | + | (Manual Actions have to be done before running Upgrade Installer, |
- | + | ||
- | * Reset the Stages Search index by deleting content of folder: ''< | + | |
- | * Reset Elasticsearch options by deleting/ | + | |
- | * Set the JAVA_HOME environment variable to the location where JDK 17 is installed. | + | |
- | * On Windows: JAVA_HOME must be be changed in: ''< | + | |
- | * On Linux: CONF_JAVA_HOME needs to be set in: ''< | + | |
- | + | ||
- | * On Linux you will get the path if installed via yum by executing: | + | |
- | + | ||
- | <code -> | + | |
- | readlink -f / | + | |
- | </ | + | |
- | + | ||
- | ===== Run Stages Upgrade Installer ===== | + | |
Linux: execute '' | Linux: execute '' | ||
- | Windows: execute Stages V7.10 Windows installer in an administrative command prompt and follow the assistant steps | + | Windows: execute Stages V7.11 Windows installer in an administrative command prompt and follow the assistant steps |
===== Restart Stages ===== | ===== Restart Stages ===== |