[dspace-tech] Re: Export site via packager fails

2019-04-18 Thread Liviu Petcu
Hi,

We found it was a bitstream duplication... Here's the solution: 
http://dspace.2283337.n4.nabble.com/Error-when-exporting-site-because-of-ID-quot-bitstream-2-quot-already-exists-td4680373.html


miercuri, 17 aprilie 2019, 23:27:55 UTC+3, Liviu Petcu a scris:
>
> Hi,
> We tried to export the site (DSpace 6.0) as follows:
> /dspace/bin/dspace packager -a -d -t AIP -e user@repo -i 123456789/0 
> 123456789-0.zip 
>
> The result was the following error:
>
> Exception: Error exporting METS for DSpace Object, type=ITEM, 
> handle=123456789/5547, dbID=c1f08fcd-bf21-4aee-8085-998f6d00040f
> org.dspace.content.packager.PackageValidationException: Error exporting 
> METS for DSpace Object, type=ITEM, handle=123456789/5547, 
> dbID=c1f08fcd-bf21-4aee-8085-998f6d00040f, Reason: 
> edu.harvard.hul.ois.mets.helper.MetsException: ID "bitstream_1" already 
> exists
> at 
> org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:292)
> at 
> org.dspace.content.packager.DSpaceAIPDisseminator.disseminate(DSpaceAIPDisseminator.java:165)
> at 
> org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:102)
> at 
> org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:137)
> at 
> org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:158)
> at 
> org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:149)
> at 
> org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:149)
> at 
> org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:169)
> at org.dspace.app.packager.Packager.disseminate(Packager.java:645)
> at org.dspace.app.packager.Packager.main(Packager.java:464)
> 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: edu.harvard.hul.ois.mets.helper.MetsException: ID "bitstream_1" 
> already exists
> at 
> edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:68)
> at 
> edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
> at 
> edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:78)
> at 
> edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
> at 
> edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:78)
> at 
> edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
> at 
> edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:78)
> at 
> edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
> at 
> org.dspace.content.packager.AbstractMETSDisseminator.writeZipPackage(AbstractMETSDisseminator.java:400)
> at 
> org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:271)
> ... 15 more
>
> I checked the item with handle=123456789/5547 and it seems to be okay. 
> Will anyone have any idea how to solve it? Thank you.
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Exporting collection using packager throws java.io.FileNotFoundException

2019-04-15 Thread Liviu Petcu
Hi,

I have tried to export a collection using packager:

dspace packager -a -d -t AIP -e user@myrepo -i 123456789/2594 
/home/dspace/123456789-2594.zip

but this fails with this message:

Disseminating DSpace COLLECTION [ hdl=123456789/2594 ] to 
/home/dspace/123456789-2594.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: java.io.FileNotFoundException: 
/home/dspace/dspace/assetstore/24/53/70/24537062703407880406826961992454636643 
(No such file or directory)
java.io.IOException: java.io.FileNotFoundException: 
/home/dspace/dspace/assetstore/24/53/70/24537062703407880406826961992454636643 
(No such file or directory)
...

I want to correct this. I have tried to use the REST interface to find out 
which items have missing bitstreams, but I have not found a way. Please, 
can someone give me some advice to solve this problem. 

DSpace version:  6.0
DB: Postgresql 9.6
OS: Centos 7.3

Thank you.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Null item_id values in the item table & authority keys instead of names in authors browsing

2019-04-09 Thread Liviu Petcu
Update
We found that if I update one of those elements by modifying its metadata, 
the item is relocated to the appropriate author and displayed correctly, 
but item_id in the table of articles remains the same (null). It seems that 
those elements have become orphaned somehow ...

luni, 8 aprilie 2019, 23:24:32 UTC+3, Liviu Petcu a scris:
>
> Hi,
>
> After reinstalling DSpace, we found that after I had made index-descovery, in 
> authors browsing there are also authority keys. 
> I checked the database and found that those authority keys correspond to 
> items whose item_ids are null in the item table. 
> Please help me solve this problem, since there are many such records (1600). 
> Thank you.
>
> Liviu Petcu
>
> DSpace version:  6.0
> Postgresql 9.6
>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Null item_id values in the item table & authority keys instead of names in authors browsing

2019-04-08 Thread Liviu Petcu
Hi,

After reinstalling DSpace, we found that after I had made index-descovery, in 
authors browsing there are also authority keys. 
I checked the database and found that those authority keys correspond to items 
whose item_ids are null in the item table. 
Please help me solve this problem, since there are many such records (1600). 
Thank you.

Liviu Petcu

DSpace version:  6.0
Postgresql 9.6

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DS-3157 and a language swapping problem

2019-03-15 Thread Liviu Petcu
Hi Hrafn,
Thank you very much for your answer. I'm sorry I did not explain well. The 
issue DS-3996 does not occur on our DSpace. The issue occures when we 
change language, that action makes it jump on another page. For example, 
when displayed page is Browsing by Author, if we change the language, then 
it jumps to Browsing by Issue Date. I also noticed that the browses 
Authors, Subject and Title goes in the default language, regardless of the 
selected language.
Thank you.

vineri, 15 martie 2019, 13:16:52 UTC+2, Hrafn Malmquist a scris:
>
> Hi Liviu
>
> I must admit I don't understand it completely but I think you're 
> describing behaviour similiar to the DS-3996 issue
>
> https://jira.duraspace.org/browse/DS-3996 
> <https://www.google.com/url?q=https%3A%2F%2Fjira.duraspace.org%2Fbrowse%2FDS-3996=D=1=AFQjCNGPZj_y4jesACa_O4F_Si30v-kolA>
>
> Good luck
> On 15/03/2019 10:59, Liviu Petcu wrote:
>
> Hello,
> I would need some advice because at this moment our Dspace 6.0, seems to be 
> affected (at least) by the DS-3157 
> <https://jira.duraspace.org/browse/DS-3157> bug. 
> This happened due to the fact that it was necessary to rebuild Dspace because 
> the Tomcat server did not provide the any content (without errors).
> Rebuilding has restored the functions, but many authors (hundreds) have 
> authority keys instead of names in author browsing. Another strange behavior 
> is that when changing the language, another page is provided (for example, it 
> changes from Browse by authors to Browse by date).There is a way to solve 
> these issues?
> Thank you.
> Liviu Petcu
> DSpace version:  6.0
>   SCM revision:  0fea17436854acf9048b0e11fbf988333ea02956
> SCM branch:  UNKNOWN
> OS:  Linux(amd64) version 3.10.0-514.6.1.el7.x86_64
>  Discovery:  enabled.
>JRE:  Oracle Corporation version 1.8.0_121
>Ant version:  Apache Ant(TM) version 1.9.2 compiled on June 10 2014
>  Maven version:  3.3.9
>
> Tomcat 8.5.13 
> Postgresql 9.6
>
>
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code of 
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> --- 
> 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 dspace-tech...@googlegroups.com .
> To post to this group, send email to dspac...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
> The University of Edinburgh is a charitable body, registered in Scotland, 
> with registration number SC005336. 
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] DS-3157 and a language swapping problem

2019-03-15 Thread Liviu Petcu


Hello,
I would need some advice because at this moment our Dspace 6.0, seems to be 
affected (at least) by the DS-3157 <https://jira.duraspace.org/browse/DS-3157> 
bug. 
This happened due to the fact that it was necessary to rebuild Dspace because 
the Tomcat server did not provide the any content (without errors).
Rebuilding has restored the functions, but many authors (hundreds) have 
authority keys instead of names in author browsing. 
Another strange behavior is that when changing the language, another page is 
provided (for example, it changes from Browse by authors to Browse by date).
There is a way to solve these issues?
Thank you.

Liviu Petcu

DSpace version:  6.0
  SCM revision:  0fea17436854acf9048b0e11fbf988333ea02956
SCM branch:  UNKNOWN
OS:  Linux(amd64) version 3.10.0-514.6.1.el7.x86_64
 Discovery:  enabled.
   JRE:  Oracle Corporation version 1.8.0_121
   Ant version:  Apache Ant(TM) version 1.9.2 compiled on June 10 2014
 Maven version:  3.3.9

Tomcat 8.5.13 
Postgresql 9.6

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Upgrade an existent DSpace (not CRIS) installation

2018-10-01 Thread Liviu Petcu
Hi, 

I'm trying to update our Dspace (dspace-6.0-release.xmlui-mirage2) with the 
CRIS module (DSpace-dspace-cris-6RC). I followed the DSpace-CRIS 
installation instructions at 
https://wiki.duraspace.org/display/DSPACECRIS/Installation. Although mvn -U 
clean in the [dspace-src] directory reported successful build, the 
following error appears after ant update (in 
[dspace-src]/dspace/target/dspace-installer directory): 

test_database: 
[java] Failure during kernel init : Infinite loop in property interpolation 
of $ {av-stream.server.url}: av-stream.server.url.
[java] at 
org.apache.commons.lang.text.StrSubstitutor.checkCyclicSubstitution(StrSubstitutor.java:701)

All configs was updated before mvn build in 
[dspace-src)/dspace/config/dspace.cfg (and local.cfg also).
What should I do to get the CRIS installation done? 

Thanks,

Liviu Petcu
 

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.