Page 1 of 1

Migration 4.1 to 5.0 failed & no login anymore to 4.1

PostPosted:Thu Dec 16, 2010 11:00 pm
by Peter81929
Hi all,

OpenKM 4.1 and 5.0 on Ubuntu.

I tried to migrate the repository from 4.1 to 5.0 using the new utilities.jar from the 5.0 files. It failed at about 50%:
Code: Select all
16/Dez/2010 09:02:31 - INFO  - (49%) FOLDER: /okm:root/Test/Test/Test -> /okm:root/Test/Test/Test                      <-- [path names changed for privacy reasons]
16/Dez/2010 09:02:31 - ERROR - Unknown node type
javax.jcr.RepositoryException: Unknown node type
        at com.openkm.util.RepositoryUpgrade.migrationHelper(RepositoryUpgrade.java:561)
        at com.openkm.util.RepositoryUpgrade.migrationHelper(RepositoryUpgrade.java:558)
        at com.openkm.util.RepositoryUpgrade.migrationHelper(RepositoryUpgrade.java:558)
Question 1: What could cause a "Unknown node type". Could this be changed in advance before trying to migrate?


Question 2: I cannot log into 4.1 anymore. The repository cannot be started:
Code: Select all
Directory was previously created with a different LockFactory instance; please pass null as the lockFactory instance and use setLockFactory to change it
What needs to be done to "unlock" the 4.1 repository?

Thanks, Peter

Re: Migration 4.1 to 5.0 failed & no login anymore to 4.1

PostPosted:Wed Dec 22, 2010 12:18 pm
by pavila
Try to find and delete a file called "$JBOSS_HOME/repository/.lock". After that, start JBoss again.