[dspace-tech] Re: rest api in in 51

2020-04-17 Thread Jose Blanco
OK, I see the situation is that it's using the cache, so I've made a change
to clear the cache every time */handle* is called.

-Jose

On Thu, Apr 16, 2020 at 11:35 PM Jose Blanco  wrote:

> If I made these two request
>
>
> *RESTapi/handle/[handle]*
> *RESTapi/items/[item_id]*
>
> The output is the same,
>
> But if I change the title on the item, only
>
> *RESTapi/items/[item_id]*
>
> picks up the change.
>
> Why is
>
> *RESTapi/handle/[handle]*
>
> Not picking up the new title change?
>
> Thank you!
> -Jose
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uSBihaW6tk5RPQ8B2DXFEFKjn9JcQ-V0H7fVbqX%3D%3DJBg%40mail.gmail.com.


Re: [dspace-tech] Install DSpace 7 Beta1 on remote machine?

2020-04-17 Thread tim.donohue
Hi Chris,

For either a remote or local machine, you should be able to use the "manual" 
installation process documented here: 
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace

Keep in mind that, as a Beta release, these installation instructions are still 
in a "draft" phase.  This means that we'd appreciate any feedback (on this 
mailing list or on Slack [1]) regarding how they go for you.  You will notice 
the major difference with DSpace 6.x is you have to install the UI *separate* 
from the backend (the backend install is similar to a DSpace 6.x install).  As 
noted, the UI and the backend can run on the same server, but also can be 
installed on separate servers.

If you run into issues, let us know, or feel free to install DSpace 7 beta 1 
using one of the "automated" processes (e.g. via Docker) as documented here: 
https://wiki.lyrasis.org/display/DSPACE/Try+out+DSpace+7

Good luck,

Tim

From: dspace-tech@googlegroups.com  on behalf of 
Chris Clawson 
Sent: Friday, April 17, 2020 1:15 PM
To: DSpace Technical Support 
Subject: [dspace-tech] Install DSpace 7 Beta1 on remote machine?

Everything I see about installing Beta 1 is for a local machine.
I am setting up DSpace for my organization on a Ubuntu 18.04 remote server. I 
have DSPace 6 currently running but also wish to install and preview DSpace 7 
Beta1 on another remote machine. The other machine is running Ubuntu 14.04 and 
has a working test install of Collection Space (which I don't need).

Do you have any suggestions or warnings regarding installing Beta 1 on a remote 
machine?
Is the installation procedure drastically different from a fresh install of 
DSpace 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/ef13f0be-7195-4c53-813e-33d4420007b5%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/DM5PR2201MB11489F7FF38C0F213297F8E3EDD90%40DM5PR2201MB1148.namprd22.prod.outlook.com.


[dspace-tech] Install DSpace 7 Beta1 on remote machine?

2020-04-17 Thread Chris Clawson
Everything I see about installing Beta 1 is for a local machine.
I am setting up DSpace for my organization on a Ubuntu 18.04 remote server. 
I have DSPace 6 currently running but also wish to install and preview 
DSpace 7 Beta1 on another remote machine. The other machine is running 
Ubuntu 14.04 and has a working test install of Collection Space (which I 
don't need).

Do you have any suggestions or warnings regarding installing Beta 1 on a 
remote machine?
Is the installation procedure drastically different from a fresh install of 
DSpace 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/ef13f0be-7195-4c53-813e-33d4420007b5%40googlegroups.com.


[dspace-tech] Re: eperson constraint?

2020-04-17 Thread tim.donohue
Hi Dale,

I'm *guessing* you are likely running DSpace 6.x here, as the error line 
numbers seem to align with a 6.x API.  If so, it looks like the 
NullPointerException happens here:

https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/DSpaceObjectServiceImpl.java#L427

This would imply that the "MetadataField" object in the previous line is 
somehow null.  Since this object is being retrieved from the MetadataValue 
class here: 
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/MetadataValue.java#L40-L42

That would imply that you somehow have an entry in your "metadatavalue" table 
where the "metadata_field_id" is *null* (or empty).  So, my best guess here is 
that you should query that table to see if you can find an empty 
"metadata_field_id".  That is not an expected value (and I'm not sure how it 
would have gotten there).  So, you should either delete that row altogether, or 
figure out what the correct "metadata_field_id" should be based on your 
"metadatafieldregistry" table.

Good luck,

Tim

From: dspace-tech@googlegroups.com  on behalf of 
Poulter, Dale 
Sent: Thursday, April 16, 2020 6:59 PM
To: DSpace Technical Support 
Subject: [dspace-tech] eperson constraint?


Good afternoon,



When we attempt to access the epeople list we get error below.  When looking at 
the logs I also notice an error about a foreign key constraint.It seems 
that if I can isolate the bad user record and delete we should be ok – but I 
have been unsuccessful locating the bad record(s).  Any suggestions?



Java stacktrace: java.lang.NullPointerException

at 
org.dspace.content.DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427)

at 
org.dspace.content.DSpaceObjectServiceImpl.getMetadata(DSpaceObjectServiceImpl.java:131)

at 
org.dspace.content.DSpaceObjectServiceImpl.getMetadataFirstValue(DSpaceObjectServiceImpl.java:380)

at org.dspace.eperson.EPerson.getFirstName(EPerson.java:253)

at org.dspace.eperson.EPerson.getFullName(EPerson.java:229)

at 
org.dspace.app.xmlui.aspect.administrative.eperson.ManageEPeopleMain.addBody(ManageEPeopleMain.java:190)

at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:234)

at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

at com.sun.proxy.$Proxy196.startElement(Unknown Source)

at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)

at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)

at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)

at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

at com.sun.proxy.$Proxy197.startElement(Unknown Source)

at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)

at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)

at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

at com.sun.proxy.$Proxy197.startElement(Unknown Source)

at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)

at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)

at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)

at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)

at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

 

Re: [dspace-tech] Re: deploying the rest api

2020-04-17 Thread Mark H. Wood
On Thu, Apr 16, 2020 at 04:02:42PM +, tim.dono...@lyrasis.org wrote:
> While DSpace 5 was never officially tested with Java 8 (which is why it isn't 
> listed as "supported"), my understanding is there are several sites that are 
> successfully running DSpace 5.x on Java 8.
> 
> This is based on the feedback reported in our Java 8 upgrade ticket 
> https://jira.lyrasis.org/browse/DS-2653
> 
> As well as other's feedback on this mailing list, for example: 
> https://groups.google.com/d/msg/dspace-tech/M45uwUo69W0/mBO7m50mCQAJ
> 
> So, I think DSpace 5.1 will likely work on Java 8.  I cannot promise it 
> though, as it was never officially tested on that release of Java.  That 
> said, people seem to be having success at least running DSpace 5.9 on Java 8. 
>  So, if 5.1 has issues, you could upgrade to a later version of 5.x.

Also no promises, but here we have a 5.6 instance and a 5.2 instance
running on OpenJDK 8.  I do all of my development and testing with
Java 8 unless something needs Java 11.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/20200417142624.GB27482%40IUPUI.Edu.


signature.asc
Description: PGP signature


Re: [dspace-tech] Issue: How do I generate a Thumbnail on 6.2

2020-04-17 Thread Claudia Jürgen

Hello Richard,

full text extraction and thumbnail generation are done by the filter-media tool

https://wiki.lyrasis.org/display/DSDOC6x/Mediafilters+for+Transforming+DSpace+Content

It is usually set up as a cron job  (did you set up a cron job for this?)

https://wiki.lyrasis.org/display/DSDOC6x/Scheduled+Tasks+via+Cron

Further configuration options are in

https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/dspace.cfg#L864


Hope this helps


Claudia Jürgen



Am 17.04.2020 um 00:58 schrieb Richard Dennis:
Hello Allow,

I am trying to generate a thumbnail for this document 
https://digitallibrarytest.bib.sdu.dk/xmlui/handle/123456789/265

How and where do I make the changes for this to happen automatically when I 
upload a new object?

DSpace 6.3
XMLUI

Thank you in advance

Richard Dennis

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/b9dd0ba5-cf98-41ca-9976-c047310724f5%40googlegroups.com.

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 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/f507483b-644c-f26d-a8c2-f94a1bc1d7b0%40tu-dortmund.de.