*Good morning,*

*I am having a problem registering items in DSpace. The process starts but 
fails when I try to register, and I get the following error:*
java.lang.Exception: Error committing changes to database: Not able to 
register bitstream:2d443711-50aa-480f-abb2-fd3422861fe2 at path: 
/dspace/register/doc1.pdf, aborting most recent changes
        at 
org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:233)
        at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:104)
        at 
org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:149)
        at 
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131)
        at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
Caused by: java.io.IOException: Not able to register 
bitstream:2d443711-50aa-480f-abb2-fd3422861fe2 at path: 
/dspace/register/doc1.pdf
        at 
org.dspace.storage.bitstore.BitstreamStorageServiceImpl.register(BitstreamStorageServiceImpl.java:175)
        at 
org.dspace.content.BitstreamServiceImpl.register(BitstreamServiceImpl.java:181)
        at 
org.dspace.content.BitstreamServiceImpl.register(BitstreamServiceImpl.java:154)
        at 
org.dspace.app.itemimport.ItemImportServiceImpl.registerBitstream(ItemImportServiceImpl.java:1514)
        at 
org.dspace.app.itemimport.ItemImportServiceImpl.processContentsFile(ItemImportServiceImpl.java:1200)
        at 
org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:752)
        at 
org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:313)
        at 
org.dspace.app.itemimport.ItemImportCLI.process(ItemImportCLI.java:92)
        at 
org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:226)
        ... 4 more

  
*My configuration is as follows:  *

Collection file: 123456789/2
Content file: -r -s 0 -f /dspace/register/doc1.pdf
Dublincore file:  <?xml version="1.0" encoding="utf-8" standalone="no"?>
<dublin_core schema="dc">
  <dcvalue element="title" qualifier="none">Registro001</dcvalue>
  <dcvalue element="date" 
qualifier="accessioned">2024-04-27T00:43:13Z</dcvalue>
  <dcvalue element="date" 
qualifier="available">2024-04-27T00:43:13Z</dcvalue>
  <dcvalue element="date" qualifier="issued">2024</dcvalue>
</dublin_core>

*The command I used is the following:*

./dspace import --add [email protected] 
--source=/dspace/register/item2 --map=/dspace/imports/mapfile

*Installation information:*

DSpace version: 7.6 SCM revision: ${buildNumber} SCM branch: UNKNOWN_BRANCH 
OS: Linux(amd64) version 6.1.0-21-cloud-amd64 Applications: Discovery: 
enabled. JRE: Debian version 17.0.11 Ant version: Apache Ant(TM) version 
1.10.13 compiled on February 6 2023 Maven version: 3.8.7 DSpace home: 
/dspace

I would appreciate it if you could help me resolve this issue.

Thank you.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/ebf70ad6-f3e9-4b2b-8480-6d4de3d848fan%40googlegroups.com.

Reply via email to