Great. I’ll sort that out tomorrow then. Thanks For all the guidance. Thanks, Tyler Mobley Digital Services Coordinator Director, Lowcountry Digital Library College of Charleston Libraries ________________________________ From: Tim Donohue <[email protected]> Sent: Thursday, March 24, 2022 4:09:22 PM To: Mobley, Tyler <[email protected]>; DSpace Technical Support <[email protected]> Subject: EXTERNAL: Re: [dspace-tech] (7.0) Bitstreams missing after Simple Archive Import
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. I believe that was fixed in 7.2, as part of this PR (which fixed several issues in the edit bitstream form): https://github.com/DSpace/dspace-angular/pull/1417<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDSpace%2Fdspace-angular%2Fpull%2F1417&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676300326%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qs7ECtywrj4eHvjZNIr88wzOv071b%2FsEYh3jE4ZxQQA%3D&reserved=0> Tim ________________________________ From: [email protected] <[email protected]> on behalf of Tyler Mobley <[email protected]> Sent: Thursday, March 24, 2022 2:58 PM To: DSpace Technical Support <[email protected]> Subject: Re: [dspace-tech] (7.0) Bitstreams missing after Simple Archive Import Tim, not to pile on, but could you also check and verify if you get the following error in console and a blank screen when hitting the 'upload' button on the bitstream tab when editing an item? I thought I'd upload a new file to an existing item to see if at least that new file would show up in the public item view, but it appears I found a different problem. Going to upgrade to 7.2 UI tomorrow to see if that's the problem. ERROR TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable. Tyler On Thursday, March 24, 2022 at 3:50:16 PM UTC-4 Tyler Mobley wrote: Thanks, Tim! On Thursday, March 24, 2022 at 3:48:56 PM UTC-4 Tim Donohue wrote: Hi Tyler, I can verify that the "Primary Bitstream" toggle when editing a Bitstream doesn't appear to work properly for me either. I've just created a ticket and added it to our project board for more analysis: https://github.com/DSpace/dspace-angular/issues/1578<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDSpace%2Fdspace-angular%2Fissues%2F1578&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676300326%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=y9IGgxDVBerlkPZV7uyEFUiokUmPbyPkN7bAboQr%2F40%3D&reserved=0> Tim ________________________________ From: [email protected] <[email protected]> on behalf of Tyler Mobley <[email protected]> Sent: Thursday, March 24, 2022 10:10 AM To: DSpace Technical Support <[email protected]> Subject: Re: [dspace-tech] (7.0) Bitstreams missing after Simple Archive Import OK, after looking at the console responses I'm seeing the following sequence when I go to edit a bitstream, check toggle to make it primary, then click Save. In the interface I receive the green 'changes saved' alert. But the changes don't occur per what's here: Cross-Origin Read Blocking (CORB) blocked cross-origin response https://api-d.library.cofc.edu/server/api/core/bitstreams/8c205262-d366-48fd-abcf-7e7f303e6a50/content with MIME type application/pdf. bitstreams:1 Form submission canceled because the form is not connected dspace-rest-response-parsing.service.ts:155 The response for 'https://api-d.library.cofc.edu/server/api/core/items/5738204b-4cb0-4bc2-b0ed-5a36a5627b16/bundles?page=0&size=9999' has the self link 'https://api-d.library.cofc.edu/server/api/core/items/5738204b-4cb0-4bc2-b0ed-5a36a5627b16/bundles?page=0&size=1000'. These don't match. This could mean there's an issue with the REST endpoint Tyler On Tuesday, March 22, 2022 at 9:58:01 AM UTC-4 Tyler Mobley wrote: Circling back to this. I'm now on 7.1.1 and gave this another run this morning. I don't see any particular errors, the items are loaded and indexed in solr, and now I see that in the full item view only my license.txt file listed. HOWEVER, when I login and go to edit the item, the proper files ARE there under the bitstreams tab. I can download and view them as wanted. I'm also seeing though that these files are not being set as primary and when I edit and click the toggle to make them primary and save the changes don't seem to stick. Any idea? Permissions problem? Theme problem? Including a sample of my contents file below from the import. BINNICKER-BACHELORSESSAY-2013.pdf bundle:CONTENT primary:true LICENSE.txt bundle:LICENSE Thanks! Tyler On Friday, October 22, 2021 at 11:24:06 AM UTC-4 Tim Donohue wrote: 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<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.lyrasis.org%2Fdisplay%2FDSDOC7x%2FImporting%2Band%2BExporting%2BItems%2Bvia%2BSimple%2BArchive%2BFormat%23ImportingandExportingItemsviaSimpleArchiveFormat-DSpaceSimpleArchiveFormat&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676300326%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YcuvmpjiOrrbfRUxU97oBu5mq6eGW%2BVkyUrFAFF6df4%3D&reserved=0> 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<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.lyrasis.org%2Fabout%2FPages%2FCode-of-Conduct.aspx&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pZLV6PeM4yJd4KjGdxYL0EXMBbpYr7IoQs9h1RvCJnI%3D&reserved=0> --- 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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdspace-tech%2Fabf20f2a-bdb0-43fe-aa29-38f0b6f3c6f7n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=KcoNYsAFPXs2Ix7%2B%2BhDg18E9L8fcWQBkn2FWZsTD66M%3D&reserved=0>. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.lyrasis.org%2Fabout%2FPages%2FCode-of-Conduct.aspx&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pZLV6PeM4yJd4KjGdxYL0EXMBbpYr7IoQs9h1RvCJnI%3D&reserved=0> --- 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/1fe7dddd-3720-4ce3-b4b0-f5d674e266e7n%40googlegroups.com<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdspace-tech%2F1fe7dddd-3720-4ce3-b4b0-f5d674e266e7n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=11F5YBF4XHsrHq%2BV4Yjan4lCaxWgI1QpY7naUJ%2FmPZg%3D&reserved=0>. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.lyrasis.org%2Fabout%2FPages%2FCode-of-Conduct.aspx&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pZLV6PeM4yJd4KjGdxYL0EXMBbpYr7IoQs9h1RvCJnI%3D&reserved=0> --- 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/0b9a723b-830f-48ec-92a7-4b93e1283c7an%40googlegroups.com<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdspace-tech%2F0b9a723b-830f-48ec-92a7-4b93e1283c7an%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=b5oJBPpfxTZxROhhnXiO1%2B1hBBImt%2BgRYMmS7k01qRI%3D&reserved=0>. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.lyrasis.org%2Fabout%2FPages%2FCode-of-Conduct.aspx&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pZLV6PeM4yJd4KjGdxYL0EXMBbpYr7IoQs9h1RvCJnI%3D&reserved=0> --- 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/76421cd9-2e74-4755-90ff-81074ea298e8n%40googlegroups.com<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdspace-tech%2F76421cd9-2e74-4755-90ff-81074ea298e8n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmobleyt%40cofc.edu%7C1a9dfdd57fe748d4e84708da0dd23179%7Ce285d438dbba4a4c941c593ba422deac%7C0%7C0%7C637837493676456542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TGgfMElpxGV5fySGVN57h4FxVvkk5Z8S%2FSqyQM6dXu8%3D&reserved=0>. -- 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/DM8PR04MB8183744FDE01111698CA432CCD199%40DM8PR04MB8183.namprd04.prod.outlook.com.
