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

  1. Shutdown the iSymphony server process.

    /opt/isymphony/server/shutdown.sh
  2. Run the following command and take note of the JAVA_HOME path value

    cat /opt/isymphony/server/config-vars.sh
  3. Open the following file in your favorite editor

    /opt/isymphony/server/update/server/install.sh
  4. Locate the following section in the file

    if [ x${JAVA_INSTALL_PATH} = "x" ]; then
        JAVA_HOME="/usr/java/latest"
    else
        JAVA_HOME=${JAVA_INSTALL_PATH}
    fi
  5. Modify 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}
    fi
  6. Save the file an run the following command

    chmod +x /opt/isymphony/server/update/server/install.sh
  7. Next run the install

    /opt/isymphony/server/update/server/install.sh
  8. Restart the server

    /opt/isymphony/server/shutdown.sh

Related Content

There is no valid license for Pro Macros. Please visit the Licenses section.

   
iSymphony