Page 2 of 2
Re: Respository export/import fails
PostPosted:Mon Feb 20, 2012 1:58 pm
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.
Re: Respository export/import fails
PostPosted:Thu Feb 23, 2012 7:56 pm
by elsteve
Bump.
Anybody?
Re: Respository export/import fails
PostPosted:Fri Feb 24, 2012 12:12 pm
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.
Re: Respository export/import fails
PostPosted:Sun Feb 26, 2012 8:25 am
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
Re: Respository export/import fails
PostPosted:Sun Feb 26, 2012 9:35 am
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.
Re: Respository export/import fails
PostPosted:Sun Feb 26, 2012 1:52 pm
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.
Re: Respository export/import fails
PostPosted:Sun Feb 26, 2012 4:33 pm
by Catscratch
I'll report as soon as I can.
Re: Respository export/import fails
PostPosted:Tue Feb 28, 2012 2:08 pm
by Catscratch
Ok. I tried and got the following error. Any advice?
Unbenannt.PNG (30.86 KiB) Viewed 5065 times
Re: Respository export/import fails
PostPosted:Tue Feb 28, 2012 2:16 pm
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...
Re: Respository export/import fails
PostPosted:Mon Mar 05, 2012 3:29 pm
by pavila
Please, try the night build. I have added a missing file which cause this error.
Re: Respository export/import fails
PostPosted:Mon Mar 05, 2012 5:34 pm
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.
Re: Respository export/import fails
PostPosted:Tue Mar 06, 2012 5:30 pm
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!
Re: Respository export/import fails
PostPosted:Wed Mar 07, 2012 6:19 pm
by pavila
Thanks for the feedback.