[Dspace-tech] Author Lookup popup without ORCID lookup

2015-05-12 Thread Fernando Gómez Romero
Hi folks

I am using the new version 5.1 with XMLUI. I loved the authorLookup popup
for the submission and editing author metadata but I am not interested at
the moment to see the orcid authors (the italicized), so I just want to see
my own indexed authors.

I guess that editing some java and avoiding the orcid query I could get it
but I am a bit overwhelmed with the new orcid java functions and I don't
know where I should modify.

Can you help me?

Thank you!
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about adding a Search Filter

2015-05-12 Thread George Stanley Kozak
Andrea and Hilton:

Thank you.  Sure enough, I forgot to re-index.  My problem is solved.  This 
proves that there are no "stupid" questions (just "stupid" programmers like me 
;-) )

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924



From: Andrea Schweer [mailto:schw...@waikato.ac.nz]
Sent: Monday, May 11, 2015 5:19 PM
To: George Stanley Kozak; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question about adding a Search Filter

Hi George,
On 12/05/15 08:16, George Stanley Kozak wrote:
I am using DSpace 5.1 with a Mirage 2 theme.

I recently added a new browse and search filter based on  dc.type.

The browse for types works correctly.  However, if I do a search and then add 
the advanced search filter of "type", I get no hits.
For the search filter, I updated dspace/config/spring/api/discovery.xml to add 
the Search Filter for "type".

Stupid question, but did you restart tomcat and do a reindex for discovery 
after the change to discovery.xml? I think both are needed for this type of 
change.

cheers,
Andrea



--

Dr Andrea Schweer

IRR Technical Specialist, ITS Information Systems

The University of Waikato, Hamilton, New Zealand
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Question about SQL query

2015-05-12 Thread George Stanley Kozak
Hi, Everyone:

Is there a PostGreSQL query that can be run (DSpace 5.1) to find which items 
and/or bitstreams are controlled by which groups?
Thanks in advance.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Help for dspace backup/restore

2015-05-12 Thread Tim Donohue
Hi Emmanuel,

The process sounds correct, but as Olivier mentioned, you may want to 
restore to a DSpace 3.x instance (since you exported from 3.1). After 
the restore, you can then upgrade to DSpace 4.2.

Also, a few of the arguments to your restore command don't look correct:

-e dspace@localhost

The "-e" argument specifies the EPerson in DSpace to run the command as. 
Is there really an EPerson named "dspace@localhost" in your DSpace?

-i 1/0

The "-i" argument specifies the identifier of the object under which the 
content should be restored. When performing a full site restore, this 
identifier should end in "/0" (which is what you have). But, you should 
specify your Handle prefix before the "/0" (i.e. the value of 
"handle.prefix" in your dspace.cfg file).  Is your "handle.prefix" value 
really "1"?  If not, this "-i" argument value should be changed to 
"[handle.prefix]/0"

If you are still having issues, please check your logs for specific 
error messages, and send those errors to this mailing list. Some notes 
on locating errors in logs are at:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

More notes on the restore command are in the AIP documentation at:
https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite

- Tim

On 5/11/2015 1:35 AM, Emmanuel Wilson wrote:
> Hello all.
>
> i backup zip entire site files using AIP command which includes
> backup.zip communities, collections and items.
>
> then i restore it in to another PC (dspace 4.2) using restore command :
> ./dspace packager -r -a -f -t AIP -e dspace@localhost -i 1/0
> /home/dspace/backup/backup.zip
>
> actually i tried to restore files from dspace 3.1 to dspace 4.2 . But it
> doesnot work for me.is that correct way?? my pc running out of storage.
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Question about SQL query

2015-05-12 Thread helix84
On Tue, May 12, 2015 at 4:23 PM, George Stanley Kozak 
wrote:

>  Is there a PostGreSQL query that can be run (DSpace 5.1) to find which
> items and/or bitstreams are controlled by which groups?
>
>
It's all in the resourcepolicy table.

So for bitstreams:

SELECT * FROM resourcepolicy WHERE resource_type_id = '0'


and for items (with item handle added):

SELECT handle.handle, resourcepolicy.*FROM resourcepolicy, handleWHERE
resourcepolicy.resource_type_id = '2'AND resourcepolicy.resource_id =
handle.resource_id


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] problems with dspace 5.1 migration - error on eperson-firstname and unable to create administrator fresh install

2015-05-12 Thread helix84
Judging from the stacktrace, my guess is that your DB schema version
doesn't correspond to your DSpace version, for some unknown reason.

There was a significant change to several DB tables in DSpace 5 where many
entity attributes (including eperson last name) moved from the entity table
to the metadatavalue table, where they are referenced by resource_id (e.g.
eperson_id) and resource_type_id (e.g. 7 for eperson). That's how you can
tell a pre-DSpace 5 database from a DSpace 5 database. Please, check that
the schema corresponds to your DSpace version.

Assuming you're running DSpace 5 on a DSpace 4 database, DSpace 5 will
attempt to upgrade the schema automatically to DSpace 5 (this is a new
feature in DSpace 5). It will also print information about all successful
and unsuccessful migrations in the log, so check that. It will also create
the schema_version table which contains this information.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about SQL query

2015-05-12 Thread George Stanley Kozak
Thanks, helix84!

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924



From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, May 12, 2015 10:44 AM
To: George Stanley Kozak
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question about SQL query

On Tue, May 12, 2015 at 4:23 PM, George Stanley Kozak 
mailto:g...@cornell.edu>> wrote:
Is there a PostGreSQL query that can be run (DSpace 5.1) to find which items 
and/or bitstreams are controlled by which groups?

It's all in the resourcepolicy table.

So for bitstreams:

SELECT * FROM resourcepolicy WHERE resource_type_id = '0'

and for items (with item handle added):


SELECT handle.handle, resourcepolicy.*

FROM resourcepolicy, handle

WHERE resourcepolicy.resource_type_id = '2'

AND resourcepolicy.resource_id = handle.resource_id

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] spider ip recognition

2015-05-12 Thread Anthony Petryk
After a bit of investigation, it turns out that a significant portion of our 
items stats come from spiders.  Any thoughts on the best way to go about 
removing them from Solr retroactively?  There's nothing that I can see in the 
code that will do this by domain or agent, only IP.  We're not excited at the 
prospect of pulling out the IPs of all the spiders in order run "stats-util -i" 
effectively.

Cheers,

Anthony

From: Monika C. Mevenkamp [mailto:moni...@princeton.edu]
Sent: Friday, May 08, 2015 9:59 AM
To: Anthony Petryk
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] spider ip recognition

Anthony

I wrote a small ruby script to put solr queries together when I was poking 
around my stats

see https://github.com/akinom/dscriptor/blob/master/solr/solr_query.rb
an example parameter file is 
https://github.com/akinom/dscriptor/blob/master/solr/solr_query.yml

run it asruby solr/solr_query.rb

of cause you ned to adjust the parameters in the mL file

you can query like this

http://localhost:YOUR-PORT/solr/statistics/select?wt=json&indent=true&rows=1&facet=true&facet.field=ip&facet.mincount=1&q=type:2+id:218+isBot:false

exclude records that are marked as bots
do type:2 - aka items
do id:218 - aka item with id 218
return one item
facet on ip addresses

crank up the number of rows to get more matching docs

Monika




Monika Mevenkamp
phone: 609-258-4161
Princeton University, Princeton, NJ 08544


On May 7, 2015, at 3:26 PM, Anthony Petryk 
mailto:anthony.pet...@uottawa.ca>> wrote:

Anyway, we want to determine whether these stats are bona fide or whether 
there's something wrong with the spider detection.  From the documentation it 
seems we have to query Solr directly to do this.  Not being an expert in Solr, 
I'm hoping someone on this list could provide the query that retrieves *all the 
stats for a given item* (i.e. what's listed under "Common stored fields for all 
usage events" in the documentation).

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] access to page spins

2015-05-12 Thread Jose Blanco
I'm testing my merged code from of 4.2 and 5.2 and I made a user a
submitter to a collection and when I login as that user and go to that
collection, the connection just spins.  This may be due to something in my
merge, but any clues to where to check for this would be good.

I noticed the same thing happening when I restricted access to a bitstream
and then just accessing the item, made the browser just spin.  I could not
get to the item.

There must be a check going on somewhere that's just spinning.

Thanks!
Jose
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] access to page spins

2015-05-12 Thread Tim Donohue
Hi Jose,

You might want to check your logs (both DSpace and Tomcat logs) to see 
if there's anything going on there while the browser "spins".

Otherwise, it's a bit hard to guess at what could cause the browser to 
hang. My best guess is that it's waiting on something that is running 
behind the scenes, but it's hard to tell what that "something" is (and 
I'm hoping maybe the logs would give you and us a hint).

You also might want to test what scenarios cause the "spinning". Is it 
accessing *any* community/collection/item? Or, is it just some objects? 
Does it happen when logged in only? Or, also when accessing the site 
anonymously?

- Tim

On 5/12/2015 2:14 PM, Jose Blanco wrote:
> I'm testing my merged code from of 4.2 and 5.2 and I made a user a
> submitter to a collection and when I login as that user and go to that
> collection, the connection just spins.  This may be due to something in
> my merge, but any clues to where to check for this would be good.
>
> I noticed the same thing happening when I restricted access to a
> bitstream and then just accessing the item, made the browser just spin.
> I could not get to the item.
>
> There must be a check going on somewhere that's just spinning.
>
> Thanks!
> Jose
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] access to page spins

2015-05-12 Thread Jose Blanco
Tim, I think it may have to do with solr statistics. Is there a say to turn
it off.

Attached is part of the dspace log file created when the spinning takes
place.



On Tue, May 12, 2015 at 3:54 PM, Tim Donohue  wrote:

> Hi Jose,
>
> You might want to check your logs (both DSpace and Tomcat logs) to see if
> there's anything going on there while the browser "spins".
>
> Otherwise, it's a bit hard to guess at what could cause the browser to
> hang. My best guess is that it's waiting on something that is running
> behind the scenes, but it's hard to tell what that "something" is (and I'm
> hoping maybe the logs would give you and us a hint).
>
> You also might want to test what scenarios cause the "spinning". Is it
> accessing *any* community/collection/item? Or, is it just some objects?
> Does it happen when logged in only? Or, also when accessing the site
> anonymously?
>
> - Tim
>
>
> On 5/12/2015 2:14 PM, Jose Blanco wrote:
>
>> I'm testing my merged code from of 4.2 and 5.2 and I made a user a
>> submitter to a collection and when I login as that user and go to that
>> collection, the connection just spins.  This may be due to something in
>> my merge, but any clues to where to check for this would be good.
>>
>> I noticed the same thing happening when I restricted access to a
>> bitstream and then just accessing the item, made the browser just spin.
>> I could not get to the item.
>>
>> There must be a check going on somewhere that's just spinning.
>>
>> Thanks!
>> Jose
>>
>>
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>
>>
>>
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>


spin_error.log
Description: Binary data
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] access to page spins

2015-05-12 Thread Jose Blanco
TIm, from the tomcat area:

This is from a good access:

141.213.232.243 - - [12/May/2015:16:44:32 -0400] "POST
/solr/statistics/update?wt=javabin&version=2 HTTP/1.1" 200 40
141.213.232.243 - - [12/May/2015:16:44:32 -0400] "GET
/solr/search/select?q=*%3A*&fq=NOT%28withdrawn%3Atrue%29&fq=NOT%28discoverable%3Afalse%29&fq=location%3Al814&fq=read%3A%28g0+OR+g0+OR+g80+OR+g431+OR+g617%29&start=0&rows=0&wt=javabin&version=2
HTTP/1.1" 200 215
141.213.232.243 - - [12/May/2015:16:44:32 -0400] "GET
/solr/search/select?q=*%3A*&fq=NOT%28withdrawn%3Atrue%29&fq=NOT%28discoverable%3Afalse%29&fq=location%3Al814&fq=search.resourcetype%3A2&fq=read%3A%28g0+OR+g0+OR+g80+OR+g431+OR+g617%29&start=0&rows=20&sort=dc.date.accessioned_dt+desc&wt=javabin&version=2
HTTP/1.1" 200 272
141.211.43.157 - deepblue [12/May/2015:16:44:32 -0400] "GET
/handle/TEMP-BOGUS/214864 HTTP/1.1" 304 -



This is from one that spins:

141.213.232.243 - - [12/May/2015:16:45:33 -0400] "POST
/solr/statistics/update?wt=javabin&version=2 HTTP/1.1" 200 40


On Tue, May 12, 2015 at 4:37 PM, Jose Blanco  wrote:

> Tim, I think it may have to do with solr statistics. Is there a say to
> turn it off.
>
> Attached is part of the dspace log file created when the spinning takes
> place.
>
>
>
> On Tue, May 12, 2015 at 3:54 PM, Tim Donohue 
> wrote:
>
>> Hi Jose,
>>
>> You might want to check your logs (both DSpace and Tomcat logs) to see if
>> there's anything going on there while the browser "spins".
>>
>> Otherwise, it's a bit hard to guess at what could cause the browser to
>> hang. My best guess is that it's waiting on something that is running
>> behind the scenes, but it's hard to tell what that "something" is (and I'm
>> hoping maybe the logs would give you and us a hint).
>>
>> You also might want to test what scenarios cause the "spinning". Is it
>> accessing *any* community/collection/item? Or, is it just some objects?
>> Does it happen when logged in only? Or, also when accessing the site
>> anonymously?
>>
>> - Tim
>>
>>
>> On 5/12/2015 2:14 PM, Jose Blanco wrote:
>>
>>> I'm testing my merged code from of 4.2 and 5.2 and I made a user a
>>> submitter to a collection and when I login as that user and go to that
>>> collection, the connection just spins.  This may be due to something in
>>> my merge, but any clues to where to check for this would be good.
>>>
>>> I noticed the same thing happening when I restricted access to a
>>> bitstream and then just accessing the item, made the browser just spin.
>>> I could not get to the item.
>>>
>>> There must be a check going on somewhere that's just spinning.
>>>
>>> Thanks!
>>> Jose
>>>
>>>
>>>
>>> --
>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>>
>>>
>>>
>>> ___
>>> DSpace-tech mailing list
>>> DSpace-tech@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>> List Etiquette:
>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>
>>>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about adding a Search Filter

2015-05-12 Thread Andrea Schweer

  
  
Glad I could help. Also, clearly you simply conducted an experiment
to verify that a reindex is indeed needed for this type of change ;)

cheers,
Andrea

On 13/05/15 01:46, George Stanley Kozak
  wrote:


  
  
  
  
Andrea and
Hilton:
 
Thank you. 
Sure enough, I forgot to re-index.  My problem is solved. 
This proves that there are no “stupid” questions (just
“stupid” programmers like me ;-) )
 
George Kozak
Digital Library Specialist
Cornell University Library Information
  Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
 
 
 

  
From: Andrea Schweer
[mailto:schw...@waikato.ac.nz]

Sent: Monday, May 11, 2015 5:19 PM
To: George Stanley Kozak;
dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question about adding
a Search Filter
  

 
Hi George,

  On 12/05/15 08:16, George Stanley Kozak
wrote:


  I am using DSpace 5.1 with a Mirage 2
  theme.
  
   
  I recently added a new browse and search
filter based on  dc.type.   
   
  The browse for types works correctly. 
However, if I do a search and then add the advanced search
filter of “type”, I get no hits.
  For the search filter, I updated
dspace/config/spring/api/discovery.xml to add the Search
Filter for “type”.


Stupid question, but did you restart tomcat and do a reindex
for discovery after the change to discovery.xml? I think
both are needed for this type of change.

cheers,
Andrea



-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] problems with dspace 5.1 migration - error on eperson-firstname and unable to create administrator fresh install

2015-05-12 Thread Andrea Schweer

  
  
Hi,

On 12/05/15 05:19, Searle, Shannon
  wrote:


  
  
  
  I have been working on an upgrade from
an older postgres db in 1.6 dspace to the latest install of
dspace 5.1.
I ran the upgrades, checked migrate and
  started up the tomcat server. All looked well at first, but
  then any attempt to update profiles or show users resulted in
  an exception.
 
I ran a maven clean package, then an ant
  fresh install.  After that I couldn’t even create an
  administrator:
  


Did you really run an ant fresh_install? You should only ever do
that the very first time you install DSpace. From then on, run ant
update. As helix84 wrote, ant update will try to auto-upgrade your
database schema; I assume fresh_install won't try to do that since
it assumes the database has no tables yet.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] access to page spins

2015-05-12 Thread Tim Donohue
Hi Jose,

Are you saying that some of the accesses to Solr Stats work fine? While 
others are spinning? Is there any difference in the type of content that 
seems to cause Solr to spin (i.e. anything different about those Items 
in any way that you can tell)?

I'm just trying to see if it's possible to narrow down the issue. It 
sounds like it's not Solr overall (as some accesses work and some do 
not). But, then the question becomes what is different between those 
that work and those that do not.

Since this happened post-upgrade to 5.x, I'm assuming all the automatic 
upgrades to your Solr look to have succeeded? During the "ant update" 
process, your indexes should have been automatically upgraded to the 
latest Solr version (including the statistics index). Just wanted to 
make sure that whole process also went smoothly with regards to the Solr 
Statistics index.

- Tim

On 5/12/2015 3:46 PM, Jose Blanco wrote:
> TIm, from the tomcat area:
>
> This is from a good access:
>
> 141.213.232.243 - - [12/May/2015:16:44:32 -0400] "POST
> /solr/statistics/update?wt=javabin&version=2 HTTP/1.1" 200 40
> 141.213.232.243 - - [12/May/2015:16:44:32 -0400] "GET
> /solr/search/select?q=*%3A*&fq=NOT%28withdrawn%3Atrue%29&fq=NOT%28discoverable%3Afalse%29&fq=location%3Al814&fq=read%3A%28g0+OR+g0+OR+g80+OR+g431+OR+g617%29&start=0&rows=0&wt=javabin&version=2
> HTTP/1.1" 200 215
> 141.213.232.243 - - [12/May/2015:16:44:32 -0400] "GET
> /solr/search/select?q=*%3A*&fq=NOT%28withdrawn%3Atrue%29&fq=NOT%28discoverable%3Afalse%29&fq=location%3Al814&fq=search.resourcetype%3A2&fq=read%3A%28g0+OR+g0+OR+g80+OR+g431+OR+g617%29&start=0&rows=20&sort=dc.date.accessioned_dt+desc&wt=javabin&version=2
> HTTP/1.1" 200 272
> 141.211.43.157 - deepblue [12/May/2015:16:44:32 -0400] "GET
> /handle/TEMP-BOGUS/214864 HTTP/1.1" 304 -
>
>
>
> This is from one that spins:
>
> 141.213.232.243 - - [12/May/2015:16:45:33 -0400] "POST
> /solr/statistics/update?wt=javabin&version=2 HTTP/1.1" 200 40
>
>
> On Tue, May 12, 2015 at 4:37 PM, Jose Blanco  > wrote:
>
> Tim, I think it may have to do with solr statistics. Is there a say
> to turn it off.
>
> Attached is part of the dspace log file created when the spinning
> takes place.
>
>
>
> On Tue, May 12, 2015 at 3:54 PM, Tim Donohue  > wrote:
>
> Hi Jose,
>
> You might want to check your logs (both DSpace and Tomcat logs)
> to see if there's anything going on there while the browser "spins".
>
> Otherwise, it's a bit hard to guess at what could cause the
> browser to hang. My best guess is that it's waiting on something
> that is running behind the scenes, but it's hard to tell what
> that "something" is (and I'm hoping maybe the logs would give
> you and us a hint).
>
> You also might want to test what scenarios cause the "spinning".
> Is it accessing *any* community/collection/item? Or, is it just
> some objects? Does it happen when logged in only? Or, also when
> accessing the site anonymously?
>
> - Tim
>
>
> On 5/12/2015 2:14 PM, Jose Blanco wrote:
>
> I'm testing my merged code from of 4.2 and 5.2 and I made a
> user a
> submitter to a collection and when I login as that user and
> go to that
> collection, the connection just spins.  This may be due to
> something in
> my merge, but any clues to where to check for this would be
> good.
>
> I noticed the same thing happening when I restricted access to a
> bitstream and then just accessing the item, made the browser
> just spin.
> I could not get to the item.
>
> There must be a check going on somewhere that's just spinning.
>
> Thanks!
> Jose
>
>
> 
> --
> One dashboard for servers and applications across
> Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you
> Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>

--
One dashboard for servers and applications across Physica

Re: [Dspace-tech] Help for dspace backup/restore

2015-05-12 Thread Emmanuel Wilson
hello

Yes. EPerson named "dspace@localhost" in my DSpace is the administer.

Yes. "handle.prefix" value really "1" bcz i found it at CNRI handle prefix
= 1.
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette