Search code examples
dspace

DSpace XMLUI Batch uploader: Upload fails due to "Unable to create mapfile"


I'm trying to upload a SimpleArchiveFormat zip-File through the batch upload interface in XMLUI (DSpace 5.2), but the upload fails("Import failed"). The log says:

org.dspace.app.xmlui.aspect.administrative.FlowBatchImportUtils @
BatchImportUI Unable to create mapfile
java.io.IOException: No such file or directory

Where is DSpace trying to create the mapfile? It sounds like the omnipresent "tomcat can't write to that directory" issue, but that's just guessing.


Solution

  • The [dspace-install]-folder has to be writable by the tomcat user for DSpace to create (and delete) the org.dspace.app.batchitemimport.work.dir-directory.