• Respository export/import fails

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #14065  by elsteve
 
pavila wrote:Ok, I see the problem: Repository export metadata files extension has been changed from .json ( OpenKM 5.1.8 ) to .okm ( OpenKM 5.1.9 ). Rename them to the new extension.
Easy enough - did that and re-tried the import. With the 'metadata' box checked I am now receiving an error message 'Error: Unable to perform operation. Node is protected.'

Clearing the 'metadata' check box imports all the files, excluding those with the '.okm' extension as expected, so something is wonky in the .okm processing. (remember that these files were exported from 5.1.8-2)

Upgraded the source system to 5.1.9 from 5.1.8-2 and exported all the files/metadata again. Tried the import again and received the same '...Node is protected.' error.

What other info can I provide to help resolve this?

Thanks!

**EDIT - If it helps, I created a brand new 5.1.9 system, loaded in some documents, exported the repository with metadata, cleared the database and tried to import all the files with metadata. Still received the "Node is protected" error.
 #14124  by Catscratch
 
Sorry, can't help you.

I gave up trying to export and import a repository, because it won't work in version 5.1.8 and 5.1.9. I wanted to try it in 5.1.10, but everytime it's a lot of time spending in this attemps. And I'm tired of this. ;-)

So my suggestion is, don't try to export the repository in another okm version. Try to upgrade first and than export-import. Maybe this could work. Or try the nightly build.
 #14144  by jllort
 
Structure of repository has not been changed from 5.1 to 5.1.9 and will not change in future 5.1.10 so in this case you can directly use actual repository simply upgrading war http://wiki.openkm.com/index.php/Migration_Guide if you want to migrate to other server is so easy too, move all files and database if you've configured other database than default, you'll need migrate it too.

About migration procedure we've still not get time for take a look on it ... but it's extrange because I think we've not changed anything there from version 5.1.7
 #14150  by Catscratch
 
The problem is, that the metadata ex-import won't work. There are tickets in the bugtracker too. Maybe it works in 5.1.10. But I don't tested it. I will try in if I got time for it.
 #14157  by pavila
 
Please, keep us informed about your test. We have tested this feature with OpenKM Professional in depth and works ok. Maybe there is a bug in OpenKM Community, but we don't have detected it.
 #14191  by elsteve
 
Catscratch wrote:Ok. I tried and got the following error. Any advice?
Unbenannt.PNG

That is exactly what I am seeing - I've tried it using the Hypersonic database & MySQL 5.1. Same error on both. Only thing I've found referencing that error has something to do with jackrabbit - which I know nothing about...
 #14287  by pavila
 
Please, try the night build. I have added a missing file which cause this error.
 #14290  by elsteve
 
pavila wrote:Please, try the night build. I have added a missing file which cause this error.
I would be happy to... Where do I find it?

EDIT: Found it - will get back to you this week.
 #14318  by elsteve
 
Tried the nightly build from 3/5/2012 (7477)

Had to set hibernate.hbm2ddl=create to create a new workflow table...

Went to Administration | Repository import, entered my filesystem path, checked the Metadata box, clicked send

and received the same error.

"Error: Unable to perform operation. Node is protected."

EDIT: HOWEVER - build 7481 from 3/6 appears to work!

Thank you!

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.