Introduction
This section describe the necessary steps to upgrade from [ERS8.0.0 - ERS8.7.2] to ERS8.8
Installation
Do NOT attempt to install version 8.8 over the same location on an existing version 8.x.x installation as this would cause ERS 8.8 not able to start up correctly.
The minimum Java Run Time requirement for version 8.8 is Java 8 and above
Configuration
DO NOT copy all configuration files in <ERS8.x.x_installation>/config over to <ERS8.8_installation>/config as this would cause ERS 8.8 not to start up correctly.
Instead, copy each piece of information from the old configuration file in version 8.x.x to the new configuration file in version 8.8
e.g. In your current ERS setup, port number 8081 is used. To migrate this, simply edit the new ERS.xml in 8.8 accordingly.
Core Engine
The default port used for ERS 8 is 8080. Please note that entering an invalid port number in ERS.xml will cause ERS8.8 not to start up.
External Jars
Please copy all existing jars in ERS8.x.x ext folder to the new ERS8.8 ext folder.
Re-install Windows Service
If you are launching Repertoire server as a Windows service, you need to update (uninstall and install) the Windows service using the tools provided under ‘windows-service’ directory.
- Javascript security has been enhanced
We have enhanced security support for Javascript so that scripts written by users will be executed with limited privileges (these are configurable by administrators).
If you have a script that ran correctly with version 8.x.x, but fails in the new release, you should check if the script contains privileged actions (such as establishing network connections or accessing files on hard disk, etc.).
You should verify that these operations are safe and if you believe they are necessary, you can then fine tune the security policies in config\java2.policy for your users. Please see the user manual for more details.
Repository and Users/Roles
To migrate 8.x.x to 8.8 repository and user/roles information :
-
Ensure that ERS 8.x.x is not started (Failure to do so will cause missing information to be migrated)
-
Copy <ERS8.x.x_installation>/db (should also contain ‘fs’ and ‘system’ directories)*
-
Ensure that ERS 8.8 is not started
-
Paste into( as copied in Step 2 ) <ERS8.x.x_installation>/db
-
Start ERS 8.8. The repository and user/role information will be successfully migrated.
*Note that once you have migrated forwards, you can’t migrate backwards with the same db(containing your filesystem, user role)