Export item fail *BUG"

30 views
Skip to first unread message

Job Diogenes Ribeiro Borges

unread,
May 15, 2025, 10:48:31 AM5/15/25
to DSpace Community
Hello all,

I migrate a very old Dspace to 8.1,
migration was ok. We can access UI, and see all communities, collections and items.

But, when I attempt to export (SAF) items, fail with file not found in assetstore.
But, dspace filter-media was ok, and we can view data and (PDF) without problems
in UI. 

I guess that has some problem in migration, which affect export, but not UI/API.
For some reason export script did not use new API used in UI, 
and so, we have different results.
At now, I looking to find in database where asset ID are stored,
and then fix the data. "Someone know what table  asset id are stored?"
I think, that export script, need to use API, in this way will be more in par to new code.

Sincerally

Job

DSpace Community

unread,
May 16, 2025, 1:12:05 PM5/16/25
to DSpace Community
Hi Job,

DSpace stores the file location in the "internal_id" column of the "bitstream" database table.  More information about what that "internal_id" means can be found in the documentation about the "Bitstream Store": https://wiki.lyrasis.org/display/DSDOC8x/Storage+Layer#StorageLayer-BitstreamStore

I'd also highly recommend looking to see if there are additional error messages in your logs when you encounter this file not found problem.  It is possible that it could even be a permissions issue on the files/folders in your assetstore or similar.  If the files that it is throwing errors on are thumbnails or text extraction files, keep in mind that those can be regenerated easily using the "./dspace filter-media" script.

Hopefully those hints help!

Tim

Job Diogenes Ribeiro Borges

unread,
May 22, 2025, 7:09:32 PM5/22/25
to DSpace Community
Thanks TIM.

Digging in database I found that some records that I trying to import (SIF) are fails about Bitstream IDS.

So, now I trying to use packager as option, but new problems occurs. 

Sincerally

Job
Reply all
Reply to author
Forward
0 new messages