BatchImport ERROR

161 views
Skip to first unread message

Ismael Gomes Da Silva

unread,
Nov 28, 2023, 12:42:22 PM11/28/23
to DSpace Technical Support
Hello, I have the following error when batch importing into a collection. I'm using version 7.6 of Dspace.

'/dspace/imports' as defined by the key 'org.dspace.app.batchitemimport.work.dir' in dspace.cfg is not a valid directory


The solutions provided here in the community to solve the problem did not work.






DSpace Technical Support

unread,
Dec 4, 2023, 3:35:42 PM12/4/23
to DSpace Technical Support
Hi,

You should check to see if that "/dspace/imports" folder exists on your system.  If it doesn't, this might imply that your "dspace.dir" configuration (in either dspace.cfg or local.cfg) is invalid, or there may be a permissions issue where Tomcat cannot create the "/imports" folder under "/dspace".

You also can edit the value of "org.dspace.app.batchitemimport.work.dir" in your dspace.cfg or local.cfg.  By default it's set to ${dspace.dir}/imports, where ${dspace.dir} is the value of the "dspace.dir" setting in your dspace.cfg or local.cfg. https://github.com/DSpace/DSpace/blob/dspace-7.6/dspace/config/dspace.cfg#L887

Tim

Reply all
Reply to author
Forward
0 new messages