I don't believe permissions in the Zip would have an impact.

You may also want to double check that the Zip file is structured as described 
in Simple Archive Format:
https://wiki.lyrasis.org/display/DSDOC7x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-DSpaceSimpleArchiveFormat

Pay close attention to the "contents" file which must obviously list all files 
you want to import.

Another option to try is unzipping​ the content into directories and just 
importing from the directories. Maybe there's something odd going on with the 
unzipping here?  I'm honestly not sure.

I'm slightly surprised there's no errors anywhere...but, maybe that means it's 
doing exactly what it thinks you want. Maybe the PDF file isn't listed in the 
"contents" file and so it's being ignored?

Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
Tyler Mobley <[email protected]>
Sent: Friday, October 22, 2021 9:38 AM
To: DSpace Technical Support <[email protected]>
Subject: Re: [dspace-tech] (7.0) Bitstreams missing after Simple Archive Import

Hi Tim,

I'm not seeing anything specific. In dspace.log I am getting occasional long 
stacktraces about a connection reset by peer error that I imagine is probably a 
firewall issue more than anything else. For a second I thought it might be 
related, but I see the same trace in there today and haven't run the import 
again since posting here. Catalina logs don't seem to have anything. Maybe my 
logging is misconfigured. I'll take a look. Would permissions on the files in 
the zip have any effect? I  don't get why a license.txt would make it through 
but not a PDF though.

Thanks,
Tyler

On Thursday, October 21, 2021 at 5:10:30 PM UTC-4 Tim Donohue wrote:
Hi Tyler,

Are there any errors in the backend logs (dspace.log or Tomcat logs)?  If you 
aren't seeing errors from the commandline process, it's possible they are 
showing up in the logs instead.

Tim


________________________________
From: [email protected] <[email protected]> on behalf of Tyler 
Mobley <[email protected]>
Sent: Thursday, October 21, 2021 12:15 PM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] (7.0) Bitstreams missing after Simple Archive Import

This morning I expunged a list of items in a collection successfully and then 
used the command line import on Dspace 7 to import a zipfile of new items to 
that collection arranged in Simple Archive format. All the items come in 
correctly except for the primary bitstreams which are all PDFs. In the script 
output I can see lines per item where said file is being set as primary 
bitstream as per the contents manifest. However, the only thing appearing 
publicly apart from metadata is the included license.txt file.

I'm not receiving any errors that I can find during the import. Any ideas?

Thanks!
Tyler

--
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 Technical Support" 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-tech/abf20f2a-bdb0-43fe-aa29-38f0b6f3c6f7n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/abf20f2a-bdb0-43fe-aa29-38f0b6f3c6f7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1fe7dddd-3720-4ce3-b4b0-f5d674e266e7n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/1fe7dddd-3720-4ce3-b4b0-f5d674e266e7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 Technical Support" 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-tech/DM5PR2201MB1148D86299896E6AB3425015ED809%40DM5PR2201MB1148.namprd22.prod.outlook.com.

Reply via email to