• Error Import from 5 to 6

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #29320  by sagar
 
Hi,

I have exported the repository from 5.1.11 with meta data and history; and tried to import it in 6.3.0(with history and meta data) always I get the below error:
Code: Select all
Files & directories to import: 7875
(0%) (1%)
/OpenKM/repo_back/All-SDT/***.msg -> General
(2%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(3%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(4%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(5%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(6%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(7%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(8%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(9%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
(10%)
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
/OpenKM/repo_back/All-SDT/***.msg -> General
Error: PathNotFound: /okm:root/All-SDT/S**/T**/T***/C**



If I check the repository I find part of it imported with the correct data.

Your help is highly appreciated.

Regards,
Sagar
 #29331  by jllort
 
Do you have categories ? did you imported first categories before importing anything else ?
The problem happens on a document, has version history ?
 #29352  by sagar
 
jllort wrote:Do you have categories ? did you imported first categories before importing anything else ?
The problem happens on a document, has version history ?
There are two category which only assigned to one document on the repository. No I have not imported the category.
the error message on the bottom on a folder. but the messages before all for documents of type (.msg) .


Regards,
Sagar
 #29353  by jllort
 
First must import categories and then the other files, otherside if some document is assigned to a category will raise to you an error because category is still not present.

For what you explain the problem comes with msg file ? Here there's some problem how openkm consider this sort of files in version 5.x and how is considering now. I suggest do import in two steps:
1- first without msg or eml files ( try to execute some script or simply remove by hand from your exported folder )
2- do and export without UUID, etc... only to get the msg files as are, binary files. remove everything except msg, eml files and then try to import it.

The problem is that msg files now are mail objects and not binary docs as are declared into 5.1.11 and the import process will not working in this scenario because is waiting other kind of information. Must upload as single files and then openkm will process this files correctly.
 #29367  by sagar
 
I have deleted all the msg files but still getting error. After investigation I found the error was from directories with "&" , I have delete all those directories and the import went successfully.

- Is there a way to import these directories? or I have to remove the special character?
- Another issue I noticed, when giving access to a group (from AD) if the group scope (in AD) is "universal" it will work ok but if the group scope is "global" it will be added but members of the group won't take the access as it should.

Regards,
Sagar
 #29382  by jllort
 
For AD question please add other ticket.

About the problem with special charset, I think is this case is not possible directly migrate from 5 to 6.3 should try to 6.2.X and after jump to 6.3 ( in this version we've introduced change in way how some special characters are stored into openkm and that will make non compatible export & import feature for these. Take in mind export & import migration from 5 to 6 is the last time will be used between repository migrations. From version 6.x will not be needed and with some minimal sql script etc.. the upgrade is done. Until version 6 migration was hard because changes on jackrabbit repository force doing it. From 6 we had create our own repository structure and is not needed.
 #29384  by sagar
 
I will try your advice to migrate to 6.2 then to 6.3.

Also I will open a new topic for the AD issue.

Many thanks.

Regards,
Sagar

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.