DSPAce import AIP package

14 views
Skip to first unread message

Andrea Silvestri

unread,
Sep 15, 2025, 9:57:58 AM (8 days ago) Sep 15
to DSpace Technical Support

Hello,

I'm trying to import an AIP package exported from a DSpace 7.4 installation into another DSpace 7.6.5 installation.

I'm using the -s option for the import because the idea is to import the entire old structure (communities, collections, and items) into a new DSpace community.

Using the -s flag, the importer should generate new handles for all the elements. However, when I use the -a option to import the entire hierarchy, the operation gets stuck when it tries to create the first collection belonging to the newly created communities. It attempts to create the collection within a community that has the original handle contained in the exported XML file.

Basically, I'm using this command: sudo /opt/dspace-7/bin/dspace packager -s -a -t AIP -e xxx...@xxx.xx -p 123456789/7 /shares/dspace/import/dspace-aip.zip

I can see in the log (dspace-cli.log) that the importer create all the communities and when it tries to create the first child collection it searches for the "original" parent handle from the old DSpace and gives this exception:

java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/192' in the METS Manifest for object hdl:123456789/193. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.

The system doesn't know which community to put the collections into because the newly created communities obviously have a different handle than the one originally exported.

I tried also to add -o ignoreHandle=true, that should be enabled by default for "submission" mode.

How can I import my communities and collections?

Thanks,

Andrea

Reply all
Reply to author
Forward
0 new messages