cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco-bulk-filesystem-import - please one exemple

lcandido
Champ in-the-making
Champ in-the-making
I'm using Alfresco 3.4.d and alfresco-bulk-filesystem-import-1.0.amp. The installation was sucessful, the login with an admin user too, but I'm getting an error 500 as bellow:

Web Script Status 500 - Internal Error
    An error inside the HTTP server which prevented it from fulfilling the request.
   09060010 Time of failure: Thu Oct 06 18:49:05 GMT-03:00 2011 Host where failure occurred: v121d006 (10.0.190.219) Root exception: java.lang.RuntimeException: Source '/uo1/alfresco/bulkimport/Digitalizacao/x' doesn't exist. at org.alfresco.extension.bulkfilesystemimport.impl.AbstractBulkFilesystemImporter.validateFileIsReadableDirectory(AbstractBulkFilesystemImporter.java:661) at …

At the "Import Directory" field I filled out: "/uo1/alfresco/bulkimport/Digitalizacao/x"
This is a real folder in the Alfresco server that I have created and put a .pdf document just for testing.
(I've tried with "/uo1/alfresco/bulkimport" with same result)

At the "Target Space" field I filled out: "/Company Home/Digitalizacao/x"
This is an real space I have ceated empty just for testing.

The documentation says: The basic on-disk file/folder structure is preserved verbatin in the repository. So for exemple if you imported the following file/folder tree, the repository would have exactly the same set of spaces and content nodes

What's wrong? Do anyone have an exemple of a real sucessful case?

Thanks!
3 REPLIES 3

lcandido
Champ in-the-making
Champ in-the-making
I've found a solution - an odd one: when I filled out  the "Import Directory" with the word "anything" (not a real folder, of course) the error was:

09070003 Time of failure: Fri Oct 07 18:11:42 GMT-03:00 2011 Host where failure occurred: v121d006 (10.0.190.219) Root exception: java.lang.RuntimeException: Source '/opt/alfresco/tomcat/bin/anything' doesn't exist. at …

Does the bulk-import expected the folder to be placed at /tomcat/bin/? I moved the source folder from /u01/alfresco/bulkimport/ to /opt/alfresco/tomcat/bin/ and the bulk-import ran successfully!

So, must we put the source folders at /tomcat/bin/? I can't belive it. I'm sure that is possible to import directly from any regular folder and I'd like to know how do it. Any configuration file must be updated?

Thanks for any help!

pmonks
Star Contributor
Star Contributor
Just a head's up for anyone else who finds this post - the Bulk Import Tool Luiz is referring to is a community-developed extension to Alfresco [1] that has its own dedicated mailing list [2].  It's probably better to ask questions related to the tool there, as it's dedicated to the tool (unlike these forums, which cover all of Alfresco).

Cheers,
Peter

[1] http://code.google.com/p/alfresco-bulk-filesystem-import/
[2] http://groups.google.com/group/alfresco-bulk-filesystem-import

rushingbee
Champ in-the-making
Champ in-the-making
Those are the links to the original "unsupported" bulk import tool, not the "unsupported" fork that is <strong>included</strong> with the community edition.  The original version works.  The version included with 4.Xc has this bug.

It's probably better to fix the bug in the release than pass the buck upstream where the bug doesn't exist any longer 😉