Migration from 5.0.4 to 5.1.8
From OpenKM Documentation
![]() |
This migration process is under beta state and the SQL sentences are generated for MySQL. In case of other database may need some changes. |
- Login into Administration > Database query and execute these sentences in order to export users and roles:
SELECT CONCAT('INSERT INTO OKM_ROLE (ROL_ID, ROL_ACTIVE) VALUES (''', ROL_ID, ', ''', IF(ROL_ACTIVE IS TRUE, 'T', 'F'), ''');') from OKM_ROLE;
- Stop JBoss
- Make a backup!
- Delete $JBOSS_HOME/server/default/lib/hibernate-annotations.jar
- Remove TiffTextExtractor from $JBOSS_HOME/repository.xml and $JBOSS_HOME/repository/workspaces/default/workspace.xml
- Replace $JBOSS_HOME/server/default/deploy/OpenKM.war with the WAR from OpenKM 5.1.8
- Start JBoss again