Update downloading and unpacking but not installing when using the automated update mechinism
Last modified by michaely on 2021/09/10 22:40
On this page
Symptoms
When using the automated update mechanism, in the Administrator, the process completes and iSymphony restarts but the version is the same as before.
Cause
The install script for the update does not pick up on the JAVA_HOME environment variable so it defaults to "/usr/java/latest" but the JRE does not exist in that location.
Resolution
Shutdown the iSymphony server process.
/opt/isymphony/server/shutdown.shRun the following command and take note of the JAVA_HOME path value
cat /opt/isymphony/server/config-vars.shOpen the following file in your favorite editor
/opt/isymphony/server/update/server/install.shLocate the following section in the file
if [ x${JAVA_INSTALL_PATH} = "x" ]; then
JAVA_HOME="/usr/java/latest"
else
JAVA_HOME=${JAVA_INSTALL_PATH}
fiModify the section to look like the following where <JRE PATH> is the path found in step 2.
if [ x${JAVA_INSTALL_PATH} = "x" ]; then
JAVA_HOME="<JRE PATH>"
else
JAVA_HOME=${JAVA_INSTALL_PATH}
fiSave the file an run the following command
chmod +x /opt/isymphony/server/update/server/install.shNext run the install
/opt/isymphony/server/update/server/install.shRestart the server
/opt/isymphony/server/shutdown.sh
Related Content