Hello, According to that error, the restore or submit process is looking for a Collection with handle "capes/224578", and cannot find it. It's hard to tell exactly what may be the problem here though, as it's unclear what the ZIP file "projetos_1425.zip" refers to.
It could be that one of the objects (Items) in the ZIP file you are restoring was either a child of the Collection "capes/224578" or has been mapped to Collection "capes/224578". In that scenario, during a restore, DSpace will attempt to import the Item into that same Collection. If the Collection does not exist, then you'll see an error like this one. Also, I'm not sure which of the commands you ran (you listed two). But, the second command (the -s one) looks incorrect. According to the Documentation, using "Submission Mode" *requires* that you specify the new parent object (via a -p flag): https://wiki.duraspace.org/display/DSDOC5x/AIP+Backup+and+Restore#AIPBackupandRestore-Thedifferencebetween"Submit"and"Restore/Replace"modes If you leave out the -p flag, then a submit request won't know what Collection you are attempting to resubmit this content into. The first command (the -r one) looks correct, but in a Restore/Replace, DSpace will find the parent in the ZIP file's METS document...and it will attempt to replace that content under the same parent object. So, in this situation the parent object must exist. So, I'm not sure I have an answer to your problem, as it's not clear to me what content is in the ZIP file, how that ZIP file was generated, etc. If you have more information to share, please post back to this mailing list, and we'll be glad to provide more feedback! - Tim On Thu, Mar 8, 2018 at 1:42 PM Brendow Adriel <[email protected]> wrote: > vs: DSPACE 5.6 > > > Hello guys, > > i'm trying to restore or submit a collection with all son objects > (submition content of collection) > > dspace packager -r -a -f -t AIP -e admin > C:\Users\brendows\Downloads\1425\datas\projetos_1425.zip > > dspace packager -s -a -t AIP -e admin > C:\Users\brendows\Downloads\1425\dados_comunidades\projetos_1425.zip > > > How i can solve this problem? > > > This may take a while, please check your logs for ongoing status while we > process each package. > org.dspace.content.crosswalk.CrosswalkException: > org.dspace.content.packager.PackageException: Unable to translate Handle to > Internal ID in group named 'COLLECTION_hdl:capes/224578_SUBMIT' as DSpace > Object (Handle='hdl:capes/224578') does not exist. > at > org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:547) > at > org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:447) > at > org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1193) > at > org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1114) > at > org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:453) > at > org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:228) > at > org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:145) > at org.dspace.app.packager.Packager.ingest(Packager.java:515) > at org.dspace.app.packager.Packager.main(Packager.java:427) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226) > at > org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78) > Caused by: org.dspace.content.packager.PackageException: Unable to > translate Handle to Internal ID in group named > 'COLLECTION_hdl:capes/224578_SUBMIT' as DSpace Object > (Handle='hdl:capes/224578') does not exist. > at > org.dspace.content.packager.PackageUtils.translateGroupNameForImport(PackageUtils.java:932) > at > org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:524) > ... 14 more > org.dspace.content.crosswalk.CrosswalkException: > org.dspace.content.packager.PackageException: Unable to translate Handle to > Internal ID in group named 'COLLECTION_hdl:capes/224578_SUBMIT' as DSpace > Object (Handle='hdl:capes/224578') does not exist. > > -- > 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 post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- Tim Donohue Technical Lead for DSpace & DSpaceDirect DuraSpace.org | DSpace.org | DSpaceDirect.org -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
