Re: [Dspace-tech] AIP import error

2014-05-30 Thread Shazia Sathar
Hello Tim,
Thank you for the detailed response. I tried the manual migration route and was 
able to get everything working! 
Thanks again!

Regards,
Shazia



> On May 29, 2014, at 11:04 AM, Tim Donohue  wrote:
> 
> Hello Shazia,
> 
> The error is reporting that one of your items has no "dc.title" metadata 
> field. DSpace requires that all items have a "dc.title" when they are 
> imported. My only guess here is that it was somehow removed from your 
> existing DSpace.
> 
> So, a few possible options:
> 
> 1) Attempt to determine *which* item is missing the "dc.title". Add that 
> "dc.title" field and re-export and re-import. This older thread describes how 
> you can find the item which failed cause it was missing a "dc.title":
> 
> http://dspace.2283337.n4.nabble.com/AIP-Restore-error-td4650376.html#a4652023
> 
> 2) Another option is to just migrate your Database and Assetstore directory 
> manually. You don't *have* to use the AIP tools to do a migration. Instead, 
> you can just export your database, move it over. Then move over the config 
> files & "assetstore" folder & reindex. This general process is described in 
> this thread (the thread also describes upgrading the DSpace DB prior to the 
> migration, but you can ignore that as long as you plan to stay on DSpace 3.2):
> 
> http://dspace.2283337.n4.nabble.com/Problems-with-AIP-restore-td4673152.html#a4673166
>  
> 
> - Tim
> 
>> On 5/28/2014 9:44 PM, Shaz UIC wrote:
>> Hello All,
>> 
>> I am in the process of migrating  the DSpace instance installed on a
>> Windows machine to Linux server. I have the DSpace website up and
>> running on the new Linux server. In order to get the database,
>> communities, collections, assetstore all migrated, I attempted  to do
>> the AIP full-site export and then import to the Linux server. The export
>> generated a set of zip files in the [dspace] dir. I copied these files
>> to the Linux server and attempted to do an import which resulted in the
>> following error:
>> 
>> Will replace existing DSpace SITE [ hdl=123456789 /0 ]
>> org.dspace.content.packager.PackageValidationException: Item cannot be
>> created without the required "title" DC metadata.
>> at
>> org.dspace.content.packager.PackageUtils.checkItemMetadata(PackageUtils.java:135)
>> at
>> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:469)
>> at
>> org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1134)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:241)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>> at org.dspace.app.packager.Packager.replace(Packager.java:727)
>> at org.dspace.app.packager.Packager.main(Packager.java:373)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
>> org.dspace.content.packager.PackageValidationException: Item cannot be
>> created without the required "title" DC metadata.
>> 
>> I noticed from the logs that some users have been created and also the
>> assetstore directory has some data. But all this does not show on the
>> website. Any pointers on what could be wrong? Am I missing some step
>> before the import? I appreciate any ideas on how I can fully migrate the
>> dspace site to the Linux server. Thanks in advance!
>> Here are details on OS and dspace versions:
>> Old server:
>> OS: Windows 2008 R2
>> Dspace version: 3.2
>> DB version: PostgreSQL 9.1.12
>> 
>> New server
>> OS: RHEL
>> DSpace version: 3.2
>> DB version: PostgreSQL 9.3
>> 
>> Regards
>> Shazia
>> 
>> 
>> --
>> Time is money. Stop wasting it! Get your web API in 5 minutes.
>> www.restlet.com/download
>> http://p.sf.net/sfu/restlet
>> 
>> 
>> 
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette: 
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>> 

--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
___
DSpace-tech

Re: [Dspace-tech] AIP import error

2014-05-29 Thread Tim Donohue
Hello Shazia,

The error is reporting that one of your items has no "dc.title" metadata 
field. DSpace requires that all items have a "dc.title" when they are 
imported. My only guess here is that it was somehow removed from your 
existing DSpace.

So, a few possible options:

1) Attempt to determine *which* item is missing the "dc.title". Add that 
"dc.title" field and re-export and re-import. This older thread 
describes how you can find the item which failed cause it was missing a 
"dc.title":

http://dspace.2283337.n4.nabble.com/AIP-Restore-error-td4650376.html#a4652023

2) Another option is to just migrate your Database and Assetstore 
directory manually. You don't *have* to use the AIP tools to do a 
migration. Instead, you can just export your database, move it over. 
Then move over the config files & "assetstore" folder & reindex. This 
general process is described in this thread (the thread also describes 
upgrading the DSpace DB prior to the migration, but you can ignore that 
as long as you plan to stay on DSpace 3.2):

http://dspace.2283337.n4.nabble.com/Problems-with-AIP-restore-td4673152.html#a4673166
 


- Tim

On 5/28/2014 9:44 PM, Shaz UIC wrote:
> Hello All,
>
> I am in the process of migrating  the DSpace instance installed on a
> Windows machine to Linux server. I have the DSpace website up and
> running on the new Linux server. In order to get the database,
> communities, collections, assetstore all migrated, I attempted  to do
> the AIP full-site export and then import to the Linux server. The export
> generated a set of zip files in the [dspace] dir. I copied these files
> to the Linux server and attempted to do an import which resulted in the
> following error:
>
> Will replace existing DSpace SITE [ hdl=123456789 /0 ]
> org.dspace.content.packager.PackageValidationException: Item cannot be
> created without the required "title" DC metadata.
>  at
> org.dspace.content.packager.PackageUtils.checkItemMetadata(PackageUtils.java:135)
>  at
> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:469)
>  at
> org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1134)
>  at
> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:241)
>  at
> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>  at
> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>  at
> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>  at org.dspace.app.packager.Packager.replace(Packager.java:727)
>  at org.dspace.app.packager.Packager.main(Packager.java:373)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> org.dspace.content.packager.PackageValidationException: Item cannot be
> created without the required "title" DC metadata.
>
> I noticed from the logs that some users have been created and also the
> assetstore directory has some data. But all this does not show on the
> website. Any pointers on what could be wrong? Am I missing some step
> before the import? I appreciate any ideas on how I can fully migrate the
> dspace site to the Linux server. Thanks in advance!
> Here are details on OS and dspace versions:
> Old server:
> OS: Windows 2008 R2
> Dspace version: 3.2
> DB version: PostgreSQL 9.1.12
>
> New server
> OS: RHEL
> DSpace version: 3.2
> DB version: PostgreSQL 9.3
>
> Regards
> Shazia
>
>
> --
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette