- TaskType/taskIdentifier has to be unique in 3.8
- Stop midPoint.
- Backup database.
Export objects, use ninja from release 3.7.2:
postgresql-upgrade-3.7-3.8.sql against midPoint database. Be sure to have a DB backup as the script will delete and recreate midPoint tables!
Update midPoint installation. Do one of the following:
Update war file in application server
Extract release 3.8
varfolder from your previously used 3.7.2 release folder to 3.8 directory (this folder contains configuration files, schema extension, connectors, ...)
Import objects, use ninja from release 3.8:
Copy all custom connectors from old installation to new one if necessary.
Start midPoint 3.8.
- Test all resources, validate that they point to correct connectors.
java -Dloader.path=/midpoint-3.7.2-SNAPSHOT/var/lib/mysql-connector-java-5.1.45.jar -jar lib/ninja.jar -m /midpoint-3.7.2-SNAPSHOT/var export -O backup.zip -r -z -l 4
upgrade jdbc connector to 6.x.x
java -Dloader.path=/mysql-connector-java-6.0.6.jar -jar lib/ninja.jar -m /midpoint-3.8-SNAPSHOT/var import -r -z -i ../midpoint-3.7.2-SNAPSHOT/backup.zip