[dspace-tech] Mysterious Google Search Console Error

2019-07-03 Thread Monika Mevenkamp
The search console complains about two links producing the same results
https://oar.princeton.edu/jspui/bitstream/Users/f-554/Library/Caches/Adobe 
InDesign/Version 7.0/en_GB/InDesign 
ClipboardScrap1.pdf<https://oar.princeton.edu/jspui/bitstream/Users/f-554/Library/Caches/Adobe%20InDesign/Version%207.0/en_GB/InDesign%20ClipboardScrap1.pdf>

https://oar.princeton.edu/jspui/bitstream/Applications/Adobe InDesign CS6/Adobe 
InDesign CS6.app/Contents/MacOS/InDesign 
ClipboardScrap1.pdf<https://oar.princeton.edu/jspui/bitstream/Applications/Adobe%20InDesign%20CS6/Adobe%20InDesign%20CS6.app/Contents/MacOS/InDesign%20ClipboardScrap1.pdf>

I agree that these two links produce the same result, neither exists and leads 
to the error page

The search console admits for both links:
Referring page: None detected
URL might be known from other sources that are currently not reported

What other source could that be ?
I checked in the database there is no metadata value for bitstreams that 
correspond to even part of these mysterious URLs.

In case it matters: this is a version 5 repo

Did anybody else encounter similar mysteries ?

Thanks

Monika




--
Monika Mevenkamp
OIT Princeton University
701 Carnegie Center – 331C
Phone: 609-258-4161
Skype: mo-meven

-- 
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/BL0PR06MB499370EA2EE5E3E357716843ADFB0%40BL0PR06MB4993.namprd06.prod.outlook.com.


[dspace-tech] Bug or Feature in Rest API ?

2019-06-19 Thread Monika Mevenkamp

I have been looking at the demo.dspace.org/rest api

https://demo.dspace.org/rest/hierarchy
gives a tree for communities and collections – looking for ‘Sample Community’ 
is listed there

  10673/1
  ff19bb02-4b01-4150-a7ff-997a9a9f89c2
  Sample Community


https://demo.dspace.org/rest/communities/top-communities
lists the top level communities
I expected to find ‘Sample Community’ listed – but can’t find it

Is this a bug or am I abusing the rest API ?

Monika

--
Monika Mevenkamp
OIT Princeton University
701 Carnegie Center – 331C
Phone: 609-258-4161
Skype: mo-meven

-- 
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/BL0PR06MB49931C643160BE63FD9EFCEDADE50%40BL0PR06MB4993.namprd06.prod.outlook.com.


[dspace-tech] DSpace7

2019-06-18 Thread Monika Mevenkamp
I finally took the time to have a look at the demo site. Looks like a lot of 
good progress.
Congrats and thank you to all of you who have put in the effort !

What is the interest level on getting users/tester feedback at this point ?
Maybe I (or others) can help out on that end. Since testing is not quite as 
time intensive as actual coding  there is possibly a bigger pool of volunteers.

Monika

--
Monika Mevenkamp
OIT Princeton University
701 Carnegie Center – 331C
Phone: 609-258-4161
Skype: mo-meven

-- 
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/BL0PR06MB4993D5735A46A6DEF5C2E035ADEA0%40BL0PR06MB4993.namprd06.prod.outlook.com.


Re: [dspace-tech] Unable to delete person

2019-05-22 Thread Monika Mevenkamp
The underlying dspace-api models do not allow deleting an eperson iff the 
person submitted items.
I simply set the account – to can’t log in.

Monika


--
Monika Mevenkamp
OIT Princeton University
701 Carnegie Center – 331C
Phone: 609-258-4161
Skype: mo-meven

From:  on behalf of George Kozak 

Date: Wednesday, May 22, 2019 at 9:52 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Unable to delete person

Hello, we are using DSpace 6.3 XMLUI (modified Mirage2 theme).  I went to 
delete a person from DSpace instance (someone whose email gets returned) and 
found that the delete function was grey'ed out, but it appears to be just for 
that person.   Other users did not have this problem.  Has anyone encountered 
this before?  Any suggestions as to why this person (with a Turkish email is 
undeletable?)

--
***
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu<mailto:g...@cornell.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<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBViDwUDSykEyppXct%2BPJKH8QZDvozj11jPTMEPxQ5HXQ%40mail.gmail.com<https://groups.google.com/d/msgid/dspace-tech/CAB8VfOBViDwUDSykEyppXct%2BPJKH8QZDvozj11jPTMEPxQ5HXQ%40mail.gmail.com?utm_medium=email_source=footer>.

-- 
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/BL0PR06MB499327FBEB41A2C7E52EECAEAD000%40BL0PR06MB4993.namprd06.prod.outlook.com.


[dspace-tech] Re: [dspace-community] How to delete collection from backend / SQL

2019-04-16 Thread Monika Mevenkamp

My guess is that there are submissions in the workflow for the collection you 
are trying to remove
What do the logs say ?  You get a lot of detail if you crank up logging to 
DEBUG in log4j.properties in your install directory
If you delete in the web UI – you’ll have to restart the application to 
activate log4j.properties  changes

Monika



From:  on behalf of Lewatle Johannes Phaladi 

Date: Tuesday, April 16, 2019 at 9:10 AM
To: DSpace Community 
Subject: [dspace-community] How to delete collection from backend / SQL

Hi All,

I am getting error when deleting collection on dspace test, I would like to use 
any alternative way to delete collection or community.

Regards,
Lewatle
--
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 Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-community+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-commun...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

-- 
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] Problems using pg_restore to populate repository db

2019-01-31 Thread Monika Mevenkamp
Kevin

You may want to reindex solo - a lot of the listing functionality (at least in 
JSPUI) rely on the sole index .

> $DSPACE_HOME/bin/dspace index-discovery -f

-f (for force)  may not be necessary - bur can’t hurt 


Monika

--—
Monika Mevenkamp 
OIT - Princeton University 
Phone: 609 258 4161 
Skype: mo-meven



> On Jan 30, 2019, at 4:07 PM, Kev Evans  wrote:
> 
> Hi,
> 
> After having problems using  AIP packages to export an entire site I am 
> rsyncing the  assetstore and using pg_dump and pg_restore.
> 
> I have restored the dump into an existing database but even though it 
> completes successfully. I see nothing new in the repository apart from the 
> initial Test community and collections and items. 
> 
> My questions are do I drop and recreate the  database and then  the 
> pg_restore the dump? Or is it as simple  as rebuilding the discovery index?
> 
> Unsure of my next step. Please help.
> 
> Kevin
> 
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code of 
> Conduct: https://duraspace.org/about/policies/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 
> <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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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] Re: streamlined upload with standalone app ?

2018-11-29 Thread Monika Mevenkamp
We’d want to allow everybody who can get through to the form (firewalls, 
authentication/CAS)  to be able to submit – the form would then be trusted to 
upload to collections we tell it about.  Plus we’d be able to set the form up 
with help text and what not as we like.

We do not want autocreation of accounts on our repository instance.

Monika

--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From:  on behalf of "Mark H. Wood" 

Date: Thursday, November 29, 2018 at 9:58 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Re: streamlined upload with standalone app ?

I'm curious:  how would this differ from slashing all of the non-required 
fields and panels out of the DSpace input forms and just submitting to DSpace 
directly?
--
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<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.

-- 
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] While uploading items in DSpace we are facing the below problem

2018-11-28 Thread Monika Mevenkamp

If you do not have an upload directory. You need to create one
Did you check whether the directory exists ?

--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


On Nov 27, 2018, at 10:58 PM, ANJANA BUNKAR 
mailto:anjana.bun...@paruluniversity.ac.in>>
 wrote:
so, is there any solution of this problem?

On Tue, Nov 27, 2018, 19:15 Monika Mevenkamp 
mailto:mome...@gmail.com>> wrote:
The problem may be that you do not have a /dspace/upload directory
The dspace user should be able o create files in that directory

Monika


--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From: ANJANA BUNKAR 
mailto:anjana.bun...@paruluniversity.ac.in>>
Date: Tuesday, November 27, 2018 at 1:02 AM
To: "mome...@gmail.com<mailto:mome...@gmail.com>" 
mailto:mome...@gmail.com>>
Subject: Re: [dspace-tech] While uploading items in DSpace we are facing the 
below problem

PFA of DSpace Error
Ms. Anjana R. Bunkar
Librarian
Parul Inst. of Pharmacy & Research
Faculty of Pharmacy
Parul University



On Tue, Nov 27, 2018 at 11:11 AM ANJANA BUNKAR 
mailto:anjana.bun...@paruluniversity.ac.in>>
 wrote:
My problem is : I am facing a problem in Item Submission Process. In this 
process, when we uploading a file (File Form is PDF) and press the  Next 
Button,  instead of Review Step , the below message is showing:

arul University<http://180.211.118.147:8080/xmlui/>
No such file or directory

Login<http://180.211.118.147:8080/xmlui/handle/123456789/106/submit/1e3b6e1313871d15416982721a3e4d201655625d.continue>

* DSpace Home<http://180.211.118.147:8080/xmlui>

No such file or directory

Go to DSpace home<http://180.211.118.147:8080/xmlui/>

Please contact the site administrator if you wish to report this error. If 
possible, please provide details about what you were doing at the time this 
error occurred.

Contact site administrator<http://180.211.118.147:8080/xmlui/contact> || Show 
underlying error 
stack<http://180.211.118.147:8080/xmlui/handle/123456789/106/submit/1e3b6e1313871d15416982721a3e4d201655625d.continue>

Search DSpace

DSpace software<http://www.dspace.org/> copyright © 2002-2015  
DuraSpace<http://www.duraspace.org/>
Theme by   <http://atmire.com/>
Contact Us<http://180.211.118.147:8080/xmlui/contact> | Send 
Feedback<http://180.211.118.147:8080/xmlui/feedback>

Kindly do the needful.

Ms. Anjana R. Bunkar
Librarian
Parul Inst. of Pharmacy & Research
Faculty of Pharmacy
Parul University



On Mon, Nov 26, 2018 at 8:28 PM Monika Mevenkamp 
mailto:mome...@gmail.com>> wrote:
Anjana

This is not enough information to figure your problem out.
Please reproduce the problem and resend with the section of your dspace.log 
file that shows the traces produced. Expect to find Exceptions. The file is 
usually at /dspace/log/dspace.log

Monika


--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From: mailto:dspace-tech@googlegroups.com>> on 
behalf of 
"anjana.bun...@paruluniversity.ac.in<mailto:anjana.bun...@paruluniversity.ac.in>"
 
mailto:anjana.bun...@paruluniversity.ac.in>>
Date: Monday, November 26, 2018 at 4:01 AM
To: DSpace Technical Support 
mailto:dspace-tech@googlegroups.com>>
Subject: [dspace-tech] While uploading items in DSpace we are facing the below 
problem

While uploading items in DSpace  we are facing the below problem




No such file or directory

Go to DSpace home<http://180.211.118.147:8080/xmlui/>

Please contact the site administrator if you wish to report this error. If 
possible, please provide details about what you were doing at the time this 
error occurred.

Contact site administrator<http://180.211.118.147:8080/xmlui/contact> || Show 
underlying error 
stack<http://180.211.118.147:8080/xmlui/handle/123456789/780/submit/888d0b4e5c707f4b77156e4b125e003d4c6a1719.continue>
--
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<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.

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

[dspace-tech] streamlined upload with standalone app ?

2018-11-28 Thread Monika Mevenkamp
We would love to set something up where researchers can upload a publication to 
a simple online form, where they fill in a couple fields, title, abstract, … 
and upload a file  then push submit. Ideally the form would push the data to a 
DSPACE instance’s workflow. Alternatively the data would be stored and a script 
would be able to grab it and transfer to designated DSPACE instance – aka a 
workflow.

Does anybody know of an implementation of this or something similar ?
We run DSpace 5 with the REST API.

Monika

--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


-- 
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] Policies for Collection

2018-11-27 Thread Monika Mevenkamp

Reza

I am afraid you have two choices – either choice manually one-by-one as you 
suggest
Or write a curation task that visits all collections and changes the policies. 
This involves JAVA programming.
See https://wiki.duraspace.org/display/DSDOC6x/Curation+System

Monika


--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From: reza shams 
Date: Wednesday, November 14, 2018 at 7:50 AM
To: "mome...@gmail.com" 
Subject: Re: [dspace-tech] Policies for Collection

Dear Monika,
Really thanks for your reply.
Yes, exactly it is my problem.
But what about current collections?  now I have a lot of collections . should I 
change policies by one theough user interface?
Is there any solution?
Thanks

On Tue, Nov 13, 2018 at 6:49 PM Monika Mevenkamp 
mailto:mome...@gmail.com>> wrote:
Reza

Do you expect creating more collections that should have non default 
authorizations ?
Is there one default for all collections current and future ?
If that is true – you could change the code that creates collections to use 
your defaults instead of what is currently implemented

In the master branch the code is 
HERE<https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/CollectionServiceImpl.java#L124-L129>
In 6_x it is 
HERE<https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/CollectionServiceImpl.java#L105-L112>

Monika

--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From: mailto:dspace-tech@googlegroups.com>> on 
behalf of reza shams mailto:rezasham...@gmail.com>>
Date: Tuesday, November 13, 2018 at 5:34 AM
To: DSpace Technical Support 
mailto:dspace-tech@googlegroups.com>>
Subject: Re: [dspace-tech] Policies for Collection

Thanks for your answer.
My concern is about new items. So I need to add policies to all the collections 
(not to items).  'Advanced Policy Manager'  is for previous items.  For 
example, if a user adds an item to the collection,  it would get those 
policies.   Moreover, what if a user creates a new collection.  As a whole, I 
wanna set some policies to all items (previous items and future items).
Thanks.

On Tuesday, November 13, 2018 at 10:49:41 AM UTC+3:30, Paul Münch wrote:
Hello,

per default you can not address all communities or collection at once. In XMLUI 
it is possible as system administrator to use the 'Advanced Policy Manager' ( 
'Access Control' -> 'Authorizations' -> 'Advanced authorizations tools'). With 
this tool you can grant or restrict rights on items from selected collections.

If this is not enough, maybe a own implemented Curation Task 
(https://wiki.duraspace.org/display/DSDOC6x/Curation+System) could be a helpful.

Kind regards,

Paul Münch
Am 12.11.18 um 13:16 schrieb reza shams:
Hi
 I faced a problem.   I could add policies for a collection.  but is there any 
solution to add policies to all collections?
moreover,  how should I  restrict access to bitstream in all communities rather 
than collections?

Thanks in advance.
--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--

Philipps-Universität Marburg | UB

Digitale Dienste | Deutschhausstraße 9 | D018

Tel. +49 06421 28-24624

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

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: [dspace-community] java.lang.RuntimeException: Can't create an Identifier!

2018-11-27 Thread Monika Mevenkamp
The code line where this fails is

public Item installItem(Context c, InProgressSubmission is,
String suppliedHandle) throws SQLException,
AuthorizeException
{
Item item = is.getItem();
Collection collection = is.getCollection();
try {
if(suppliedHandle == null)
{
identifierService.register(c, item);
}else{
identifierService.register(c, item, suppliedHandle);
}
} catch (IdentifierException e) {
throw new RuntimeException("Can't create an Identifier!", e);
}


Since the item comes from another instance it already has a handle, which the 
code reads from the ‘handle’ file.

Are you using the same handler service in the old and new instance ?
Is the DNS name of the new instance different from the old ?
I am not sure how the different IdentifierProvider Implementations deal with 
re-registering existing identifiers

Monika


--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From:  on behalf of Dkinsley 

Date: Tuesday, November 27, 2018 at 10:17 AM
To: DSpace Community 
Subject: [dspace-community] java.lang.RuntimeException: Can't create an 
Identifier!

I'm attempting to import records to my DSpace 6.3 instance through command line 
and am being met with this error:

Adding item from directory 0
Loading dublin core from 
/usr/local/dspace/imports/DaSCB.zip/DaSCB_docs/0/dublin_core.xml
Schema: dc Element: contributor Qualifier: author Value: Jean Rech and 
Clives S. Leyman
Schema: dc Element: date Qualifier: accessioned Value: 
2008-11-18T00:10:17Z
Schema: dc Element: date Qualifier: available Value: 
2008-11-18T00:10:17Z
Schema: dc Element: date Qualifier: issued Value: 2008-11-18T00:10:17Z
Schema: dc Element: identifier Qualifier: uri Value: /handle/2121/142100
Schema: dc Element: description Qualifier: provenance Value: Made 
available in DSpace on 2008-11-18T00:10:17Z (GMT). No. of bitstreams: 1
A Case Study by Aerospatiale and British Aerospace on the Co.pdf: 3420143 
bytes, checksum: 02676b5a4db184e00a4e1907afe30714 (MD5)
Schema: dc Element: title Qualifier: none Value: A Case Study by 
Aerospatiale and British Aerospace on the Concorde
Schema: dc Element: type Qualifier: none Value: Document
Schema: dc Element: subject Qualifier: categories Value: Dynamics and 
Systems Control Branch documents (Carey Buttrill)
Schema: dc Element: contributor Qualifier: corpAuthor Value: AIAA
Schema: dc Element: identifier Qualifier: sfxLinkoff Value: Y
Processing contents file: 
/usr/local/dspace/imports/DaSCB.zip/DaSCB_docs/0/contents
Bitstream: A Case Study by Aerospatiale and British Aerospace on the 
Co.pdf Bundle: ORIGINAL
Bitstream: A Case Study by Aerospatiale and British Aerospace on the 
Co.pdf.txt Bundle: TEXT
Bitstream: license.txt  Bundle: LICENSE
Processing handle file: handle
read handle: '2121/142100'
java.lang.RuntimeException: Can't create an Identifier!
at 
org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:74)
at 
org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:516)
at 
org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:338)
at 
org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:375)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
Caused by: org.dspace.identifier.IdentifierException: Cannot register 
identifier: Didn't find a provider that supports this identifier.
at 
org.dspace.identifier.IdentifierServiceImpl.register(IdentifierServiceImpl.java:123)
at 
org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:71)
... 9 more
java.lang.RuntimeException: Can't create an Identifier!


This instance already has over 30,000 records on it from a different dspace 
instance (version 3.3) and i'm trying to start my next round of imports from 
yet another dspace instance (this one is version 5.5) but i'm suddenly being 
met with this error.  I've searched for solutions but i haven't found anything 
useful yet.  I'd appreciate any help at all.

Thanks

--
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 Community" group.

[dspace-tech] Re: [dspace-community] mail setting error

2018-11-27 Thread Monika Mevenkamp

This is not enough information to analyze your problem
Please recreate the issue and send the relevant traces from the 
/dspace/log/dspace.log  file.
You should except to find Exceptions

Monika

--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From:  on behalf of sanjit paswan 

Date: Tuesday, November 27, 2018 at 9:34 AM
To: DSpace Community 
Subject: [dspace-community] mail setting error

Hello everyone,

earlier mail services was working but now it saying
" Internal System Error

The system has experienced an internal error. Please try to do what you were 
doing again, and if the problem persists, please contact us so we can fix the 
problem. "




may be i made some changes but now i try to rectify but the situation is still 
same. plz help me to come out from this problem`
--
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 Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-community+unsubscr...@googlegroups.com<mailto:dspace-community+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-commun...@googlegroups.com<mailto:dspace-commun...@googlegroups.com>.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

-- 
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] Replication Server or Secondary Server

2018-11-27 Thread Monika Mevenkamp

Do you run the database on the same server ?   Assuming the answer is yes – you 
would have to sync the contents of the database to the backup server’s locally 
installed database

If you keep the /dspace directory in an NSF file system – you could simply 
mount the file system on the backup server – Otherwise you would have to sync  
files

How do you plan to handle failover ? Do you have a load balancer/proxy server  
in front of the DSpace instance to handle fall over ?
Do you run on local VMs or in the Cloud ?   There is all sorts of support for 
this kind of stuff in AWS for example.

Monika



--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From:  on behalf of avinash 
Date: Monday, November 26, 2018 at 11:37 PM
To: "dspace-tech@googlegroups.com" 
Subject: [dspace-tech] Replication Server or Secondary Server

Dear Team,

We had installed Same Verion of dsapce in Two machine for backup purpose, we 
are looking for second machine get the all daily update from our primary 
machine, if our primery Dspace Machine is get down.




Regards,
Avinash
Tower 2A, 4th Floor
Studio No 405
One Indiabulls Centre,
Lower Parel, Mumbai 400013
Mobile :  +91-9320 90 1608
Email: 
avinash<mailto:avin...@isdi.in>@isdi.in<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fisdi.in%2F=02%7C01%7Csarali%40adobe.com%7C43321a159e324386b97108d6399668da%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636759715511348166=1%2FxUlQOXls15YSxSFtTLhn0EAOq6rCoULNyxRYBwGsk%3D=0>
Website: 
https://www.isdi.in<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isdi.in%2F=02%7C01%7Csarali%40adobe.com%7C43321a159e324386b97108d6399668da%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636759715511348166=yjFyIuPVYg5R2PTbdEWNCbf0WpJnCoCbg%2FCAg5vo1HA%3D=0>

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

-- 
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] Re: DOI and XMLUI

2018-11-23 Thread Monika Mevenkamp

My best guess is that the DOI service uses the dspace.baseUr setting from your 
dspace.cfg file 

I would also recommend for a production system to configure your web server to 
proxy from  8080   to port 80   

Monika

--—
Monika Mevenkamp 
OIT - Princeton University 
Phone: 609 258 4161 
Skype: mo-meven


> On Nov 22, 2018, at 2:23 AM, Massimiliano CILURZO  wrote:
> 
> No one couold give me an advice for this?
> Thanks
> Best regards
> Massimiliano
> 
> Il giorno giovedì 15 novembre 2018 10:32:06 UTC+1, Massimiliano CILURZO ha 
> scritto:
> Dear all,
> We are using DSPACE 5 and we have implemented the DOI configuration.
> But now if you click on the DOI URL you are redirected to our JSPUI interface 
> so I wonder if it is possible to redirect to the XMLUI interface
> For example now the doi is 10.1/-68 and it goes to  
> 
> http://YYY.acc.ab:8080/jspui/handle/10XXX/1 
> <http://elea.unisa.it:8080/jspui/handle/10556/1183>xxx
> 
> Is it possible to change this to
> 
> http://YYY.acc.ab:8080/xmlui/handle/10XXX/1 
> <http://elea.unisa.it:8080/jspui/handle/10556/1183>xxx
> 
> Thanks
> Best regards
> Massimiliano
> 
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code of 
> Conduct: https://duraspace.org/about/policies/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 
> <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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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] Re: Mass manipulations with items in DSpace

2018-11-09 Thread Monika Mevenkamp
If you are more comfortable with a scripting approach (in ruby) have a look at 
the jrdspace gem I wrote
It allows you to develop command line utilities that you can parameterize, it 
is easier to log to stdout/stderr or a file of your choice.
Personally I prefer to work with interpretative language with this type of 
maintenance scripts.

See the gem here:   https://github.com/akinom/dspace-jruby
And see a script that loops over all 
bitstreams<https://github.com/akinom/dspace-cli/blob/master/bitstreams/loop-bitstreams.rb>
 in communities/collections/items identified by  handles given as command line 
args
Running this on one of my communities looks like this:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; 
support was removed in 8.0
Using /Users/monikam/DSpaces/installs/updatespace
Loading jars
Loading /Users/monikam/DSpaces/installs/updatespace/config/dspace.cfg
INFO: Loading provided config file: 
/Users/monikam/DSpaces/installs/updatespace/config/dspace.cfg
log4j:WARN No appenders could be found for logger 
(org.dspace.core.ConfigurationManager).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: 
/Users/monikam/DSpaces/installs/updatespace/config/log4j.properties
Starting new DSpaceKernel
DB jdbc:oracle:thin:@localhost:11523/dspqual.world, UserName=DSPACE, Oracle 
JDBC driver
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01j3860933c.ORIGINAL.readme.pdf
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01j3860933c.ORIGINAL.Myers_Nature_Archive.zip
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01zs25xb94r.ORIGINAL.DenHartogGlowDischargeElectricField.txt
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01zs25xb94r.ORIGINAL.fig05data.txt
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01zs25xb94r.ORIGINAL.fig05plot.py
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01zs25xb94r.ORIGINAL.fig06data.txt
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01zs25xb94r.ORIGINAL.fig06plot.py
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01zs25xb94r.ORIGINAL.fig07data.txt
88435/dsp01pz50gz45g > 88435/dsp01x920g025r > 
88435/dsp01zs25xb94r.ORIGINAL.fig07plot.py
….
88435/dsp01pz50gz45g > 88435/dsp01j6731612k > 88435/dsp018p58pg29j > 
88435/dsp01zg64tp300.ORIGINAL.readme.txt
88435/dsp01pz50gz45g > 88435/dsp01j6731612k > 88435/dsp018p58pg29j > 
88435/dsp01zg64tp300.ORIGINAL.Stotler_PoP.zip
88435/dsp01pz50gz45g > 88435/dsp01j6731612k > 88435/dsp018p58pg29j > 
88435/dsp01h415pc93f.ORIGINAL.DSmith-ELM-Evolution-Data.zip
88435/dsp01pz50gz45g > 88435/dsp01j6731612k > 88435/dsp018p58pg29j > 
88435/dsp01vx021h49j.ORIGINAL.readme.txt
88435/dsp01pz50gz45g > 88435/dsp01j6731612k > 88435/dsp018p58pg29j > 
88435/dsp01vx021h49j.ORIGINAL.Zweben_Blobs.zip
--
Monika Mevenkamp
OIT Princeton University
Phone: 609-258-4161
Skype: mo-meven


From:  on behalf of "repozitoryb...@gmail.com" 

Date: Friday, November 9, 2018 at 12:22 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Re: Mass manipulations with items in DSpace

Thank you for the answer! We'll learn it right now.

четверг, 8 ноября 2018 г., 17:45:54 UTC+3 пользователь Mark H. Wood написал:
On Thursday, November 8, 2018 at 7:56:55 AM UTC-5, 
repozit...@gmail.com wrote:
Hello. Can you help please to understand is there a way to mass remove any PDF 
modifiers like watermark or/and password with save each item directions and 
don't reupload each item again?



There is nothing in DSpace to remove material from PDFs, but there is a 
framework for applying a procedure to bitstreams in bulk:  the Curation System, 
which will process a single item, a collection, a community, or the entire 
site.  If you can work out code to do what you want to a single bitstream, you 
can make it into a curation task and have the framework apply it to all of the 
bitstreams that need it.

You can also attach the task to workflows so that it is automatically applied 
to new submissions.

https://wiki.duraspace.org/display/DSDOC6x/Curation+System

For manipulating PDFs, I'd start by looking at PDFtk.

You may want to look at the PDF citation page generator for background 
information.  https://wiki.duraspace.org/display/DSDOC6x/PDF+Citation+Cover+Page
--
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<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 

Re: [dspace-tech] Dspace on the production-server

2018-04-27 Thread Monika Mevenkamp
Max, 


I compile my code  locally and then copy  the compiled code over to the prod/qa 
vm, where I then run ant update 

local
mvn clean 
mvn package 
# also include the commit log 
( gitinfo; git log --abbrev-commit --pretty=oneline --graph --no-color 
> dspace/target/dspace-installer/COMMITLOG)
# tar code and scp to destination 
(cd dspace/target; tar cfz tgz  dspace-installer && scp tgz 
user@remote:/path/deploy_dir/file )

remote 
 cd /path/deploy_dir
 # if you want to keep dated deploy directories around 
 mkdir dated_dir 
 cd dated_dir 
 tar xfz ../tgz 
 cd dspace-installer
 ant update 

In the case of the production installation I have to add passwords at the 
destination 
Not the most automated - but I do not deploy all that often 

Monika


—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven

> On Apr 27, 2018, at 5:16 AM, MaX Verner <maximver...@gmail.com> wrote:
> 
> Hello, 
> there is a way to use the dspace on the production-server without maven and 
> ant? 
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] Need help in dspace (Invalid Identifier error)

2018-04-26 Thread Monika Mevenkamp
The import part of the message is ‘identifier null’ ….. 
Apparently there is a null pointer exception 

How did you try to delete the community ? 

Monika


> On Apr 25, 2018, at 8:46 AM, Balakrishnan Sivakumaran  
> wrote:
> 
> Dear friends
> 
> I wish to delete some unwanted community link in My Dspace Repository home 
> page. when i click the link which i want to delete, it says that "Invalid 
> Identifier" as below:
> 
> Please anyone help me to solve the problem.
> 
> Invalid Identifier
> 
> The identifier null does not correspond to a valid Object in DSpace. This may 
> be because of one of the following reasons:
> 
> The URL of the current page is incorrect - if you followed a link from 
> outside of DSpace it may be mistyped or corrupt.
> You entered an invalid ID into a form - please try again.
> If you're having problems, or you expected the ID to work, feel free to 
> contact the site administrators.
> 
> Leave a message for the My Dspace Repository administrators. 
> 
> Go to the DSpace home page 
> 
> -- 
> 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.


Re: [dspace-tech] input-forms.xml - can I split it ?

2018-03-22 Thread Monika Mevenkamp
Tim 

thanks for the answer even if it is not what I hoped.

I am thinking of writing a command /main program that creates a collection with 
a given name, parent, authorizations and maps the newly created collection to a 
given form. 
The first part is easy enough - but mucking around in the input-forms.xml 
config file is a bit uncomfortable. For some reason I had assumed that these 
config files would be ‘moved’ to database tables.  I see I am wrong on that 
account too   :) 

What is your favorite XML Parser / Mangler class  to use for this kind 
input-formns.xml manipulation ? 

Related to this: is there a simple way that allows me to add a form/page  to 
the DSpace 5 JSPUI that accepts parameter values for a given curation task ? 

Monika 


> On Mar 22, 2018, at 5:08 PM, Tim Donohue <tdono...@duraspace.org> wrote:
> 
> Hi Monika,
> 
> Unfortunately, at this time, there's no way to split up the input-forms.xml.  
> It's a completely custom XML config file, with a completely custom DTD 
> (https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/input-forms.dtd
>  
> <https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/input-forms.dtd>).
>   Currently, it doesn't have an option to link or import settings from 
> another file.
> 
> In DSpace 7, there has been some effort to rethink these configurations (both 
> item-submission.xml and input-forms.xml), but I don't believe this sort of 
> linking is possible yet in DSpace 7 either (hopefully Andrea Bollini will 
> correct me if I'm wrong).  In case it is of interest, the very early notes on 
> this DSpace 7 effort are at 
> https://wiki.duraspace.org/display/DSPACE/Configuration+changes+in+the+submission+process
>  
> <https://wiki.duraspace.org/display/DSPACE/Configuration+changes+in+the+submission+process>
>  
> 
> - Tim
> 
> On Thu, Mar 22, 2018 at 12:41 PM Monika Mevenkamp <mome...@gmail.com 
> <mailto:mome...@gmail.com>> wrote:
> 
> Can I split the input-forms.xml file into multiple files using some kind of 
> include directive
> 
> Monika
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161 <tel:(609)%20258-4161>
> Skype: mo-meven
> 
> 
> 
> 
> --
> 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%2bunsubscr...@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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> -- 
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.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.
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] input-forms.xml - can I split it ?

2018-03-22 Thread Monika Mevenkamp

Can I split the input-forms.xml file into multiple files using some kind of 
include directive 

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven




-- 
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] Assigning ITEM directly to e-person

2018-03-16 Thread Monika Mevenkamp
If there is a pattern that lets you decide who should have access based on item 
metadata you could write code 
you could do something along the lines of 

find item 
determine netid 
create person if not exists 
create group if not exists   and add person
for all original bitstreams in item 
set bitstream read to group

For this type of scripting I use jruby and a gem I developed that allows me to 
access the DSpace objects in the Java API from ruby code. The gem interacts 
with dspace version 5 and  is available from github:   jrdspace 
gem>.  you can see the scripts I developed 
at  cli-dspace>. For example I have a create script 
that   given a first name , last name and netid  creates an EPerson record - 
see 

https://github.com/akinom/dspace-cli/blob/master/netid/create.rb#L13-L21 


If you are interested in using this - I’d be glad to answer any question you 
have. 

Alternatively you could make this a curation task that you then allow to run on 
communities, collections, as well as individual items. the DSpace Wiki has 
documentation HERE 

Monika




> On Mar 16, 2018, at 1:42 AM, Ghazi Anwar  wrote:
> 
> Hi friends
> Is there a way to assign an item or bitstream directly to e-person in dspace 
> 5. I need this because it is our requirement where each e-person shall be 
> given rights to certain documents.No other e-person can view them. in the 
> current setup of dspace we need to create as many group as e-person then 
> assigning the item level policy to these group. this has become a very 
> tedious and length process when 1000 of documents are there. do you have any 
> idea of how to achieve that. 
> if there is no way can we write our customized pages to do that where we will 
> select the documents then assign it to a e-person. 
> 
> Please let me know the way out.  
> 
> Regards
> Ghazi
> 
> -- 
> 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.


Re: [dspace-tech] How to setup development environment in local system

2018-03-06 Thread Monika Mevenkamp
There are developer show and tells scheduled 
one of which deals with IDEs 
see 
https://wiki.duraspace.org/display/DSPACE/DSpace+Developer+Show+and+Tell+Meetings#DSpaceDeveloperShowandTellMeetings-NextMeeting
 
<https://wiki.duraspace.org/display/DSPACE/DSpace+Developer+Show+and+Tell+Meetings#DSpaceDeveloperShowandTellMeetings-NextMeeting>
So if you can wait - that would be a great place to start 

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Mar 5, 2018, at 9:08 PM, chiranjeevi kandakatla 
> <chiranjeevi.kandaka...@gmail.com> wrote:
> 
> How to intigrate to eclipse or netbeans to do easly understand the flow of 
> the project .
> 
> kindly provide steps to open project in eclipse. 
> 
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] Managing and archiving bachelor and master theses and related records

2018-02-28 Thread Monika Mevenkamp
Hi Claudia 

we are moving this year to collecting Undergraduate Senior Thesis with Vireo 3. 
This is after using DSPACE itself and having department administrators upload 
thesis on behalf of students for a couple years. The administrators viewed this 
as annoying extra work. Last year we used a custom Sharepoint side where 
students could self submit. The administrators could go there and just review 
thesis. The drawback - the system was fragile (we didn’t have the right in 
house tech/developer people) and the system proved to be fragile and hard to 
maintain. Now we are on our third iteration using Vireo.

We had to modify Vireo for our purposes. One mayor difference to the ‘normal’ 
Vireo use is that we pre populate submission  with student names, department, 
and advisor (where known) from a spreadsheet we get from the registrars office. 
 We configure department administrators such that, when they log in they only 
see the submissions send into their department. This required a code change in 
Vireo. We had a need for collecting additional metadata that was not 
anticipated in the standard Vireo interface. In some cases all we had to change 
was labels, in others we had to move fields between forms presented in 
submission steps. I probably forget other changes here ..  Our UX office 
reviewed the application and we easily passed A11Y review.

When the submission period ends, and administrators are done with their 
reviews, we will export submissions to the file system and combine with 
restriction request data that Princeton collects in a Sharepoint system. We 
have not done this yet. The general idea is export, probably using the DSPACE 
exporter from Vireo, get a spreadsheet from the Sharepoint data, write a bit of 
code to add restriction information to the relevant AIPs and then import into 
our DSpace IR. 

Vireo 3 relies on an old play framework. Vireo 4 is being developed as we 
speak. It is a total rewrite and will offer additional functionality. The user 
interface itself looks remarkably the same. Vireo has a strong administrator 
interface, aka a non technical person can 
configure which fields to make optional, required, or invisible in submission 
forms, 
associate users to departments or colleges, 
can manage roles like REVIEWER, STUDENT, NONE.   
close or open the system to submissions by students, 
define the list of departments, 
define email templates. 

There is a nice module that can define email rules along the lines of: IF 
something is submitted then send an email based on this template to all emails 
configured with the related department and also send an email to the advisor 
using  the ADVISOR template.  

I highly recommend checking out Vireo. I found the code of Vireo 3 well written 
and fairly easy to figure out and modify. 

Monika 

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Feb 28, 2018, at 8:51 AM, Claudia Jürgen <claudia.juer...@tu-dortmund.de> 
> wrote:
> 
> Hi all,
> 
> I was just wondering if anyone uses DSpace (or other software) for some
> tasks of the registrar's office?
> Primary with regards to bachelor and master theses,  but targeting
> archiving and documentation rather than publication.
> Beginning from the time a student finishes the thesis and keeping
> everything "digital". The review process, the approval/disapproval of
> advisor ...
> Afterwards keeping theses and  the related records in electronic form as
> long as it is obligatory.
> Here in Germany that is between 5 and 50 years depending on the material.
> This is a huge amount of files for the registrar's offices to manage
> conventionally in paper,
> especially with the move from diploma to bachelor and master.
> 
> Sunny greetings
> 
> Claudia Jürgen
> 
> --
> 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 thi

[dspace-tech] REST 5 vs 6

2018-01-29 Thread Monika Mevenkamp
All Y’all: 

How much does the REST API change between version 5 and version 6 ? 
AKA: does the functionality that is available in 5 move forward to 6 unchanged  
? 

Monika 

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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] Oracle Database version

2018-01-22 Thread Monika Mevenkamp
Here at Princeton I am using Oracle 11.2.0.4. The Database group plans to 
upgrade to 12.2.0.1. Has anyone experience with this ? 

Thanks 

Monika 


 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



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

2018-01-08 Thread Monika Mevenkamp
Alan, 

never completely solved it - I do not quite remember what I did in the end - I 
may have reindexed everything 

In any case - looking at my logs now I see 200 exception in Dec 1 so far
only a couple different kinds 

Caused by: org.dspace.browse.BrowseException: 
org.dspace.discovery.SearchServiceException: Error while processing facet 
fields: java.lang.OutOfMemoryError: Java heap space
Caused by: org.dspace.discovery.SearchServiceException: Error while processing 
facet fields: java.lang.OutOfMemoryError: Java heap space
javax.servlet.ServletException: org.dspace.browse.BrowseException: 
org.dspace.discovery.SearchServiceException: Error while processing facet 
fields: java.lang.OutOfMemoryError: Java heap space
org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: 
Error while processing facet fields: java.lang.OutOfMemoryError: Java heap space
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'author:()': Encountered " ")" 
") "" at line 1, column 8.
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'author_keyword:': Encountered 
"" at line 1, column 15.
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'dateIssued_keyword:': 
Encountered "" at line 1, column 19.
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'marilyn mayers, 'A century of 
psychiatry\: the Egyptian mental hospital' (Ph.D. dissertation, Princeton 
University, 1982': Encountered "" at line 1, column 120.
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'subject_keyword:': 
Encountered "" at line 1, column 16.
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'title:()': Encountered " ")" 
") "" at line 1, column 7.
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'title_keyword:': Encountered 
"" at line 1, column 14.
org.dspace.discovery.SearchServiceException: 
org.apache.solr.search.SyntaxError: Cannot parse 'With a Little Help from my 
Friends" Examining the Role of Peer Homophily in High School Success': Lexical 
error at line 1, column 96.  Encountered:  after : "\" Examining the Role 
of Peer Homophily in High School Success”


looking at one example I see 

2018-01-05 21:51:10,333 ERROR 
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor @ 
anonymous:session_id=62D95C4F47A190897871E95051B52843:ip_addr=198.91.236.107:search:query=wendy
 knopps,scope=null,error=org.apache.solr.search.SyntaxError\colon; Cannot parse 
'author_keyword\colon;'\colon; Encountered "" at line 1, column 15.
Was expecting one of\colon;
 ...
"(" ...
"*" ...
 ...
 ...
 ...
 ...
 ...
"[" ...
"{" ...
 ...
 ...



Seems like somebody in the UI put a query together : query=wendy 
knopps,scope=null 
there is no indication in the trace that the search is looking for an author 
Could it bee that the code  add an empty author search term ? 
I tried to trigger that in my JSPUI - but was not successful 
Any ideas along these lines ? 


Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Jan 6, 2018, at 8:03 PM, Alan Orth <alan.o...@gmail.com> wrote:
> 
> Monika,
> 
> I'm also seeing a few hundred of these Solr errors per day in my DSpace logs. 
> Did you ever figure out what was causing them? I tried a full Discovery 
> re-index, but it didn't help. We're using DSpace 5.5.
> 
> org.dspace.discovery.SearchServiceException: 
> org.apache.solr.search.SyntaxError: Cannot parse 
> 'dateIssued_keyword:[1983+TO+1989]': Encountered " "]" "] "" at line 1, 
> column 32.
> 
> Thanks,
> 
> On Tue, Feb 2, 2016 at 10:50 AM Monika Mevenkamp <mome...@gmail.com 
> <mailto:mome...@gmail.com>> wrote:
> now and then I see errors like be below 
> 
> 
> there are similar ones for 
> 
> solr.log.2016-01-28:2016-01-28 12:43:26,665 ERROR 
> org.apache.solr.core.SolrCore @ org.apache.solr.common.SolrException: 
> org.apache.solr.search.SyntaxError: Cannot parse 'author_keyword:': 
> Encountered "" at line 1, column 15.
> solr.log.2016-01-28:2016-01-28 12:43:27,052 ERROR 
> org.apache.solr.core.SolrCore @ org.apache.solr.common.SolrException: 
> org.apache.solr.search.SyntaxError: Cannot 

Re: [dspace-tech] dspace install on macOS error

2018-01-08 Thread Monika Mevenkamp
is there a /dspace directory ? 

what happens when you ru the command on the command line: 
> mkdir /dspace/bin 

____ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Jan 8, 2018, at 12:05 AM, efah icaq <ifahi...@gmail.com> wrote:
> 
> can anyone help meerror show 
> 
> dspace/target/dspace-installer/build.xml:733: Directory /dspace/bin creation 
> was not successful for an unknown reason 
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] Bulk Delete and Bulk Rename of Collections (SQL)

2018-01-04 Thread Monika Mevenkamp
Hi Margaret 

In the user interface you can delete communities. 
So if your 500 collections are all in the same community AND there is nothing 
else you could just delete the community and recreate it

If there are only a few ‘real’ collection in the community  you could 
+ create a new community 
+ move the few collections to there 
+ delete the original community 
+ rename the new community with the name of the original one 

You’ll end up with a new handle for the community - but all other handles stay 
the same 

Moving collections is not supported in the UI I believe - but it is fairly easy 
to do in the database 
If that is a possible approach and I can help figure out the SQL for moving 


Monika


 
 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Jan 3, 2018, at 9:05 AM, marga...@dal.ca wrote:
> 
> approximately

-- 
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] Google Scholar - not crawling my instance ?

2017-11-16 Thread Monika Mevenkamp
Google Scholar does not  like one of my instances. 
Nothing comes up when I search scholar.google.com <http://scholar.google.com/> 
for anything   with site:oar.princeton.edu <http://oar.princeton.edu/> 

Item pages on the instance  include metadata 
and there is a sitemap

http://oar.princeton.edu/jspui/robots.txt 
<http://oar.princeton.edu/jspui/robots.txt>
http://oar.princeton.edu/jspui/sitemap <http://oar.princeton.edu/jspui/sitemap>

here is a link to an item page 
view-source: 
<view-source:http://oar.princeton.edu/jspui/handle/88435/pr17g8r>http://oar.princeton.edu/jspui/handle/88435/pr17g8r
 <http://oar.princeton.edu/jspui/handle/88435/pr17g8r>

What could be wrong ? 


Monika

 
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



-- 
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] server flooded by search requests

2017-10-25 Thread Monika Mevenkamp
Francis 

66.249.76.34 is a googlebot IP

you should enable sitemaps, googlebots honor them 

have a look at Search Engine Optimization 
<https://wiki.duraspace.org/display/DSDOC5x/Search+Engine+Optimization>  
documentation 

Monika




 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Oct 25, 2017, at 9:39 AM, Francis Brouns <francis.bro...@ou.nl> wrote:
> 
> Hi all,
> 
> our DSpace servers is being flooded with search request since the beginning 
> of October. Normally we get about 25 search requests in a month, now we 
> get 2.5 million in 2 weeks. It seems that these requests are all aimed at a 
> particular Community and are searching for combination of authors and 
> subjects over and over. Most of the time these search request have no results.
> 
> Running DSpace 5.4 on SLES Linux, tomcat 7, java 7, jspui
> 
> In the dspace log, I find numerous requests like these: 
> ip_addr=66.249.76.34:search:scope=org.dspace.content.Community@287,query="null",results=(0,0,0)
> 
> in tomcat localhost-access log
> 66.249.76.34  - - [24/Oct/2017:01:05:30 +0200] "GET 
> /handle/1820/2145/simple-search?location=1820%2F2145=_field_1=dateIssued_type_1=equals_value_1=2011_field_2=author_type_2=equals_value_2=Van+Hooft%2C+W.+F._field_3=author_type_3=equals_value_3=Leirs%2C+H._field_4=author_type_4=equals_value_4=Bauer%2C+H._field_5=subject_type_5=equals_value_5=phylogeography_field_6=author_type_6=equals_value_6=Van+Haeringen%2C+W.+A._field_7=author_type_7=equals_value_7=Bertola%2C+L.+D._field_8=subject_type_8=equals_value_8=evolutionary+history_field_9=author_type_9=equals_value_9=Tumenta%2C+P.+N._field_10=author_type_10=equals_value_10=York%2C+D.+S._field_11=subject_type_11=equals_value_11=Panthera+leo=5_by=dc.title_sort=DESC=0
>  HTTP/1.1" 200 30123 - /handle/1820/2145/simple-search
> - 127.0.0.1 - - [24/Oct/2017:01:05:30 +0200] "GET 
> /solr/search/select?q=*%3A*=dateIssued.year%2Chandle%2Csearch.resourcetype%2Csearch.resourceid=NOT%28withdrawn%3Atrue%29=NOT%28discoverable%3Afalse%29=subject_keyword%3ASubsidiarity=subject_keyword%3ACollaborative%5C+Learning=subject_keyword%3AVirtual%5C+Campus=dateIssued_keyword%3A2009=subject_keyword%3AOrganizational%5C+Model=subject_keyword%3ALearning%5C+for%5C+Sustainable%5C+Development=subject_keyword%3AVirtual%5C+Mobility=subject_keyword%3ANetworked%5C+Learning=location%3Am18=dateIssued.year%3A%5B*+TO+*%5D=read%3A%28g0+OR+g0%29=0=1=dateIssued.year_sort+asc=javabin=2
>  HTTP/1.1" 200 611 - /solr/search/select
> - 127.0.0.1 - - [24/Oct/2017:01:05:30 +0200] "GET 
> /solr/search/select?q=*%3A*=dateIssued.year%2Chandle%2Csearch.resourcetype%2Csearch.resourceid=NOT%28withdrawn%3Atrue%29=NOT%28discoverable%3Afalse%29=subject_keyword%3ASubsidiarity=subject_keyword%3ACollaborative%5C+Learning=subject_keyword%3AVirtual%5C+Campus=dateIssued_keyword%3A2009=subject_keyword%3AOrganizational%5C+Model=subject_keyword%3ALearning%5C+for%5C+Sustainable%5C+Development=subject_keyword%3AVirtual%5C+Mobility=subject_keyword%3ANetworked%5C+Learning=location%3Am18=location%3Am18=dateIssued.year%3A%5B*+TO+*%5D=read%3A%28g0+OR+g0%29=0=1=dateIssued.year_sort+desc=javabin=2
>  HTTP/1.1" 200 625 - /solr/search/select
> - 127.0.0.1 - - [24/Oct/2017:01:05:30 +0200] "GET 
> /solr/search/select?q=*%3A*=dateIssued.year%2Chandle%2Csearch.resourcetype%2Csearch.resourceid=NOT%28withdrawn%3Atrue%29=NOT%28discoverable%3Afalse%29=dateIssued_keyword%3A2011=subject_keyword%3Alion=author_keyword%3ASogbohossou%2C%5C+E.=author_keyword%3AVan%5C+Haeringen%2C%5C+W.%5C+A.=author_keyword%3AVan%5C+Hooft%2C%5C+W.%5C+F.=subject_keyword%3AWest%5C+Africa=subject_keyword%3Aphylogenetics=author_keyword%3APrins%2C%5C+H.%5C+H.%5C+T.=author_keyword%3AYork%2C%5C+D.%5C+S.=author_keyword%3AUit%5C+de%5C+Weerd%2C%5C+D.%5C+R.=author_keyword%3AFunston%2C%5C+P.%5C+J.=subject_keyword%3Aevolutionary%5C+history=author_keyword%3AUdo%5C+de%5C+Haes%2C%5C+H.%5C+A.=location%3Am18=dateIssued.year%3A%5B*+TO+*%5D=read%3A%28g0+OR+g0%29=0=1=dateIssued.year_sort+asc=javabin=2
>  HTTP/1.1" 200 740 - /solr/search/select
> - 127.0.0.1 - - [24/Oct/2017:01:05:30 +0200] "GET 
> /solr/search/select?q=*%3A*=dateIssued.year%2Chandle%2Csearch.resourcetype%2Csearch.resourceid=NOT%28withdrawn%3Atrue%29=NOT%28discoverable%3Afalse%29=dateIssued_keyword%3A2011=subject_keyword%3Alion=author_keyword%3ASogbohossou%2C%5C+E.=author_keyword%3AVan%5C+Haeringen%2C%5C+W.%5C+A.=author_keyword%3AVan%5C+Hooft%2C%5C+W.%5C+F.=subject_keyword%3AWest%5C+Africa=subject_keyword%3Aphylogenetics=author_keyword%3APrins%2C%5C+H.%5C+H.%5C+T.=author_keyword%3AYork%2C%5C+D.%5C+S.=author_keyword%3AUit%5C+de%5C+Weerd%2C%5C+D.%5C+R.=author_keyword%3AFunston%2C%5C+P.%5C+J.=subject_keyword%3Aevolutionary%5C+history=author_keyword%3AUdo%5C+de%5C+Haes%2C%5C+H.%5C+A.=l

[dspace-tech] DSpace API and Command Line

2017-10-09 Thread Monika Mevenkamp
All Y’all 

There is a lot of stuff going on of cause right now with the new interface 
work, which goes along with building out the REST API. I think it will make 
sense to eventually see whether there is interest to redo the dspace CLI, such 
that it is implemented against the REST API and such that it is implemented in 
a scripting language. The idea being here - enable sys admins with scripting 
ability to tweak existing scripts or use them as templates to do their own 
thing. 

Are there people out there who would be interested in a working group for this 
? 

Monika


—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Oct 6, 2017, at 11:14 AM, Terry Brady <terry.br...@georgetown.edu> wrote:
> 
> Ed, 
> 
> What admin actions are you hoping to support?
> 
> The following repo describes some of the custom administration that we have 
> developed at Georgetown: 
> https://github.com/Georgetown-University-Libraries/batch-tools 
> <https://github.com/Georgetown-University-Libraries/batch-tools>
> 
> Terry
> 
> On Thu, Oct 5, 2017 at 10:16 AM, Ed Warga <edward.wa...@gmail.com 
> <mailto:edward.wa...@gmail.com>> wrote:
> Hello,
> 
> I'm beginning to think about using the API for certain management activities 
> in my repo. Wondering if anyone has created any scripts to leverage the API 
> in DSpace. I'm looking for =some examples to work from as I get started. What 
> have you done!? Can you share any scripts or ideas?
> 
> Thanks,
> Ed Warga
> Scholarly Communication Librarian
> Texas A University-Corpus Christi
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info <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 
> <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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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] uploaded directory

2017-09-27 Thread Monika Mevenkamp
I see there are quite a few BIG files in my instances upload directory 
some of them are rather old 

are these safe to remove ? 
is there an explanation why these are hanging around ? 

Monika

drwxr-xr-x 2 dspace dspace   6 May 12 11:04 340-cws_files/
drwxr-xr-x 2 dspace dspace  78 Jul 27 14:06 
3618532508-milyway_vodka_archivetargz/
drwxr-xr-x 2 dspace dspace   40960 May  1 16:42 
4291104211-2011-06-07_carnegie_dam1zip/
drwxr-xr-x 2 dspace dspace   61440 Oct 21  2016 
4778728039-2011-06-02_path_grass6zip/
drwxr-xr-x 2 dspace dspace   6 Feb 14  2017 563709-book8641pdf/
drwxr-xr-x 2 dspace dspace   6 Feb 14  2017 563709-book8642pdf/
drwxr-xr-x 2 dspace dspace   6 Feb 14  2017 563709-book864pdf/
drwxr-xr-x 2 dspace dspace   32768 Nov  4  2016 
7143703068-2011-06-02_path_grass6avi/


> du -s -hm 
0   /dspace/upload/340-cws_files
6144/dspace/upload/3618532508-milyway_vodka_archivetargz
1570888 /dspace/upload/4291104211-2011-06-07_carnegie_dam1zip
2444392 /dspace/upload/4778728039-2011-06-02_path_grass6zip
0   /dspace/upload/563709-book8641pdf
0   /dspace/upload/563709-book8642pdf
0   /dspace/upload/563709-book864pdf
1344576 /dspace/upload/7143703068-2011-06-02_path_grass6avi
____ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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] How to import list user using dspace?

2017-09-22 Thread Monika Mevenkamp
For this type of scripting I use jruby and a gem I developed that allows me to 
access the DSpace objects in the Java API from ruby code. The gem interacts 
with dspace version 5 and  is available from github:   jrdspace 
gem<https://github.com/akinom/dspace-jruby 
<https://github.com/akinom/dspace-jruby>>.  you can see the scripts I developed 
at  cli-dspace<https://github.com/akinom/dspace-cli 
<https://github.com/akinom/dspace-cli>>. For example I have a create script 
that   given a first name , last name and netid  creates an EPerson record - 
see 

https://github.com/akinom/dspace-cli/blob/master/netid/create.rb#L13-L21 
<https://github.com/akinom/dspace-cli/blob/master/netid/create.rb#L13-L21>

If you are interested in using this - I’d be glad to answer any question you 
have. 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Sep 22, 2017, at 10:12 AM, Brendow Adriel <brendow...@gmail.com> wrote:
> 
> I wanted to import users and already defined them into specific groups of 
> users.
> 
> Is it possible to import a list of users using dspace without using an insert 
> in the database?
> 
> 
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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] idefine input form value with <>

2017-08-17 Thread Monika Mevenkamp
I would like to define a vale pair list where one element has a stored value 
that includes an html link - like so 



Mudd Walkin Message
Walk-in Access. This thesis can only be viewed on computer 
terminals at the http://mudd.princeton.edu>Mudd Manuscript 
Library.



This breaks the XML formatting though,
Can this be done somehow ?

Thanks, Monika


____ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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: authorization group assignment when archiving in JSPUI

2017-06-27 Thread Monika Mevenkamp
it looks like the reason for the READ permission of an embargoed item being set 
to the collections READ permission upon archival resides in the 
DefaultEmbargoSetter implementation 
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/embargo/DefaultEmbargoSetter.java#L116
 
<https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/embargo/DefaultEmbargoSetter.java#L116>

List authorizedGroups = 
getAuthorizeService().getAuthorizedGroups(context, owningCollection, 
Constants.DEFAULT_ITEM_READ);

is that intentional ? 
it seems to me that this should be DEFAUT_BITSTREAM_READ would be a better 
choice 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Jun 27, 2017, at 3:35 PM, Monika Mevenkamp <mome...@gmail.com> wrote:
> 
> Here is what happens 
> 
> I import an item from an AIP into a workflow, where the item has embargo term 
> and lift dates in the future 
> 
> Looking at the authorizations of bitstreams after archival I see that the 
> bundle and bitstreams get the DEFAULT_BITSTREAM_READ group as well as the 
> items READ group. 
> 
> I want them to get the DEFAULT_BITSTREAM_READ group only.
> 
> How can I do that ? 
> Is there a setting to block assignment of the ITEM READ group ? 
> Is there a way that I can run a curation task right after archival ? 
> 
> Thanks for any kind of tips 
> 
> Monika
> 
>  
> Monika Mevenkamp
> mo.me...@gmail.com
> 
> http://mo-meven.tumblr.com/
> http://mcmprogramming.com/mo.meven/
> 
> 
> 

-- 
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] authorization group assignment when archiving in JSPUI

2017-06-27 Thread Monika Mevenkamp
Here is what happens 

I import an item from an AIP into a workflow, where the item has embargo term 
and lift dates in the future 

Looking at the authorizations of bitstreams after archival I see that the 
bundle and bitstreams get the DEFAULT_BITSTREAM_READ group as well as the items 
READ group. 

I want them to get the DEFAULT_BITSTREAM_READ group only.

How can I do that ? 
Is there a setting to block assignment of the ITEM READ group ? 
Is there a way that I can run a curation task right after archival ? 

Thanks for any kind of tips 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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] google scholar

2017-05-26 Thread Monika Mevenkamp
Tim 

thanks for your answer - yes sitemaps are up and I just fixed my robots.txt 
file to allow crawlers in. 

But when I try to log into the Google webmaster tool's 
<https://www.google.com/webmasters/#?modal_active=none>  search console,  I get 
the message 
admin.google.com is for G Suite accounts only. Regular Gmail accounts cannot be 
used to sign in to admin.google.com. Learn more 
<http://www.google.com/support/a/answer/6375836?hl=en>
when I learn more I get to a page that offers a 14 day trial. Is there another 
way to invite Google to crawl my instance ? 

It looks to me that Google now wants to make money on both ends, webmaster 
support and advertising.

Monika

________ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On May 25, 2017, at 4:37 PM, Tim Donohue <tdono...@duraspace.org> wrote:
> 
> Hi Monika,
> 
> We are in touch with Google Scholar staff on a regular basis (at least 
> yearly), and they forward along any issues they are seeing with DSpace sites 
> so that we can resolve them. Essentially, out of the box, DSpace is Google 
> Scholar compliant. So, you need not modify any of the default settings, 
> unless you have custom metadata fields you wish to make available to Google 
> Scholar, etc.
> 
> Google Scholar used to have a published way of requesting an index of the 
> site. But, I'm no longer finding it among their resources. However, I know, 
> like Google crawlers, the Google Scholar crawlers are pretty smart about 
> finding *any* public repository out there that is linked to from elsewhere.  
> Also, you could use Google Webmaster tools to notify the Google crawlers (and 
> I believe Google Scholar is notified as well).
> 
> Also, we have a reference in the DSpace documentation regarding optimizing 
> SEO for DSpace.  Google Scholar highly recommends enabling Sitemaps in DSpace 
> (as it makes it much easier to locate all the content): 
> https://wiki.duraspace.org/display/DSDOC5x/Search+Engine+Optimization 
> <https://wiki.duraspace.org/display/DSDOC5x/Search+Engine+Optimization>
> 
> - Tim
> 
> 
> On Thu, May 25, 2017 at 3:17 PM Monika Mevenkamp <mome...@gmail.com 
> <mailto:mome...@gmail.com>> wrote:
> I want Google Scholar to come and index my DSpace instance (v5) 
> The instance generates the meta tags shown below 
> 
> The Google Scholar requirements documentation at scholar/inclusion 
> <https://scholar.google.com/intl/us/scholar/inclusion.html#indexing> talks 
> about citation_* and DC.* meta tags. It does not mention DCTERMS.* tags. On 
> the other hand the documentation says: DSpace is fine.   
> 
> So, do I have to adjust the out of the box settings ?   
> 
> I could not find anything about nominating my instance to be indexed with 
> Google Scholar. 
> Can I do that so Google Scholar knows to come crawling ?
> 
> Monika
> 
> 
> http://purl.org/dc/terms/ 
> <http://purl.org/dc/terms/>">
> http://purl.org/dc/elements/1.1/ 
> <http://purl.org/dc/elements/1.1/>">
> 
> 
> 
>  scheme="DCTERMS.W3CDTF">
>  scheme="DCTERMS.W3CDTF">
>  scheme="DCTERMS.W3CDTF">
> 
> 
>  content="http://arks.princeton.edu/ark:/88435/pr19w4b 
> <http://arks.princeton.edu/ark:/88435/pr19w4b>" scheme="DCTERMS.URI">
> 
> 
>  scheme="DCTERMS.RFC1766">
> 
> 
> 
> 
> 
>  scheme="DCTERMS.W3CDTF">
> 
> 
> 
> 
> 
>  content="http://oar.princeton.edu/jspui/handle/88435/pr19w4b 
> <http://oar.princeton.edu/jspui/handle/88435/pr19w4b>">
> 
>  content="http://oar.princeton.edu/jspui/bitstream/88435/pr19w4b/1/1112.5026v1.pdf
>  <http://oar.princeton.edu/jspui/bitstream/88435/pr19w4b/1/1112.5026v1.pdf>">
> 
>  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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> -- 
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.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.
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] google scholar

2017-05-25 Thread Monika Mevenkamp
I want Google Scholar to come and index my DSpace instance (v5) 
The instance generates the meta tags shown below 

The Google Scholar requirements documentation at scholar/inclusion 
 talks 
about citation_* and DC.* meta tags. It does not mention DCTERMS.* tags. On the 
other hand the documentation says: DSpace is fine.   

So, do I have to adjust the out of the box settings ?   

I could not find anything about nominating my instance to be indexed with 
Google Scholar. 
Can I do that so Google Scholar knows to come crawling ?

Monika


http://purl.org/dc/terms/;>
http://purl.org/dc/elements/1.1/;>








http://arks.princeton.edu/ark:/88435/pr19w4b; scheme="DCTERMS.URI">














http://oar.princeton.edu/jspui/handle/88435/pr19w4b;>

http://oar.princeton.edu/jspui/bitstream/88435/pr19w4b/1/1112.5026v1.pdf;>

https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Adding bulk users

2017-04-25 Thread Monika Mevenkamp
Arjun 

For this type of scripting I use jruby and a gem I developed that allows me to 
access the DSpace objects in the Java API from ruby code. The gem interacts 
with dspace version 5 and  is available from github:   jrdspace 
gem<https://github.com/akinom/dspace-jruby 
<https://github.com/akinom/dspace-jruby>>.  you can see the scripts I developed 
at  cli-dspace<https://github.com/akinom/dspace-cli 
<https://github.com/akinom/dspace-cli>>. For example I have a create script 
that   given a first name , last name and netid  creates an EPerson record - 
see 

https://github.com/akinom/dspace-cli/blob/master/netid/create.rb#L13-L21 
<https://github.com/akinom/dspace-cli/blob/master/netid/create.rb#L13-L21>

If you are interested in using this - I’d be glad to answer any question you 
have. 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Apr 25, 2017, at 7:10 AM, arjun k <arjunit...@gmail.com> wrote:
> 
> Dear sir,
> 
> My name is Arjun, I am working in an engineering college.
> 
> In my instituation there is so many students and staffs studying and teaching 
> them.The would like to share notes to students using dspace. Now the contents 
> is accessible only through local Area connection because there has no login 
> facility. I would like to give Logins for students and staff using their 
> Admission number as username and password as date of birth.
> 
> Is there is any solution for 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 
> <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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] How to find metadata that reference to file /bitstream from database?

2017-04-05 Thread Monika Mevenkamp
I do this in jruby using the dspace-jruby gem I developed 

see on GitHub  https://github.com/akinom/dspace-jruby 
<https://github.com/akinom/dspace-jruby>

#find items with given metadata value 
items = DSpace.findByMetadataValue('pu.workflow.state', 'reviewed', 
DConstants::ITEM)
# print their ids and handles 
items.each do |i|
  puts [i.getID, i.getHandle].join "\t”
end

#find bitstreams with metadata dc.type = other
bits =  DSpace.findByMetadataValue('dc.type', 'other', DConstants::BITSTREAM)

# then go look at file name with an extension that you are interested in
bits.each do |b|
  ext = b.getName.split('.')[-1]

  if (["pdf", "txt", "jpeg"].include?(ext))  then
puts [ext, b.getID, b.getName,  b.getParentObject.getID,  
b.getParentObject.getHandle].join "\t"
  end
end

# bitstreams for items with dc.contributor = ‘University of Stuff’ 
items = DSpace.findByMetadataValue('dc.contributor', 'University of Stuff', 
DConstants::ITEM)
items.each do |i|
  bits = i.getBundles('ORIGINAL')[0].getBitstreams
  # similar to the above example 
end

Let me know if you need help with using this 

Monika
 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Apr 5, 2017, at 10:35 AM, Brendow Adriel <aesystem...@gmail.com> wrote:
> 
> For example:
> 
> How to select all bitstream from database
> 
> where dc.contributor = ''University";
> 
> 
> Select all files with final (.pdf, txt, jpg, mp3)
> 
> where dc.type= 'other'.
> 
>or
> 
> Select all files with final (.pdf, txt, jpeg, mp3)
> 
> where dc.contributor = 'University of Technology'.
> 
> 
> 
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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] Research project on women in open source software communities

2017-03-29 Thread Monika Mevenkamp

Forwarding in case any of you tech women want to participate in the research 
survey below 

Monika


>> -- Forwarded message --
>> From: Singh, Vandana >
>> Date: Fri, Mar 24, 2017 at 9:23 AM
>> Subject: Survey Request - Please forward as you see fit
>> 
>> Hi,
>> 
>>  
>> 
>> This is a request for your participation in a web-based online survey on 
>> women in open source software. This is survey is part of a research project 
>> being conducted by Vandana Singh, an Associate Professor at School of 
>> information Sciences, University of Tennessee.   The objectives of this 
>> study are to explore the status of women involved in Open Source Software 
>> communities and to develop a better understanding of opportunities and 
>> challenges in this setting.
>> 
>>  
>> 
>> You have to be above 18 years of age and involved in Open Source Software 
>> communities to participate in this survey. It should take about 30 minutes 
>> to complete this survey. Please click on the link below to begin the survey.
>> 
>>  
>> 
>> https://utk.co1.qualtrics.com/jfe/form/SV_0feu9n6cDoCdJtj 
>> 
>>  
>> 
>> Your participation in this survey is voluntary. You may refuse to take part 
>> in the research or exit the survey at any time without penalty. You are free 
>> to decline to answer any particular question you do not wish to answer for 
>> any reason.
>> 
>>  
>> 
>> You will receive no direct benefits from participating in this research 
>> study. However, your responses may help us learn more about the status of 
>> women in open source software development.
>> 
>>  
>> 
>> At the end of the survey you will be asked if you are interested in 
>> participating in an additional interview [by phone, via video conferencing 
>> or email]. If you chose to volunteer for this interview, you will provide 
>> contact information to the researcher and therefore your survey responses 
>> will no longer be anonymous to the researcher. There is a possible risk of 
>> breach of confidentiality if you chose to interview via email. The 
>> researcher has signed a confidentiality pledge to maintain your 
>> confidentiality at all stages. No names or identifying information would be 
>> included in any publications or presentations based on these data, and your 
>> responses will remain confidential. The interview will be recorded and 
>> transcribed. The transcribed interviews will be stored on OneDrive with 
>> transmission and storage encryption to ensure confidentiality. After one 
>> year, the interview tapes will be destroyed.  All the identifiers from the 
>> transcribed data will be removed and data with no identifiers will be stored 
>> and used for further analysis. The recordings from the interview will be 
>> destroyed within one year of the creation of the recording.
>> 
>>  
>> 
>> If you have questions at any time about the study or the procedures, you may 
>> contact Vandana Singh at 865-974-2785  or 
>> vand...@utk.edu 
>> 
>> If you feel you have not been treated according to the descriptions in this 
>> form, or that your rights as a participant in research have not been honored 
>> during the course of this project, or you have any questions, concerns, or 
>> complaints that you wish to address to someone other than the investigator, 
>> you may contact the University of Tennessee IRB Compliance Officer at 
>> utk...@utk.edu  or (865) 974-7697 
>> .
>> 
>>  
>> 
>> Best Regards,
>> 
>> Vandana Singh
>> 
>>  
>> 
>> <<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>><<>> 
>> 
>> Vandana Singh, PhD
>> 
>> Associate Professor,
>> 
>> School of Information Sciences,
>> 
>> University of Tennessee, Knoxville,
>> 
>> 453 Communications Building,
>> 
>> 1345 Circle Park Drive,
>> 
>> Knoxville, TN 37996-0341,
>> 
>> Phone : (865) 974-2785 .
>> 
>> Email: vand...@utk.edu 
>> Website: http://scholar.cci.utk.edu/vandana-singh 
>> 
>> ILS Portal from IMLS Project – http://opensource-ils.cci.utk.edu/ 
>> 
>> Women of Open Source Software: http://scholar.cci.utk.edu/woss/woss 
>> 

-- 
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] How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Monika Mevenkamp
Brandon 

I changed our JSPUI based repository to simply hide the login link  at the top 
and told my users to go directly to /mydspace  when they need to login 
If interested I can send you a patch 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Mar 15, 2017, at 8:09 AM, Brendow Adriel <brendow...@gmail.com> wrote:
> 
> don't exist this resource in jspui, only in xmlui.
> 
> Em terça-feira, 14 de março de 2017 17:59:52 UTC-3, Brendow Adriel escreveu:
> I need to do a database migration, but I want the repository stay available 
> to users. Disabling just user registration and authentication.
> 
>  
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] Checksum checker "Un-Checked Bitstream" report

2016-11-28 Thread Monika Mevenkamp
I rewrote the checker so I can trigger checking such that I can select the 
bitstreams to be checked based on  last checked date, or the last check result. 
The check can be limited to checking a max number of bitstreams. I added  a CLI 
utility that can list the check status of bitstreams or count the number of 
bitstreams in a given status - aka DELETED or NOT_FOUND. The output of the 2 
CLIs is easy to grep through, aka it makes it easy to look for relevant info. I 
use them in my daily cronjob to go round robin through bitstreams such that all 
my bitstreams are checked every 3 weeks. 

Here a two example usages with corresponding  output: 

> $DSPACE_HOME/bin/dspace checksum -d check -c 4000 -x BITSTREAM_MARKED_DELETED
# 
org.dspace.checker.CheckBitstreamIterator(without_result=[BITSTREAM_MARKED_DELETED])
# Action check
# Max-Count 4000
# Printing  m for CHECKSUM_MATCH, d for BITSTREAM_MARKED_DELETED, and E in all 
other cases


….

# worked on 4000 bitstreams

> $DSPACE_HOME/bin/dspace checksum -d print -c 1 -x BITSTREAM_MARKED_DELETED | 
> egrep -v '^#’
1 BITSTREAM.39318 CHECKSUM_MATCH 
internalId=9128636048098563653161844066534785665  delete=false  
lastDate=2016-11-06 01:02:03.83 


See documentation HERE 
<https://github.com/akinom/DSpace/blob/DS-2492-checksum_checker_reporter/dspace-api/src/main/java/org/dspace/app/checker/Readme.md>
There is a JIRA HERE <https://jira.duraspace.org/browse/DS-2492>
And a PR THERE <https://github.com/DSpace/DSpace/pull/882>

I’d be happy to help if you want to try this out 

Monika

____ 
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Nov 24, 2016, at 11:58 AM, do...@uoguelph.ca wrote:
> 
> Hi all, 
> 
> We'll occasionally get bitstreams showing up in this report, but I'm really 
> unclear on why or what it is that we should be doing to address it. 
> 
> What conditions cause a bitstream to be skipped and included in this report?
> 
> As an administrator, what actions should I take when this occurs? 
> 
> The report itself says "To add these bitstreams to be checked run the 
> checksum checker with the -u option" but the checker doesn't seem to have a 
> -u option 
> <http://mirror.swem.wm.edu/DSDOC/wiki.duraspace.org/display/DSDOC5x/Validating%2BCheckSums%2Bof%2BBitstreams.html>.
>  Running the checker with the -u option doesn't seem to make any noticeable 
> difference.
> 
> Digging into the most recent report where this occurred, I can see that the 
> item associated to the unchecked bitstreams has finished its workflow and has 
> been accepted to our repository. 
> 
> Any help or guidance that you folks could provide would be greatly 
> appreciated!
> 
> Thanks,
> -Adam
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] DSpace deployment environment survey?

2016-11-17 Thread Monika Mevenkamp
YES +10
and if you want to take the lead - I’ll be happy to help 
and if there s a survey - we might also ask some general questions
XMLUI  or JSPUI
customization level
amount of content
type of content

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven


>> On Nov 17, 2016 5:23 AM, "Alan Orth" <alan.o...@gmail.com 
>> <mailto:alan.o...@gmail.com>> wrote:
>> Hello,
>> 
>> I wasn't thinking of anything very sophisticated, so I guess "survey"
>> isn't really the best word. Perhaps "DSpace Deployment Census"? Just a
>> series of multi-select checkboxes and short answers primarily targeted
>> at the technical users on this mailing list who would be able to
>> answer questions about the OS, servlet container, Java version, etc
>> that runs their production DSpace instances.
>> 
>> About privacy, I definitely wasn't planning on asking for any
>> sensitive information like server URLs, etc in the census—just
>> deployment stats. But I would absolutely advocate for making the
>> results of the census public, as an open data set.
>> 
>> I'll draw up an example form in Google Forms and maybe some of you can
>> help me have a look at it off list?
>> 
>> Cheers,
>> 
>> On Wed, Nov 16, 2016 at 5:12 PM, Monika Mevenkamp <mome...@gmail.com 
>> <mailto:mome...@gmail.com>> wrote:
>> > a survey sounds like a good idea to me
>> > the easier it is to send in responses the more answers you’ll get
>> >
>> > in a survey monkey type survey you’d have to give instructions on every 
>> > single question how to find the answer;
>> > eg: dspace version - look under into HTML headers
>> > database-type: look into dspace.cfg
>> > OS version — which command to run  eg:"uname -a" in Linux
>> > the simpler/fewer the questions the more answers
>> >
>> > alternatively: write a cli script - put it into /dspace/bin
>> > make ant update run the script and echo instructions how to mail results 
>> > to a collection email
>> > make sure output is easy to parse so results can be added to a spreadsheet 
>> > / accumulated / …
>> > that of cause is a lot more work and may not be worth the extra effort 
>> > compared to the survey monkey approach
>> >
>> > I also counsel against exposing the data publicly
>> >
>> > Monika
>> >
>> >
>> > —
>> > Monika Mevenkamp
>> > Digital Repository Infrastructure Developer
>> > Princeton University
>> > Phone: 609-258-4161 
>> > Skype: mo-meven
>> >
>> >
>> >> On Nov 16, 2016, at 10:07 AM, Monika C. Mevenkamp 
>> >> <moni...@exchange.princeton.edu <mailto:moni...@exchange.princeton.edu>> 
>> >> wrote:
>> >>
>> >> a survey sounds like a good idea to me
>> >> the easier it is to send in responses the more answers you’ll get
>> >>
>> >> in a survey monkey type survey you’d have to give instructions on every 
>> >> single question how to find the answer;
>> >> eg: dspace version - look under into HTML headers
>> >> database-type: look into dspace.cfg
>> >> OS version — which command to run  eg:"uname -a" in Linux
>> >>
>> >> alternatively: write a cli script - put it into /dspace/bin
>> >> make ant update run the script and echo instructions how to mail results 
>> >> to a collection email
>> >> make sure output is easy to parse so results can be added to a 
>> >> spreadsheet / accumulated / …
>> >>
>> >> I would also counsel against exposing the data publicly
>> >>
>> >> Monika
>> >>
>> >>
>> >> —
>> >> Monika Mevenkamp
>> >> Digital Repository Infrastructure Developer
>> >> Princeton University
>> >> Phone: 609-258-4161 
>> >> Skype: mo-meven
>> >>
>> >>> On Nov 16, 2016, at 8:15 AM, Alan Orth <alan.o...@gmail.com 
>> >>> <mailto:alan.o...@gmail.com>> wrote:
>> >>>
>> >>> I had forgotten about that registry, helix! Our repository is
>> >>> certainly very out of date there (name, version, link, etc).
>> >>>
>> >>> Anyways, my proposal was simply to circulate a survey that people
>> >>> could answer, very low tech. :)
>> >>>

Re: [dspace-tech] [Dspace-tech] modifying config dspace.cfg

2016-11-16 Thread Monika Mevenkamp
That should work 
Be careful with your editing though 
Trailing blanks at the end of lines sometimes mess things up; 
a missing backslash at the end also causes trouble on multi value  configs
Watch your spelling of cause 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Nov 16, 2016, at 1:20 PM, admin <ad...@ispan.waw.pl> wrote:
> 
> Hello,
> 
> I'm fresh DSpace user. I installed the software and wanted to change its 
> configuration. I followed this post and ammended the file dspace.cfg in 
> dspace/config directory, restarted tomcat, and no effect. Am I missing 
> something? 
> 
> 
> 
> Thanks,
> 
> Peter
> 
> On Tuesday, August 25, 2015 at 9:33:17 PM UTC+1, Thornton, Susan M. 
> (LARC-B702)[LITES] wrote:
> Here is the process I follow and never have any problems. 
> 
> During the initial install/implementation of your DSpace instance, you will 
> make your changes to dspace.cfg in {dspace-source}/dspace/config.  Then once 
> you do a "fresh-install", your /dspace directory is populated with all other 
> sub-directories like /bin  /config   /etc   /lib  /webapps, etc. 
> 
> From this point on, the place to make your changes to dspace.cfg is in your 
> dspace installation directory, NOT the source directory.  If you do not make 
> your changes in /dspace/config/dspace.cfg, your changes will not be picked 
> up.  Also remember that you have to stop and start your web server before 
> these changes will be picked up too. 
> 
> Hope this helps, 
> Sue 
> 
> 
> 
> Sue Walker-Thornton 
> Software Developer/Database Administrator 
> NASA Langley Research Center|LITES Contract 
> (757) 224-4074 
> 
> 
> 
> -Original Message- 
> From: amutsikiwa [mailto:amuts...@uzlib.uz.ac.zw ] 
> Sent: Wednesday, February 09, 2011 7:25 AM 
> To: 'Glenn Little'; dspac...@lists.sourceforge.net  
> Subject: Re: [Dspace-tech] modifying config dspace.cfg 
> 
> After making changes  to [dspace-source]/dspace/config/dspace.cfg, change 
> directory to [dspace-source]/dspace/ and  then run 
>  mvn -e -o packages 
> Then  change directory to   
>  [dspace-source]/dspace/target/dspace-1.7.0-build.dir 
>  And run 
>   ant -Doverwrite=true update clean_backups 
> 
> 
> The changes should be effected. 
> 
> 
> Regards, 
> 
> Admire Mutsikiwa 
> University of Zimbabwe 
> 
> -Original Message- 
> From: Glenn Little [mailto:lit...@cs.ucsd.edu ] 
> Sent: Wednesday, February 09, 2011 2:00 AM 
> To: dspac...@lists.sourceforge.net  
> Subject: [Dspace-tech] modifying config dspace.cfg 
> 
> I've got an install of dspace and am now trying to modify the 
> dspace.cfg file.  But I'm confused as to which file to edit.  I 
> thought I was supposed to do this: 
> 
> + edit [dspace-source]/dspace/config/dspace.cfg 
> 
> + change dir to [dspace-source]/dspace/target/dspace-1.7.0-build.dir 
> 
> + ant update_configs 
> 
> The problem is that this does not do anything with my new changes. 
> Instead it puts an old copy of my dspace.cfg file over into 
> [dspace]/config/dspace.cfg.new.  As far as I can tell, that *old* copy 
> comes from: 
> 
>   [dspace-source]/dspace/target/dspace-1.7.0-build.dir/config/dspace.cfg 
> 
> So what is the real intent of the copy in dspace--build.dir 
> compared to the one higher up in the source tree?  How is one *really* 
> supposed to update the configuration, post-install? 
> 
> Thanks... 
> 
> -glenn 
> 
>  
> -- 
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: 
> Pinpoint memory and threading errors before they happen. 
> Find and fix more than 250 security defects in the development cycle. 
> Locate bottlenecks in serial and parallel code that limit performance. 
> http://p.sf.net/sfu/intel-dev2devfeb <http://p.sf.net/sfu/intel-dev2devfeb> 
> ___ 
> DSpace-tech mailing list 
> dspac...@lists.sourceforge.net  
> https://lists.sourceforge.net/lists/listinfo/dspace-tech 
> <https://lists.sourceforge.net/lists/listinfo/dspace-tech> 
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean. 
> 
> 
> 
> 
> --
>  
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: 
> Pinpoint memory and threading errors before they happen. 
> Find and fix more than 250 security defects in the development cycle. 
> Locate bottle

Re: [dspace-tech] DSpace deployment environment survey?

2016-11-16 Thread Monika Mevenkamp
a survey sounds like a good idea to me 
the easier it is to send in responses the more answers you’ll get 

in a survey monkey type survey you’d have to give instructions on every single 
question how to find the answer; 
eg: dspace version - look under into HTML headers 
database-type: look into dspace.cfg 
OS version — which command to run  eg:"uname -a" in Linux  
the simpler/fewer the questions the more answers 

alternatively: write a cli script - put it into /dspace/bin  
make ant update run the script and echo instructions how to mail results to a 
collection email 
make sure output is easy to parse so results can be added to a spreadsheet / 
accumulated / … 
that of cause is a lot more work and may not be worth the extra effort compared 
to the survey monkey approach 

I also counsel against exposing the data publicly 

Monika


—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven


> On Nov 16, 2016, at 10:07 AM, Monika C. Mevenkamp 
> <moni...@exchange.princeton.edu> wrote:
> 
> a survey sounds like a good idea to me 
> the easier it is to send in responses the more answers you’ll get 
> 
> in a survey monkey type survey you’d have to give instructions on every 
> single question how to find the answer; 
> eg: dspace version - look under into HTML headers 
> database-type: look into dspace.cfg 
> OS version — which command to run  eg:"uname -a" in Linux  
> 
> alternatively: write a cli script - put it into /dspace/bin  
> make ant update run the script and echo instructions how to mail results to a 
> collection email 
> make sure output is easy to parse so results can be added to a spreadsheet / 
> accumulated / … 
> 
> I would also counsel against exposing the data publicly 
> 
> Monika
> 
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 
>> On Nov 16, 2016, at 8:15 AM, Alan Orth <alan.o...@gmail.com> wrote:
>> 
>> I had forgotten about that registry, helix! Our repository is
>> certainly very out of date there (name, version, link, etc).
>> 
>> Anyways, my proposal was simply to circulate a survey that people
>> could answer, very low tech. :)
>> 
>> Regards,
>> 
>> On Wed, Nov 16, 2016 at 1:53 PM, emilio lorenzo <elore...@arvo.es> wrote:
>>> 
>>> El 16/11/2016 a las 12:23, helix84 escribió:
>>>> 
>>>> 
>>>> That part is already available.
>>>> 
>>>>> vote 1-  for second part Not very sure about harvesting or exposing
>>>>> versions and modules across system interface. Too many advantages for
>>>>> networks hooligans and hackers..
>>>> 
>>>> Well, first, those parts are already there and publicly exposed
>>>> (xmlui, jspui, oai, rest, rdf), so the right thing to do is to make
>>>> them resilient against attacks, not to pretend they're not exposed.
>>>> Second, there must be an option for the administrator not to expose
>>>> this information (not all repositories are production and public
>>>> installations).
>>> 
>>> Well,  I understood Alan´s proposal as exposing the software stack of the
>>> Dspace installations, not only Dspace interfaces  and telling the world
>>> that an installation has a operating system or a database some years old is
>>> quite sensible (IMHO), although a competent hacker could figure out a lot of
>>> things about an installation without our help :-)
>>> 
>>> and of course our first priority has to be
>>>> 
>>>> make them resilient against attacks
>>> 
>>> But not every installation has the time or resources to keep its
>>> installation updated and safe. That is the reality...
>>> Regards
>>> Emilio
>>> 
>>> 
>>> 
>>>> And finally, this is supposed to actually help security. You'll be
>>>> able to register your instance (just once) along with your email
>>>> address and then get a custom-tailored notification that your
>>>> particular installation is affected by a security bug because you're
>>>> using version X.Y with module Z.
>>>> 
>>>> 
>>>> Regards,
>>>> ~~helix84
>>>> 
>>>> Compulsory reading: DSpace Mailing List Etiquette
>>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>> 
>>> 
>>> --
>>> You received this message because you are subscrib

[dspace-tech] What does the ID search operator do ?

2016-11-11 Thread Monika Mevenkamp
Demo DSpace (currently) has a document with the title 'Test PowerPoint Document’

So looking for something with a title  that contains ‘Title’ or is equal to 
'Test PowerPoint Document’ returns results
But searching with the ‘ID’ operator for ‘Title’ or ' 'Test PowerPoint 
Document’ returns nothing
see for example in jspui 
HERE<http://demo.dspace.org/jspui/simple-search?location===title=authority=Test+PowerPoint+Document=10_by=score=desc
 
<http://demo.dspace.org/jspui/simple-search?location===title=authority=Test+PowerPoint+Document=10_by=score=desc>>
 

What does the ID operator do ?

Monika

________ 
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven


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

2016-11-08 Thread Monika Mevenkamp
very helpful thanks 

did a bit more reading and this is what I understand now  for my use case, 
which is submit a brand new item to a collections workflow  

1) have to configure such that  password authentication is enabled 
2) have to figure out how to tell sword to stick the submission into a workflow 
3) have to write a  hopefully small script that establishes the connection and 
pushes a zip file :  metadata plus bitstreams 
4) have to figure the format of that zip file out 

2 and 4  look like they have DSPace specific pieces  - so I am asking you guys 
- anybody with an answer ? 
Somebody must have done this or something very similar. 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Nov 7, 2016, at 4:36 PM, Luiz dos Santos <luiz...@gmail.com> wrote:
> 
> Thank you Andrea, perfect!
> 
> Luiz Claudio Santos
> http://luizclaudiosantos.me/ <http://luizclaudiosantos.me/>
> 
> On Mon, Nov 7, 2016 at 4:29 PM, Andrea Schweer <schw...@waikato.ac.nz 
> <mailto:schw...@waikato.ac.nz>> wrote:
> Hi Monika,
> 
> On 11/08/2016 10:18 AM, Monika Mevenkamp wrote:
>> We are building a  document submission system in sharepoint, which collects 
>> pdfs and metadata - essentially 
>> At the end we plan to push the docs over to our DSPACE instance; version 5.5 
>> 
>> We’d like to use Sword instead of exporting to a shared filesystem and then 
>> uploading with  /dspace/bin/dspace import 
>> Items need to be put into the workflow of their destination collections. 
>> 
>> Where can I learn: 
>> How to put Zip files together - are the same kind of ZIPs that the item 
>> importer uses ? 
>> How to issue the import/deposit request ? 
>> How to define the destination collection ? 
>> 
>> Any example code anywhere ? 
> 
> You can find lots of documentation on SWORD here, including specs: 
> http://swordapp.org/ <http://swordapp.org/>
> 
> There's a github repository here: https://github.com/swordapp/ 
> <https://github.com/swordapp/>
> 
> There is also a mailing list: 
> https://lists.sourceforge.net/lists/listinfo/sword-app-tech 
> <https://lists.sourceforge.net/lists/listinfo/sword-app-tech>
> 
> First of all you'll need to decide whether to use Sword v1 or Sword v2. v1 is 
> fire-and-forget -- you deposit your Sword package and make no further changes 
> to it. Sword v2 is designed to let you make changes to the item after 
> deposit. v1 is simpler; we recently decided to go with v2 for a 
> fire-and-forget application since there is a Java client library for v2 but 
> not v1.
> 
>> I fiddled a little with Sword and it looks like it assumes password 
>> authentication. Is that correct ? 
> 
> That's right. For v1 at least (don't remember for v2) there is a config flag 
> to let Sword deposits use password auth even if password auth isn't enabled 
> for 'normal' users.
> 
> cheers,
> Andrea
> 
> -- 
> Dr Andrea Schweer
> Lead Software Developer, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
> +64-7-837 9120 <tel:%2B64-7-837%209120>
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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] SWORD

2016-11-07 Thread Monika Mevenkamp

We are building a  document submission system in sharepoint, which collects 
pdfs and metadata - essentially 
At the end we plan to push the docs over to our DSPACE instance; version 5.5 

We’d like to use Sword instead of exporting to a shared filesystem and then 
uploading with  /dspace/bin/dspace import 
Items need to be put into the workflow of their destination collections. 

Where can I learn: 
How to put Zip files together - are the same kind of ZIPs that the item 
importer uses ? 
How to issue the import/deposit request ? 
How to define the destination collection ? 

Any example code anywhere ? 

I fiddled a little with Sword and it looks like it assumes password 
authentication. Is that correct ? 


Monika 


—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



-- 
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] help with large file uploading configuration options for JSPUI

2016-11-03 Thread Monika Mevenkamp
We deal with big files as follows

submitter enters metadata and uploads README.txt file 
puts the BIG file(s) somewhere so I can copy to DSPACE server 
I approve the submission and use  itemupdate to add the BIG file 

I have a directory with the AIP files which I tweak each time: 
1) change the contents file 
2) edit the dublin_core.xml to refer to right URL 
3) run: /dspace/bin/dspace itemupdate -e moni...@princeton.edu -v -A -s import

not ideal - but works fine for infrequent uploads 

Monika 

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Nov 3, 2016, at 4:08 PM, Hardy Pottinger <hardy.pottin...@gmail.com> wrote:
> 
> Hi, remember this discussion back in 2012 re enabling large file uploads?
> 
> http://dspace.2283337.n4.nabble.com/Ingesting-large-data-set-td4657204.html 
> <http://dspace.2283337.n4.nabble.com/Ingesting-large-data-set-td4657204.html>
> 
> I am currently setting up a data repository, and we'd prefer to use the 
> JSPUI. The tips in the thread I just linked refer to some XMLUI-specific 
> settings, and, I'm wondering if any JSPUI user on this list might have a 
> similar list of things to check for enabling large file uploads?
> 
> Currently, on our test repository, I can confirm a 13MB upload works fine, 
> but a 76MB upload fails. I know, that's hardly "large." I'm somewhat confused 
> by the how the upload fails-- the progress bar goes to nearly full on the 
> browser, and then fails. The only error message in the logs is an NPE during 
> the attempt to email an error report:
> 
> https://gist.github.com/hardyoyo/5cabefb4eb774c680ebf7bda7f1f0f9c 
> <https://gist.github.com/hardyoyo/5cabefb4eb774c680ebf7bda7f1f0f9c>
> 
> Any hints?
> 
> --Hardy
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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] Fwd: [dspace-community] Authorization policy.

2016-10-26 Thread Monika Mevenkamp
forwarding to dspace-tech 



> Begin forwarded message:
> 
> From: arjun k <arjunit...@gmail.com>
> Subject: Re: [dspace-community] Authorization policy.
> Date: October 26, 2016 at 12:03:58 AM EDT
> To: Monika Mevenkamp <mome...@gmail.com>
> 
> Dear sir/madam,
> 
> we are using xmlui version,
> dspace 5.4
> 
> Java Runtime Environment Version: 1.7.0_101 Java Runtime Environment Vendor: 
> OpenJDK Server VM Operating System Name: Linux Operating System Architecture: 
> i386 Operating System Version: 3.19.0-65-generic
> 
> On Tue, Oct 25, 2016 at 10:16 PM, Monika Mevenkamp <mome...@gmail.com 
> <mailto:mome...@gmail.com>> wrote:
> Arjun 
> 
> these types of questions are best directed to the dspace-tech list 
> 
> When you do ask , please include the user interface of your instances as well 
> as its version 
> The JSPUI has a 'Wildcard Policy Admin Tool’   accessible to administrators 
> under the ‘Access Control’  | ‘Authorization’ menu item. 
> 
> Monika
> 
>  
> Monika Mevenkamp
> mo.me...@gmail.com <mailto:mo.me...@gmail.com>
> 
> http://mo-meven.tumblr.com/ <http://mo-meven.tumblr.com/>
> http://mcmprogramming.com/mo.meven/ <http://mcmprogramming.com/mo.meven/>
> 
> 
> 
>> On Oct 25, 2016, at 3:35 AM, arjun k <arjunit...@gmail.com 
>> <mailto:arjunit...@gmail.com>> wrote:
>> 
>> Dear sir,
>> 
>> My name is arjun. I need a support from your side on giving authorization 
>> policy.
>> 
>> Since i have updated many contents on DSPACE without giving any restriction 
>> to any content.
>> 
>>  NoW the contents added is visible to the world wide with out restriction.
>> 
>> can we restrict it by giving any new policy. ( WHAT I NEED IS, TO GIVE ACESS 
>> CONTENTS TO SPECIFIC PEOPLE OR GROUP others not. )
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-community+unsubscr...@googlegroups.com 
>> <mailto:dspace-community+unsubscr...@googlegroups.com>.
>> To post to this group, send email to dspace-commun...@googlegroups.com 
>> <mailto:dspace-commun...@googlegroups.com>.
>> Visit this group at https://groups.google.com/group/dspace-community 
>> <https://groups.google.com/group/dspace-community>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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] Re: [dspace-community] Authorization policy.

2016-10-25 Thread Monika Mevenkamp
Arjun 

these types of questions are best directed to the dspace-tech list 

When you do ask , please include the user interface of your instances as well 
as its version 
The JSPUI has a 'Wildcard Policy Admin Tool’   accessible to administrators 
under the ‘Access Control’  | ‘Authorization’ menu item. 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Oct 25, 2016, at 3:35 AM, arjun k <arjunit...@gmail.com> wrote:
> 
> Dear sir,
> 
> My name is arjun. I need a support from your side on giving authorization 
> policy.
> 
> Since i have updated many contents on DSPACE without giving any restriction 
> to any content.
> 
>  NoW the contents added is visible to the world wide with out restriction.
> 
> can we restrict it by giving any new policy. ( WHAT I NEED IS, TO GIVE ACESS 
> CONTENTS TO SPECIFIC PEOPLE OR GROUP others not. )
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dspace-community+unsubscr...@googlegroups.com 
> <mailto:dspace-community+unsubscr...@googlegroups.com>.
> To post to this group, send email to dspace-commun...@googlegroups.com 
> <mailto:dspace-commun...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/dspace-community 
> <https://groups.google.com/group/dspace-community>.
> For more options, visit https://groups.google.com/d/optout 
> <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] Re: [dspace-community] Scripts Create Database Oracle

2016-10-24 Thread Monika Mevenkamp
The database is created during when you run 

> and fresh_install 

this created the db tables and it seeds some of the tables with initial data - 
aka populating the metadata registry 

There are sql files in the source tree at 

dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration

When you start dspace it bootstraps itself and runs missing migrations 


Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven

> On Oct 24, 2016, at 2:15 PM, Leonardo Descoffier <ldescoff...@gmail.com> 
> wrote:
> 
> Hi! 
> 
>  Someone knows How obtain scripts to create all objects in a empty database 
> Oracle for schema of dspace 5.x? Tables, indexes, etc..
> 
> Is There any utility from Dspace for do this?
> 
> 
> Thanks
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dspace-community+unsubscr...@googlegroups.com 
> <mailto:dspace-community+unsubscr...@googlegroups.com>.
> To post to this group, send email to dspace-commun...@googlegroups.com 
> <mailto:dspace-commun...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/dspace-community 
> <https://groups.google.com/group/dspace-community>.
> For more options, visit https://groups.google.com/d/optout 
> <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] Re: listing items on collection home page

2016-10-17 Thread Monika Mevenkamp
I think I got it 

-#webui.collectionhome.browse-name = title
+webui.collectionhome.browse-name = dateissued
 
 # how mamy items should be displayed per page in collection home page
 #   default = 20
@@ -1354,7 +1354,7 @@ recent.submissions.count = 5
 #   If true and the sort option "dateaccessioned" exists, use 
"dateaccessioned" as a sort option.
 #   Otherwise use the sort option pertaining the specified browse index.
 #   default = true
-#webui.collectionhome.use.dateaccessioned = true
+webui.collectionhome.use.dateaccessioned = false



____ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Oct 17, 2016, at 4:28 PM, Monika Mevenkamp <mome...@gmail.com> wrote:
> 
> 
> how do I configure the JSPUI v5.5  to list items on a collection home page 
> sorted in descending order on the fields 
> dc.date.issued and dc.date.eissued ? 
> 
> Monika
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 

-- 
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] listing items on collection home page

2016-10-17 Thread Monika Mevenkamp

how do I configure the JSPUI v5.5  to list items on a collection home page 
sorted in descending order on the fields 
dc.date.issued and dc.date.eissued ? 

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven

-- 
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: solr search browse - strange results

2016-10-07 Thread Monika Mevenkamp

there may have been something wrong in my dspace.cfg configs regarding search 
indices 
I wiped my  solr/index/data and brought the old configs back - which solved the 
problem 

now I have to hunt for the config issue 

if anybody has a top regarding pitfalls to avoid  - let me know 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Oct 7, 2016, at 1:36 PM, Monika Mevenkamp <mome...@gmail.com> wrote:
> 
> 
> Here is what I did 
> 
> I switched the database behind my test instance  and I cleared the index: 
>> $DSPACE_HOME/bin/dspace index-discovery -c
> 
> When I visit 
>   http://localhost:8080/jspui/browse?type=author
> I get a long list of authors - I was expecting an empty list 
> But clicking on any of them doesn’t deliver a result 
> 
> Where do all these authors come from ? 
> 
> Restarted the tomcat doesn’t get rid of the author list either 
> 
> I am missing a piece - what is it ? 
> 
> Monika
> 
>  
> 
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 
> 
> 
> 

-- 
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 search browse - strange results

2016-10-07 Thread Monika Mevenkamp

Here is what I did 

I switched the database behind my test instance  and I cleared the index: 
> $DSPACE_HOME/bin/dspace index-discovery -c

When I visit 
http://localhost:8080/jspui/browse?type=author
I get a long list of authors - I was expecting an empty list 
But clicking on any of them doesn’t deliver a result 

Where do all these authors come from ? 

Restarted the tomcat doesn’t get rid of the author list either 

I am missing a piece - what is it ? 

Monika

 

Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven




-- 
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] How to organize customizations in dspace?

2016-09-15 Thread Monika Mevenkamp
When I had a big upgrade with changes in the code and configurations, I tried 
rebasing which generated lots of conflicts, so that I gave up on that approach. 
So I listed all the files that had changes and handcrafted the changes into the 
new version - that was painful 

Patching is one way to do it and the Quilt tool sounds interesting - I will 
keep that in mind for my next big upgrade, 

Another similar approach is to list the changes in your branch and 
cherrypicking the commits in reverse order. This should work if there are only 
few commits. 

If you truly have only changes in configs and you are not quite sure whether 
they are all properly versioned (I do sometimes muck around in the deployed 
/dspace/config files), you could do the following trick:

put the config files in the deployment directory under git:

cd /dspace/config 
git init 
git add . 
git commit 


then compile the new version of the code 
deploy 
have a look at the differences with git and transport them back into the code 
base 


Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Sep 15, 2016, at 1:20 AM, Ilja Sidoroff <ilja.sidor...@uef.fi> wrote:
> 
> 
> I started with having a separate repository and a shell script that copied 
> changed files from that repository to the original sources, which IMO works 
> well as long as you don't make too many changes to the code.
> 
> After I started having more changes in the code, not only in configuration, I 
> started using patches. I have a DSpace git-tree, from where I generate 
> patches for my changes. I then store the patches to a different repository 
> and use quilt to apply them to the original sources.
> 
> br,
> 
> Ilja Sidoroff
> University of Eastern Finland
> 
> From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf 
> of Christoph Weber <weber.christ...@gmail.com>
> Sent: Wednesday, September 14, 2016 4:31:38 PM
> To: DSpace Technical Support
> Subject: [dspace-tech] How to organize customizations in dspace?
> 
> Hello,
> 
> I'm currently setting up our dspace instance and doing a few changes to 
> customize it. Till. ex. some changes in 
> [dspace-source]/config/input-forms.xml and 
> [dspace-source]/config/registries/dublin-core-types.xml to support DOI.
> Now I wonder what the best way is to preserve this changes after an update of 
> dspace in the future. Its not something specific to a theme as far as I know, 
> where I simply can put my customizations in [dspace-source]/themes/... as an 
> overlay and use them again in the future.
> 
> I want to keep my dspace repository as standard as possible to avoid any 
> hassles on the next update. So what is the best way to do that without 
> needing do merge all my changes manually to the new source code?
> 
> Best regards,
> Christoph
> 
> 
> 
> 
> --
> 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.
> 
> -- 
> 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.


Fwd: [dspace-tech] How to authorize a group to add/delete users to another group

2016-09-14 Thread Monika Mevenkamp

> Hi Evgeni 
> 
> As far as I know only administrators can create  accounts and change group 
> memberships for other accounts 
> So to enable a power user to change other users group memberships you will 
> have to add that power user to the administrator group.
> This of cause will allow the power user to do pretty much anything in tour 
> instance 
> 
> Monika
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven


> 
> 
> 
> 
>> On Sep 14, 2016, at 10:10 AM, Evgeni Dimitrov <dimitrove@gmail.com 
>> <mailto:dimitrove@gmail.com>> wrote:
>> 
>> I need to authorize a user (a group) to create users and add/delete them to 
>> one other group.
>> 
>> In DSpace-Manual I see things like "custom policy" (policy_id: 4847; 
>> resource_type_id: 2; resource_id: 89; ...). There are "DSpace types" 
>> (Bitstream: 0; ... Group: 6; Eperson: 7).
>> 
>> But I can not figure out - can I use these in order to solve my problem. If 
>> the solution requires some coding, this is fine by me.
>> 
>> 
>> -- 
>> 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://groups.google.com/group/dspace-tech>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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] Quotas

2016-09-06 Thread Monika Mevenkamp
see answers below
—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven

> On Sep 6, 2016, at 8:47 AM, Tony Brian Albers <t...@statsbiblioteket.dk> 
> wrote:
> 
> Hi guys and gals,
> 
> We're looking into deploying Dspace in a test environment, and I have a
> couple of questions some of you might know the answers to:
> 
> 1. Is it possible to limit the number of collections a single ePerson
> can have?
> 
YES 
You can configure collections such that only a given set of users can 
administer and submit

> 2. Is it possible to set a quota on the amount of data a given
> collection can contain? I.e. 20GB per collection?
> 
NO
Files are stored on a file system. The size of the file system is the upper 
limit for the total file size across all collections

> Thanks,
> 
> -- 
> Best regards,
> 
> Tony Albers
> Systems administrator, IT-development
> State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> Tel: +45 8946 2316
> 

-- 
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] Querying items by metadata item via SOLR and REST

2016-09-01 Thread Monika Mevenkamp
I just ran a test  and timed execution time 

script  4681  items-> 26.334u  1.829s 0:35.43 79.4%   0+0k  0+ 36io   0pf+0w
script 64065  items-> 77.505u 16.817s 6:07.68 25.6%   0+0k  1+365io   0pf+0w
jruby+gem+start dspace -> 12.047u  0.525s 0:06.75 186.0%  0+0k 52+ 38io 393pf+0w
dspace database test   ->  6.616u  0.348s 0:03.44 202.0%  0+0k  2+ 15io   0pf+0w

comparing the time of running a regular database test versus running a 
comparable JRuby script that loads the dspace gem and connects  to the Dspace 
instance, which involves more or less the same actions as testing the database, 
shows that this costs an extra 6sec user time and .2 sec system time. 

the second script example processes about 13 times as many items than the first 
- but the real elapsed time   6min versus 35sec more like 10 times as long; 
just starting up the ruby interpreter, loading the gem and starting the DSPace 
kernel takes takes almost 7sec which explains most of that ‘imbalance’

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Sep 1, 2016, at 12:05 PM, Monika Mevenkamp <mome...@gmail.com> wrote:
> 
> does speed matter ?  Is this something you’ll have to do a lot - or is it one 
> of those one-of-scripts ?
> 
> If you run this on the command line / cron   it may not be so important - 
> especially with a cron job  you may not care that much - as log as you can 
> start it at midnight and it gets done by 7am 
> 
> Calling the JRuby script from the UI, aka calling from Java is possible - but 
> I have not actually done that yet 
> 
> I don’t believe that calling Java via JRuby adds much to the performance
> 
> A bigger issue,  I see, is that DSpace.findByMetadataValue  returns an array 
> of matching DSpaceObjects - if speed matters this needs to be changed to 
> return an iterator, which shouldn’t be too hard 
> 
> Why not just try and see - since the script only accesses data and does not 
> change anything - there is no danger to disturb your instance. Plus you can 
> run this anywhere - as long as you have access to the database. 
> 
> Monika
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 
> 
> 
>> On Sep 1, 2016, at 11:48 AM, Ilja Sidoroff <ilja.sidor...@uef.fi> wrote:
>> 
>> Thanks! That script would indeed do what I'd need, but I'm bit concerned 
>> about the scalability, since it will have to do one request per item - and 
>> if I have thousands of items, that might get a bit heavy? Or would it? I 
>> really don't know don't know how long for instance 10.000 item/id/metadata 
>> requests would take.
>> 
>> Ilja
>> 
>> 
>> From: Monika Mevenkamp <mome...@gmail.com>
>> Sent: Thursday, September 1, 2016 6:30:33 PM
>> To: Ilja Sidoroff
>> Cc: DSpace Tech
>> Subject: Re: [dspace-tech] Querying items by metadata item via SOLR and REST
>> 
>> Hi Ilja
>> 
>> I have a script that given a metadata field, e.g. pu.workflow.state, 
>> produces a tab separated list so:
>> 
>> field   id  handle  value
>> pu.workflow.state   969 9/fk4w099v32approved
>> pu.workflow.state   903 nullemailed
>> pu.workflow.state   753 nullemailed
>> pu.workflow.state   752 nullemailed
>> pu.workflow.state   902 nullorphaned
>> 
>> 
>> The script is written in jruby and based on my dspace-jruby gem, see Script 
>> here<https://github.com/akinom/dspace-cli/blob/master/metadata/list_values.rb>.
>> The gem as well as the script are available from github:   jrdspace 
>> gem<https://github.com/akinom/dspace-jruby>.  and 
>> cli-dspace<https://github.com/akinom/dspace-cli> , which has a bunch of 
>> other scripts.
>> 
>> The script is quite small, its ‘action’ is in the doit method
>> 
>> def doit(metadata_field)
>> puts ['field', 'id', 'handle', 'value'].join("\t")
>> dsos = DSpace.findByMetadataValue(metadata_field, nil, DConstants::ITEM)
>> dsos.each  do  |dso|
>>   vals = dso.getMetadataByMetadataString(metadata_field).collect { |v| 
>> v.value }
>>   puts [metadata_field, dso.getID, dso.getHandle.nil? ? "null" : 
>> dso.getHandle, vals  ].join("\t")
>> end
>> end
>> 
>> if you want to try this out , there are instructions on GitHUb. If you want 
>> to work in Java, look at the implementation of the 
>> DSpace.findByMetadataValue  method. It has the SQL statement. see 

Re: [dspace-tech] Querying items by metadata item via SOLR and REST

2016-09-01 Thread Monika Mevenkamp
does speed matter ?  Is this something you’ll have to do a lot - or is it one 
of those one-of-scripts ?

If you run this on the command line / cron   it may not be so important - 
especially with a cron job  you may not care that much - as log as you can 
start it at midnight and it gets done by 7am 

Calling the JRuby script from the UI, aka calling from Java is possible - but I 
have not actually done that yet 

I don’t believe that calling Java via JRuby adds much to the performance

A bigger issue,  I see, is that DSpace.findByMetadataValue  returns an array of 
matching DSpaceObjects - if speed matters this needs to be changed to return an 
iterator, which shouldn’t be too hard 

Why not just try and see - since the script only accesses data and does not 
change anything - there is no danger to disturb your instance. Plus you can run 
this anywhere - as long as you have access to the database. 

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Sep 1, 2016, at 11:48 AM, Ilja Sidoroff <ilja.sidor...@uef.fi> wrote:
> 
> Thanks! That script would indeed do what I'd need, but I'm bit concerned 
> about the scalability, since it will have to do one request per item - and if 
> I have thousands of items, that might get a bit heavy? Or would it? I really 
> don't know don't know how long for instance 10.000 item/id/metadata requests 
> would take.
> 
> Ilja
> 
> ________
> From: Monika Mevenkamp <mome...@gmail.com>
> Sent: Thursday, September 1, 2016 6:30:33 PM
> To: Ilja Sidoroff
> Cc: DSpace Tech
> Subject: Re: [dspace-tech] Querying items by metadata item via SOLR and REST
> 
> Hi Ilja
> 
> I have a script that given a metadata field, e.g. pu.workflow.state, produces 
> a tab separated list so:
> 
> field   id  handle  value
> pu.workflow.state   969 9/fk4w099v32approved
> pu.workflow.state   903 nullemailed
> pu.workflow.state   753 nullemailed
> pu.workflow.state   752 nullemailed
> pu.workflow.state   902 nullorphaned
> 
> 
> The script is written in jruby and based on my dspace-jruby gem, see Script 
> here<https://github.com/akinom/dspace-cli/blob/master/metadata/list_values.rb>.
> The gem as well as the script are available from github:   jrdspace 
> gem<https://github.com/akinom/dspace-jruby>.  and 
> cli-dspace<https://github.com/akinom/dspace-cli> , which has a bunch of other 
> scripts.
> 
> The script is quite small, its ‘action’ is in the doit method
> 
> def doit(metadata_field)
>  puts ['field', 'id', 'handle', 'value'].join("\t")
>  dsos = DSpace.findByMetadataValue(metadata_field, nil, DConstants::ITEM)
>  dsos.each  do  |dso|
>vals = dso.getMetadataByMetadataString(metadata_field).collect { |v| 
> v.value }
>puts [metadata_field, dso.getID, dso.getHandle.nil? ? "null" : 
> dso.getHandle, vals  ].join("\t")
>  end
> end
> 
> if you want to try this out , there are instructions on GitHUb. If you want 
> to work in Java, look at the implementation of the DSpace.findByMetadataValue 
>  method. It has the SQL statement. see 
> HERE<https://github.com/akinom/dspace-jruby/blob/master/lib/dspace/dspace.rb#L150-L171>
> 
> Monika
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 
> 
> 
> On Sep 1, 2016, at 6:43 AM, Ilja Sidoroff 
> <ilja.sidor...@uef.fi<mailto:ilja.sidor...@uef.fi>> wrote:
> 
> Hello,
> 
> I am using DSpace 5.5.
> 
> Am I correct, that SOLR queries return only items that are in
> *collections* and not in the *workflow*? At least my search attemps
> indicate that?
> 
> In the REST API, however, it seems that GET /items returns only
> results that are in the collections. However, with POST
> /items/find-by-metadata-field I can get all items in the DSpace, both
> those in the collections and those in the workflow?
> 
> What I need, is a list of *all items* (both in the workflow and the
> collections) that have certain metadata field set and *the value of
> that field*. I don't see other way of doing that, except by direct SQL
> query to the database. I have one for 5.x, but I'm not happy with it
> since, I need to update it for 6.x etc. Is there any other way of
> doing this?
> 
> Also, it seems that
> 
> dspace import -d -m mapfile ...
> 
> does not delete items currently in the workflow? Is this intentional or a bug?
> 
> regards,
> 
> Ilja Sidoroff
> University of Eastern Finland
> 
> --
> You received this message

Re: [dspace-tech] Dspace General Statistics Show data 0

2016-07-26 Thread Monika Mevenkamp
DSPACE stats reports are built from the data that is saved in the statistics 
solr core (by default) 

Configurations are described at 
https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics#SOLRStatistics-ConfigurationsettingsforStatistics
 
<https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics#SOLRStatistics-ConfigurationsettingsforStatistics>
By default the solr interface is configured to run at 
http://localhost:8080/solr 

You can test from the command line on your DSPACE installation server whether 
the stats core contains any events by running: 

wget http://localhost:8080/solr/statistics/select?q=*:*

or you can use your browser to access the solr admin ui at 
http://your.server.xx:8080/solr(provided port 8080 is open to you) 

If there are no events in the statistics solr core there is something wrong 
with the event logging. 

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Jul 26, 2016, at 6:53 AM, Yusuf Khalil <yusuf.khali...@gmail.com> wrote:
> 
> I have installed Dspace 5.4. General Statistics Show data 0. Screen Shot has 
> been attached. Please tell a solutions. Thanks
>  
> <https://lh3.googleusercontent.com/-raXusMzc9Us/V5dA-XifNKI/Cko/jijNYuQ5KaU_56vsskzpmN8poR1DfE4FQCLcB/s1600/dspace-stat.png>
> 
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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] Re: exclude display of values from certain metadata fields

2016-07-12 Thread Monika Mevenkamp
I never got an answer to my question below.
I take this to mean: No there is no such feature that excludes values for a 
given list of metadata fields from the UI - unless logged in with the right 
privileges. 

Does anybody have something similar implemented ? 

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Jul 8, 2016, at 4:12 PM, Monika Mevenkamp <mome...@gmail.com> wrote:
> 
> 
> Is it possible in JSPUI to define a no-show list  of metadata fields (used on 
> items), such 
> that values for those fields will be shown only to users that are specially 
> authorized. 
> 
> I plan to build a custom feature that keeps track of status in metadata 
> values; but I don’t 
> want regular users to be able to see those values. Along with this we’ll have 
> employee 
> ids on items. While the ids are not a big secret we don’t want to advertise 
> them broadly either, 
> 
> Monika
> 
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 
> 
> 

-- 
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] exclude display of values from certain metadata fields

2016-07-08 Thread Monika Mevenkamp

Is it possible in JSPUI to define a no-show list  of metadata fields (used on 
items), such 
that values for those fields will be shown only to users that are specially 
authorized. 

I plan to build a custom feature that keeps track of status in metadata values; 
but I don’t 
want regular users to be able to see those values. Along with this we’ll have 
employee 
ids on items. While the ids are not a big secret we don’t want to advertise 
them broadly either, 

Monika


—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



-- 
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 collection policy and permissions

2016-07-05 Thread Monika Mevenkamp
Pierre

unfortunately changing the permissions that relate to a collection’s items  
affect only the items that will be created after the change
The items that are already exist are not affected

In the JSPUI you can use the Advanced Policy Manager to do bulk changes on 
existing items. I am not sure what the equivalent tool is called in XMLUI

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On Jul 5, 2016, at 9:33 AM, Pierre Lasou <pierre.la...@bibl.ulaval.ca> wrote:
> 
> Bonjour,
>  
> I am seeking your advice on collection policy.
>  
> I want to achieve this: specific staff must be able to modify, update, delete 
> metadata elements of every item in a collection (but not bytstreams).
>  
> I create a specific Group and give it WRITE permissions in the collection 
> policy. However, when testing, people were not able either modify, update or 
> delete metadata elements on items. So I wonder, is WRITE the right 
> permission? Should I use another one (REMOVE, ADMIN)?
>  
> I cannot find in Dspace doc complete definition on DSpace permissions (WRITE, 
> REMOVE, ADMIN, etc.). Are they defined somewhere?
>  
> Thank you very much for your help!
>  
> Best,
> Pierre
>  
>  
> 
> Pierre Lasou
> Bibliothécaire - Communications savantes
> Bibliothèque de l'Université Laval
> Téléphone : 418-656-2131 poste : 12522
> Jean-Charles Bonenfant
> Télécopieur : 418-656-7897
> 2345, allée des Bibliothèques
> pierre.la...@bibl.ulaval.ca
> Local, 3142
> www.bibl.ulaval.ca/ <http://www.bibl.ulaval.ca/>
> Québec (Québec) G1V 0A6
> _
> Avis relatif à la confidentialité / Notice of Confidentiality 
> <http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>
>  
>  
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] Collection getParentCommunityList()

2016-05-18 Thread Monika Mevenkamp
Well I guess _ i rephrase - I’d vote for hiding  :-) 

On another note - would it make sense to get away from names like 
parentCommunity 
parentCollection

in favor of parent  / parentList 

again looking ahead to the bright future where collections and communities 
become the same 

Monika

—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On May 18, 2016, at 5:58 PM, Tim Donohue <tdono...@duraspace.org> wrote:
> 
> Hi Monika,
> 
> Those are good questions. To clarify, I'm not recommending we add a new "map 
> collections" feature. I was just pointing out to Terry, that *at the Java API 
> level*, DSpace has supported the idea of a Collection having multiple parents 
> for some time.  That is not a change, it's just how the Java API has worked.  
> However, at the UI level, this feature has never been implemented because we 
> never had a clear use case for it (and I'm not exactly sure myself why the 
> API was built this way to begin with).
> 
> When it comes to the REST API, we'd then have a decision. Do we let it act 
> more like the Java API or do we just "hide" this feature of the Java API and 
> make the REST API look more like the current UIs.  I think this is the basics 
> of what Terry is asking in his #2.  I'm not sold on the fact that we need to 
> let the REST API even support this feature (it's definitely not a high 
> priority).
> I think the real issue here is just finding a solution to 
> https://jira.duraspace.org/browse/DS-2766 
> <https://jira.duraspace.org/browse/DS-2766>, which is more about just 
> figuring out what "parentCommunityList" was meant to do.
> 
> - Tim
> 
> On 5/18/2016 3:08 PM, Monika Mevenkamp wrote:
>> Right now DSpace has a conceptually clean structure, an almost perfect 
>> hierarchy, except where items are mapped to multiple collections.  So for 
>> example: it is clear what it means to show a collection in the UI. For a 
>> mapped item that is not necessarily true. Image styling different 
>> collections in different ways in a future flexible UI  - what style should 
>> be picked for a mapped item ? In other words - mapping things - means moving 
>> away from a hierarchy - means life will be more complicated.
>> 
>> My question here: Mapping Collection to multiple communities  — Is it worth 
>> it ?
>> 
>> What is the use case for mapping collections to multiple communities   ?
>> 
>> Can the same be achieved with solr and ‘virtual’ collections which could be 
>> defined as whatever matches some kind of query ?
>> 
>> What is the implication in terms of getting rid of the distinction between 
>> communities and collections ? 
>> That is a feature I am looking forward to: we have several communities with 
>> a single collection with few items.
>> 
>> Where does that position the DSPACE model in relation to the Portland Data 
>> Model ? 
>> 
>> My gut tells me to not to map collections. I don’t have a good overview of 
>> the wider DSPace world though.
>> But it would be  worthwhile discussing before hacking …
>> 
>> 
>> Monika
>> —
>> Monika Mevenkamp
>> Digital Repository Infrastructure Developer
>> Princeton University
>> Phone: 609-258-4161
>> Skype: mo-meven
>> 
>> 
>> 
>>> On May 18, 2016, at 12:33 PM, Terry Brady < 
>>> <mailto:terry.br...@georgetown.edu>terry.br...@georgetown.edu 
>>> <mailto:terry.br...@georgetown.edu>> wrote:
>>> 
>>> Tim,
>>> 
>>> Thanks for the explanation.
>>> 
>>> To implement #1, I recommend that we add the necessary hibernate 
>>> configuration logic to recursively traverse community2community.  Who could 
>>> advise on that change?
>>> 
>>> To implement #2, we would probably want to change the method return type to 
>>> return a list of lists: one list for each immediate community parent.
>>> 
>>> Terry
>>> 
>>> On Wed, May 18, 2016 at 7:39 AM, Tim Donohue < 
>>> <mailto:tdono...@duraspace.org>tdono...@duraspace.org 
>>> <mailto:tdono...@duraspace.org>> wrote:
>>> Hi Terry,
>>> 
>>> Some quick answers...
>>> I'm not sure of the correct answer to #1 myself (Peter Dietz, did you 
>>> create this behavior?). Since it's called a "List" though, it sounds to me 
>>> like the behavior in DSpace 5.x is more correct (that the intension may be 
>>> to locate the full location of the collection, similar to breadcrumbs). 
>>>

Re: [dspace-tech] Collection getParentCommunityList()

2016-05-18 Thread Monika Mevenkamp
Right now DSpace has a conceptually clean structure, an almost perfect 
hierarchy, except where items are mapped to multiple collections.  So for 
example: it is clear what it means to show a collection in the UI. For a mapped 
item that is not necessarily true. Image styling different collections in 
different ways in a future flexible UI  - what style should be picked for a 
mapped item ? In other words - mapping things - means moving away from a 
hierarchy - means life will be more complicated.

My question here: Mapping Collection to multiple communities  — Is it worth it ?

What is the use case for mapping collections to multiple communities   ?

Can the same be achieved with solr and ‘virtual’ collections which could be 
defined as whatever matches some kind of query ?

What is the implication in terms of getting rid of the distinction between 
communities and collections ? 
That is a feature I am looking forward to: we have several communities with a 
single collection with few items.

Where does that position the DSPACE model in relation to the Portland Data 
Model ? 

My gut tells me to not to map collections. I don’t have a good overview of the 
wider DSPace world though.
But it would be  worthwhile discussing before hacking …


Monika
—
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



> On May 18, 2016, at 12:33 PM, Terry Brady <terry.br...@georgetown.edu> wrote:
> 
> Tim,
> 
> Thanks for the explanation.
> 
> To implement #1, I recommend that we add the necessary hibernate 
> configuration logic to recursively traverse community2community.  Who could 
> advise on that change?
> 
> To implement #2, we would probably want to change the method return type to 
> return a list of lists: one list for each immediate community parent.
> 
> Terry
> 
> On Wed, May 18, 2016 at 7:39 AM, Tim Donohue <tdono...@duraspace.org 
> <mailto:tdono...@duraspace.org>> wrote:
> Hi Terry,
> 
> Some quick answers...
> I'm not sure of the correct answer to #1 myself (Peter Dietz, did you create 
> this behavior?). Since it's called a "List" though, it sounds to me like the 
> behavior in DSpace 5.x is more correct (that the intension may be to locate 
> the full location of the collection, similar to breadcrumbs). 
> As for #2, the API / database has always supported the "idea" of a Collection 
> existing in multiple locations (i.e. a "linked" Collection). However, we've 
> never found a reason to fully build this out with unit tests, etc. So, it's a 
> partially created concept, and it's never really been proven to "work".  In 
> addition, the UIs have never supported this idea...at the UI level, a 
> Collection only ever belongs to a single Community.
> So, essentially, #2 would/should be treated as a new feature. The groundwork 
> is there in the API / database layer. But, it has never been fully built out. 
> It'd need a volunteer to dig in and implement this concept so that it's 
> actually usable in the UIs.  It also may require some refactoring at the REST 
> API layer, as you've noted.
> 
> - Tim
> On 5/17/2016 1:03 PM, Terry Brady wrote:
>> I am investigating the following ticket:  
>> <https://jira.duraspace.org/browse/DS-2766>https://jira.duraspace.org/browse/DS-2766
>>  <https://jira.duraspace.org/browse/DS-2766>
>> 
>> Here are my questions.
>> 1. In the collections endpoint, of the REST api, what is the intended 
>> behavior of expand=parentCommunityList?
>> 2. In DSpace, can a collection exist in multiple communities?
>> 
>> Question 1. expand=parentCommunityList
>> 
>> In DSpace5x, the expand=parentCommunityList option returns the full 
>> hierarchy of owing communities for a collection (all the way to the top 
>> level community).
>> 
>> In DSpace 6x, this option returns the subcommunity that is an immediate 
>> parent of the collection.
>> 
>> Assuming that this behavior is incorrect in DSpace 6, the following 
>> configuration will need to be updated to follow the community2community 
>> hierarchy: 
>> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/Collection.java#L81-L86
>>  
>> <https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/Collection.java#L81-L86>
>> 
>> Question 2: Can a collection exist in multiple communities?
>> 
>> The following method in DSpace 5x could imply that a collection can exist in 
>> multiple communities:  
>> <https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/content/Collection.java#L1402>https://github.com/DSpace/DSpace

[dspace-tech] configure browse index -

2016-04-21 Thread Monika Mevenkamp
I would like to configure the author browse index to include 

dc.contributor,
dc.contributor.author,
dc.creator:text

but according to the documentation I need to either specify ‘*’ or a proper 
qualifier 

the reason I do not use dc.contributor.* is that we have  
dc.contributor.advisor field, 
that goes into our advisor index but should not be part of the author index

is there a way to this in version 5 ? 


Monika 

-
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



-- 
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] graceful switch between database connections

2016-03-29 Thread Monika Mevenkamp
I am running an instance with a remote Oracle database. 
Upcoming maintenance on the db cluster will require the instance to switch 
between two connectors

jdbc:oracle:thin:@xxx.princeton.edu:1521:dspace1
jdbc:oracle:thin:@xxx.princeton.edu:1521:dspace2

depending on which node is currently down for maintenance. 

The instance runs on RedHat, with tomcat and Apache 
Is there something that I can plug between DSPACE and the database 
that allows transparent switching - loosing work in some transactions is fine. 
I just want to avoid that the whole site goes down. 

Since this is OS maintenance and will not need to be done any time soon again 
I could just manual manually changed and restart. 

So in brief - if there is something simple - please let me know 

Monika





 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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] bitstreams with special chars not downloading

2016-03-14 Thread Monika Mevenkamp
The bitstream shown at  
http://dataspace.princeton.edu/jspui/handle/88435/dsp01xp68kj53b 
<http://dataspace.princeton.edu/jspui/handle/88435/dsp01xp68kj53b> does not 
download correctly. This is JSPUI

The bitstream has lots of UTF8 chars: Панкратова_М_Н_2007.pdf
It links to  
http://dataspace.princeton.edu/jspui/bitstream/88435/dsp01xp68kj53b/1/%d0%9f%d0%b0%d0%bd%d0%ba%d1%80%d0%b0%d1%82%d0%be%d0%b2%d0%b0_%d0%9c_%d0%9d_2007.pdf
which correctly  decides to 
http://dataspace.princeton.edu/jspui/bitstream/88435/dsp01xp68kj53b/1/Панкратова_М_Н_2007.pdf


I set myself up to debug the issue on my laptop where I deal with 

http://localhost:8080/jspui/bitstream/88435/dsp01xp68kj53b/1/%D0%9F%D0%B0%D0%BD%D0%BA%D1%80%D0%B0%D1%82%D0%BE%D0%B2%D0%B0_%D0%9C_%D0%9D_2007.pdf
http://localhost:8080/jspui/bitstream/88435/dsp01xp68kj53b/1/Панкратова_М_Н_2007.pdf

I noticed that the HttpServletRequest request, that is passed to the 
ReferredObjects  constructor, contains the correct path in the coyoteRequest 
and in attributes[‘dspace.original.url’] along with a funny looking 
requestDispatchPath value. The code uses the value from the requestDispatchPath 
with the consequence that the comparison with the bitstream’s filename fails 
and the servlet refuses to return the bitstream; here the specifics: 

 attributes   "dspace.original.url" ->  
"http://localhost:8080/jspui/bitstream/88435/dsp01xp68kj53b/1/%D0%9F%D0%B0%D0%BD%D0%BA%D1%80%D0%B0%D1%82%D0%BE%D0%B2%D0%B0_%D0%9C_%D0%9D_2007.pdf”
  

 requestDispatchPath = 
/bitstream/88435/dsp01xp68kj53b/1/Панкратова_М_Р_2007.pdf
 coyoteRequest = R( 
/jspui/bitstream/88435/dsp01xp68kj53b/1/%D0%9F%D0%B0%D0%BD%D0%BA%D1%80%D0%B0%D1%82%D0%BE%D0%B2%D0%B0_%D0%9C_%D0%9D_2007.pdf)

Can anybody explain this behavior ?

Monika

 



____ 
Monika Mevenkamp

mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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] Push Symplectic articles to multiple collections ?

2016-03-09 Thread Monika Mevenkamp
We are getting ready to setup a symplectic instance with a dedicated dspace 
repository instance. 

In the public facing repository UI we want to show a list of collections 
representing departments/groups each containing articles of affiliated faculty. 
We expect that metadata about an articles affiliation to departments will be 
somehow available. Of cause there will  be special cases like articles jointly 
published  by  several faculty members from different departments. We’ll have 
to work out what to do about authors who are appointed at multiple departments. 
 

As per documentation Symplectic pushes all discovered articles into the 
workflow of a dedicated collection. Thus the main issue is to figure out how to 
shepherd articles from this one collection into the desired department 
collection(s). Preferable we want to automate this. Reading through the DSpace 
documentation I discovered AbstractProcessingStep.  Implementing a specialized 
step that reassigns the destination collection might be a possible route. 
Alternatively a dedicated curation task could look through submitted items and 
reassign them. Any other better options ? 

I’d like to hear what other institutions do ? Any tips, tricks code, pit falls 
to avoid ? 

Thanks 

Monika


 
Monika Mevenkamp
Digital Repository Infrastructure Developer
Princeton University
Phone: 609-258-4161
Skype: mo-meven



-- 
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] Number of Items submitted per annum

2016-03-08 Thread Monika Mevenkamp
I have a small jruby script that does just that 

Have a look at  https://github.com/akinom/dspace-cli 
<https://github.com/akinom/dspace-cli>
in particular 
https://github.com/akinom/dspace-cli/blob/master/statistics/submissions.rb 
<https://github.com/akinom/dspace-cli/blob/master/statistics/submissions.rb>

This requires JRuby and bundler to run 
and will compile a report along the lines of 

YearMonth   #Items
201509  985
201510  8

Monika 


________ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Mar 7, 2016, at 8:03 AM, Hilton Gibson <hilton.gib...@gmail.com> wrote:
> 
> Thanks Alex,
> 
> However due to a severe disk usage problem many of my log files are gone!
> So that option is not available to me ;-((
> 
> Cheers
> 
> hg
> 
> Hilton Gibson
> Stellenbosch University Library
> http://orcid.org/-0002-2992-208X <http://orcid.org/-0002-2992-208X>
> 
> 
> On 7 March 2016 at 14:39, Àlex Magaz Graça <alexandre.ma...@udl.cat 
> <mailto:alexandre.ma...@udl.cat>> wrote:
> El 07/03/16 a las 12:35, Hilton Gibson escribió:
> Hi All,
> 
> DSpace 5.4, XMLUI
> 
> Is it possible to extract the total number of items submitted per month
> per annum for the entire repository? I collect SQL queries here:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/SQL_Tips 
> <http://wiki.lib.sun.ac.za/index.php/SUNScholar/SQL_Tips>
> 
> But the one I have does not work with DSpace 5.4.
> Does anyone have an updated version that works with DSpace 5.4?
> 
> Cheers
> 
> *Hilton Gibson*
> Stellenbosch University Library
> _http://orcid.org/-0002-2992-208X_ <http://orcid.org/-0002-2992-208X_>
> 
> -- 
> 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%2bunsubscr...@googlegroups.com>
> <mailto:dspace-tech+unsubscr...@googlegroups.com 
> <mailto:dspace-tech%2bunsubscr...@googlegroups.com>>.
> To post to this group, send email to dspace-tech@googlegroups.com 
> <mailto:dspace-tech@googlegroups.com>
> <mailto:dspace-tech@googlegroups.com <mailto:dspace-tech@googlegroups.com>>.
> Visit this group at https://groups.google.com/group/dspace-tech 
> <https://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> Hi Hilton,
> 
> Instead of SQL I use something like this:
> 
> grep action.submission_complete /var/log/dspace/dspace-log-monthly-2015-*.dat
> 
> Cheers,
> Àlex
> 
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Re: [dspace-tech] Installing DSPACE in a Google Cloud Server with Data Repository stored on my local network

2016-03-01 Thread Monika Mevenkamp
I am not exactly sure either what the details are. But if you can make
your NAS storage visible inside the docker image such that you can link
/dspace/assetstore -> /NAS_assetstore
you should be fine.

You need to think carefully about what you do with your database.
How do you plan to keep backups ?

Keep in mind that, if you manage the database inside docker
you will not be able to upgrade software by building a new docker
image. Building a new image means loosing all data created/touched
inside the old image after that image was built and started.

Monika
____ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Feb 29, 2016, at 1:24 PM, Bruno Cabral <bruno.j.c.cab...@gmail.com> wrote:
> 
> Hi list,
> 
> I'm member of a team that is developing and implementing a solution using 
> DSPACE.
> 
> We intend that the apps including DSPACE stays on the Google Cloud 
> Infrastructure, in docker containers, and that the digital objects of the 
> DSPACE repository stay stored and linked on our local network Storage, on a 
> Network Attached Storage.
> 
> Is this possible? How?
> 
> Thanks,
> 
> BC
> 
> -- 
> 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://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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] compile/run all/selected tests

2016-02-04 Thread Monika Mevenkamp
a quick pointer please 

how do i   ???

mvn compile tests 
mvn run tests 

and 

mvm run selected tests 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



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

2016-02-02 Thread Monika Mevenkamp
now and then I see errors like be below 


there are similar ones for 

solr.log.2016-01-28:2016-01-28 12:43:26,665 ERROR org.apache.solr.core.SolrCore 
@ org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: 
Cannot parse 'author_keyword:': Encountered "" at line 1, column 15.
solr.log.2016-01-28:2016-01-28 12:43:27,052 ERROR org.apache.solr.core.SolrCore 
@ org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: 
Cannot parse 'author_keyword:': Encountered "" at line 1, column 15.


do I need to worry about these ? 


ERROR org.apache.solr.core.SolrCore @ org.apache.solr.common.SolrException: 
org.apache.solr.search.SyntaxError: Cannot parse 'title_keyword:': Encountered 
"" at line 1, column 14.
Was expecting one of:
 ...
"(" ...
"*" ...
 ...
 ...
 ...
 ...
 ...
"[" ...
"{" ...
 ...
 ...

at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:205)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)
at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:50)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:44)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Caused by: org.apache.solr.search.SyntaxError: Cannot parse 'title_keyword:': 
Encountered "" at line 1, column 14.
Was expecting one of:
 ...
"(" ...
"*" ...
 ...
 ...
 ...
 ...
 ...
"[" ...
"{" ...
 ...
 ...

at 
org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:155)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50)
at org.apache.solr.search.QParser.getQuery(QParser.java:141)
at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:194)
... 27 more
Caused by: org.apache.solr.parser.ParseException: Encountered "" at line 
1, column 14.
Was expecting one of:
 ...
"(" ...
"*" ...
 ...
 ...
 ...
 ...
 ...
"[" ...
"{" ...
 ...
 ...

at 
org.apache.solr.parser.QueryParser.generateParseException(QueryParser.java:649)
at org.apache.solr.parser.QueryParser.jj_consume_token(QueryParser.java:531)
at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:216)
at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107)
at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96)
at 
org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151)
... 30 more




 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmpr

Re: [dspace-tech] Symplectic Elements/Dspace question

2016-02-01 Thread Monika Mevenkamp
> Amanda
> 
> this sounds tricky
> 
> I remember that Andrea Schweer gave a poster presentation at OR 2015 about a 
> Symplectic pitiful regarding changing items after they were pushed from 
> Symplectic to a DSpace instance. She implemented some custom stuff - but 
> essentially I remember the advise being: avoid at all cost.
> 
> We are about to start with Symplectic here at Princeton; but since we haven’t 
> started yet I have no detailed advise
> 
> Monika

 
Monika Mevenkamp
mo.me...@gmail.com




> On Feb 1, 2016, at 12:35 PM, Monika C. Mevenkamp 
> <moni...@exchange.princeton.edu> wrote:
> 
> Amanda
> 
> this sounds tricky 
> 
> I remember that Andrea Schweer gave a poster presentation about a Symplectic 
> pitiful regarding changing items after they were pushed from Symplectic to a 
> DSpace instance. She had to implement some custom stuff - but essentially I 
> remember the advise being: avoid at all cost.  
> 
> We are about to start with Symplectic here at Princeton; but since we haven’t 
> started yet I have no detailed advise 
> 
> Monika
> 
> 
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 
>> On Feb 1, 2016, at 12:05 PM, Tim Donohue <tdono...@duraspace.org 
>> <mailto:tdono...@duraspace.org>> wrote:
>> 
>> Hi Amanda,
>> 
>> Do you (or anyone else) know how Symplectic Elements is pulling content from 
>> DSpace?
>> 
>> In general, this sounds like it *might* be more of an issue with how 
>> Symplectic Elements is pulling in DSpace content, and you may wish to talk 
>> to them about the possibility of pulling in non-ORIGINAL bundles from your 
>> non-public DSpace. It's possible it may something they can configure on 
>> their end.
>> 
>> - Tim
>> 
>> On 1/31/2016 5:48 PM, Amanda Curnow wrote:
>>> [apologies for cross-posting]
>>> 
>>> hi all,
>>> 
>>> I'm looking for technical advice from folks savvy with Dspace 5 and 
>>> Symplectic Elements.
>>> 
>>> We have academics deposit two categories of documents into Symplectic 
>>> Elements. (1) Full text content of the research output (be that published 
>>> or accepted version etc) and (2) 'Evidence' which may be for example,  the 
>>> conference programme they presented at, or an email asking them to be a 
>>> keynote, or even permission from the publisher that the output can be made 
>>> Open Access.
>>> 
>>> Our Research Office want to be able to store this Evidence file 
>>> electronically in the non-public DSpace instance (connected to Symplectic), 
>>> but we don't want it harvested into the public Dspace instance (MRO).
>>> We set up a curation task to move any bitstreams categorised with the tag 
>>> 'Evidence' into another bundle within the non-public Dspace. This works 
>>> perfectly in that the files in this bundle do not get harvested.
>>> 
>>> However it means that the files are no longer visible/viewable in the 
>>> Symplectic Elements record, which is crucial to the Research Office staff. 
>>> 
>>> Does anyone have any thoughts on how non-ORIGINAL bundles in Dspace might 
>>> still be viewable in Symplectic?
>>> 
>>> I hope that makes sense. 
>>> Am running Dspace 5.4 on both instances, Symplectic Elements 4.12.0.579  
>>> and RT4DS version 1.1
>>> 
>>> Amanda
>>> 
>>> 
>>> -- 
>>> 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://groups.google.com/group/dspace-tech>.
>>> For more options, visit https://groups.google.com/d/optout 
>>> <https://groups.google.com/d/optout>.
>> 
>> -- 
>> Tim Donohue
>> Technical Lead for DSpace & DSpaceDirect
>> DuraSpace.org <http://duraspace.org/> | DSpace.org <http://dspace.org/> | 
>> DSpaceDirect.org <http://dspacedirect.org/>
>> 
>> -- 
>> You received this message because you are subscribed to the Google Gro

[dspace-tech] Lots alf Applications listed by dspace version command

2016-01-22 Thread Monika Mevenkamp
In dspace 5 there are now these mysterious WEBAPP entries in the DB table 

What is a DSPace Web App ? 
Should I be concerned that there are lots of entries  ? 
Among them lots of JSPUI instances

here what dspace version says 

DSpace version:  5.5-SNAPSHOT
  SCM revision:  878f7fd4aff0792ecf58484c1792e729c342533f
SCM branch:  production
OS:  Linux(amd64) version 3.10.0-229.14.1.el7.x86_64
  Applications:
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
JSPUI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
OAI at http://dataspace.princeton.edu/jspui
 Discovery:  enabled.
   JRE:  Oracle Corporation version 1.7.0_85
   Ant version:  Apache Ant(TM) version 1.9.2 compiled on April 30 2014
 Maven version:  3.2.5
   DSpace home:  /dspace


 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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 / tomcat hanging / Solr issue ?

2016-01-21 Thread Monika Mevenkamp
Looking at the output of jstack  I  see 7 blocks of 

"ajp-bio-8009-exec-224" daemon prio=10 tid=0x7f159c9ad000 nid=0x5076 
runnable [0x7f14a3343000]
   java.lang.Thread.State: RUNNABLE

….
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
at org.dspace.statistics.SolrLogger.postView(SolrLogger.java:229)
at 
org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:42)
at 
org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:144)
at 
org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:86)
at 
org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:116)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:130)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:75)
...
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

….


Theses are the only dspace related entries in the stack dump 

Looking at the Solr Admin UI I see 
JVM 35% full351.18 MB   of  989.88 MB
Physical Mem 95.8%  1.72GB  of  1.79GB   

The JVM args shown in the solr admin UI are 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
-Djava.io.tmpdir=/var/cache/tomcat/temp
-Djava.endorsed.dirs=
-Dcatalina.home=/usr/share/tomcat
-Dcatalina.base=/usr/share/tomcat
-Dfile.encoding=UTF-8
-XX:MaxPermSize=128M
-Xmx1024M
-Xms1024M

To give you a sense of the solr index; running a du -hm on the /dspace/solr dir 
I get 
du -s -hm  solr
3495solr
So that is about 5.5GB

The stats core has 3579463 docs 
The search core has 70372 docs

I am not sure what solr means with physical memory here 
I probably should increase it - but how ? 

Monika


____ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
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] rest servlet exception

2016-01-20 Thread Monika Mevenkamp
I get the following servlet exception   when I access /rest on my site 

I can’t see any differences in my dspace/config directory that look like they 
might  impact this. Of cause dspace.cfg and the likes are heavily changed .. I 
did not touch the dspace-rest code at all 

I did change the rest api to run on http   - I know I shouldn’t do that - but 
haven’t set the server up with certificates 

What might be the issue ? 

Monika
 

type Exception report

message Servlet execution threw an exception

description The server encountered an internal error that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause

java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)

com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:669)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the Apache 
Tomcat/7.0.62 logs.


==
the full stack trace is not much more informative 

Jan 20, 2016 9:34:40 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [DSpace REST API] in context with path 
[/rest] threw exception [Servlet execution threw an exception] with root cause
java.lang.AbstractMethodError: 
javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:669)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:744)



-


-- 
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] Can't get statistics to work after upgrading from 1.8.x to 5.x

2015-12-17 Thread Monika Mevenkamp
I am getting ready to do the same uproar - and I pieced together some notes
based on
wiki-doc: https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace


you can test whether your solr version is outdated (probably you are ok
there since you say  everything but stats works)

# test that index is outdated   anything smaller than 3.5
/dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
/dspace/solr/statistics/data/index

but if your versions are off do the following - get yourself an uptodate
lucene-core-3.5.0.jar

# upgrade statistics index
# in home directory we have the jar parked
java -cp lucene-core-3.5.0.jar org.apache.lucene.index.IndexUpgrader
/dspace/solr/statistics/data/index/

# expect to see 3.5
/dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
/dspace/solr/statistics/data/index

#update index
ant update_solr_indexes
/dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion
/dspace/solr/statistics/data/index


...
Monika Mevenkamp
http://tinyurl.com/mevenkamp

On Thu, Dec 17, 2015 at 10:39 AM, Tiago Delboni <delb...@gmail.com> wrote:

> Hi!
>
> I'm working on upgrading DSpace from 1.8.2 to 5.4. I guess was able to put
> everything working but the statistics. Everytime I click the Statistics
> menu, in JSPUI, DSpace come out with a Internal Server Error.
> Bellow is the relevant part gattered from dspace.log. Any ideas how to
> fix it?
>
> Also, I would like to know if I can keep the historical statistics I have
> on 1.8.x. What I did, trying to achieve this, was to copy the contents from
> [dspace1.8]/log and [dspace1.8]/solr/statistics/data to [dspace5.4] and
> ran [dspace5.4]/bin/dspace solr-reindex-statistics.
>
> 2015-12-17 13:15:12,864 WARN
> org.dspace.app.webui.servlet.InternalErrorServlet @
> :session_id=0CFF63BC0604F2B56DD0EE375E575ED9:internal_error:-- URL Was:
> https://dspace-novo.almg.gov.br/jspui/statistics
> -- Method: GET
> -- Parameters were:
>
> java.lang.NullPointerException
> at
> org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:121)
> at
> org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:68)
> at
> org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:49)
> at
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
> at
> org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
> at
> org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.T

Re: [dspace-tech] DSPACE 5 JSPUI - can I configure .... part 2

2015-11-02 Thread Monika Mevenkamp
There was a second question i my earlier email. There maybe no good answer - 
but than maybe it was overlooked: 

> We have a browse index based on dc.contributor.advisor. Links in the  browse 
> results lead to item lists with three columns: issue date, title, author (as 
> in dc.contributor.author). Is there a way to configure which columns to show 
> on the browse item lists based on the browse index creating the list ?
> 

Monika

________ 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/ <http://mo-meven.tumblr.com/>
http://mcmprogramming.com/mo.meven/ <http://mcmprogramming.com/mo.meven/>



> On Oct 28, 2015, at 12:06 PM, Alex Yefimov <ideafix.n...@gmail.com> wrote:
> 
> T think you should look on author profiles. This functional is avaliable in 
> dspace cineca fork (http://cineca.github.io/dspace-cris/) and there was one 
> more realisation of this stuff, but i do not remember where.
> 
> среда, 28 октября 2015 г., 5:30:34 UTC+5 пользователь momeven написал:
> Is it possible to configure a browse index, such that it only uses the last 
> name of a name metadata field ?
> As an example consider:
> 
>  *   Abalos, David
>  *   Abalos, David T.
>  *   Abalos, David Thomas 
> 
> the last name is Abalos and that should be the entry on the browse list.
> 
> If that is not possible - is there anything out there that can help with 
> normalization of names ?
> 
> We have a browse index based on dc.contributor.advisor, the one that gives us 
> these messy name lists described above. Links in the  browse results lead to 
> item lists with three columns: issue date, title, author (as in 
> dc.contributor.author). Is there a way to configure which columns to show on 
> the browse item lists based on the browse index creating the list ?
> 
> Monika
>  
> Monika Mevenkamp
> mo.m...@gmail.com 
> 
> http://mo-meven.tumblr.com/ <http://mo-meven.tumblr.com/>
> http://mcmprogramming.com/mo.meven/ <http://mcmprogramming.com/mo.meven/>
> 
> 
> 
> 
> -- 
> 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 http://groups.google.com/group/dspace-tech 
> <http://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] View all embargoed items

2015-10-27 Thread Monika Mevenkamp
As far as I know you’ll have to run an SQL query to find all items

first find out what the id of your embargo list metadata fields is with a query 
similar to:

SELECT * FROM METADATAFIELDREGISTRY WHERE ELEMENT LIKE 'embargo';

then find the item handles: (here done assuming the field id is 81)

SELECT * FROM HANDLE WHERE RESOURCE_TYPE_ID = 2 AND RESOURCE_ID IN (SELECT 
RESOURCE_ID FROM METADATAVALUE WHERE METADATA_FIELD_ID = 81);


Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/ <http://mo-meven.tumblr.com/>
http://mcmprogramming.com/mo.meven/ <http://mcmprogramming.com/mo.meven/>



> On Oct 26, 2015, at 11:44 AM, Margaret Vail <margaret.v...@gmail.com> wrote:
> 
> Hi,
> 
> Is there a way to currently view all embargoed items in DSpace 5.x?
> 
> Thanks,
> 
> Margaret
> 
> -- 
> 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 http://groups.google.com/group/dspace-tech 
> <http://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.