Page 1 of 1

migrating from 1.1 to 3.0

PostPosted:Wed Mar 04, 2009 12:46 pm
by pvervoo
Hello

I\'m trying to migrate my repository from version 1.1 to 3.0. I tried following command:
java -Djava.security.auth.login.config=jaas.config -Xmx512m -cp OKMUtils.jar es.git.openkm.util.cmd.RepositoryUpgrade repository-1.1.xml repository-1.1 repository-3.0.xml repository-3.0

from within the migration directory of the 3.0 version.

First I get a lot of WARN\'s about the filters ( e.g. MsExcelTextFilter ) and it ends with an Exception:
Exception in thread \"main\" javax.jcr.PathNotFoundException: okm:config
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2487)
at es.git.openkm.util.cmd.RepositoryUpgrade.main(RepositoryUpgrade.java:105)

What am I doing wrong ?

Thanks in advance
Philippe

Re:migrating from 1.1 to 3.0

PostPosted:Wed Mar 04, 2009 7:49 pm
by jllort
You can not directly migrate from 1.1 to 3.0

You must migrate 1.1 to 1.2
1.2 to 2.0
and 2.0 to 3.0

Re:migrating from 1.1 to 3.0

PostPosted:Thu Mar 05, 2009 8:55 am
by pvervoo
Migrating from version to version till 3.0 is too time-consuming for me. What I did was an export and an import. This worked fine, however I lost my users and their rights. Is there a way to import the users in 3.0 from an earlier version ?

Re:migrating from 1.1 to 3.0

PostPosted:Thu Mar 05, 2009 12:00 pm
by jllort
There\'s no mechanism, because from older versions than 2.0 , users by default comes on a plain text, but since version 3.0 users comes with embeded database. There\'s no automatic way to migrate it.

If you\'ve got so much users, the most easy way is to get the plain text and transform on database queries to be inserted. The database structure is really simply and might not be a great problem doing it.

Re:migrating from 1.1 to 3.0

PostPosted:Tue Dec 01, 2009 6:11 pm
by ivg.gtbi
Well, I\'ve found instructions to do the migration from 1.1 to 1.2 in the 1.2 release notes, but it gives me many errors, like «Extractor class not found: org.apache.jackrabbit.core.query.MsExcelTextFilter» and the like and «Exception in thread \"main\" javax.jcr.LoginException: No se han configurado LoginModules para Jackrabbit».

Can you help me, please? It seems migrating from 1.1 to 3.0 is going to be an odissey... :-(