Page 1 of 1

Migration from OKM 5.1.9 to OKM 6.2.4

PostPosted:Wed Nov 13, 2013 7:10 am
by akv2502
I have trying to migrate from OKM 5.1.9 to OKM 6.2.4
Earlier one uses jboss server whereas the new one uses tomcat, hence there are changes that I am unable to perform.

Can someone help me to configure on the newer version.
I need to find the place where I can write :
1) login-config.xml
2) openkm-ds.xml

Is there a migration document available for migrating from 5.x to 6.x. I couldn't find the correct documents in the migration doc url.

Re: Migration from OKM 5.1.9 to OKM 6.2.4

PostPosted:Fri Nov 15, 2013 4:41 pm
by jllort
First must migrate to version 5.1.11 http://wiki.openkm.com/index.php/Migrat ... _to_5.1.11
Then process to migrate to latest 6.2.x is the same for any 6.2.x version http://wiki.openkm.com/index.php/Migrat ... .11_to_6.2

Re: Migration from OKM 5.1.9 to OKM 6.2.4

PostPosted:Wed Dec 04, 2013 8:38 am
by akv2502
Thanks for the reply. Now I have migrated to 6.2.5.
I am having problems using the OKMSearch service. I am using custom metadata for the documents in openkm. And I need to do a search something like this (earlier done using below xpath query):
Code: Select all
/jcr:root/okm:root//element(*,okm:document)[jcr:like(@okp:apple.userId,'%13784530961330001%')] order by @okm:name ascending
where apple.userId is the custom propertygroup and userId is the custom metadata. How can I write a Search query in order to get the document using the above details in openkm 6.2.5

If I need to use the OKMSearch.find(...) method I need to pass the queryparams. How do I set the above parameters in the queryparams ?
Also if there is an alternate way to do the search please let me know. If there are any links available to migrate the xpath queries, please send us the links.

If I need to do OR operation using QueryParams, how can we do it ?
Also , how do I sort my results thus obtained ?

Re: Migration from OKM 5.1.9 to OKM 6.2.4

PostPosted:Fri Dec 06, 2013 9:10 am
by jllort
search by xpath is not supported in version 6.X, please for questions with no relation with migration ( that's has other subject ) add different post, otherside we will generate confusion in other forum readers;