[dspace-tech] How to find human-readable group name from dspace logs

2021-03-10 Thread 'Gary Browne' via DSpace Technical Support
Hi all,

Running DSpace 6.3 on Amazon Linux 2 with Tomcat 7 and httpd 2.4.

I'm trying to figure out some issues with auto-group allocation using the 
Shibboleth authentication. In the dspace logs, I can see entries like:

 Added current EPerson to special groups: [org.dspace.eperson.Group@fbaf59ee

How can I find out what group "@fbaf59ee" is??

Thanks!
Gary

-- 
All messages to this mailing list should adhere to the 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/6eb53c8e-689b-4a0e-a26e-412ba5692aa5n%40googlegroups.com.


[dspace-tech] DSpace export all metadata

2021-02-24 Thread 'Gary Browne' via DSpace Technical Support
Hello,

DSpace 6.3, Tomcat 7, Apache 2.4, Amazon Linux 2.

If I use the metadata-export command line tool, am I able to export 
metadata for all collections (is it recursive)?

Thanks,
Gary

-- 
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/8c30b362-66a4-4d7e-87e2-a5d5085a3804n%40googlegroups.com.


[dspace-tech] Okta SSO and DSpace

2021-02-21 Thread 'Gary Browne' via DSpace Technical Support
Hello all,

We are currently running DSpace 6.3, Tomcat 7, Apache 2.4 on Amazon Linux 2 
with Shibboleth and ADFS.

Our IdP is about to change to Okta with ADFS. Does anyone have any pointers 
for setting this up?

I've been given the following:

IdP SSO URL
IdP Issuer URL
X.509 certificate

Thanks,
Gary

-- 
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/6078bef2-5781-46ae-af6d-7ad5239b320bn%40googlegroups.com.


[dspace-tech] Shibboleth auto group allocation doesn't work if multiple role attribute values returned by IdP

2020-07-13 Thread Gary Browne
Hi all,

DSpace 6.3
Apache 2.4.41
Tomcat 7.0.84
Amazon Linux 2

I have Shibboleth auth set up, with auto group allocation. However, in some 
cases it appears not to be working. I haven't enough data to be sure, but I 
know in some cases we are receiving a SAML response which contains the role 
attribute like this:   

http://schemas.microsoft.com/ws/2008/06/identity/claims/role";>
staff
student


Here's my config:

# The shibboleth header to do role-based mappings
authentication-shibboleth.role-header = SHIB-SCOPED-AFFILIATION

# Whether to ignore the attribute's scope or value.
authentication-shibboleth.role-header.ignore-scope = true
authentication-shibboleth.role-header.ignore-value = false

# Default mappings of roles values to a comma separated list of DSpace group
# names (Case Sensitive).
authentication-shibboleth.role.staff = staffsubmit
authentication-shibboleth.role.student = studentsubmit

Will DSpace do anything with a response that contains more than one 
AttributeValue for an Attribute (in this case, role)? It looks like in this 
situation, DSpace doesn't allocate the user to any groups.

Should I get the IdP to send only one attribute value? But which one!? Have 
any other institutions come across this issue?

Thanks for your help,
Gary


-- 
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/09add5d6-5940-4a6e-878d-7220bbce83f0o%40googlegroups.com.


[dspace-tech] Shibboleth login - "Error: Document Not Found"

2020-05-07 Thread Gary Browne
Hi all,

DSpace 4.1
JSPUI
Tomcat 7
Apache 2.4

I have followed the DSpace Shibboleth set up guide here: 
https://wiki.lyrasis.org/display/DSDOC4x/Authentication+Plugins#AuthenticationPlugins-ShibbolethAuthentication

I have Shibboleth set up, and authentication itself is working. However, 
when I click /login, I am authenticated and then redirected to /login/ 
(note additional forward slash), which throws a 404.

My mod_proxy configuration is:
# Shibboleth
ProxyPass /Shibboleth.sso !
ProxyPass   /  ajp://localhost:8009/
ProxyPassReverse/  ajp://localhost:8009/

Sorry, but I have spent hours upon hours trying to rectify this, can 
someone please offer any insights??

Thanks a lot,
Gary

-- 
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/6be73e9f-fa25-4bf3-9b22-2e9535d07eaf%40googlegroups.com.


Re: [dspace-tech] Re: How does a standalone handle server work?

2020-03-05 Thread Gary Browne
Hi Mark,

This is perfect, exactly the information I was after!

Thanks a bundle (if you'll pardon the DSpace pun).

Cheers,
Gary

Gary Browne | Digital Services Engineer 
Digital Services, The University of Sydney Library 
Rm 110 Fisher Library F03 | The University of Sydney | NSW | 2006 
+61 2 9351 5946 | +61 405 647 868  
gary.bro...@sydney.edu.au  | library.sydney.edu.au 
<https://library.sydney.edu.au/>
We acknowledge the tradition of custodianship and law of the Country on which 
the University of Sydney campuses stand. We pay our respects to those who have 
cared and continue to care for Country.
CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is 
strictly prohibited. 
If you receive this email in error, please delete it and any attachments.
Please think of our environment and only print this email if necessary
Sent from my plain old desktop computer

On 6/3/20, 2:06 am, "Mark H. Wood,UL 0115A,+1 317 274 0749, on behalf of Mark 
H. Wood"  wrote:

On Wed, Mar 04, 2020 at 03:59:29PM -0800, Gary Browne wrote:
> How about I describe what I *think* happens, and you can tell me where 
I'm 
> wrong, where I'm right (if anywhere!) and anything I'm missing?
> 
> A user issues a request in a browser for something like 
> https://hdl.handle.net/2123/21886 , which sends a HTTP request to 
> hdl.handle.net. At CNRI, the handle.net proxies or root handle service 
> resolve the handle prefix to a homed handle server and forward the 
request 
> (UDP on port 2641?) on to it.

Yes, so far this is the way Handle always works.

> In this case, this is our standalone handle 
> server homed to 2123. The Remote-Handle-Resolver plugin in turn forwards 
> the request on to the DSpace server

Correct so far.

> where 
> the handle server on the DSpace server (by some process unknown to me) 

Nope, there is no Handle server on the DSpace server -- or, there need
not be one.  The Handle resolver plugin sends an HTTP request to
DSpace's web UI (/handleresolver/resolve/**), which dispatches it to
org.dspace.app.xmlui.aspect.handle.HandleResolverReader, a Cocoon
Reader.  This generates the HTTP response body by calling the
HandleService to look that handle up in the database's handle table,
composing the result into a JSON object, and returning it to the
plugin.

> resolves the handle to a URL from the database. The DSpace server then 
> issues this HTTP response back to the requesting client with a DSpace URL.

It is the (remote) Handle server which responds to the request with a
redirect to the DSpace GUI, having received the URL from DSpace.

This is similar to the way that Handle resolution always worked in
DSpace, except for the insertion of a kind of remote procedure call
machinery which allows the Handle and DSpace services to communicate
between separate hosts via network, instead of the Handle server just
querying the database itself.

-- 
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 a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/mB0CnC6Hh8M/unsubscribe.
To unsubscribe from this group and all its topics, 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/20200305150327.GB26670%40IUPUI.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/AF56BCE3-3B05-4996-9440-891CD5401EF0%40sydney.edu.au.


[dspace-tech] Re: How does a standalone handle server work?

2020-03-04 Thread Gary Browne
Hi all,

How about I describe what I *think* happens, and you can tell me where I'm 
wrong, where I'm right (if anywhere!) and anything I'm missing?

A user issues a request in a browser for something like 
https://hdl.handle.net/2123/21886 , which sends a HTTP request to 
hdl.handle.net. At CNRI, the handle.net proxies or root handle service 
resolve the handle prefix to a homed handle server and forward the request 
(UDP on port 2641?) on to it. In this case, this is our standalone handle 
server homed to 2123. The Remote-Handle-Resolver plugin in turn forwards 
the request on to the DSpace server (and my knowledge is muddy here) where 
the handle server on the DSpace server (by some process unknown to me) 
resolves the handle to a URL from the database. The DSpace server then 
issues this HTTP response back to the requesting client with a DSpace URL.

Is that close?

Thanks a lot,
Gary

On Monday, February 3, 2020 at 8:53:45 AM UTC+11, Gary Browne wrote:
>
> Hi all,
>
> I'm not after a "how to" here, rather a conceptual/technical description 
> of how a set up with CNRI handle.net, a standalone handle server with the 
> https://github.com/DSpace/Remote-Handle-Resolver plugin, and DSpace (with 
> its in-built handle server) works together to resolve handles to a DSpace 
> URL.
>
> If anyone can shed some light, it would be very much appreciated.
>
> Thanks,
> Gary
>

-- 
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/6462318b-0ef2-49e7-bc22-4d53797bea68%40googlegroups.com.


[dspace-tech] Re: item.lastmodified date in Solr index - what updates it?

2020-03-04 Thread Gary Browne
Hi all,

Maybe I should rephrase this:

Given a list of handles, how can I update item.lastmodified in the Solr 
index for each of them?

Any help at all would be greatly appreciated!

Thanks a lot,
Gary

On Wednesday, March 4, 2020 at 2:43:54 PM UTC+11, Gary Browne wrote:
>
> Hi all,
>
> Using DSpace 6.3
> Tomcat 7
> Apache 2.4
> PostGreSQL 9.6.8
>
> I'm trying to get the Solr index to reflect updating some data in the 
> database - I manually updated some records in the metadatavalue table. The 
> value is reflected in the OAI output, but the last modified date is 
> unchanged. How can I update this?
>
> The reason is, there is a harvester of our repository that will not update 
> records unless the item.lastmodified date is changed in the OAI output.
>
> thanks,
> Gary
>

-- 
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/4a68e674-ecd8-4cb3-80fe-0c39dd4299d5%40googlegroups.com.


[dspace-tech] item.lastmodified date in Solr index - what updates it?

2020-03-03 Thread Gary Browne
Hi all,

Using DSpace 6.3
Tomcat 7
Apache 2.4
PostGreSQL 9.6.8

I'm trying to get the Solr index to reflect updating some data in the 
database - I manually updated some records in the metadatavalue table. The 
value is reflected in the OAI output, but the last modified date is 
unchanged. How can I update this?

The reason is, there is a harvester of our repository that will not update 
records unless the item.lastmodified date is changed in the OAI output.

thanks,
Gary

-- 
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/7f447434-0141-426f-8102-1283954d7ce8%40googlegroups.com.


[dspace-tech] How does a standalone handle server work?

2020-02-02 Thread Gary Browne
Hi all,

I'm not after a "how to" here, rather a conceptual/technical description of 
how a set up with CNRI handle.net, a standalone handle server with the 
https://github.com/DSpace/Remote-Handle-Resolver plugin, and DSpace (with 
its in-built handle server) works together to resolve handles to a DSpace 
URL.

If anyone can shed some light, it would be very much appreciated.

Thanks,
Gary

-- 
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/26084651-fcff-45e5-8dd4-a9fdbf449f83%40googlegroups.com.


[dspace-tech] Standalone handle server startup script - with passphrase

2019-12-08 Thread Gary Browne
Hi all,

I am setting up a standalone handle server for use with DSpace (following 
these instructions: 
https://wiki.lyrasis.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-TheHandleServer)
 and 
have chosen to include a passphrase for the server certification key.

I believe I need to somehow modify the start-hdl-server (or hdl-server or 
hdl) script to allow for this - can anyone offer advice here?

Thanks very much,
Gary

-- 
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/0b3b7657-c5dd-4ac2-aaca-09a26038cc6c%40googlegroups.com.


[dspace-tech] Re: Moving Space 6 - handle configuration

2019-11-04 Thread Gary Browne
Hi all,

Just following up on this. Has anyone had experience with this and is able 
to provide some advice?

Thanks,
Gary


On Monday, October 21, 2019 at 10:36:40 AM UTC+11, Gary Browne wrote:
>
> Hi all,
>
>  
>
> Running DSpace 6 behind a load balancer on Amazon Linux 2.
>
>  
>
> I’m after some advice on how to get handles resolving – I had the handle 
> system configured and registered a prefix with CNRI on the previous system 
> (no load balancer). So I presume I can’t just copy the old configuration 
> across as the IP will be different?
>
>  
>
> However, if I run make-handle-config on the new system and it sets the IP 
> as the IP of the machine, that probably won’t work either right?
>
>  
>
> What is the best way to get this working behind a load balancer where the 
> IP of the DSpace machine may potentially change?
>
>  
>
> Thanks a lot,
> Gary
>
>  
>
>  
>
> Gary Browne | Technical Manager, Developments
> Online Services
> University of Sydney Library
> THE UNIVERSITY OF SYDNEY
> Level 1, Fisher Library F03, The University of Sydney NSW 2006
> T +61 2 9351 5946 | M +61 405 647 868
> E gary.bro...@sydney.edu.au 
> <https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
>
> The University of Sydney Camperdown campus stands on land of the Gadigal 
> peoples of the Eora nation.
>
>  
>

-- 
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/7789e0bb-9c74-49af-b3ab-fb131cc0c917%40googlegroups.com.


[dspace-tech] Moving Space 6 - handle configuration

2019-10-20 Thread Gary Browne
Hi all,

Running DSpace 6 behind a load balancer on Amazon Linux 2.

I’m after some advice on how to get handles resolving – I had the handle system 
configured and registered a prefix with CNRI on the previous system (no load 
balancer). So I presume I can’t just copy the old configuration across as the 
IP will be different?

However, if I run make-handle-config on the new system and it sets the IP as 
the IP of the machine, that probably won’t work either right?

What is the best way to get this working behind a load balancer where the IP of 
the DSpace machine may potentially change?

Thanks a lot,
Gary


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.

-- 
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/15B88238-A689-47F7-9646-E989007EC8D9%40sydney.edu.au.


[dspace-tech] Re: Shibboleth attributes not working [SOLVED]

2019-10-17 Thread Gary Browne
Hi all,

When I looked more closely at the attribute map definition in 
attribute-map.xml:
http://schemas.xmlsoap.org/ws/2008/06/identity/claims/role"; 
id="SHIB-SCOPED-AFFILIATION"/>

and the actual response received from SAML:
 http://schemas.microsoft.com/ws/2008/06/identity/claims/role";>

I realised that I had specified the wrong schema!

SOLVED!

Cheers,
Gary

On Thursday, October 17, 2019 at 9:50:22 PM UTC+11, Gary Browne wrote:
>
> Hi all,
>
>  
>
> DSpace 6.3, Tomcat 7, Amazon Linux 2
>
>  
>
> I have implemented Shibboleth authentication. It is working but now I need 
> to auto-allocate users to role-based groups. I have followed the 
> documentation on the duraspace wiki but I am not clear on how claim 
> attributes are specified so that they can be used by the 
> authentication-shibboleth.cfg configuration.
>
>  
>
> In /etc/shibboleth/attribute-map.xml I have added:
>
>  
>
> http://schemas.xmlsoap.org/ws/2008/06/identity/claims/role"; 
> id="SHIB-SCOPED-AFFILIATION"/>
>
>  
>
> And then in authentication-shibboleth.cfg I have:
>
>  
>
> authentication-shibboleth.role-header = SHIB-SCOPED-AFFILIATION
>
>  
>
> # Whether to ignore the attribute's scope or value.
>
> authentication-shibboleth.role-header.ignore-scope = true
>
> authentication-shibboleth.role-header.ignore-value = false
>
>  
>
> # Default mappings of roles values to a comma separated list of DSpace 
> group
>
> # names (Case Sensitive).
>
> authentication-shibboleth.role.staff = staffRole
>
> authentication-shibboleth.role.student = studentRole
>
>  
>
> However when I login with my staff credentials via Shibboleth/SAML I get:
>
>  
>
> 2019-10-17 21:27:01,761 INFO  org.dspace.authenticate.ShibAuthentication @ 
> gary.bro...@sydney.edu.au has been authenticated via shibboleth.
>
> 2019-10-17 21:27:01,761 INFO  org.dspace.eperson.EPersonServiceImpl @ 
> gary.bro...@sydney.edu.au:session_id=:ip_addr=xxx:update_eperson:eperson_id=xxx
>
> 2019-10-17 21:27:01,761 INFO  
> org.dspace.app.xmlui.utils.AuthenticationUtil @ 
> gary.bro...@sydney.edu.au:session_id=:ip_addr=:login:type=explicit
>
> 2019-10-17 21:27:01,779 INFO  org.dspace.authenticate.ShibAuthentication @ 
> Added current EPerson to special groups: []
>
>  
>
> So you can see authentication is successful but adding to special groups 
> is not working (“[]”). I have confirmed that the SAML response contains the 
> data:
>
>  
>
>   http://schemas.microsoft.com/ws/2008/06/identity/claims/role";>
>
> staff
>
> 
>
>  
>
> Where am I going wrong??
>
>  
>
> Thanks,
> Gary
>
>  
>
>  
>
> Gary Browne | Technical Manager, Developments
> Online Services
> University of Sydney Library
> THE UNIVERSITY OF SYDNEY
> Level 1, Fisher Library F03, The University of Sydney NSW 2006
> T +61 2 9351 5946 | M +61 405 647 868
> E gary.bro...@sydney.edu.au 
> <https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
>
> The University of Sydney Camperdown campus stands on land of the Gadigal 
> peoples of the Eora nation.
>
>  
>

-- 
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/2fc8b20b-4c71-4c09-9508-18533c28c038%40googlegroups.com.


[dspace-tech] Shibboleth attributes not working

2019-10-17 Thread Gary Browne
Hi all,

DSpace 6.3, Tomcat 7, Amazon Linux 2

I have implemented Shibboleth authentication. It is working but now I need to 
auto-allocate users to role-based groups. I have followed the documentation on 
the duraspace wiki but I am not clear on how claim attributes are specified so 
that they can be used by the authentication-shibboleth.cfg configuration.

In /etc/shibboleth/attribute-map.xml I have added:

http://schemas.xmlsoap.org/ws/2008/06/identity/claims/role"; 
id="SHIB-SCOPED-AFFILIATION"/>

And then in authentication-shibboleth.cfg I have:

authentication-shibboleth.role-header = SHIB-SCOPED-AFFILIATION

# Whether to ignore the attribute's scope or value.
authentication-shibboleth.role-header.ignore-scope = true
authentication-shibboleth.role-header.ignore-value = false

# Default mappings of roles values to a comma separated list of DSpace group
# names (Case Sensitive).
authentication-shibboleth.role.staff = staffRole
authentication-shibboleth.role.student = studentRole

However when I login with my staff credentials via Shibboleth/SAML I get:

2019-10-17 21:27:01,761 INFO  org.dspace.authenticate.ShibAuthentication @ 
gary.bro...@sydney.edu.au has been authenticated via shibboleth.
2019-10-17 21:27:01,761 INFO  org.dspace.eperson.EPersonServiceImpl @ 
gary.bro...@sydney.edu.au:session_id=:ip_addr=xxx:update_eperson:eperson_id=xxx
2019-10-17 21:27:01,761 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil @ 
gary.bro...@sydney.edu.au:session_id=:ip_addr=:login:type=explicit
2019-10-17 21:27:01,779 INFO  org.dspace.authenticate.ShibAuthentication @ 
Added current EPerson to special groups: []

So you can see authentication is successful but adding to special groups is not 
working (“[]”). I have confirmed that the SAML response contains the data:

  http://schemas.microsoft.com/ws/2008/06/identity/claims/role";>
staff


Where am I going wrong??

Thanks,
Gary


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.

-- 
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/3B763FB0-A80C-4BFB-B733-55253DA031CF%40sydney.edu.au.


[dspace-tech] Migrating Solr stats from DSpace 4 to Dspace 6

2019-10-09 Thread Gary Browne
Hi all,

I'm moving from DSpace 4 on a RHEL 6 instance to DSpace 6 on an Amazon 
Linux 2 environment.

What steps do I need to take to migrate my Solr index and stats to the new 
environment?

I have tried copying the [dspace]/solr/statistics/data to the new server 
and running index-discovery script. When I hit the Show Statistical 
Information button, I get:

"No statistical information could be retrieved. Please try again later."

Are there some crucial steps I'm missing? Any assistance would be very much 
appreciated.

Thanks,
Gary

-- 
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/161aa232-efe6-4d20-bb17-01e49dd8012b%40googlegroups.com.


[dspace-tech] Best method for finding items with more than one PDF

2019-10-01 Thread Gary Browne
Hi all,

Running DSpace 4.1 on RHEL 7, Tomcat 7, Apache 2.4.

A fairly specific question here, but an answer would give me some insight 
into how to best approach these sorts of requests generally.

So somebody wants a report, for whatever reason, of any items in DSpace 
that have more than one PDF file.

Sure it can be done with SQL, but generally I find this quite tedious. I 
was wondering if REST API or another route (Solr queries?) might be more 
straightforward. A secondary issue is that I am unable to query 
items/bitstreams from my REST API, even though I thought that this should 
be possible without authenticating.

Any advice or pointers much appreciated.

Thanks,
Gary

-- 
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/7e85eafc-3d35-415b-b3ef-2f5c3ef7a3b7%40googlegroups.com.


Re: [dspace-tech] Bitstore migrate to S3 - fails on large files

2019-09-04 Thread Gary Browne
Hi Tim,

Thanks a lot for that – that’s really helpful info, I didn’t realise it was 
logging each bitstream copy. Now at least I’ve been able to pinpoint the item 
which is failing.

Cheers,
Gary


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.


From: Tim Donohue 
Date: Thursday, 5 September 2019 at 2:15 am
To: Gary Browne , DSpace Technical Support 

Subject: Re: [dspace-tech] Bitstore migrate to S3 - fails on large files

Hi Gary,

I'm not as familiar with the S3Bitstore behavior myself.  But, based on the 
code, it looks like it is *not* using the S3 multipart upload functionality.  
Here's the implemented "put" method which uploads to S3:

https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/storage/bitstore/S3BitStoreService.java#L164<https://protect-au.mimecast.com/s/dbmHC1WZXri4jj5rTLtveP?domain=github.com>

To use Multipart upload, this code would need to be updated to use a 
TransferManager, like the S3 example Java class here: 
https://docs.aws.amazon.com/AmazonS3/latest/dev/HLuploadFileJava.html<https://protect-au.mimecast.com/s/GQSBC2xZYvCYxxOLf1It-s?domain=docs.aws.amazon.com>

So, at least to me, it looks like the S3Bitstore is currently limited to 
uploading 5GB files (which is S3's maximum PUT, unless you use Multipart 
upload: 
https://aws.amazon.com/s3/faqs/<https://protect-au.mimecast.com/s/WpTgC3Q8Z2Fk880jU2Qv0I?domain=aws.amazon.com>)

I've just created a new bug ticket to describe this issue: 
https://jira.duraspace.org/browse/DS-4334<https://protect-au.mimecast.com/s/oA7xC4QZ1RFVjj3ZuWM4IM?domain=jira.duraspace.org>

As for locating the problem item, it looks (to me) like the code should be 
logging "INFO" messages regarding *every bitstream* migrated from one store to 
another: 
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/storage/bitstore/BitstreamStorageServiceImpl.java#L371<https://protect-au.mimecast.com/s/K-FfC5QZ29FJnn4yixm74B?domain=github.com>

So, likely the last bitstream listed in your logs as "Copying bitstream: [id] 
..." is the one that failed.

That's the best advice I can give right now. If anyone reading this is 
interested in helping us *enhance* the S3BitStore functionality to support 
multipart upload, please feel free to comment on the DS-4334 ticket above 
(and/or create a PR)

Tim



From: dspace-tech@googlegroups.com  on behalf of 
Gary Browne 
Sent: Monday, September 2, 2019 8:47 PM
To: DSpace Technical Support 
Subject: [dspace-tech] Bitstore migrate to S3 - fails on large files

Hello all,

Dspace 6
Tomcat 7
Apache 2.4
Amazon Linux 2

I have configured S3 successfully on this system, I can connect to it and 
upload manually to it.

I am now trying to migrate my assets from the filesystem ("assetstore") to S3. 
The process fails with the following message:

2019-09-03 10:25:45,276 FATAL org.dspace.storage.bitstore.BitStoreMigrate @ 
Caught exception:
java.io.IOException: com.amazonaws.services.s3.model.AmazonS3Exception: Your 
proposed upload exceeds the maximum allowed size (Service: Amazon S3; Status 
Code: 400; Error Code: EntityTooLarge;

Does the bistore-migrate application not use multipart uploads? How can I get 
this to run with larger files successfully (I really don't want to have to go 
through 20,000 records looking for all files larger than 5GB and then migrate 
them manually! Also, how can I tell which item this is failing on?

Lastly, how can I tell which bitstore is being read when I access an item from 
the GUI? Does specifying the incoming value on the storage service bean in 
bitstore.xml also mean that this is the store that is read from for access, or 
does DSpace try all stores when a download request comes in? This is not clear 
to me after reading the documentation.

Thanks very much,
Gary
--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: 
https://duraspace.org/about/policies/code-of-conduct/<https://protect-au.mimecast.com/s/O5bEC6X13RtN338RULyfYJ?domain=duraspace.org>
---
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<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/

[dspace-tech] Bitstore migrate to S3 - fails on large files

2019-09-02 Thread Gary Browne
Hello all,

Dspace 6
Tomcat 7
Apache 2.4
Amazon Linux 2

I have configured S3 successfully on this system, I can connect to it and 
upload manually to it.

I am now trying to migrate my assets from the filesystem ("assetstore") to 
S3. The process fails with the following message:

2019-09-03 10:25:45,276 FATAL org.dspace.storage.bitstore.BitStoreMigrate @ 
Caught exception:
java.io.IOException: com.amazonaws.services.s3.model.AmazonS3Exception: 
Your proposed upload exceeds the maximum allowed size (Service: Amazon S3; 
Status Code: 400; Error Code: EntityTooLarge;

Does the bistore-migrate application not use multipart uploads? How can I 
get this to run with larger files successfully (I really don't want to have 
to go through 20,000 records looking for all files larger than 5GB and then 
migrate them manually! Also, how can I tell which item this is failing on?

Lastly, how can I tell which bitstore is being read when I access an item 
from the GUI? Does specifying the incoming value on the storage service 
bean in bitstore.xml also mean that this is the store that is read from for 
access, or does DSpace try all stores when a download request comes in? 
This is not clear to me after reading the documentation.

Thanks very much,
Gary

-- 
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/906df390-1831-4249-881d-be57cc376730%40googlegroups.com.


[dspace-tech] Apache Mellon for DSpace - configuration

2019-08-12 Thread Gary Browne
Hello all,

I'm running DSpace 6.3 on Amazon Linux 2 with PostGreSQL.

I am trying to get SAML SSO working with DSpace and ADFS using Apache 
Mellon.

Has anyone tried and succeeded - would you be willing to share your 
experience/procedures/configurations? I think I'm getting the  
directives in Apache messed up.

Any pointers would be much appreciated.

Thanks,
Gary 

-- 
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/07da5ed2-f181-41f1-b26c-b3289bd11c80%40googlegroups.com.


[dspace-tech] Credentials, git and DSpace

2019-08-06 Thread Gary Browne
Hello all,

I have a DSpace 6.3 installation and the source code is under git.

in bitstore.xml, I need to add the bucket name and access/secret keys to 
use S3 storage.

However, I would like to use variables to do this, since I don't want to 
submit confidential credentials to git.

How would I go about doing this ie. where/how would I go about setting up 
the variables and their values?

Thanks,
Gary

-- 
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/e34724fd-2dc1-4c87-8225-606d1248867c%40googlegroups.com.


Re: [dspace-tech] bitstore-migrate fails on deleted items

2019-08-04 Thread Gary Browne
Hi Mark,

An addendum to this conundrum is that I've found that we have several hundred 
bitstream records that have:
 - No associated bitstream on the filesystem
 - No associated bundle record

So these are "orphan" records ie. I cannot trace the bitstream record back to 
an item record reliably. I've looked into a couple of them that I can match on 
(representational) filename (rather than disk filename) - from the "name" field 
in the bitstream table (rather than the "internal_id" field). Matching this way 
(only) I can see that there are two records for these bitstreams - one with 
deleted=t and one with deleted=f.

I don't have enough provenance information to know how this happened.

Cheers,
Gary

 
Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 
<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.
 

On 31/7/19, 11:03 pm, "Mark H. Wood,UL 0115A,+1 317 274 0749, on behalf of 
Mark H. Wood"  wrote:

On Tue, Jul 30, 2019 at 09:45:18PM -0700, Gary Browne wrote:
> One more question sorry - what about metadata-only records? do they also 
> point to a dummy or blank file, or does the bitstore-migrator not look 
for 
> files from metadata-only records?

A metadata-only *Item* has no Bitstreams, so no Bitstore is involved.
There's nothing to migrate in this case.

Too much detail:

o  an Item (what you submit) has metadata and zero or more Bitstream.
o  Item, Bitstream, and metadata are all stored in the database, not
   directly on the filesystem.
o  Bitstream has fields which specify an assetstore (a directory tree
   on some storage medium) and a path within that assetstore, which
   together locate a file in a filesystem.  The file is a copy of an
   actual content file which was submitted.
o  a Bitstore is code which knows how to access the files in an
   assetstore.  An instance of a specific kind of Bitstore is created
   for each configured assetstore.  They are indexed by number.

There's also a Bundle object which isn't relevant to your question and
would only confuse discussion.  It's confusing enough when it *is*
relevant.

When a user requests one of the content files of an Item, DSpace looks
up the corresponding Bitstream and calls the indicated Bitstore to get
a connection to the assetstore file at the indicated path.

So, if an Item has no content, only metadata, there is nothing in any
assetstore which is associated with that Item.

-- 
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://protect-au.mimecast.com/s/DrFlCJyp0qh29nwvtVrjUS?domain=duraspace.org
--- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://protect-au.mimecast.com/s/2UQrCK1qJZtY71WNCvlbSL?domain=groups.google.com.
To unsubscribe from this group and all its topics, send an email to 
dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://protect-au.mimecast.com/s/2CLUCL7rK8tgB39riPnpw2?domain=groups.google.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/F1FB9343-6B00-4205-A06D-AD7E6B6E8EEA%40sydney.edu.au.


[dspace-tech] Practical default for upload.max

2019-07-31 Thread Gary Browne
Hi all,

Are there any opinions on what a sensible default would be for maximum size 
of files uploaded from the user interface of DSpace?

Thanks,
Gary

-- 
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/0739c7ca-cd73-4bf7-b662-bbe30a345b78%40googlegroups.com.


Re: [dspace-tech] PostGreSQL error when migrating database :(

2019-07-31 Thread Gary Browne
Hi Mark,

A Tomcat restart seems to have sorted this issue.

Cheers,
Gary

On Tuesday, July 30, 2019 at 11:29:57 PM UTC+10, Mark H. Wood wrote:
>
> On Mon, Jul 29, 2019 at 06:20:58PM -0700, Gary Browne wrote: 
> > Attempting to upgrade DSpace from 4.1 to 6.3. I did a pg_dump of the 
> > database and have ingested it to a clean database on another server. 
> > 
> > The original server PostGreSQL  verison is 8.4.2, the new server is 
> version 
> > 9.6.11, both running on linux. 
> > 
> > The data ingest works fine with no errors. However when I then try to 
> > navigate to the DSpace home page, I get: 
> > 
> > Java stacktrace: org.postgresql.util.PSQLException: *ERROR: relation 
> > "public.site" does not exist Position: 39* at 
> > 
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2422)
>  
>
>
> My first guess would be that "database migration" has not completed 
> for some reason.  I'd try running 'bin/dspace database status' to see 
> if there are pending migrations.  If there are, 'bin/dspace database 
> migrate' should try to run them.  I'd probably dump the database 
> first, just to be on the safe side. 
>
> -- 
> 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/ccf32248-28b4-4bb0-a89f-22412a4ba60b%40googlegroups.com.


Re: [dspace-tech] bitstore-migrate fails on deleted items

2019-07-31 Thread Gary Browne
Hi Mark,

Thanks again - yes, I was forgetting that we are talking about different 
levels of records (item-level -v- bitstream-level).

And not too much detail - that's exactly why I come to this list, to get 
(and hopefully at times to provide) the lowdown.

Cheers,
Gary

On Wednesday, July 31, 2019 at 11:02:59 PM UTC+10, Mark H. Wood wrote:
>
> On Tue, Jul 30, 2019 at 09:45:18PM -0700, Gary Browne wrote: 
> > One more question sorry - what about metadata-only records? do they also 
> > point to a dummy or blank file, or does the bitstore-migrator not look 
> for 
> > files from metadata-only records? 
>
> A metadata-only *Item* has no Bitstreams, so no Bitstore is involved. 
> There's nothing to migrate in this case. 
>
> Too much detail: 
>
> o  an Item (what you submit) has metadata and zero or more Bitstream. 
> o  Item, Bitstream, and metadata are all stored in the database, not 
>directly on the filesystem. 
> o  Bitstream has fields which specify an assetstore (a directory tree 
>on some storage medium) and a path within that assetstore, which 
>together locate a file in a filesystem.  The file is a copy of an 
>actual content file which was submitted. 
> o  a Bitstore is code which knows how to access the files in an 
>assetstore.  An instance of a specific kind of Bitstore is created 
>for each configured assetstore.  They are indexed by number. 
>
> There's also a Bundle object which isn't relevant to your question and 
> would only confuse discussion.  It's confusing enough when it *is* 
> relevant. 
>
> When a user requests one of the content files of an Item, DSpace looks 
> up the corresponding Bitstream and calls the indicated Bitstore to get 
> a connection to the assetstore file at the indicated path. 
>
> So, if an Item has no content, only metadata, there is nothing in any 
> assetstore which is associated with that Item. 
>
> -- 
> 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/9052837b-dbfe-4189-83a7-f2b0385f1157%40googlegroups.com.


Re: [dspace-tech] bitstore-migrate fails on deleted items

2019-07-30 Thread Gary Browne
hi Mark,

One more question sorry - what about metadata-only records? do they also 
point to a dummy or blank file, or does the bitstore-migrator not look for 
files from metadata-only records?

Actually that was two questions.

Thanks,
Gary

On Wednesday, July 31, 2019 at 12:20:51 AM UTC+10, Mark H. Wood wrote:
>
> On Tue, Jul 30, 2019 at 01:58:15PM +, Gary Browne wrote: 
> > You're right that there is a record in the database for this file, but 
> the "deleted" field value is "true". I'm assuming in this case that there 
> should be no file in the assetstore and that the bitstore migrator should 
> ignore it? 
>
> No, a Bitstream marked "deleted", with no corresponding file in the 
> assetstore, is damaged.  The "deleted" flag just means that the 
> Bitstream record *and* assetstore file should be deleted when we run 
> 'bin/dspace cleanup' ("cleanup: Remove deleted bitstreams from the 
> assetstore"). 
>
> In a good conservative design, the migrator probably *should* attempt 
> to move a "deleted" Bitstream with its content.  The Bitstream in 
> question here is something that should not happen.  I would argue that 
> the migrator, when it cannot move a Bitstream, should skip over it and 
> continue without altering it, giving as much information as it can 
> about the nature of the failure. 
>
> -- 
> 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/4e56e045-a06a-4027-86ec-4a2d32ba44d4%40googlegroups.com.


Re: [dspace-tech] bitstore-migrate fails on deleted items

2019-07-30 Thread Gary Browne
Hi Mark,

Ah, now I get it.

Thanks very much for clearing that up.

Cheers,
Gary

 
Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 
<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.
 

On 31/7/19, 12:21 am, "Mark H. Wood,UL 0115A,+1 317 274 0749, on behalf of 
Mark H. Wood"  wrote:

On Tue, Jul 30, 2019 at 01:58:15PM +, Gary Browne wrote:
> You're right that there is a record in the database for this file, but 
the "deleted" field value is "true". I'm assuming in this case that there 
should be no file in the assetstore and that the bitstore migrator should 
ignore it?

No, a Bitstream marked "deleted", with no corresponding file in the
assetstore, is damaged.  The "deleted" flag just means that the
Bitstream record *and* assetstore file should be deleted when we run
'bin/dspace cleanup' ("cleanup: Remove deleted bitstreams from the
assetstore").

In a good conservative design, the migrator probably *should* attempt
to move a "deleted" Bitstream with its content.  The Bitstream in
question here is something that should not happen.  I would argue that
the migrator, when it cannot move a Bitstream, should skip over it and
continue without altering it, giving as much information as it can
about the nature of the failure.

-- 
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://protect-au.mimecast.com/s/w_FfCmOxDQt797E6fG29SH?domain=duraspace.org
--- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://protect-au.mimecast.com/s/ylQACnxyErC1k1MxCJgL4f?domain=groups.google.com.
To unsubscribe from this group and all its topics, send an email to 
dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://protect-au.mimecast.com/s/TJLiCoVzGQi1Q1x8CVmSgc?domain=groups.google.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/34DB8A77-D846-4D74-BD8A-55C4D9459F0D%40sydney.edu.au.


Re: [dspace-tech] bitstore-migrate fails on deleted items

2019-07-30 Thread Gary Browne
Hi Mark,



Thanks for your reply.



You're right that there is a record in the database for this file, but the 
"deleted" field value is "true". I'm assuming in this case that there should be 
no file in the assetstore and that the bitstore migrator should ignore it?



Regards,

Gary



Gary Browne | Technical Manager, Developments

Online Services

University of Sydney Library

THE UNIVERSITY OF SYDNEY

Level 1, Fisher Library F03, The University of Sydney NSW 2006

T +61 2 9351 5946 | M +61 405 647 868

E gary.bro...@sydney.edu.au

Sent from my plain old desktop computer



On 30/7/19, 11:35 pm, "Mark H. Wood,UL 0115A,+1 317 274 0749, on behalf of 
Mark H. Wood"  wrote:



On Mon, Jul 29, 2019 at 09:57:47PM -0700, Gary Browne wrote:

> On DSpace 6, I'm attempting to migrate my filesystem bitstreams to S3.

>

> S3 (bitstore.xml) is correctly configured, however when I run:

>

> $ [dspace]/bin/dspace bitstore-migrate -a 0 -b 1

>

> I get the following error:

   >

> Exception during BitStoreMigrate: java.io.FileNotFoundException:

> /srv/dspace/assetstore/13/51/71/135171749737414497487002785424297776835 
(No

> such file or directory)

>

> I don't see any flag to specify anything abouut deleted items - I have

> verified that this file does not exist on the filesystem, so why is

> bitstore-migrate trying to migrate it?



Apparently there is a Bitstream record in the database which claims

that this file exists.  It is possible that the file *should* exist,

or that the Bitstream record should *not*.  I would try to find the

object holding this Bitstream -- if there is none, then the Bitstream

should be deleted; otherwise I'd try to figure out where to get a copy

   of the file and restore it.



--

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://protect-au.mimecast.com/s/Z2H-C0YZWVF9pw67hw81WX?domain=duraspace.org

---

You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.

To unsubscribe from this topic, visit 
https://protect-au.mimecast.com/s/956gCgZowLHjDZVoToASWP?domain=groups.google.com.

To unsubscribe from this group and all its topics, send an email to 
dspace-tech+unsubscr...@googlegroups.com.

To view this discussion on the web visit 
https://protect-au.mimecast.com/s/hxXbCjZrzqHwVQpBh5OKWM?domain=groups.google.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/D8FEE892-1470-4F33-B58A-3C9FB92CD17F%40sydney.edu.au.


[dspace-tech] bitstore-migrate fails on deleted items

2019-07-29 Thread Gary Browne
Hi all,

On DSpace 6, I'm attempting to migrate my filesystem bitstreams to S3.

S3 (bitstore.xml) is correctly configured, however when I run:

$ [dspace]/bin/dspace bitstore-migrate -a 0 -b 1

I get the following error:

Exception during BitStoreMigrate: java.io.FileNotFoundException: 
/srv/dspace/assetstore/13/51/71/135171749737414497487002785424297776835 (No 
such file or directory)

I don't see any flag to specify anything abouut deleted items - I have 
verified that this file does not exist on the filesystem, so why is 
bitstore-migrate trying to migrate it?

Thanks,
Gary

-- 
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/b77999a7-28e9-48a2-8796-f4612fc1de49%40googlegroups.com.


Re: [dspace-tech] PostGreSQL error when migrating database :( [SOLVED]

2019-07-29 Thread Gary Browne
Go figure – a Tomcat restart seems to have fixed it…


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.


From:  on behalf of Gary Browne 

Date: Tuesday, 30 July 2019 at 11:21 am
To: DSpace Technical Support 
Subject: [dspace-tech] PostGreSQL error when migrating database :(

Hi all,

Attempting to upgrade DSpace from 4.1 to 6.3. I did a pg_dump of the database 
and have ingested it to a clean database on another server.

The original server PostGreSQL  verison is 8.4.2, the new server is version 
9.6.11, both running on linux.

The data ingest works fine with no errors. However when I then try to navigate 
to the DSpace home page, I get:

Java stacktrace: org.postgresql.util.PSQLException: ERROR: relation 
"public.site" does not exist Position: 39 at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2422)
 at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2167)
 at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306) at 
org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441) at 
org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365) at 
org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)
 at 
org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)
 at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
 at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
 at 
org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)
 at org.hibernate.loader.Loader.getResultSet(Loader.java:2062) at 
org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1859) at 
org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838)
.
.
.

I'm not sure how to deal with this issue. Tried Googling but have not had any 
success.

Any help would be very much appreciated.

Kind regards,
Gary
--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: 
https://duraspace.org/about/policies/code-of-conduct/<https://protect-au.mimecast.com/s/vklTCP7yOZt27NDqszEY_c?domain=duraspace.org>
---
You received this message because you are subscribed to a topic in the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/PM0kMAO6u7E/unsubscribe<https://protect-au.mimecast.com/s/UHZECQnzP0tK5lDmCPZyZj?domain=groups.google.com>.
To unsubscribe from this group and all its topics, send an email to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/e9fd2a33-2598-4f0f-a005-04d408309688%40googlegroups.com<https://protect-au.mimecast.com/s/uaG2CVAGXPtEDk41UJ0OH0?domain=groups.google.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/7952F9A0-189D-4DEB-8981-8498179F7F36%40sydney.edu.au.


[dspace-tech] PostGreSQL error when migrating database :(

2019-07-29 Thread Gary Browne
Hi all,

Attempting to upgrade DSpace from 4.1 to 6.3. I did a pg_dump of the 
database and have ingested it to a clean database on another server.

The original server PostGreSQL  verison is 8.4.2, the new server is version 
9.6.11, both running on linux.

The data ingest works fine with no errors. However when I then try to 
navigate to the DSpace home page, I get:

Java stacktrace: org.postgresql.util.PSQLException: *ERROR: relation 
"public.site" does not exist Position: 39* at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2422)
 
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2167)
 
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306) 
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441) at 
org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365) at 
org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)
 
at 
org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)
 
at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
 
at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
 
at 
org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)
 
at org.hibernate.loader.Loader.getResultSet(Loader.java:2062) at 
org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1859) at 
org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838)
.
.
.

I'm not sure how to deal with this issue. Tried Googling but have not had 
any success.

Any help would be very much appreciated.

Kind regards,
Gary

-- 
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/e9fd2a33-2598-4f0f-a005-04d408309688%40googlegroups.com.


[dspace-tech] StartSubmissionLookupStep

2019-03-19 Thread Gary Browne
Hi all,

Currently on JSPUI DSpace 4, soon to be on XMLUI DSpace 6.

We are interested in the DOI lookup facility for submissions. There is this 
statement in the documentation ( 
https://wiki.duraspace.org/display/DSDOC6x/Submission+User+Interface#SubmissionUserInterface-ConfiguringStartSubmissionLookupStep
 ):


UI compatibility

The new step is available only for JSP UI. Nonetheless, if you run both UIs and 
want the JSP UI benefit of the new step you can configure it as processing 
class also for XML as it degrades gracefully to the standard 
SelectCollectionStep logic

Am I right in concluding that this functionality is only available for JSPUI? 
If so, is there anything similar for the XMLUI?

Thanks,
Gary



Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.

-- 
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] Community filiator usage

2019-03-10 Thread Gary Browne
Hi all,

DSpace 4.1, Tomcat 7, Apache 2.4, RHEL 7.

Can anyone tell me, when using the community filiator tool 
(https://wiki.duraspace.org/display/DSDOC4x/Managing+Community+Hierarchy ):

  *   Are statistics for individual items affected (or are they “zeroed”)
  *   Are community handles maintained?

Thanks a lot,
Gary


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
The University of Sydney Camperdown campus stands on land of the Gadigal 
peoples of the Eora nation.

-- 
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] Moving repositories, need to modify existing handles

2018-10-14 Thread Gary Browne
Hi all,

Running DSpace 4.1 on Tomcat 7, RHEL 7.

We are moving our repository to another platform and I need to update the 
handles from our existing repository to point to the migrated items in the 
new location.

I am told I need to "recreate the current DSpace handles". Is that correct? 
How do I do that?

The new repository can give me a map of current handles against new URLs. I 
assume this is useful for doing the handle redirect/modification?

I don't know how to access the DSpace handle server and issue a modify 
command (or batch modify commands). Is there documentation somewhere on 
this, or can anyone describe the technical process please?

Thanks very much,
Gary

-- 
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] OAI in xml format?

2018-03-14 Thread Gary Browne
Hi Tom,

Of course! In hindsight, that was a really dopey question - thanks for your 
answer anyway. And thanks Claudia for the additional ideas.

Cheers,
Gary


On Wednesday, March 14, 2018 at 8:08:51 PM UTC+11, Tom Desair (Atmire) 
wrote:
>
> Hi Gary,
>
> The XSL stylesheet is applied "on the fly" by your browser. You can easily 
> the pure XML by visiting an OAI URL (e.g. 
> https://www.repository.cam.ac.uk/oai/request?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai:www.repository.cam.ac.uk:1810/28)
>  
> and then right click and select "View Page Source". Then you'll see the raw 
> XML (and not HTML).
>
> Best regards,
> Tom
>
>  
> [image: logo] Tom Desair
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Gaston Geenslaan 14, Leuven 3001, Belgium
> www.atmire.com 
> <http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=tomdesair>
>
>
> Op wo 14 mrt. 2018 om 07:14 schreef Gary Browne  >:
>
>> Hi all,
>>
>> Using DSpace 4.1 on RHEL with Tomcat 7 and Apache 2.2.
>>
>> Is it possible to download metadata in XML format using an OAI URL for a 
>> collection/set ie. without the XSL stylesheets applied - I just want 
>> straight XML?
>>
>> Thanks a lot,
>> Gary
>>
>> -- 
>> 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.
>>
>

-- 
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] OAI in xml format?

2018-03-13 Thread Gary Browne
Hi all,

Using DSpace 4.1 on RHEL with Tomcat 7 and Apache 2.2.

Is it possible to download metadata in XML format using an OAI URL for a 
collection/set ie. without the XSL stylesheets applied - I just want 
straight XML?

Thanks a lot,
Gary

-- 
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] AIP Backup debug info

2018-02-05 Thread Gary Browne
Hi all,

JSPUI

DSpace 4.1

Tomcat 7

Apache 2.2

RHEL 6.9


I'm doing an AIP backup on a collection like this:

[/data/dspace/bin]$ ./dspace packager -d -a -t AIP -e 
gary.bro...@sydney.edu.au -i /222 /tmp/222.zip

It fails after the same number of items every time (2018 of 3803). Are 
items processed in handle order (so I can figure out which item is the 
problem)? And/or how can get debug information using this script?

Thanks a lot,

Gary

-- 
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] AIP backup timing out

2018-01-30 Thread Gary Browne
Thanks a lot Tim, I’ll give that a go!

Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
Sent from my plain old desktop computer

From:  on behalf of Tim Donohue 

Date: Wednesday, 31 January 2018 at 1:30 am
To: Gary Browne 
Cc: DSpace Technical Support 
Subject: Re: [dspace-tech] AIP backup timing out

Hi Gary,

Perhaps bump up the memory available to that task?  By default the "dspace" 
commandline script will use the settings in your JAVA_OPTS (if set).  If it is 
*not* set, then it defaults to only 256MB of memory.  See this line here:
https://github.com/DSpace/DSpace/blob/master/dspace/bin/dspace#L43<https://protect-au.mimecast.com/s/gAkNC6X13Rt1rnnmcLUf5a?domain=github.com>

To override this, you should be able to simply set JAVA_OPTS to some higher 
memory values.  Some examples are here:
https://wiki.duraspace.org/display/DSDOC6x/Performance+Tuning+DSpace#PerformanceTuningDSpace-GivetheCommandLineToolsMoreMemory<https://protect-au.mimecast.com/s/k1UIC71ZgLtQAOONh08xu0?domain=wiki.duraspace.org>

FWIW, I've run this AIP backup on sites in the 300GB+ range, so it should work 
fine at the range you are talking about.  But, I always have to provide more 
memory -- usually more like 1GB at least.

You also might want to look closer at your DSpace log files to see if any other 
errors are reported there prior to the server timeout.  My best guess here is 
you may be hitting memory issues, but it could be something else entirely.

- Tim

On Tue, Jan 30, 2018 at 5:44 AM Gary Browne 
mailto:gary.bro...@sydney.edu.au>> wrote:
HI all,

JSPUI
DSpace 4.1
Tomcat 7
Apache 2.2
RHEL 6.9

I'm trying to do an AIP export of the entire site - but it keeps timing out 
after about 20GB of exports.

The command goes something like this:

./dspace packager -d -a -t AIP -e em...@email.com<mailto:em...@email.com> -i 
2123/0 /tmp/repo-dump/repo.zip

The dump begins ok but after some time, I get:

Timeout, server not responding.

And the program dies. This happens after about 20GB of exports, but I have 
about 450GB to export. Any suggestions, other than doing each community one by 
one :(

Thanks a lot,
Gary
--
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<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://protect-au.mimecast.com/s/SP2tC81Zj6tz677qfRPIM3?domain=groups.google.com>.
For more options, visit 
https://groups.google.com/d/optout<https://protect-au.mimecast.com/s/RCanC91ZkQtMk55qTGsOqZ?domain=groups.google.com>.
--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org
--
You received this message because you are subscribed to a topic in the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/64ZBJXJfBDo/unsubscribe<https://protect-au.mimecast.com/s/rwY2C0YZWVFMGRRBT9dKaJ?domain=groups.google.com>.
To unsubscribe from this group and all its topics, send an email to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://protect-au.mimecast.com/s/SP2tC81Zj6tz677qfRPIM3?domain=groups.google.com>.
For more options, visit 
https://groups.google.com/d/optout<https://protect-au.mimecast.com/s/RCanC91ZkQtMk55qTGsOqZ?domain=groups.google.com>.

-- 
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] AIP backup timing out

2018-01-30 Thread Gary Browne
HI all,

JSPUI
DSpace 4.1
Tomcat 7
Apache 2.2
RHEL 6.9

I'm trying to do an AIP export of the entire site - but it keeps timing out 
after about 20GB of exports.

The command goes something like this:

./dspace packager -d -a -t AIP -e em...@email.com -i 2123/0 
/tmp/repo-dump/repo.zip

The dump begins ok but after some time, I get:

Timeout, server not responding.

And the program dies. This happens after about 20GB of exports, but I have 
about 450GB to export. Any suggestions, other than doing each community one 
by one :(

Thanks a lot,
Gary

-- 
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] Solr item view stats not updating in browser

2017-11-28 Thread Gary Browne
Excellent, that's a really big help Terry!

So I've established that the hits are being recorded in my Solr index, they 
are just not being displayed in the GUI.

I should have mentioned:

DSpace 4.1
RHEL 7
Tomcat 7
Apache 2.2
JSPUI

Much appreciated,
Gary

On Wednesday, November 29, 2017 at 10:58:02 AM UTC+11, Terry Brady wrote:
>
> Gary,
>
> That is correct.  DSpace makes some attempt to filter out bot traffic.  
> When you look directly at the SOLR records, you may see some records with 
> an isBot field.
>
> To view the item counts, the following query will reveal those: type:2 AND 
> id:2924
>
> The bundle filter does not apply to the item records.  
>
> You can also query on owningComm and owningColl to compute aggregate 
> statistics for a collection or community.
>
> In case it is helpful, I have some PHP code that queries SOLR.  This code 
> has some examples of other useful SOLR queries: 
> https://github.com/Georgetown-University-Libraries/batch-tools/tree/master/web/stats
>
> On Tue, Nov 28, 2017 at 3:38 PM, Gary Browne  > wrote:
>
>> Thanks Terry,
>>
>> So I'm assuming "bitstream views" equate to "dowloads"? If so, that gives 
>> me a figure more like what I would expect.
>>
>> And how would I get item view counts for this particular item?
>>
>> We haven't sharded our stats.
>>
>> Ta,
>> Gary
>>
>> On Wednesday, November 29, 2017 at 10:21:38 AM UTC+11, Terry Brady wrote:
>>>
>>> If you get the database id for the item, you can run the following query 
>>> from your SOLR console for the statistics repo.
>>>
>>> In DSpace 6, the id will be a UUID.  In DSpace 3-5, it will be an 
>>> integer.  2924 is being used in the sample query below.
>>>
>>> type:0 AND owningItem:2924 AND bundleName:ORIGINAL
>>>
>>> type:0 - restrict to bitstream views
>>> bundleName:ORIGINAL - exclude thumbnail views
>>>
>>> Have your statistics been sharded into different repos such as 
>>> statistics-2012?  If so, that requires an additional query parameter in the 
>>> solr console to view the older shards.
>>>
>>> On Tue, Nov 28, 2017 at 2:53 PM, Gary Browne  
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>>  
>>>>
>>>> I know there are more views and downloads on this item than are 
>>>> displaying in the browser:
>>>>
>>>>  
>>>>
>>>> https://ses.library.usyd.edu.au/handle/2123/17600/statistics
>>>>
>>>>  
>>>>
>>>> How can I query Solr directly to see if the correct figures are in the 
>>>> Solr index?
>>>>
>>>>  
>>>>
>>>> In the dspace logs I see this (among other view_item entries):
>>>>
>>>>  
>>>>
>>>> 2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @ 
>>>> Reading statlets(ids[]=[] handle=2123/17600)
>>>>
>>>>  
>>>>
>>>> As far as view entries, just from today I have:
>>>>
>>>>  
>>>>
>>>> $ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l
>>>>
>>>> $ 318
>>>>
>>>>  
>>>>
>>>> Yet only 20 views display in the browser. I’ve run index-discovery and 
>>>> index-discovery –o again, but no change.
>>>>
>>>>  
>>>>
>>>> Any ideas?? The author is quite concerned about the lack of figures. 
>>>> There are no download figures on the stats page either.
>>>>
>>>>  
>>>>
>>>> Thanks a lot
>>>>
>>>> Gary
>>>>
>>>>  
>>>>
>>>> Gary Browne | Technical Manager, Developments
>>>> Online Services
>>>> University of Sydney Library
>>>> THE UNIVERSITY OF SYDNEY
>>>> Level 1, Fisher Library F03, The University of Sydney NSW 2006
>>>> T +61 2 9351 5946 | M +61 405 647 868
>>>> E gary.bro...@sydney.edu.au 
>>>> <https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
>>>> Sent from my plain old desktop computer
>>>>
>>>>  
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "DSpace Technical Supp

Re: [dspace-tech] Solr item view stats not updating in browser

2017-11-28 Thread Gary Browne
Thanks Terry,

So I'm assuming "bitstream views" equate to "dowloads"? If so, that gives 
me a figure more like what I would expect.

And how would I get item view counts for this particular item?

We haven't sharded our stats.

Ta,
Gary

On Wednesday, November 29, 2017 at 10:21:38 AM UTC+11, Terry Brady wrote:
>
> If you get the database id for the item, you can run the following query 
> from your SOLR console for the statistics repo.
>
> In DSpace 6, the id will be a UUID.  In DSpace 3-5, it will be an 
> integer.  2924 is being used in the sample query below.
>
> type:0 AND owningItem:2924 AND bundleName:ORIGINAL
>
> type:0 - restrict to bitstream views
> bundleName:ORIGINAL - exclude thumbnail views
>
> Have your statistics been sharded into different repos such as 
> statistics-2012?  If so, that requires an additional query parameter in the 
> solr console to view the older shards.
>
> On Tue, Nov 28, 2017 at 2:53 PM, Gary Browne  > wrote:
>
>> Hi all,
>>
>>  
>>
>> I know there are more views and downloads on this item than are 
>> displaying in the browser:
>>
>>  
>>
>> https://ses.library.usyd.edu.au/handle/2123/17600/statistics
>>
>>  
>>
>> How can I query Solr directly to see if the correct figures are in the 
>> Solr index?
>>
>>  
>>
>> In the dspace logs I see this (among other view_item entries):
>>
>>  
>>
>> 2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @ 
>> Reading statlets(ids[]=[] handle=2123/17600)
>>
>>  
>>
>> As far as view entries, just from today I have:
>>
>>  
>>
>> $ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l
>>
>> $ 318
>>
>>  
>>
>> Yet only 20 views display in the browser. I’ve run index-discovery and 
>> index-discovery –o again, but no change.
>>
>>  
>>
>> Any ideas?? The author is quite concerned about the lack of figures. 
>> There are no download figures on the stats page either.
>>
>>  
>>
>> Thanks a lot
>>
>> Gary
>>
>>  
>>
>> Gary Browne | Technical Manager, Developments
>> Online Services
>> University of Sydney Library
>> THE UNIVERSITY OF SYDNEY
>> Level 1, Fisher Library F03, The University of Sydney NSW 2006
>> T +61 2 9351 5946 | M +61 405 647 868
>> E gary.bro...@sydney.edu.au 
>> <https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
>> Sent from my plain old desktop computer
>>
>>  
>>
>> -- 
>> 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.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>

-- 
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] Solr item view stats not updating in browser

2017-11-28 Thread Gary Browne
Hi all,

I know there are more views and downloads on this item than are displaying in 
the browser:

https://ses.library.usyd.edu.au/handle/2123/17600/statistics

How can I query Solr directly to see if the correct figures are in the Solr 
index?

In the dspace logs I see this (among other view_item entries):

2017-11-29 08:37:26,277 INFO  com.atmire.dspace.rest.StatletsResource @ Reading 
statlets(ids[]=[] handle=2123/17600)

As far as view entries, just from today I have:

$ grep 'view_item:handle=2123/17600' dspace.log.2017-11-29 | wc -l
$ 318

Yet only 20 views display in the browser. I’ve run index-discovery and 
index-discovery –o again, but no change.

Any ideas?? The author is quite concerned about the lack of figures. There are 
no download figures on the stats page either.

Thanks a lot
Gary

Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
Sent from my plain old desktop computer

-- 
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] Special characters in metadata

2017-08-14 Thread Gary Browne
Thanks Claudia, Mark and Andrea for your comments.

It makes intuitive sense to me to avoid HTML “pollution” within the metadata 
fields. But it still raises the issue of what to do about special characters in 
metadata fields.

The field + formatted field idea seems ok, but I fear it will be a bit of a 
data management nightmare.

Thanks again for your thoughts on this.

Gary


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
gary.bro...@sydney.edu.au<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>


From: Andrea Schweer 
Date: Tuesday, 15 August 2017 at 7:26 am
To: "Mark H. Wood" , DSpace Technical Support 
, Gary Browne 
Subject: Re: [dspace-tech] Special characters in metadata

Hi Gary, all,
On 08/15/2017 02:03 AM, Mark H. Wood wrote:
On Sunday, August 13, 2017 at 9:26:56 PM UTC-4, Gary Browne wrote:
This leads me to a more general question of how people handle special 
characters in the metadata, generally speaking?

Is this usually accomplished using Unicode, or are there hacks to allow HTML (I 
presume including HTML in metadata values is generally frowned upon)?


They must be using Unicode.  Only a few fields are equipped to render HTML *as* 
HTML.  I haven't checked, but I think we'd find that all of these are fields 
such as abstract which are displayed as block elements, not inline fields like 
title and author.

It's pretty easy to make DSpace (XMLUI) render HTML as HTML. Look at how the 
introductory text for collection pages is rendered; it's really just a matter 
of using copy-of not value-of in the XSL crosswalk.
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/collection-view.xsl#L58<https://protect-au.mimecast.com/s/GN1YBofl4L5S3?domain=github.com>
However, I'd be very careful with this; you wouldn't want to allow just about 
anything and risk showing malicious content on your item pages. Plus of course, 
Mark's comment on harvesters:


And those HTML-enabled fields raise another question:  what are harvesters to 
make of metadata which are sprinkled with HTML?  Even if the harvesting site is 
using the data for display, it may not be taking any trouble to render embedded 
HTML.  If the harvesting site wants plain text (e.g. for searching), what will 
it do with the HTML pollution?

The best way I can think of (this has already been suggested to the U Sydney 
folks on a different mailing list by someone else) is to have two parallel 
fields: one for the "formatted" version, one for plain text. Then you can 
expose the plain text one to harvesters / search indexing and use the formatted 
one for item pages in your repository. The challenge will be keeping the two in 
synch -- I guess you could instruct repository admin staff to only edit the 
formatted version, and write a curation task that strips the formatting and 
puts the remainder into the plain text version. Or of course keep the two 
values in synch manually.

cheers,
Andrea



--

Dr Andrea Schweer

Lead Software Developer, ITS Information Systems

The University of Waikato, Hamilton, New Zealand

+64-7-837 9120

-- 
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] Special characters in metadata

2017-08-13 Thread Gary Browne
This leads me to a more general question of how people handle special 
characters in the metadata, generally speaking?

Is this usually accomplished using Unicode, or are there hacks to allow HTML (I 
presume including HTML in metadata values is generally frowned upon)?

Thanks,
Gary

 
Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 
<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
 

On 14/8/17, 10:36 am, "dspace-tech@googlegroups.com on behalf of Gary Browne" 
 wrote:

Thanks Claudia,

Unfortunately the Unicode generators only seem to strikethrough the 
individual letters, rather than whole words like the  tag (see attached 
sample).

Gary

 
Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 
<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
 

On 11/8/17, 4:56 pm, "dspace-tech@googlegroups.com on behalf of Claudia 
Jürgen"  wrote:

Hello Gary,

try something like 
https://protect-au.mimecast.com/s/44GqB7UAq3bi1?domain=yaytext.com

Hope this helps

Claudia



    Am 11.08.2017 um 01:38 schrieb Gary Browne:
> Hi all,
>
> We have an item submitted where the title has strikethrough text in 
one of
> the title words - how can this be represented in item metadata?
>
> I tried adding Blah to the title in the metadata (dc.title), 
but it
> doesn't parse the HTML.
>
> Thanks,
> Gary
>

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
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.

-- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://protect-au.mimecast.com/s/drxzBeuAMkLid?domain=groups.google.com.
To unsubscribe from this group and all its topics, 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://protect-au.mimecast.com/s/Db1pBJUAoLxi4?domain=groups.google.com.
For more options, visit 
https://protect-au.mimecast.com/s/87W8BlUdoYOtE?domain=groups.google.com.



-- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://protect-au.mimecast.com/s/drxzBeuAMkLid?domain=groups.google.com.
To unsubscribe from this group and all its topics, 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://protect-au.mimecast.com/s/Db1pBJUAoLxi4?domain=groups.google.com.
For more options, visit 
https://protect-au.mimecast.com/s/87W8BlUdoYOtE?domain=groups.google.com.


-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Techni

Re: [dspace-tech] Special characters in metadata

2017-08-13 Thread Gary Browne
Thanks Claudia,

Unfortunately the Unicode generators only seem to strikethrough the individual 
letters, rather than whole words like the  tag (see attached sample).

Gary

 
Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 
<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
 

On 11/8/17, 4:56 pm, "dspace-tech@googlegroups.com on behalf of Claudia Jürgen" 
 
wrote:

Hello Gary,

try something like 
https://protect-au.mimecast.com/s/YZ5qB0u86MoSO?domain=yaytext.com

Hope this helps

Claudia



Am 11.08.2017 um 01:38 schrieb Gary Browne:
> Hi all,
>
> We have an item submitted where the title has strikethrough text in one of
> the title words - how can this be represented in item metadata?
>
> I tried adding Blah to the title in the metadata (dc.title), but it
> doesn't parse the HTML.
>
> Thanks,
> Gary
>

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
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.

-- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://protect-au.mimecast.com/s/K410BnUvLlXs9?domain=groups.google.com.
To unsubscribe from this group and all its topics, 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://protect-au.mimecast.com/s/e4MrBZUn0N4Uw?domain=groups.google.com.
For more options, visit 
https://protect-au.mimecast.com/s/W91ABZiElz6s1?domain=groups.google.com.



-- 
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] Special characters in metadata

2017-08-10 Thread Gary Browne
Hi all,

We have an item submitted where the title has strikethrough text in one of 
the title words - how can this be represented in item metadata?

I tried adding Blah to the title in the metadata (dc.title), but it 
doesn't parse the HTML.

Thanks,
Gary

-- 
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] Move items from one collection to another but retain handles

2017-08-07 Thread Gary Browne
Thanks for that info Claudia, much appreciated.

 
Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 
<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
Sent from my plain old desktop computer
 

On 4/8/17, 4:29 pm, "dspace-tech@googlegroups.com on behalf of Claudia Jürgen" 
 
wrote:

Hello Gary,

you can move items as admin via the move item feature in the UI.
There you can choose whether they should retain their permissions or
inherit new ones
see: https://wiki.duraspace.org/display/DSDOC4x/Moving+Items

I think in moving using batch metadata editing they retain their
permissions.

Hope this helps

Claudia


Am 04.08.2017 um 05:25 schrieb Gary Browne:
> Hi all,
>
> DSpace 4.1
> Tomcat7
> Apache 2
> RHEL 6
>
> I want to move the items of collection A into collection B and then delete
> collection A. Is this possible whilst still retaining the original handles
> to the items? And when I move the items, do they inherit the 
authorisations
> of collection B or do they retain collection A's permissions?
>
> Thanks,
> Gary
>

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
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.

-- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/Y8kIquR_mOI/unsubscribe.
To unsubscribe from this group and all its topics, 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.



-- 
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] Move items from one collection to another but retain handles

2017-08-03 Thread Gary Browne
Hi all,

DSpace 4.1
Tomcat7
Apache 2
RHEL 6

I want to move the items of collection A into collection B and then delete 
collection A. Is this possible whilst still retaining the original handles 
to the items? And when I move the items, do they inherit the authorisations 
of collection B or do they retain collection A's permissions?

Thanks,
Gary

-- 
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] index-discovery - exclude collection from indexing

2017-08-02 Thread Gary Browne
HI all,

In the docs:

https://wiki.duraspace.org/display/DSDOC4x/Discovery

It is stated:

-r  remove an Item, Collection or Community from index based 
on its handle


in the index-discovery parameters section.


If I use a collection handle, does this mean:


i) a collection's items will be removed from the Solr index, OR;

ii) this collection will not be (re-)indexed on this run?


Thanks for the clarification.


Regards,
Gary

-- 
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] Solr Statistics displaying old data

2017-07-04 Thread Gary Browne
Hello all,

DSpace 4.1, Apache 2.2, Tomcat7, RHEL 7, PostGreSQL 9.

I have just noticed that when I click the statistics icon on some 
communities, collections or items, it shows me Total Visits per Month for 
dates like "2015-11 to 2016-04". Is this range configured somewhere or have 
my stats stopped working since 2016-04 for some items!? And does this mean 
my view stats are for the same period!? A little frightening!

Any assistance would help quell my anxiety.

Kind regards,
Gary

-- 
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] Batch delete items in DSpace 4

2017-06-21 Thread Gary Browne
Hi Àlex,

Great – I wasn’t aware that you could delete items with this system. As the 
name suggests, I thought it was only for “metadata editing”!

Thanks a lot,
Gary


Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au 
<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
Sent from my plain old desktop computer

On 21/6/17, 4:54 pm, "dspace-tech@googlegroups.com on behalf of Àlex Magaz 
Graça"  
wrote:

El 21/06/17 a las 01:47, Gary Browne escribió:
> Hi all,
>
> A seemingly simple task - I want to delete some items from DSpace 4.1
> (Tomcat7, RHEL 6, Apache 2.2) based on matching values in a custom
> metadata field.
>
> Really I've searched a lot on Googs and Duraspace but cannot find any
> examples. I'm reluctant to do a SQL delete of an item without checking
> here first, as I don't know what the knock-on effects might be and what
> cleanup might need to be done. Would SQL be the best tool here or REST
> API or wildcard tool? In some cases there are up to 2000 records
> matching a particular value that need to be deleted, so I don't want to
> do it by hand.
>
> Any guidance/references would be much appreciated.
>
> Thanks,
> Gary
>
> -- 
> 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
> <mailto:dspace-tech+unsubscr...@googlegroups.com>.
> To post to this group, send email to dspace-tech@googlegroups.com
> <mailto: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.
Hi Gary,

The easier way would be to use the batch metadata editing feature. See here:


https://wiki.duraspace.org/display/DSDOC4x/Batch+Metadata+Editing#BatchMetadataEditing-Performing%27actions%27onitems

Cheers,
Àlex

-- 
You received this message because you are subscribed to a topic in the 
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/-QzFpTcbo4U/unsubscribe.
To unsubscribe from this group and all its topics, 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.



-- 
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] Batch delete items in DSpace 4

2017-06-20 Thread Gary Browne
Hi all,

A seemingly simple task - I want to delete some items from DSpace 4.1 
(Tomcat7, RHEL 6, Apache 2.2) based on matching values in a custom metadata 
field.

Really I've searched a lot on Googs and Duraspace but cannot find any 
examples. I'm reluctant to do a SQL delete of an item without checking here 
first, as I don't know what the knock-on effects might be and what cleanup 
might need to be done. Would SQL be the best tool here or REST API or 
wildcard tool? In some cases there are up to 2000 records matching a 
particular value that need to be deleted, so I don't want to do it by hand.

Any guidance/references would be much appreciated.

Thanks,
Gary

-- 
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] Solr query for submitted items?

2017-04-06 Thread Gary Browne
Thanks very much Ivan

On Thursday, April 6, 2017 at 5:28:31 PM UTC+10, helix84 wrote:
>
> On Thu, Apr 6, 2017 at 5:23 AM, Gary Browne  > wrote:
> > Is there a way I can query Solr to give me information about submitted
> > items. eg. how many items submitted in a given period. I'm imagining
> > something using date.accessioned but I've been unable to get any queries 
> to
> > work.
>
> You can start from the example on the statistics index:
>
>
> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Statistics:breakdownofdownloadspermonth
>
> Change the core to search (where dc.date.accessioned is stored), change 
> the query to ask for items and the facet field to 
> query dc.date.accessioned_dt (*_dt fields are the date types which can be 
> faceted like dates; if in doubt, check the Schema Browser for a particular 
> core in the Solr Admin UI or its schema.xml file).
>
> I added the new example here:
>
>
> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Breakdownofsubmitteditemspermonth
>
>
> > are there any other documents with more Solr query examples - I'm finding
> > there isn't enough explanation of parameters for me to work out how to 
> use
> > what and when?
>
> Description of Solr parameters are not specific to DSpace, so I'm 
> referring to Solr documentation. Please, check it out:
>
> "Using the knowledge of particular fields from Solr Admin and Solr syntax 
> (SolrQuerySyntax <http://wiki.apache.org/solr/SolrQuerySyntax>, 
> CommonQueryParameters <http://wiki.apache.org/solr/CommonQueryParameters>) 
> you can make your own search requests. You can also read a brief tutorial 
> <http://www.solrtutorial.com/solr-query-syntax.html> to learn the query 
> syntax quickly."
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
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] Solr query for submitted items?

2017-04-05 Thread Gary Browne
Hi all,

Using DSpace 4.1, RHEL 6, Tomcat 7.

Is there a way I can query Solr to give me information about submitted 
items. eg. how many items submitted in a given period. I'm imagining 
something using date.accessioned but I've been unable to get any queries to 
work.

Secondly, other than:

https://wiki.duraspace.org/display/DSPACE/Solr
https://wiki.duraspace.org/display/DSDOC4x/DSpace+Statistics

are there any other documents with more Solr query examples - I'm finding 
there isn't enough explanation of parameters for me to work out how to use 
what and when?

Thanks,
Gary

-- 
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] Embargoed bitstreams can be accessed

2016-12-07 Thread Gary Browne
Hi all,

Using:

DSpace JSPUI v 4.1
RHEL 6
Tomcat 7
Apache 2.2

Bitstreams of items that are embargoed can be accessed by obtaining the 
link (either from source HTML or right-clicking the bitstream link). Is 
there something wrong with our DSpace setup or is does embargo not limit 
bitstream-level access?

I tried removing all resource policies from a sample embargoed item but I 
was still able to access it.

Thanks,
Gary

-- 
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] Display most viewed items in collection

2016-10-24 Thread Gary Browne
Hi everyone,


DSpace 5.5
XMLUI
Tomcat 7
Apache 2.2
PostGreSQL 9.2


I'm wondering if there is a way to display, say, the 10 most viewed items 
in a collection on the collection home page. What would be the best way to 
go about this?

Thanks a lot,
Gary

-- 
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] Repurpose collection metadata in XMLUI

2016-10-24 Thread Gary Browne
THanks a lot Terry - yes, that is helpful!

On Saturday, October 22, 2016 at 3:11:55 AM UTC+11, Terry Brady wrote:
>
> Gary, if it is helpful, here is the code that displays the metadata fields 
> for a collection.
>
>
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl#L794-L818
>
> On Thu, Oct 20, 2016 at 6:04 PM, Gary Browne  > wrote:
>
>> Also it may be that I'm not describing the issue correctly - I've 
>> attached a screen shot of the data that I want to manipulate. Basically I 
>> want to grab, say, the Short Description or Introductory Text, and place it 
>> where I like on the page. I can probably do this with CSS but would get 
>> messy pretty quickly. I thought there'd be a simple mechanism for this sort 
>> of thing with XMLUI.
>>
>> On Friday, October 21, 2016 at 9:40:26 AM UTC+11, Terry Brady wrote:
>>>
>>> Gary, on closer inspection, I see the issue you are encountering.
>>>
>>> Item mets.xml opens as XML: 
>>> http://demo.dspace.org/xmlui//metadata/handle/10673/3/mets.xml
>>>
>>> Collection mets.xml opens as HTML: 
>>> http://demo.dspace.org/xmlui//metadata/handle/10673/2/mets.xml
>>>
>>> This looks like a DSpace bug to me.  I wonder if someone else on the 
>>> list could suggest another approach.
>>>
>>> Terry
>>>
>>> On Thu, Oct 20, 2016 at 3:05 PM, Gary Browne  
>>> wrote:
>>>
>>>> Thanks Terry,
>>>>
>>>> I'm quite confused! I can get *all* the collection metadata with this:
>>>>
>>>> >>> select="//dri:referenceSet[@n='collection-viewer']//dri:reference[@type='DSpace
>>>>  
>>>> Collection']/@url"/>
>>>>
>>>> But I can't work out how to get the individual pieces, like 
>>>> Introductory Text or Copyright Text (is this possible?).
>>>>
>>>> I don't know how to check if $collurl points to an XML object - any 
>>>> hints?
>>>>
>>>> Thanks a lot,
>>>> Gary
>>>>
>>>> On Friday, October 21, 2016 at 3:03:25 AM UTC+11, Terry Brady wrote:
>>>>>
>>>>> Gary,
>>>>>
>>>>> Carefully check that the path set for $collurl points to an XML 
>>>>> object.  The sample code I gave you may require an additional root path.
>>>>>
>>>>> For code examples, you can look in the code base for examples where 
>>>>> "cocoon:" is found.  See 
>>>>> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L468-L494
>>>>>
>>>>> This is old, but it might be helpful: 
>>>>> http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
>>>>>
>>>>> The following wiki page has an overview of XMLUI, but it does not 
>>>>> explain how the "cocoon:" protocall works in xsl:document: 
>>>>> https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization
>>>>> .
>>>>>
>>>>> Terry
>>>>>
>>>>> On Wed, Oct 19, 2016 at 11:25 PM, Gary Browne  
>>>>> wrote:
>>>>>
>>>>>> Hi Terry,
>>>>>>
>>>>>> I'm getting some way to something here...but not quite. I can pull 
>>>>>> out the collection metadata as one big lump of text without any 
>>>>>> formatting 
>>>>>> (is there a way to retain any HTML tags in the metadata?).
>>>>>>
>>>>>> However,
>>>>>>
>>>>>> document(concat('cocoon:', $collurl))"/>
>>>>>>
>>>>>> doesn't give me anything.
>>>>>>
>>>>>> How did you work all this out? Is there some documentation I can 
>>>>>> follow somewhere, because I can't seem to find anything like this on the 
>>>>>> dspace wiki?
>>>>>>
>>>>>> Thanks again,
>>>>>> Gary
>>>>>>
>>>>>>
>>>>>> On Thursday, October 20, 2016 at 11:48:31 AM UTC+11, Gary Browne 
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi Terry,
>>>>>>>
>>>>>>> Sorry I was u

[dspace-tech] Modify search results list in XMLUI

2016-10-20 Thread Gary Browne
Hi all,

DSpace 5.5
XMLUI
Tomcat 7
Apache 2.2
PostGreSQL 9.2

I would like to make some modifications/additions to the display of the 
item list in discovery search results. I have a custom theme and within 
that theme:

/mytheme/lib/xsl/aspect/artifactbrowser/item-list.xsl

if I make changes to this template:



the changes do take effect.

However, I'm unable to make changes take effect when I modify this template:



Within this template, I tried adding a class name to:



but it doesn't show up. Am I looking at the wrong template? I've actually 
gone through every instance of artifact-description I can find but none of 
them seems to affect the search results display.

Any pointers would be much appreciated.

Thanks,
Gary

-- 
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] Repurpose collection metadata in XMLUI

2016-10-20 Thread Gary Browne
Also it may be that I'm not describing the issue correctly - I've attached 
a screen shot of the data that I want to manipulate. Basically I want to 
grab, say, the Short Description or Introductory Text, and place it where I 
like on the page. I can probably do this with CSS but would get messy 
pretty quickly. I thought there'd be a simple mechanism for this sort of 
thing with XMLUI.

On Friday, October 21, 2016 at 9:40:26 AM UTC+11, Terry Brady wrote:
>
> Gary, on closer inspection, I see the issue you are encountering.
>
> Item mets.xml opens as XML: 
> http://demo.dspace.org/xmlui//metadata/handle/10673/3/mets.xml
>
> Collection mets.xml opens as HTML: 
> http://demo.dspace.org/xmlui//metadata/handle/10673/2/mets.xml
>
> This looks like a DSpace bug to me.  I wonder if someone else on the list 
> could suggest another approach.
>
> Terry
>
> On Thu, Oct 20, 2016 at 3:05 PM, Gary Browne  > wrote:
>
>> Thanks Terry,
>>
>> I'm quite confused! I can get *all* the collection metadata with this:
>>
>> > select="//dri:referenceSet[@n='collection-viewer']//dri:reference[@type='DSpace
>>  
>> Collection']/@url"/>
>>
>> But I can't work out how to get the individual pieces, like Introductory 
>> Text or Copyright Text (is this possible?).
>>
>> I don't know how to check if $collurl points to an XML object - any hints?
>>
>> Thanks a lot,
>> Gary
>>
>> On Friday, October 21, 2016 at 3:03:25 AM UTC+11, Terry Brady wrote:
>>>
>>> Gary,
>>>
>>> Carefully check that the path set for $collurl points to an XML object.  
>>> The sample code I gave you may require an additional root path.
>>>
>>> For code examples, you can look in the code base for examples where 
>>> "cocoon:" is found.  See 
>>> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L468-L494
>>>
>>> This is old, but it might be helpful: 
>>> http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
>>>
>>> The following wiki page has an overview of XMLUI, but it does not 
>>> explain how the "cocoon:" protocall works in xsl:document: 
>>> https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization
>>> .
>>>
>>> Terry
>>>
>>> On Wed, Oct 19, 2016 at 11:25 PM, Gary Browne  
>>> wrote:
>>>
>>>> Hi Terry,
>>>>
>>>> I'm getting some way to something here...but not quite. I can pull out 
>>>> the collection metadata as one big lump of text without any formatting (is 
>>>> there a way to retain any HTML tags in the metadata?).
>>>>
>>>> However,
>>>>
>>>> document(concat('cocoon:', $collurl))"/>
>>>>
>>>> doesn't give me anything.
>>>>
>>>> How did you work all this out? Is there some documentation I can follow 
>>>> somewhere, because I can't seem to find anything like this on the dspace 
>>>> wiki?
>>>>
>>>> Thanks again,
>>>> Gary
>>>>
>>>>
>>>> On Thursday, October 20, 2016 at 11:48:31 AM UTC+11, Gary Browne wrote:
>>>>>
>>>>> Hi Terry,
>>>>>
>>>>> Sorry I was unclear there - yes, you were correct in assuming I want 
>>>>> to access in XSLT theme code.
>>>>>
>>>>> Thanks for your pointers, I'll let you know how I get on with it.
>>>>>
>>>>> Cheers,
>>>>> Gary
>>>>>
>>>>>
>>>>> On Thursday, October 20, 2016 at 4:35:35 AM UTC+11, Terry Brady wrote:
>>>>>>
>>>>>> How do you want to access the metadata?  Through SQL or in some XSLT 
>>>>>> theme code?
>>>>>>
>>>>>> Assuming, want to do this in XMLUI theme code, here is the process.
>>>>>>
>>>>>>- Item: http://demo.dspace.org/xmlui///handle/10673/3
>>>>>>- Look at the XML for this document: 
>>>>>>http://demo.dspace.org/xmlui/handle/10673/3?XML
>>>>>>- The url to the collection metadata is here 
>>>>>>   - >>>>>   
>>>>>> select="//dri:referenceSet[@n='collection-viewer']//dri:reference[@type='DSpace
>>>>>&g

Re: [dspace-tech] Repurpose collection metadata in XMLUI

2016-10-20 Thread Gary Browne
Actually I was mistaken - I'm not getting access to the collection metadata 
at all. I had no idea this would be so difficult!

On Friday, October 21, 2016 at 3:03:25 AM UTC+11, Terry Brady wrote:
>
> Gary,
>
> Carefully check that the path set for $collurl points to an XML object.  
> The sample code I gave you may require an additional root path.
>
> For code examples, you can look in the code base for examples where 
> "cocoon:" is found.  See 
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L468-L494
>
> This is old, but it might be helpful: 
> http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
>
> The following wiki page has an overview of XMLUI, but it does not explain 
> how the "cocoon:" protocall works in xsl:document: 
> https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization
> .
>
> Terry
>
> On Wed, Oct 19, 2016 at 11:25 PM, Gary Browne  > wrote:
>
>> Hi Terry,
>>
>> I'm getting some way to something here...but not quite. I can pull out 
>> the collection metadata as one big lump of text without any formatting (is 
>> there a way to retain any HTML tags in the metadata?).
>>
>> However,
>>
>> document(concat('cocoon:', $collurl))"/>
>>
>> doesn't give me anything.
>>
>> How did you work all this out? Is there some documentation I can follow 
>> somewhere, because I can't seem to find anything like this on the dspace 
>> wiki?
>>
>> Thanks again,
>> Gary
>>
>>
>> On Thursday, October 20, 2016 at 11:48:31 AM UTC+11, Gary Browne wrote:
>>>
>>> Hi Terry,
>>>
>>> Sorry I was unclear there - yes, you were correct in assuming I want to 
>>> access in XSLT theme code.
>>>
>>> Thanks for your pointers, I'll let you know how I get on with it.
>>>
>>> Cheers,
>>> Gary
>>>
>>>
>>> On Thursday, October 20, 2016 at 4:35:35 AM UTC+11, Terry Brady wrote:
>>>>
>>>> How do you want to access the metadata?  Through SQL or in some XSLT 
>>>> theme code?
>>>>
>>>> Assuming, want to do this in XMLUI theme code, here is the process.
>>>>
>>>>- Item: http://demo.dspace.org/xmlui///handle/10673/3
>>>>- Look at the XML for this document: 
>>>>http://demo.dspace.org/xmlui/handle/10673/3?XML
>>>>- The url to the collection metadata is here 
>>>>   - >>>   
>>>> select="//dri:referenceSet[@n='collection-viewer']//dri:reference[@type='DSpace
>>>>  
>>>>   Collection']/@url"/>
>>>>- If you view source on the following URL, you will see the 
>>>>metadata: 
>>>>http://demo.dspace.org/xmlui//metadata/handle/10673/2/mets.xml
>>>>- You can use the cocoon protocol to retrieve the metadata for the 
>>>>collection
>>>>   - >>>   select="document(concat('cocoon:', $collurl))"/>
>>>>
>>>> There may be a bug in the code above, but this is the general approach 
>>>> to follow.
>>>>
>>>> Terry
>>>>
>>>> On Tue, Oct 18, 2016 at 5:07 PM, Gary Browne  
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> DSpace 5.5
>>>>> XMLUI
>>>>> Tomcat 7
>>>>> Apache 2.2
>>>>> PostGreSQL 9.2
>>>>>
>>>>> How can I access the collection metadata to use it in a template? For 
>>>>> example, if I want to display the collection introductory text or 
>>>>> copyright 
>>>>> text elsewhere?
>>>>>
>>>>> Thanks a lot,
>>>>> Gary
>>>>>
>>>>> -- 
>>>>> 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.
>>>>>
>>>>
>>>>
>>>

Re: [dspace-tech] Repurpose collection metadata in XMLUI

2016-10-20 Thread Gary Browne
Thanks Terry,

I'm quite confused! I can get *all* the collection metadata with this:



But I can't work out how to get the individual pieces, like Introductory 
Text or Copyright Text (is this possible?).

I don't know how to check if $collurl points to an XML object - any hints?

Thanks a lot,
Gary

On Friday, October 21, 2016 at 3:03:25 AM UTC+11, Terry Brady wrote:
>
> Gary,
>
> Carefully check that the path set for $collurl points to an XML object.  
> The sample code I gave you may require an additional root path.
>
> For code examples, you can look in the code base for examples where 
> "cocoon:" is found.  See 
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L468-L494
>
> This is old, but it might be helpful: 
> http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
>
> The following wiki page has an overview of XMLUI, but it does not explain 
> how the "cocoon:" protocall works in xsl:document: 
> https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization
> .
>
> Terry
>
> On Wed, Oct 19, 2016 at 11:25 PM, Gary Browne  > wrote:
>
>> Hi Terry,
>>
>> I'm getting some way to something here...but not quite. I can pull out 
>> the collection metadata as one big lump of text without any formatting (is 
>> there a way to retain any HTML tags in the metadata?).
>>
>> However,
>>
>> document(concat('cocoon:', $collurl))"/>
>>
>> doesn't give me anything.
>>
>> How did you work all this out? Is there some documentation I can follow 
>> somewhere, because I can't seem to find anything like this on the dspace 
>> wiki?
>>
>> Thanks again,
>> Gary
>>
>>
>> On Thursday, October 20, 2016 at 11:48:31 AM UTC+11, Gary Browne wrote:
>>>
>>> Hi Terry,
>>>
>>> Sorry I was unclear there - yes, you were correct in assuming I want to 
>>> access in XSLT theme code.
>>>
>>> Thanks for your pointers, I'll let you know how I get on with it.
>>>
>>> Cheers,
>>> Gary
>>>
>>>
>>> On Thursday, October 20, 2016 at 4:35:35 AM UTC+11, Terry Brady wrote:
>>>>
>>>> How do you want to access the metadata?  Through SQL or in some XSLT 
>>>> theme code?
>>>>
>>>> Assuming, want to do this in XMLUI theme code, here is the process.
>>>>
>>>>- Item: http://demo.dspace.org/xmlui///handle/10673/3
>>>>- Look at the XML for this document: 
>>>>http://demo.dspace.org/xmlui/handle/10673/3?XML
>>>>- The url to the collection metadata is here 
>>>>   - >>>   
>>>> select="//dri:referenceSet[@n='collection-viewer']//dri:reference[@type='DSpace
>>>>  
>>>>   Collection']/@url"/>
>>>>- If you view source on the following URL, you will see the 
>>>>metadata: 
>>>>http://demo.dspace.org/xmlui//metadata/handle/10673/2/mets.xml
>>>>- You can use the cocoon protocol to retrieve the metadata for the 
>>>>collection
>>>>   - >>>   select="document(concat('cocoon:', $collurl))"/>
>>>>
>>>> There may be a bug in the code above, but this is the general approach 
>>>> to follow.
>>>>
>>>> Terry
>>>>
>>>> On Tue, Oct 18, 2016 at 5:07 PM, Gary Browne  
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> DSpace 5.5
>>>>> XMLUI
>>>>> Tomcat 7
>>>>> Apache 2.2
>>>>> PostGreSQL 9.2
>>>>>
>>>>> How can I access the collection metadata to use it in a template? For 
>>>>> example, if I want to display the collection introductory text or 
>>>>> copyright 
>>>>> text elsewhere?
>>>>>
>>>>> Thanks a lot,
>>>>> Gary
>>>>>
>>>>> -- 
>>>>> 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:

Re: [dspace-tech] Repurpose collection metadata in XMLUI

2016-10-19 Thread Gary Browne
Hi Terry,

I'm getting some way to something here...but not quite. I can pull out the 
collection metadata as one big lump of text without any formatting (is 
there a way to retain any HTML tags in the metadata?).

However,

document(concat('cocoon:', $collurl))"/>

doesn't give me anything.

How did you work all this out? Is there some documentation I can follow 
somewhere, because I can't seem to find anything like this on the dspace 
wiki?

Thanks again,
Gary


On Thursday, October 20, 2016 at 11:48:31 AM UTC+11, Gary Browne wrote:
>
> Hi Terry,
>
> Sorry I was unclear there - yes, you were correct in assuming I want to 
> access in XSLT theme code.
>
> Thanks for your pointers, I'll let you know how I get on with it.
>
> Cheers,
> Gary
>
>
> On Thursday, October 20, 2016 at 4:35:35 AM UTC+11, Terry Brady wrote:
>>
>> How do you want to access the metadata?  Through SQL or in some XSLT 
>> theme code?
>>
>> Assuming, want to do this in XMLUI theme code, here is the process.
>>
>>- Item: http://demo.dspace.org/xmlui///handle/10673/3
>>- Look at the XML for this document: 
>>http://demo.dspace.org/xmlui/handle/10673/3?XML
>>- The url to the collection metadata is here 
>>   - >   
>> select="//dri:referenceSet[@n='collection-viewer']//dri:reference[@type='DSpace
>>  
>>   Collection']/@url"/>
>>- If you view source on the following URL, you will see the metadata: 
>>http://demo.dspace.org/xmlui//metadata/handle/10673/2/mets.xml
>>- You can use the cocoon protocol to retrieve the metadata for the 
>>collection
>>   - 
>>
>> There may be a bug in the code above, but this is the general approach to 
>> follow.
>>
>> Terry
>>
>> On Tue, Oct 18, 2016 at 5:07 PM, Gary Browne  
>> wrote:
>>
>>> Hi all,
>>>
>>> DSpace 5.5
>>> XMLUI
>>> Tomcat 7
>>> Apache 2.2
>>> PostGreSQL 9.2
>>>
>>> How can I access the collection metadata to use it in a template? For 
>>> example, if I want to display the collection introductory text or copyright 
>>> text elsewhere?
>>>
>>> Thanks a lot,
>>> Gary
>>>
>>> -- 
>>> 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.
>>>
>>
>>
>>
>> -- 
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> http://georgetown-university-libraries.github.io/ 
>> <https://www.library.georgetown.edu/lit/code>
>> 425-298-5498 (Seattle, WA)
>>
>

-- 
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] Repurpose collection metadata in XMLUI

2016-10-19 Thread Gary Browne
Hi Terry,

Sorry I was unclear there - yes, you were correct in assuming I want to 
access in XSLT theme code.

Thanks for your pointers, I'll let you know how I get on with it.

Cheers,
Gary


On Thursday, October 20, 2016 at 4:35:35 AM UTC+11, Terry Brady wrote:
>
> How do you want to access the metadata?  Through SQL or in some XSLT theme 
> code?
>
> Assuming, want to do this in XMLUI theme code, here is the process.
>
>- Item: http://demo.dspace.org/xmlui///handle/10673/3
>- Look at the XML for this document: 
>http://demo.dspace.org/xmlui/handle/10673/3?XML
>- The url to the collection metadata is here 
>   -
> select="//dri:referenceSet[@n='collection-viewer']//dri:reference[@type='DSpace
>  
>   Collection']/@url"/>
>- If you view source on the following URL, you will see the metadata: 
>http://demo.dspace.org/xmlui//metadata/handle/10673/2/mets.xml
>- You can use the cocoon protocol to retrieve the metadata for the 
>collection
>   - 
>
> There may be a bug in the code above, but this is the general approach to 
> follow.
>
> Terry
>
> On Tue, Oct 18, 2016 at 5:07 PM, Gary Browne  > wrote:
>
>> Hi all,
>>
>> DSpace 5.5
>> XMLUI
>> Tomcat 7
>> Apache 2.2
>> PostGreSQL 9.2
>>
>> How can I access the collection metadata to use it in a template? For 
>> example, if I want to display the collection introductory text or copyright 
>> text elsewhere?
>>
>> Thanks a lot,
>> Gary
>>
>> -- 
>> 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.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/ 
> <https://www.library.georgetown.edu/lit/code>
> 425-298-5498 (Seattle, WA)
>

-- 
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] Repurpose collection metadata in XMLUI

2016-10-18 Thread Gary Browne
Hi all,

DSpace 5.5
XMLUI
Tomcat 7
Apache 2.2
PostGreSQL 9.2

How can I access the collection metadata to use it in a template? For 
example, if I want to display the collection introductory text or copyright 
text elsewhere?

Thanks a lot,
Gary

-- 
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] Message keys in XMLUI

2016-10-18 Thread Gary Browne
Andrea I just tried using your suggestion of adding i18n:attr="action" to 
the form element and it worked! You're a genius!

Thanks,
Gary


On Wednesday, October 19, 2016 at 10:41:45 AM UTC+11, Gary Browne wrote:
>
> Thanks for your replies Terry and Andrea.
>
> Terry, clearing the java cache and restarting Tomcat made no difference.
>
> Andrea, I'm still getting my head around the XMLUI and I'm not even sure, 
> for example, if using  in this context is the correct approach?
>
> Thanks,
> Gary
>
> On Wednesday, October 19, 2016 at 10:02:30 AM UTC+11, Andrea Schweer wrote:
>>
>> I don't recall details, but I remember that it's difficult to use i18n in 
>> variables. So that may be the problem. Alternatively it may be an issue 
>> that you're using it in an attribute; I think there was a way to specify 
>> which attribute of an element to translate but I don't recall how to do it. 
>> Maybe you'll need to add  i18n:attr="action" to your form element.
>>
>> Note, I'm a bit surprised to see the translation appearing in the action 
>> -- normally the i18n mechanism is for things that are visible to the user!
>>
>> cheers,
>> Andrea
>>
>> On 10/19/2016 11:41 AM, Gary Browne wrote:
>>
>> Hi all,
>>
>> DSpace 5.5
>> XMLUI
>> Tomcat 7
>> Apache 2.2
>> PostGreSQL 9.2
>>
>> I'm new to the XMLUI. I want to use a new message key in a template. I 
>> have put the following in [dspace]/webapps/xmlui/i18n/messages.xml:
>>
>> NewValue
>>
>> I have then added the following to 
>> [dspace]/webapps/xmlui/themes/MyTheme/lib/xsl/core/page-structure.xsl:
>>
>> xmlui.new.key
>> 
>> .
>> .
>> 
>>
>> but in the HTML output I just get:
>>
>> 
>>
>> (NB: [dspace] is the dspace runtime directory - I'm just trying this 
>> stuff live so I don't have to go through the recompile while I'm developing 
>> this small piece of functionality)
>>
>> What am I doing wrong?
>>
>> Thanks,
>> Gary
>> -- 
>> 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.
>>
>>
>> -- 
>> Dr Andrea Schweer
>> Lead Software Developer, ITS Information Systems
>> The University of Waikato, Hamilton, New Zealand
>> +64-7-837 9120
>>
>>

-- 
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] Message keys in XMLUI

2016-10-18 Thread Gary Browne
Thanks for your replies Terry and Andrea.

Terry, clearing the java cache and restarting Tomcat made no difference.

Andrea, I'm still getting my head around the XMLUI and I'm not even sure, 
for example, if using  in this context is the correct approach?

Thanks,
Gary

On Wednesday, October 19, 2016 at 10:02:30 AM UTC+11, Andrea Schweer wrote:
>
> I don't recall details, but I remember that it's difficult to use i18n in 
> variables. So that may be the problem. Alternatively it may be an issue 
> that you're using it in an attribute; I think there was a way to specify 
> which attribute of an element to translate but I don't recall how to do it. 
> Maybe you'll need to add  i18n:attr="action" to your form element.
>
> Note, I'm a bit surprised to see the translation appearing in the action 
> -- normally the i18n mechanism is for things that are visible to the user!
>
> cheers,
> Andrea
>
> On 10/19/2016 11:41 AM, Gary Browne wrote:
>
> Hi all,
>
> DSpace 5.5
> XMLUI
> Tomcat 7
> Apache 2.2
> PostGreSQL 9.2
>
> I'm new to the XMLUI. I want to use a new message key in a template. I 
> have put the following in [dspace]/webapps/xmlui/i18n/messages.xml:
>
> NewValue
>
> I have then added the following to 
> [dspace]/webapps/xmlui/themes/MyTheme/lib/xsl/core/page-structure.xsl:
>
> xmlui.new.key
> 
> .
> .
> 
>
> but in the HTML output I just get:
>
> 
>
> (NB: [dspace] is the dspace runtime directory - I'm just trying this stuff 
> live so I don't have to go through the recompile while I'm developing this 
> small piece of functionality)
>
> What am I doing wrong?
>
> Thanks,
> Gary
> -- 
> 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.
>
>
> -- 
> Dr Andrea Schweer
> Lead Software Developer, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
> +64-7-837 9120
>
>

-- 
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] Message keys in XMLUI

2016-10-18 Thread Gary Browne
Hi all,

DSpace 5.5
XMLUI
Tomcat 7
Apache 2.2
PostGreSQL 9.2

I'm new to the XMLUI. I want to use a new message key in a template. I have 
put the following in [dspace]/webapps/xmlui/i18n/messages.xml:

NewValue

I have then added the following to 
[dspace]/webapps/xmlui/themes/MyTheme/lib/xsl/core/page-structure.xsl:

xmlui.new.key

.
.


but in the HTML output I just get:



(NB: [dspace] is the dspace runtime directory - I'm just trying this stuff 
live so I don't have to go through the recompile while I'm developing this 
small piece of functionality)

What am I doing wrong?

Thanks,
Gary

-- 
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] Bitstream information in Discovery search results

2016-09-22 Thread Gary Browne
Thanks a lot Andrea.

Cheers,
Gary

Gary Browne | Technical Manager Developments
Library IT Infrastructure
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.au
Sent from my plain old desktop computer


From: Andrea Schweer [schw...@waikato.ac.nz]
Sent: Thursday, 22 September 2016 2:40 PM
To: Gary Browne; DSpace Technical Support
Subject: Re: [dspace-tech] Bitstream information in Discovery search results

Hi Gary,

On 09/20/2016 05:02 PM, Gary Browne wrote:
> Hi all,
>
> Using:
> DSpace 5.5
> XMLUI
> Tomcat7
> Apache 2
> RHEL 6
>
> Is there a way of getting bitstream information into discovery search
> results? When I search, I want to know which bitstream in an item has
> the matching text.
>
> I had a look at discovery.xsl and also the search XML itself in the
> browser but I can't see any bitstream information there.

There is actually a bug in DSpace 5 that means only one of multiple
bitstreams is indexed for search anyway:
https://jira.duraspace.org/browse/DS-2952 So technically, you can know
which one it is, but that won't help your use case I suspect.

Generally, to see what information is available in Discovery, you could
make a Solr query on the server that's running Tomcat (Solr is
restricted to localhost). For an item with handle 123456789/1234 and
assuming all standard paths/ports, you'd request

curl 'http://localhost:8080/solr/search/select?q=handle:123456789/1234
&indent=true'

cheers,
Andrea

--
Dr Andrea Schweer
Lead Software Developer, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120

-- 
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] Bitstream information in Discovery search results

2016-09-19 Thread Gary Browne
Hi all,

Using:
DSpace 5.5
XMLUI
Tomcat7
Apache 2
RHEL 6

Is there a way of getting bitstream information into discovery search 
results? When I search, I want to know which bitstream in an item has the 
matching text.

I had a look at discovery.xsl and also the search XML itself in the browser 
but I can't see any bitstream information there.

Thanks,
Gary

-- 
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] Point search result to correct bitstream

2016-09-13 Thread Gary Browne
Hi all,

We have an XMLUI instance version 5.5 on Mirage, RHEL 6.8, Tomcat 7.

We have a setup where each item is one year of journal issues. When a 
search is performed, we might get a result matching, for example, Year 
1976. My question is, is there a way to determine the particular bitstream 
in which the matching term was found? I'd like to either direct the user to 
a page anchor within the item record for a particular bitstream, or 
alternatively, straight to the particular bitstream itself.

Thanks a lot,
Gary

-- 
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] DOIs - can they be applied retrospectively?

2016-08-21 Thread Gary Browne
Hi Andrea,

That's great, thanks very much!

Gary

On Monday, August 22, 2016 at 1:36:08 PM UTC+10, Andrea Schweer wrote:
>
> Hi Gary, 
>
> On 08/22/2016 03:07 PM, Gary Browne wrote: 
> > I have setup an XMLUI version 5 instance of DSpace. 
> > 
> > Some items have been submitted already and I'm wondering if it is 
> > possible to apply DOIs to these items retrospectively, or if the DOI 
> > setup must be done prior to submitting items to take effect? 
>
> It is possible to register for a DOI retrospectively, though you'll 
> probably need a little bit of custom code for this. We wrote a curation 
> task for this for the LERNZdb freshwater quality data repository, it may 
> do what you need or at least be a starting point: 
> https://gist.github.com/aschweer/9650dc6482d406727f9147739b900d7a 
>
> cheers, 
> Andrea 
>
> -- 
> Dr Andrea Schweer 
> Lead Software Developer, ITS Information Systems 
> The University of Waikato, Hamilton, New Zealand 
> +64-7-837 9120 
>
>

-- 
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] DOIs - can they be applied retrospectively?

2016-08-21 Thread Gary Browne
Hello,

I have setup an XMLUI version 5 instance of DSpace.

Some items have been submitted already and I'm wondering if it is possible 
to apply DOIs to these items retrospectively, or if the DOI setup must be 
done prior to submitting items to take effect?

Thanks,
Gary

-- 
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] Obtain list of authors and publication URIs

2016-07-04 Thread Gary Browne
Hi all,

I'm using:

DSpace 4.1
Tomcat 7
Apache 2.2
OpenJDK 1.7
PostGreSQL 8.4

I need to obtain a list of all authors from the database with each of their 
publications' persistent identifiers (DOIs/Handles/other URIs).

With Solr, I tried this:

/solr/search/select?q=*%3A*&fl=dc.contributor.author%2C+dc.identifier.uri&wt=json&indent=true

and I got:

  "docs": [
  {
"dc.contributor.author": [
  "Sellens, Emily",
  "Norris, Jacqueline M.",
  "Dhand, Navneet K.",
  "Heller, Jane",
  "Hayes, Lynne",
  "Gidding, Heather F.",
  "Willaby, Harold",
  "Wood, Nicholas",
  "Bosward, Katrina L."
],
"dc.identifier.uri": [
  "http://hdl.handle.net/2123/14098";,
  "http://dx.doi.org/10.4227/11/565e5d044f8d9";
]
  },
  {
"dc.contributor.author": [
  "Surian, Didi"
],
"dc.identifier.uri": [
  "http://hdl.handle.net/2123/14014";
]
  },


etc..

However I'd like the results sorted by individual author. So for example, 
the first record above should be broken up into individual authors like so:

  "docs": [
  {
"dc.contributor.author": [
  "Sellens, Emily"
 ],
"dc.identifier.uri": [
  "http://hdl.handle.net/2123/14098";,
  "http://dx.doi.org/10.4227/11/565e5d044f8d9";
]
  },
  {
"dc.contributor.author": [
  "Norris, Jacqueline M."
 ],
"dc.identifier.uri": [
  "http://hdl.handle.net/2123/14098";,
  "http://dx.doi.org/10.4227/11/565e5d044f8d9";
]
  },
etc...

Where can I find some documentation on sort parameters in Solr (with reference 
to DSpace)? Everything I try (eg: author) gives me the following error:


Can't determine a Sort Order (asc or desc) in sort spec 'author'. 
Alternatively, would I be better off doing this using SQL (seems like more work 
to me)?

Thanks a lot,
Gary

-- 
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] DSpace 5.x - item without bitstream?

2016-05-05 Thread Gary Browne
Oh that was simple!

Thanks very much Adán


On Friday, May 6, 2016 at 1:08:43 AM UTC+10, Adan Roman Ruiz wrote:
>
> Yes, it can be done easy
>
> you should set the configuration param 
> webui.submit.upload.required = false
>
> It allow to create items without files atached
>
> regards
>
> Hi all,
>
> Is it possible to create an item without a bitstream. For example, just a 
> reference link to another data source?
>
> If so, how is it done?
>
> Thanks,
> Gary
> -- 
> 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.
>
>
>
>
> 
>  Libre 
> de virus. www.avast.com 
> 
>  
>

-- 
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] DSpace 5.x - item without bitstream?

2016-05-04 Thread Gary Browne
Hi all,

Is it possible to create an item without a bitstream. For example, just a 
reference link to another data source?

If so, how is it done?

Thanks,
Gary

-- 
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] DSpace Licence - where is it?

2016-03-23 Thread Gary Browne
Ahah!

Yes I am using the item importer - I had assumed that the default.license 
would be added to the bundles with this method (the documentation doesn't 
mention anything about it).

I can't see any flags to specify a license, so do I just add the actual 
license file in to the submission package and add a line specifying it to 
the contents file?

Thanks a lot,
Gary

On Wednesday, March 23, 2016 at 7:09:16 PM UTC+11, Claudia Jürgen wrote:
>
> Hello Gary, 
>
> maybe the item was imported using the item import. In that case no 
> license is inherited and you must specify one during import. 
>
> Claudia 
>
>
> Am 23.03.2016 um 01:57 schrieb Gary Browne: 
> > Hi Claudia, 
> > 
> > I still can't see a license file. I logged on as an administrator and 
> had a 
> > look at the item page (no license visible there, as expected). Then I 
> > clicked "Edit..." but the list of bitstreams doesn't list any license 
> > (there is only the ORIGINAL bundle). Does this mean no license was 
> > submitted with this item or am I looking in the wrong place. 
> > 
> > I have checked in the config directory and my changes to the default 
> > license are there. 
> > 
> > Thanks again for your help. 
> > 
> > Regards,G 
> > Gary 
> > 
> > On Wednesday, March 23, 2016 at 11:44:01 AM UTC+11, Gary Browne wrote: 
> >> Thanks very much Claudia, 
> >> 
> >> That's exactly the information I needed. 
> >> 
> >> Regards, 
> >> Gary 
> >> 
> >> On Tuesday, March 22, 2016 at 7:16:09 PM UTC+11, Claudia Jürgen wrote: 
> >>> Hello Gary, 
> >>> 
> >>> the item license is stored in the bundle LICENSE within the item. 
> >>> It is usually not visibal to the end user, as the bitstream for 
> license 
> >>> is marked as internal in the bitstream format registry. 
> >>> So only admins can see it when the are in the edit item mode. 
> >>> You can make the license accessible by setting the configuration 
> >>> parameter: 
> >>> webui.license.show=true 
> >>> This will show a button to retrieve the license in the item display. 
> >>> As the license inherits the rights like any other bitstream, it might 
> >>> still be restricted. 
> >>> 
> >>> The item got it's license either from the license defined in the 
> >>> collection it is submitted to or from the default.license. 
> >>> 
> >>> Hope this helps 
> >>> 
> >>> Claudia 
> >>> 
> >>> 
> >>> Am 21.03.2016 um 23:49 schrieb Gary Browne: 
> >>>> Hi all, 
> >>>> 
> >>>> I'm wondering where the DSpace item licence is stored - it doesn't 
> show 
> >>> up 
> >>>> in the file list for items if I use or customise the default licence 
> in 
> >>> the 
> >>>> GUI. 
> >>>> 
> >>>> I wanted to check that my licence customisations worked, but how do I 
> >>> find 
> >>>> it?? 
> >>>> 
> >>>> Thanks, 
> >>>> Gary 
> >>>> 
> >>> -- 
> >>> Claudia Juergen 
> >>> Eldorado 
> >>> 
> >>> Technische Universität Dortmund 
> >>> Universitätsbibliothek 
> >>> Vogelpothsweg 76 
> >>> 44227 Dortmund 
> >>> 
> >>> Tel.: +49 231-755 40 43 
> >>> Fax: +49 231-755 40 32 
> >>> claudia...@tu-dortmund.de 
> >>> 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. 
> >&

Re: [dspace-tech] DSpace Licence - where is it?

2016-03-23 Thread Gary Browne
Hi Franziska,

Yes, I should have said:

JSPUI 4.1
Ubuntu 15
Tomcat 8
OpenJDK 1.8

Thanks,
Gary

On Wednesday, March 23, 2016 at 7:04:44 PM UTC+11, Franziska Ackermann 
wrote:
>
> Hi Gary,
>
> Are you using XMLUI or JSPUI?
>
> Best regards,
> Franziska
>
> Am 23.03.2016 um 01:57 schrieb Gary Browne:
>
> Hi Claudia,
>
> I still can't see a license file. I logged on as an administrator and had 
> a look at the item page (no license visible there, as expected). Then I 
> clicked "Edit..." but the list of bitstreams doesn't list any license 
> (there is only the ORIGINAL bundle). Does this mean no license was 
> submitted with this item or am I looking in the wrong place.
>
> I have checked in the config directory and my changes to the default 
> license are there.
>
> Thanks again for your help.
>
> Regards,G
> Gary
>
> On Wednesday, March 23, 2016 at 11:44:01 AM UTC+11, Gary Browne wrote: 
>>
>> Thanks very much Claudia,
>>
>> That's exactly the information I needed.
>>
>> Regards,
>> Gary
>>
>> On Tuesday, March 22, 2016 at 7:16:09 PM UTC+11, Claudia Jürgen wrote: 
>>>
>>> Hello Gary, 
>>>
>>> the item license is stored in the bundle LICENSE within the item. 
>>> It is usually not visibal to the end user, as the bitstream for license 
>>> is marked as internal in the bitstream format registry. 
>>> So only admins can see it when the are in the edit item mode. 
>>> You can make the license accessible by setting the configuration 
>>> parameter: 
>>> webui.license.show=true 
>>> This will show a button to retrieve the license in the item display. 
>>> As the license inherits the rights like any other bitstream, it might 
>>> still be restricted. 
>>>
>>> The item got it's license either from the license defined in the 
>>> collection it is submitted to or from the default.license. 
>>>
>>> Hope this helps 
>>>
>>> Claudia 
>>>
>>
>

-- 
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] DSpace Licence - where is it?

2016-03-22 Thread Gary Browne
Hi Claudia,

I still can't see a license file. I logged on as an administrator and had a 
look at the item page (no license visible there, as expected). Then I 
clicked "Edit..." but the list of bitstreams doesn't list any license 
(there is only the ORIGINAL bundle). Does this mean no license was 
submitted with this item or am I looking in the wrong place.

I have checked in the config directory and my changes to the default 
license are there.

Thanks again for your help.

Regards,G
Gary

On Wednesday, March 23, 2016 at 11:44:01 AM UTC+11, Gary Browne wrote:
>
> Thanks very much Claudia,
>
> That's exactly the information I needed.
>
> Regards,
> Gary
>
> On Tuesday, March 22, 2016 at 7:16:09 PM UTC+11, Claudia Jürgen wrote:
>>
>> Hello Gary, 
>>
>> the item license is stored in the bundle LICENSE within the item. 
>> It is usually not visibal to the end user, as the bitstream for license 
>> is marked as internal in the bitstream format registry. 
>> So only admins can see it when the are in the edit item mode. 
>> You can make the license accessible by setting the configuration 
>> parameter: 
>> webui.license.show=true 
>> This will show a button to retrieve the license in the item display. 
>> As the license inherits the rights like any other bitstream, it might 
>> still be restricted. 
>>
>> The item got it's license either from the license defined in the 
>> collection it is submitted to or from the default.license. 
>>
>> Hope this helps 
>>
>> Claudia 
>>
>>
>> Am 21.03.2016 um 23:49 schrieb Gary Browne: 
>> > Hi all, 
>> > 
>> > I'm wondering where the DSpace item licence is stored - it doesn't show 
>> up 
>> > in the file list for items if I use or customise the default licence in 
>> the 
>> > GUI. 
>> > 
>> > I wanted to check that my licence customisations worked, but how do I 
>> find 
>> > it?? 
>> > 
>> > Thanks, 
>> > Gary 
>> > 
>>
>> -- 
>> Claudia Juergen 
>> Eldorado 
>>
>> Technische Universität Dortmund 
>> Universitätsbibliothek 
>> Vogelpothsweg 76 
>> 44227 Dortmund 
>>
>> Tel.: +49 231-755 40 43 
>> Fax: +49 231-755 40 32 
>> claudia...@tu-dortmund.de 
>> 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. 
>>
>

-- 
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] DSpace Licence - where is it?

2016-03-22 Thread Gary Browne
Thanks very much Claudia,

That's exactly the information I needed.

Regards,
Gary

On Tuesday, March 22, 2016 at 7:16:09 PM UTC+11, Claudia Jürgen wrote:
>
> Hello Gary, 
>
> the item license is stored in the bundle LICENSE within the item. 
> It is usually not visibal to the end user, as the bitstream for license 
> is marked as internal in the bitstream format registry. 
> So only admins can see it when the are in the edit item mode. 
> You can make the license accessible by setting the configuration 
> parameter: 
> webui.license.show=true 
> This will show a button to retrieve the license in the item display. 
> As the license inherits the rights like any other bitstream, it might 
> still be restricted. 
>
> The item got it's license either from the license defined in the 
> collection it is submitted to or from the default.license. 
>
> Hope this helps 
>
> Claudia 
>
>
> Am 21.03.2016 um 23:49 schrieb Gary Browne: 
> > Hi all, 
> > 
> > I'm wondering where the DSpace item licence is stored - it doesn't show 
> up 
> > in the file list for items if I use or customise the default licence in 
> the 
> > GUI. 
> > 
> > I wanted to check that my licence customisations worked, but how do I 
> find 
> > it?? 
> > 
> > Thanks, 
> > Gary 
> > 
>
> -- 
> Claudia Juergen 
> Eldorado 
>
> Technische Universität Dortmund 
> Universitätsbibliothek 
> Vogelpothsweg 76 
> 44227 Dortmund 
>
> Tel.: +49 231-755 40 43 
> Fax: +49 231-755 40 32 
> claudia...@tu-dortmund.de  
> 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. 
>

-- 
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] DSpace Licence - where is it?

2016-03-21 Thread Gary Browne
Hi all,

I'm wondering where the DSpace item licence is stored - it doesn't show up 
in the file list for items if I use or customise the default licence in the 
GUI.

I wanted to check that my licence customisations worked, but how do I find 
it??

Thanks,
Gary

-- 
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] DSpace Import fails - FileNotFoundException

2016-03-10 Thread Gary Browne
Hi all,

I am trying to test importing into DSpace via simple archive format. This 
is a test on my local machine which has the following setup:

O/S: Ubuntu 15.10
DSpace: 4.1
Tomcat: 8
Java: OpenJDK 1.8.0

I'm using a command like:

$ cd [dspace]/bin
$ ./dspace import -a -e dspace.u...@xyz.com -c 123456789/2 -s ./scans -m 
mapfile -t

The output is:

**Test Run** - not actually importing items.
Destination collections:
Owning  Collection: Scanned Theses
Adding items from directory: ./scans
Generating mapfile: mapfile
Adding item from directory 000613213139-GodboldJane_2012
Loading dublin core from 
./scans/000613213139-GodboldJane_2012/dublin_core.xml
Schema: dc Element: title Qualifier: none Value: The tale of a mermaid: 
a discourse of disharmony
Schema: dc Element: date Qualifier: issued Value: 2012
Processing contents file: 
./scans/000613213139-GodboldJane_2012/contents
java.io.FileNotFoundException: 
./scans/000613213139-GodboldJane_2012/000613213139-GodboldJane_2012.pdf
 
(No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1521)
at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1453)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:913)
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:780)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:567)
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:497)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
java.io.FileNotFoundException: 
./scans/000613213139-GodboldJane_2012/000613213139-GodboldJane_2012.pdf
 
(No such file or directory)
***End of Test Run***
Started: 1457668369080
Ended: 1457668371751
Elapsed time: 2 secs (2671 msecs)

Tomcat is running as user dspace. All directories and files under [dspace] 
are owned by the dspace user. I have even tried chmod 777 on said 
directories.

I don't know what else to do - any help would be much appreciated.

Thanks,
Gary

-- 
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] Custom OAI sets

2016-02-17 Thread Gary Browne
+1 for making this configurable :)

On Wednesday, February 17, 2016 at 2:40:35 AM UTC+11, Claudia Jürgen wrote:
>
> Hi Gary, 
>
> this is not configurable, you can create own sets but these are added as 
> additional sets to a context. 
> Might be a good feature to have the default sets (at the moment all 
> communities and collections) be configurable. 
>
> Hope this helps 
>
> Claudia Jürgen 
>
>
> Am 12.02.2016 um 06:12 schrieb Gary Browne: 
> > Hi all, 
> > 
> > I'm not even sure of the right question to ask here, but I've been 
> lumped 
> > with this task, so here it is. 
> > 
> > We are using DSpace 4.1 on RHEL 6. We are evaluating the Ebsco Discovery 
> > Service (EDS) at our Library, and want to include results from our 
> DSpace 
> > repository. These can be harvested, but in the advanced search section 
> of 
> > the EDS interface, you can limit to a repository "collection". Currently 
> > EDS uses ListSets to list *every* collection in our repository, which 
> > creates a list that is way too long. Is there a way I can expose just 
> the 
> > top level communities through OAI (see the list of Communities on the 
> home 
> > page of http://ses.library.usyd.edu.au/) eg. custom OAI sets? 
> > 
> > The instructions EBSCO have given me are below for reference - I'm 
> having 
> > trouble deciphering Option 2 but I don't think it's the way we want to 
> go 
> > if possible. 
> > 
> > Any advice would be very much appreciated! 
> > 
> > Thanks, 
> > Gary 
> > 
> > 
> ---
>  
>
> > 
> > Can you clarify how we should update the collection limiters to be set 
> up 
> > for your IR database? You can either, 
> > 
> > *1) use setSpec/setName pairs (ListSets parameter in the OAI URL: 
> > http://ses.library.usyd.edu.au/oai/request?verb=ListSets 
> > <http://ses.library.usyd.edu.au/oai/request?verb=ListSets>) to make 
> > limiters. * 
> > 
> > 
> > 
> > OR 
> > 
> > 
> > 
> > *2) create a Collection Name Lookup Table.* 
> > 
> > If your data is harvested via OAI, the  in the sets.xml file 
> will 
> > be used to construct the Collection Name. If your data does not contain 
> > sets, which metadata element contains the Collection Name? If there are 
> no 
> > collection names, please indicate that here: 
> > 
> > 
> > 
> > To ensure your Collection Names are appropriately indicated and 
> displayed, 
> > please submit a lookup table that we can use to map the formats present 
> in 
> > your data set using the Collection Name(s) given in the dataset and 
> > indicate what should be displayed under the Collection facet, Collection 
> > limiters, and on the Full Record display: 
> > 
> > *Name_in_data* –- the text in the designated metadata element (typically 
> > the  value) that we should use for matching to the lookup 
> > 
> > *Facet_Display* --  values should be concise versions of the full name, 
> > with a maximum of approx. 40 characters. (It is neater on the interface 
> > than an extended title). This value will be phrase indexed and will 
> search 
> > exactly that set. 
> > 
> > *Full_Display* --  the full name of your collection or set, as you would 
> > like it to appear on the full record. Will be word indexed. 
> > 
> > *Limiter_group* –- the visible limiter string that will search one or 
> more 
> > facet values. In the example below you could have one limiter value per 
> > facet, or group together under a larger set. 
> > 
> > *Example:*  Collection Name Lookup Table 
> > 
> > [image: 
> > 
> http://www.tfaforms.com/forms/get_image/160593/d56da49b6d9404f0071da6b2a3b92afc-lookup.PNG]
>  
>
> > 
> > 
> > Once we get more information from you, we can update the collection 
> > limiters. 
> > 
> > 
> ---
>  
>
> > 
> > 
> > 
>
> -- 
> Claudia Juergen 
> Eldorado 
>
> Technische Universität Dortmund 
> Universitätsbibliothek 
> Vogelpothsweg 76 
> 44227 Dortmund 
>
> Tel.: +49 231-755 40 43 
> Fax: +49 231-755 40 32 
> claudia...@tu-dortmund.de  
> www.ub.tu-dortmund.de 
>

Re: [dspace-tech] Custom OAI sets

2016-02-17 Thread Gary Browne
Thanks Claudia,

I thought this was the case, but just wanted to check.

Regards,
Gary

On Wednesday, February 17, 2016 at 2:40:35 AM UTC+11, Claudia Jürgen wrote:
>
> Hi Gary, 
>
> this is not configurable, you can create own sets but these are added as 
> additional sets to a context. 
> Might be a good feature to have the default sets (at the moment all 
> communities and collections) be configurable. 
>
> Hope this helps 
>
> Claudia Jürgen 
>
>
> Am 12.02.2016 um 06:12 schrieb Gary Browne: 
> > Hi all, 
> > 
> > I'm not even sure of the right question to ask here, but I've been 
> lumped 
> > with this task, so here it is. 
> > 
> > We are using DSpace 4.1 on RHEL 6. We are evaluating the Ebsco Discovery 
> > Service (EDS) at our Library, and want to include results from our 
> DSpace 
> > repository. These can be harvested, but in the advanced search section 
> of 
> > the EDS interface, you can limit to a repository "collection". Currently 
> > EDS uses ListSets to list *every* collection in our repository, which 
> > creates a list that is way too long. Is there a way I can expose just 
> the 
> > top level communities through OAI (see the list of Communities on the 
> home 
> > page of http://ses.library.usyd.edu.au/) eg. custom OAI sets? 
> > 
> > The instructions EBSCO have given me are below for reference - I'm 
> having 
> > trouble deciphering Option 2 but I don't think it's the way we want to 
> go 
> > if possible. 
> > 
> > Any advice would be very much appreciated! 
> > 
> > Thanks, 
> > Gary 
> > 
> > 
> ---
>  
>
> > 
> > Can you clarify how we should update the collection limiters to be set 
> up 
> > for your IR database? You can either, 
> > 
> > *1) use setSpec/setName pairs (ListSets parameter in the OAI URL: 
> > http://ses.library.usyd.edu.au/oai/request?verb=ListSets 
> > <http://ses.library.usyd.edu.au/oai/request?verb=ListSets>) to make 
> > limiters. * 
> > 
> > 
> > 
> > OR 
> > 
> > 
> > 
> > *2) create a Collection Name Lookup Table.* 
> > 
> > If your data is harvested via OAI, the  in the sets.xml file 
> will 
> > be used to construct the Collection Name. If your data does not contain 
> > sets, which metadata element contains the Collection Name? If there are 
> no 
> > collection names, please indicate that here: 
> > 
> > 
> > 
> > To ensure your Collection Names are appropriately indicated and 
> displayed, 
> > please submit a lookup table that we can use to map the formats present 
> in 
> > your data set using the Collection Name(s) given in the dataset and 
> > indicate what should be displayed under the Collection facet, Collection 
> > limiters, and on the Full Record display: 
> > 
> > *Name_in_data* –- the text in the designated metadata element (typically 
> > the  value) that we should use for matching to the lookup 
> > 
> > *Facet_Display* --  values should be concise versions of the full name, 
> > with a maximum of approx. 40 characters. (It is neater on the interface 
> > than an extended title). This value will be phrase indexed and will 
> search 
> > exactly that set. 
> > 
> > *Full_Display* --  the full name of your collection or set, as you would 
> > like it to appear on the full record. Will be word indexed. 
> > 
> > *Limiter_group* –- the visible limiter string that will search one or 
> more 
> > facet values. In the example below you could have one limiter value per 
> > facet, or group together under a larger set. 
> > 
> > *Example:*  Collection Name Lookup Table 
> > 
> > [image: 
> > 
> http://www.tfaforms.com/forms/get_image/160593/d56da49b6d9404f0071da6b2a3b92afc-lookup.PNG]
>  
>
> > 
> > 
> > Once we get more information from you, we can update the collection 
> > limiters. 
> > 
> > 
> ---
>  
>
> > 
> > 
> > 
>
> -- 
> Claudia Juergen 
> Eldorado 
>
> Technische Universität Dortmund 
> Universitätsbibliothek 
> Vogelpothsweg 76 
> 44227 Dortmund 
>
> Tel.: +49 231-755 40 43 
> Fax: +49 231-755 40 32 
> claudia...@tu-dor

[dspace-tech] Custom OAI sets

2016-02-11 Thread Gary Browne
Hi all,

I'm not even sure of the right question to ask here, but I've been lumped 
with this task, so here it is.

We are using DSpace 4.1 on RHEL 6. We are evaluating the Ebsco Discovery 
Service (EDS) at our Library, and want to include results from our DSpace 
repository. These can be harvested, but in the advanced search section of 
the EDS interface, you can limit to a repository "collection". Currently 
EDS uses ListSets to list *every* collection in our repository, which 
creates a list that is way too long. Is there a way I can expose just the 
top level communities through OAI (see the list of Communities on the home 
page of http://ses.library.usyd.edu.au/) eg. custom OAI sets?

The instructions EBSCO have given me are below for reference - I'm having 
trouble deciphering Option 2 but I don't think it's the way we want to go 
if possible.

Any advice would be very much appreciated!

Thanks,
Gary

---

Can you clarify how we should update the collection limiters to be set up 
for your IR database? You can either, 

*1) use setSpec/setName pairs (ListSets parameter in the OAI URL: 
http://ses.library.usyd.edu.au/oai/request?verb=ListSets 
) to make 
limiters. *

 

OR

 

*2) create a Collection Name Lookup Table.*

If your data is harvested via OAI, the  in the sets.xml file will 
be used to construct the Collection Name. If your data does not contain 
sets, which metadata element contains the Collection Name? If there are no 
collection names, please indicate that here:

 

To ensure your Collection Names are appropriately indicated and displayed, 
please submit a lookup table that we can use to map the formats present in 
your data set using the Collection Name(s) given in the dataset and 
indicate what should be displayed under the Collection facet, Collection 
limiters, and on the Full Record display:

*Name_in_data* –- the text in the designated metadata element (typically 
the  value) that we should use for matching to the lookup

*Facet_Display* --  values should be concise versions of the full name, 
with a maximum of approx. 40 characters. (It is neater on the interface 
than an extended title). This value will be phrase indexed and will search 
exactly that set.

*Full_Display* --  the full name of your collection or set, as you would 
like it to appear on the full record. Will be word indexed.

*Limiter_group* –- the visible limiter string that will search one or more 
facet values. In the example below you could have one limiter value per 
facet, or group together under a larger set.  

*Example:*  Collection Name Lookup Table  

[image: 
http://www.tfaforms.com/forms/get_image/160593/d56da49b6d9404f0071da6b2a3b92afc-lookup.PNG]

 
Once we get more information from you, we can update the collection 
limiters. 

---



-- 
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.