Hi Saad,
maybe you got unfinished registrations. We did run into a similar
problem when we tried a complete AIP type AIP In/Export (in 5.x) just
fort testing it.
You can check this with a database query:
select * from eperson where password is null;
You can choose not to export passwords with the option -o passwords=false
Hope this helps
Claudia
Am 26.01.2023 um 14:49 schrieb Saad Itani:
[UPDATE]
Changing the type to METS example /data/bin/dspace packager -d -a -t
METS -e dspace@xx -i 10938/0 /data/BACKUP/aip-backup/dspace-aip.zip
worked!
any idea why AIP is not working?
On Wednesday, January 25, 2023 at 4:14:12 PM UTC+2 Saad Itani wrote:
Dears we recently updated DSPACE from 5.x to 6.4 and the site is up
and running smoothly, however I am stuck in a problem regarding
export of AIP.
Info:
DSpace version: 6.4
If I run this command, I get the following error:
/data/bin/dspace packager -d -a -t AIP -e [email protected] -i 10938/0
dspace-aip.zip
Warning at xsl:stylesheet on line 14 column 35
Unrecognized version 1.1: treated as 1.0
Disseminating DSpace SITE [ hdl=10938/0 ] to dspace-aip.zip
Also disseminating all child objects (recursive mode)..
This may take a while, please check your logs for ongoing status
while we process each package.
Exception: Failed to export Roles via packager (see wrapped error
message for more details)
org.dspace.content.crosswalk.CrosswalkInternalException: Failed to
export Roles via packager (see wrapped error message for more details)
at
org.dspace.content.crosswalk.RoleCrosswalk.disseminateElement(RoleCrosswalk.java:236)
at
org.dspace.content.packager.AbstractMETSDisseminator.crosswalkToMetsElement(AbstractMETSDisseminator.java:1356)
at
org.dspace.content.packager.AbstractMETSDisseminator.makeMdSec(AbstractMETSDisseminator.java:626)
at
org.dspace.content.packager.AbstractMETSDisseminator.addToAmdSec(AbstractMETSDisseminator.java:739)
at
org.dspace.content.packager.AbstractMETSDisseminator.addAmdSec(AbstractMETSDisseminator.java:765)
at
org.dspace.content.packager.AbstractMETSDisseminator.makeManifest(AbstractMETSDisseminator.java:862)
at
org.dspace.content.packager.AbstractMETSDisseminator.writeZipPackage(AbstractMETSDisseminator.java:334)
at
org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:271)
at
org.dspace.content.packager.DSpaceAIPDisseminator.disseminate(DSpaceAIPDisseminator.java:165)
at
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:102)
at
org.dspace.app.packager.Packager.disseminate(Packager.java:642)
at org.dspace.app.packager.Packager.main(Packager.java:461)
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:229)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
Caused by: org.dspace.content.packager.PackageException:
java.lang.NullPointerException, Reason: java.lang.NullPointerException
at
org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:255)
at
org.dspace.content.packager.RoleDisseminator.disseminate(RoleDisseminator.java:106)
at
org.dspace.content.crosswalk.RoleCrosswalk.disseminateElement(RoleCrosswalk.java:205)
... 17 more
Caused by: java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
at java.util.regex.Matcher.reset(Matcher.java:309)
at java.util.regex.Matcher.<init>(Matcher.java:229)
at java.util.regex.Pattern.matcher(Pattern.java:1093)
at
org.dspace.content.packager.PackageUtils.translateGroupNameForExport(PackageUtils.java:822)
at
org.dspace.content.packager.RoleDisseminator.writeGroup(RoleDisseminator.java:307)
at
org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:229)
... 19 more
[DSPACE LOG SHOW]
2023-01-25 15:36:53,696 WARN net.sf.ehcache.CacheManager @ Creating
a new instance of CacheManager using the diskStorePath "/tmp" which
is already used by an existing CacheManager.
The source of the configuration was
net.sf.ehcache.config.generator.ConfigurationSource$URLConfigurationSource@3794ff96.
The diskStore path for this CacheManager will be set to
/tmp/ehcache_auto_created_1674653813695.
To avoid this warning consider using the CacheManager factory
methods to create a singleton CacheManager or specifying a separate
ehcache configuration (ehcache.xml) for each CacheManager instance.
2023-01-25 15:36:55,808 WARN
org.dspace.content.packager.PackageUtils @ DSpace Object
(ID='128', type ='3') no longer exists -- translating
COLLECTION_128_DEFAULT_READ to ORPHANED_3_GROUP_128_DEFAULT_READ.
2023-01-25 15:36:55,809 WARN
org.dspace.content.packager.PackageUtils @ DSpace Object (ID='12',
type ='3') no longer exists -- translating
COLLECTION_12_DEFAULT_READ to ORPHANED_3_GROUP_12_DEFAULT_READ.
2023-01-25 15:36:55,870 WARN
org.dspace.content.packager.PackageUtils @ DSpace Object (ID='14',
type ='3') no longer exists -- translating
COLLECTION_14_DEFAULT_READ to ORPHANED_3_GROUP_14_DEFAULT_READ.
==============================
however If i add any index number example:
/data/bin/dspace packager -d -a -t AIP -e [email protected] -i
10938/10938 dspace-aip.zip
Warning at xsl:stylesheet on line 14 column 35
Unrecognized version 1.1: treated as 1.0
Disseminating DSpace ITEM [ hdl=10938/21000 ] to dspace-aip.zip
Also disseminating all child objects (recursive mode)..
This may take a while, please check your logs for ongoing status
while we process each package.
CREATED a total of 1 dissemination package files.
Would you like to view a list of all files that were created? [y/n]: y
CREATED package file: /tmp/TEST/dspace-aip.zip
[Dspace log file]
2023-01-25 15:44:36,439 WARN net.sf.ehcache.CacheManager @ Creating
a new instance of CacheManager using the diskStorePath "/tmp" which
is already used by an existing CacheManager.
The source of the configuration was
net.sf.ehcache.config.generator.ConfigurationSource$URLConfigurationSource@7ff832ee.
The diskStore path for this CacheManager will be set to
/tmp/ehcache_auto_created_1674654276439.
To avoid this warning consider using the CacheManager factory
methods to create a singleton CacheManager or specifying a separate
ehcache configuration (ehcache.xml) for each CacheManager instance.
2023-01-25 15:44:38,047 WARN
org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING:
MODS: No MODS mapping for "dc.description.provenance"
2023-01-25 15:44:38,048 WARN
org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING:
MODS: No MODS mapping for "dc.contributor.department"
2023-01-25 15:44:38,048 WARN
org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING:
MODS: No MODS mapping for "dc.contributor.department"
2023-01-25 15:44:38,048 WARN
org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING:
MODS: No MODS mapping for "dc.subject.classificationsource"
2023-01-25 15:44:38,048 WARN
org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING:
MODS: No MODS mapping for "dc.contributor.institution"
===========================================
any idea whats happening and why i am not able to export the whole site?
thank you!
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
<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/0eaec20e-cc2f-4784-abd7-1ef3e82f6b08n%40googlegroups.com
<https://groups.google.com/d/msgid/dspace-tech/0eaec20e-cc2f-4784-abd7-1ef3e82f6b08n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Claudia Juergen
Technische Universität Dortmund
Universitätsbibliothek
Bibliotheks-IT
Vogelpothsweg 76
44227 Dortmund
Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]
www.ub.tu-dortmund.de
Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen
Schriftstücks per Telefax erfolgen.
Important note: The information included in this e-mail is confidential. It is
solely intended for the recipient. If you are not the intended recipient of
this e-mail please contact the sender and delete this message. Thank you.
Without prejudice of e-mail correspondence, our statements are only legally
binding when they are made in the conventional written form (with personal
signature) or when such documents are sent by fax.
--
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/665864ba-f6a5-6799-3ba1-0b727c84ec29%40tu-dortmund.de.