[dspace-tech] Can't view/download files

2018-05-15 Thread Javier Távara
Hi.
I'm having some weird problem.

First my DSpace 5.5 instance started to go offline because a PostgreSQL 9.5 
problem:

2018-05-15 18:23:12,885 ERROR org.dspace.storage.rdbms.DatabaseManager @ 
SQL connection Error - 

org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool 
error Timeout waiting for idle object

With the help of Tim Donohue, I could sort out the problem with the 
following 
options: 
https://stackoverflow.com/questions/30778015/how-to-increase-the-max-connections-in-postgres/32584211#32584211

Some minutes after, I realized I could not view or download any bitstreams. 
The browser shows 500 Internal Server Error after some seconds of loading 
(timeout), and I can't find any related log entries (nothing on dspace.log, 
catalina.out, localhost.log, postgres logs).

I didn't remember if I updated anything, but either way I reinstalled and 
updated the JDK to 1.8 and did a "yum update". Everything went fine for 
some minutes and then, 500 error again. The repository is accesible, I can 
browse without any problems, except for the bitstreams.

I really don't know if the options noted in Stackoverflow produced 
something like this. I reverted the config but the SQL connections error 
started again.

I hope you have any idea what could be happening.

Thanks.
Javier.

-- 
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] Re: ldap.login.groupmap.attribute

2018-05-15 Thread Fitchett, Deborah
I don’t know enough to know if these are relevant, but differences between your 
config and ours are:

· Our authentication-ldap.object_context and 
authentication-ldap.search_context don’t have the slashes, just commas, eg 
OU=TEST,DC=prod,DC=local

· Our authentication-ldap.search.user is in the form 
cn=xx,cn=users,dc=prod,dc=local

I haven’t used the groupmap functionality, but I’d check:

· Possibly the attribute is case sensitive, in which case try memberOf

· And (at least in our Active Directory) the memberOf attributes 
contain a full path rather than just a group name, eg 
cn=AllStudents,ou=Student,dc=prod,dc=local – so I’d try putting all of that 
(exactly as it’s in your AD) to the left of the :

Deborah

From: dspace-tech@googlegroups.com  On Behalf Of 
Diego Spano
Sent: Wednesday, 16 May 2018 8:39 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Re: ldap.login.groupmap.attribute

Any help?!?!?

El miércoles, 9 de mayo de 2018, 12:51:56 (UTC-3), Diego Spano escribió:
Hi. I have my Dspace instance connected with my LDAP server (Active directory). 
I need to assign a dspace group based on LDAP group where the user belongs. I 
think this is possible with the feature "ldap.login.groupmap.attribute". In 
other words, I want that users taht belong to LDAP group named "students" be 
part of DSpace group named "GroupA". I created "GroupA" in DSpace, the user can 
login with no problem but the groups is not assigned!.


This is my authentication-ldap.cfg  configuration:


#---#
#LDAP AUTHENTICATION CONFIGURATIONS-#
#---#
authentication-ldap.enable = true
authentication-ldap.autoregister = true
authentication-ldap.provider_url = ldap://prod.local:389/
authentication-ldap.id_field = sAMAccountName
authentication-ldap.object_context = OU=TEST\,DC=prod\,DC=local
authentication-ldap.search_context = OU=TEST\,DC=prod\,DC=local
authentication-ldap.email_field = mail

# LDAP users group #
#authentication-ldap.login.specialgroup = GrupoLDAP
authentication-ldap.search_scope = 2
authentication-ldap.search.anonymous = false
authentication-ldap.search.user = y@prod.local
authentication-ldap.search.password = xxx
authentication-ldap.netid_email_domain = @prod.org

# If this property is uncommented, it changes the meaning of the left part of
# the groupmap value (before the ":") as follows.
# The value of login.groupmap.attribute specifies the name of an LDAP attribute.
# If user has this attribute, look up the value of this attribute in the left
# part of the groupmap value (before the ":"). If it's found, assign user to
# the DSpace group specified by the right part of the groupmap value (after
# the ":").

authentication-ldap.login.groupmap.attribute = memberof
authentication-ldap.login.groupmap.1 = students:GroupA


I also tried with "authentication-ldap.login.groupmap.attribute = group" but 
the problem still remains. Any help!?

Thanks in advance.

Diego

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

P Please consider the environment before you print this email.
"The contents of this e-mail (including any attachments) may be confidential 
and/or subject to copyright. Any unauthorised use, distribution, or copying of 
the contents is expressly prohibited. If you have received this e-mail in 
error, please advise the sender by return e-mail or telephone and then delete 
this e-mail together with all attachments from your system."

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: ldap.login.groupmap.attribute

2018-05-15 Thread Diego Spano
Any help?!?!?

El miércoles, 9 de mayo de 2018, 12:51:56 (UTC-3), Diego Spano escribió:
>
> Hi. I have my Dspace instance connected with my LDAP server (Active 
> directory). I need to assign a dspace group based on LDAP group where the 
> user belongs. I think this is possible with the feature 
> "ldap.login.groupmap.attribute". In other words, I want that users taht 
> belong to LDAP group named "students" be part of DSpace group named 
> "GroupA". I created "GroupA" in DSpace, the user can login with no problem 
> but the groups is not assigned!.
>
>
> This is my authentication-ldap.cfg  configuration:
>
>
> #---#
> #LDAP AUTHENTICATION CONFIGURATIONS-#
> #---#
> authentication-ldap.enable = true
> authentication-ldap.autoregister = true
> authentication-ldap.provider_url = ldap://prod.local:389/
> authentication-ldap.id_field = sAMAccountName
> authentication-ldap.object_context = OU=TEST\,DC=prod\,DC=local
> authentication-ldap.search_context = OU=TEST\,DC=prod\,DC=local
> authentication-ldap.email_field = mail
>
> # LDAP users group #
> #authentication-ldap.login.specialgroup = GrupoLDAP
> authentication-ldap.search_scope = 2
> authentication-ldap.search.anonymous = false
> authentication-ldap.search.user = y@prod.local
> authentication-ldap.search.password = xxx
> authentication-ldap.netid_email_domain = @prod.org
>
> # If this property is uncommented, it changes the meaning of the left part 
> of
> # the groupmap value (before the ":") as follows.
> # The value of login.groupmap.attribute specifies the name of an LDAP 
> attribute.
> # If user has this attribute, look up the value of this attribute in the 
> left
> # part of the groupmap value (before the ":"). If it's found, assign user 
> to
> # the DSpace group specified by the right part of the groupmap value (after
> # the ":").
>
> authentication-ldap.login.groupmap.attribute = memberof
> authentication-ldap.login.groupmap.1 = students:GroupA
>
>
> I also tried with "authentication-ldap.login.groupmap.attribute = group" 
> but the problem still remains. Any help!?
>
> Thanks in advance.
>
> Diego
>
>

-- 
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] Question about health check results

2018-05-15 Thread George Kozak
Ondrej:
Thank you.  That makes sense.
George Kozak
Cornell University

On Tue, May 15, 2018 at 11:18 AM Ondřej Košarko 
wrote:

> Technically the value is the number of results of the following sql query
> "SELECT bitstream_id FROM bitstream WHERE deleted<>true AND bitstream_id
> NOT IN (SELECT resource_id FROM resourcepolicy WHERE resource_type_id=0)",
> which gets you the bistreams that are not deleted, but are not in the
> resourcepolicy table.
> Why there would be no policy on one of your bitstreams I cannot tell.
> Maybe someone removed it on purpose/by accident and made the bitstream
> unavailable; maybe something went wrong while importing, moving between
> collections or something like that.
>
> Hope it's at least a starting point for you.
> Regards,
> Ondrej Kosarko
>
> 2018-05-02 20:50 GMT+02:00 George Kozak :
>
>> We are using DSpace 6.2 XMLUI with modified Mirage2 theme.  We recently
>> started running the health check report.  We need to understand one item on
>> the report "Resource without Policy" appears on the report, but we are not
>> sre what that refers to.  Is there some documentation for the health check
>> report.  I couldn't find any details on the web.
>>
>> --
>> ***
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>> g...@cornell.edu
>>
>> --
>> 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.
>>
> --
> 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.
>
-- 
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
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] Question about health check results

2018-05-15 Thread Ondřej Košarko
Technically the value is the number of results of the following sql query
"SELECT bitstream_id FROM bitstream WHERE deleted<>true AND bitstream_id
NOT IN (SELECT resource_id FROM resourcepolicy WHERE resource_type_id=0)",
which gets you the bistreams that are not deleted, but are not in the
resourcepolicy table.
Why there would be no policy on one of your bitstreams I cannot tell. Maybe
someone removed it on purpose/by accident and made the bitstream
unavailable; maybe something went wrong while importing, moving between
collections or something like that.

Hope it's at least a starting point for you.
Regards,
Ondrej Kosarko

2018-05-02 20:50 GMT+02:00 George Kozak :

> We are using DSpace 6.2 XMLUI with modified Mirage2 theme.  We recently
> started running the health check report.  We need to understand one item on
> the report "Resource without Policy" appears on the report, but we are not
> sre what that refers to.  Is there some documentation for the health check
> report.  I couldn't find any details on the web.
>
> --
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
> g...@cornell.edu
>
> --
> 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.
>

-- 
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] The Developer Show and Tell (Docker) is In Progress

2018-05-15 Thread Terry Brady
The DEV Show and Tell meeting is starting now.
https://wiki.duraspace.org/display/DSPACE/Dev+Show+and+Tell+-+May+15%2C+2018+-+1500UTC

https://duraspace.zoom.us/my/dspace

-- 
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] Re: Summary of date issued limited to last 10 years

2018-05-15 Thread eanasagasti

Any luck on this issue? 
I have found this other discussion, but they are talking about hiding it 
instead.
https://groups.google.com/forum/#!searchin/dspace-tech/date$20issued|sort:date/dspace-tech/dOno8dXeKns/5SaYem9CBAAJ

Also it looks like for Dspace 6.2 issue dates are shown as ranges. Does 
anyone know how to backport this feature to 5.X ?

Thanks

El miércoles, 6 de diciembre de 2017, 11:09:51 (UTC+1), Johan Engelbrecht 
escribió:
>
> On the first page of our institutional repository, the summary of the 
> dates issued in the bottom right hand corner is limited to the last 10 
> years only. How do I increase this?
>

-- 
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] embargo

2018-05-15 Thread Manjunath Sajjan
 I would like to know even if it is possible to change the date of an
embargo on an item after that it is submitted. And add/remove embargo date.
How to achieve these?.




__

Best Regards,
Manjunath Sajjan

-- 
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] Re: DSpace Developer Show and Tell: DSpace and Docker - May 15, 2018 at 15:00 UTC

2018-05-15 Thread Vinicius Assef
Thank you for this reminder.

I'm particularly interested in docker and DSpace.



On 14 May 2018 at 15:12, Terry Brady  wrote:
> This is a reminder that the DSpace Developer Show and Tell will take place
> tomorrow.
>
> The topic for this month is DSpace and Docker.  See the details below.
>
> Terry
>
> On Wed, May 2, 2018 at 8:16 AM, Terry Brady 
> wrote:
>>
>> The next DSpace Developer Show and Tell will take place on May 15, 2018 at
>> 15:00.  The focus of the meeting will be developing and testing DSpace using
>> Docker.
>>
>> Agenda
>>
>> DSpace and Docker – Pascal Becker
>> Oracle Testing Using Docker – Tom Desair
>>
>> See the following page for details.
>>
>>
>> https://wiki.duraspace.org/display/DSPACE/Dev+Show+and+Tell+-+May+15%2C+2018+-+1500UTC
>>
>> Terry
>>
>> --
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> https://github.com/terrywbrady/info
>> 425-298-5498 (Seattle, WA)
>
>
>
>
> --
> 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.

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