Page 1 of 1

Import Repository Hangs

PostPosted:Mon Mar 12, 2012 12:12 pm
by Alexires
Hi. I'm using OKM 5.1.9 on Ubuntu 10.10 and when I use the administration>import repository function, if the import is a large one (or requires a lot of OCR) and takes a long time, the % counter seems to time out. The files all upload correctly (barring any errors), but the % counter stops. The problem with this is that if there is an error, you don't know about it if you don't check every single file which isn't possible if you are uploading 1000's of files.

Tried on Firefox 3.6.27 and Firefox 10; happens both times.

Re: Import Repository Hangs

PostPosted:Tue Mar 13, 2012 6:45 pm
by pavila
Can you try the last night build from http://integration.openkm.com/5.1.x/ ?

Re: Import Repository Hangs

PostPosted:Mon Mar 19, 2012 9:24 am
by Alexires
The import is still hanging. Tried using build 7515. Not only did it hang, but it also has stopped importing the files. I'm attempting to import around 8000 files.

Edit: Interestingly enough, when I import a folder twice and it gives me "ItemExists" it doesn't hang, even though it takes longer than the previous timeout. It seems that reporting something in the window prevents it from hanging. Perhaps just alter the code so that as each file is successfully uploaded, it gives some kind of "/home/upload/folder/file -> Uploaded!"

Re: Import Repository Hangs

PostPosted:Tue Mar 20, 2012 11:16 am
by pavila
The import process shows a percentage progression in order to keep the user informed. Also this is useful to keep the HTTP connection alive. Anyway I have made big imports and never saw the problem you have. I will try to reproduce the issue in my local installation.

For now, try to divide the big import into several ones.