When upgrading from the development builds of OpenDS (2.3.0-buildxxx) or OpenDJ 2.4.0 (and beta) to a recent version of OpenDJ, the upgrade process throws an error when applying schema customization. With the upgrade from the command line there’s an option to review and continue the upgrade process, however with the Java WebStart installer, the upgrade is cancelled and the instance reverted to its original state.
The root cause of this problem is a defect in the build of these released versions: one schema element is missing in the file that contains the schema of reference for upgrade.
This can be fixed. If you want to patch your existing instance in order to prepare an instance, follow these steps:
Download the opendj_patch4upgrade.sh script.
Go in the instance directory and run the script, you’re done !
The script only touch one file which is only used during upgrade, so it can be run with the server running and doesn’t affect the availability of the service.
You can now proceed with the upgrade to the latest release or nightly build of OpenDJ