Re: [Dspace-tech] SQL query to count number of downloadables (bitstream)

2015-01-23 Thread euler
Hello Helix, Thanks for this. It did returned me the number of bitstreams. I wonder if it's possible to generate a list of these bitstreams? In previous dspace versions, I would just import the bitstream table into ms access and do the filtering (e.g. filter by selection with filenames ending in p

Re: [Dspace-tech] LDAP autoregister

2015-01-23 Thread Tim Donohue
Olivier, Yes, that process sounds correct. To be clear though, here are the changes that should be in your LDAPAuthentication class to fix DS-1781: https://github.com/DSpace/DSpace/pull/663/files So, if you don't see those changes in your [dspace-source]/dspace-api/src/main/java/dspace/authent

Re: [Dspace-tech] [Dspace-general] Create worksheet

2015-01-23 Thread Seth Robbins
Hello Angelo, Notwithstanding that this would be better asked on dspace-tech, I thought I would add that if you have a query and want to export the results to a spreadsheet, in psql you can run a command like: \copy (select * from some_table where whatever_ever_you_are_doing) to '~/filename.csv' wi

Re: [Dspace-tech] LDAP autoregister

2015-01-23 Thread Tim Donohue
Olivier, Looking again at the code, it seems like there *may* be a bug here. (Unfortunately, I don't have an LDAP locally to test against myself in order to verify it though.) However, I do notice something odd in the LDAP Authentication code. It looks as though the various user LDAP fields are

Re: [Dspace-tech] Importing authority keys

2015-01-23 Thread Pablo Buenaposada
I have check that, when I import an item by csv with that author syntax the import procedure doesn't recognizes this syntax so it ends taking all the string as the author name. I don't know what's BME and where can be configured, probably you want to say BTE?? It's strange because when I export i

[Dspace-tech] Usage Statistics: SUSHI + COUNTER Interface

2015-01-23 Thread João Melo
Hi all, as part of https://jira.duraspace.org/browse/DS-626 and my next contribution to the DSpace community I am seeking help to: - Find some kind of SUSHI + COUNTER validator (free) - Interested people open to test it on their local DSpace instances / test instances I am targeting initially to

Re: [Dspace-tech] Problem update Mirage 2 in DSpace 5.x

2015-01-23 Thread Tim Donohue
Thanks for the notes on this snemi! For now, I've added a warning about building Mirage 2 as "root" to the DSpace 5 documentation. https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues It's also been linked ove

Re: [Dspace-tech] dpsace3, solr, tomcat7, debian question

2015-01-23 Thread Mark H. Wood
On Fri, Jan 23, 2015 at 02:14:01PM +0100, Lars Schimmer wrote: > Hi! > > I took over a dspace installation with dspace3, Tomcat7 on a debin 7.8 > system. > > Now we got a issue with solr: We always get a 403 error, even on a > localhost request. > I did checked some online ressources, but they di

Re: [Dspace-tech] SQL query to count number of downloadables (bitstream)

2015-01-23 Thread helix84
Hi Euler, try this query. I haven't tested it much, but it should give you the idea how this works in DSpace 5. This reminds me we should also update the ER-diagram in documentation. SELECT count(1)FROM bundle2bitstreamINNER JOIN metadatavalue ON bitstream_id = resource_id WHERE resource_type

Re: [Dspace-tech] dpsace3, solr, tomcat7, debian question

2015-01-23 Thread helix84
On Fri, Jan 23, 2015 at 3:25 PM, Lars Schimmer wrote: > wget http://localhost:8080/solr/statistics/select?q=*:* You're trying with localhost > Connecting to localhost (localhost)|::1|:8080... connected. which resolves to an IPv6 address. I'm sure the localhost restriction specifically doesn't

Re: [Dspace-tech] dpsace3, solr, tomcat7, debian question - Solved

2015-01-23 Thread Lars Schimmer
On 2015-01-23 15:25, Lars Schimmer wrote: > On 2015-01-23 15:06, helix84 wrote: Ok, look slike I solved it. I do need to replace localhost with the servers name and it works. And it is only reachable on the local machine itself. Lets see if $users tell me thats the correct version. Thank you so f

Re: [Dspace-tech] dpsace3, solr, tomcat7, debian question

2015-01-23 Thread Lars Schimmer
On 2015-01-23 15:06, helix84 wrote: > Hi Lars, > > your configuration looks almost correct. The only thing wrong I see is > that you're saying that you defined the solr context in server.xml, > not in a context fragment > (/etc/tomcat7/conf/Catalina/localhost/solr.xml). > > In server.xml, the def

[Dspace-tech] Fwd: Deploying SWORDv2 on DSpace 4.2

2015-01-23 Thread Stamatis Rapanakis
My question should be corrected. The problem is that when I try to access the url http://localhost:8080/swordv2/servicedocument I get a HTTP Status 403 error (Access to the specified resource has been forbidden). A similar question has been posted in the past with no answer: http://sourceforge.net/

Re: [Dspace-tech] dpsace3, solr, tomcat7, debian question

2015-01-23 Thread helix84
Hi Lars, your configuration looks almost correct. The only thing wrong I see is that you're saying that you defined the solr context in server.xml, not in a context fragment (/etc/tomcat7/conf/Catalina/localhost/solr.xml). In server.xml, the definition should include a docBase attribute (e.g. doc

[Dspace-tech] dpsace3, solr, tomcat7, debian question

2015-01-23 Thread Lars Schimmer
Hi! I took over a dspace installation with dspace3, Tomcat7 on a debin 7.8 system. Now we got a issue with solr: We always get a 403 error, even on a localhost request. I did checked some online ressources, but they did not bring me along so far. In tomcat server.xml I did enter this:

[Dspace-tech] Deploying SWORDv2 on DSpace 4.2

2015-01-23 Thread Stamatis Rapanakis
Hello. Following the instructions ( https://wiki.duraspace.org/display/DSDOC4x/SWORDv2+Server#SWORDv2Server-EnablingSWORDv2Server) I have deployed Sword v2 in my Tomcat's 7 webapps folder (e.g. /webapps/swordv2/). My \dspace\config\modules\swordv2-server.cfg and dspace\config\crosswalks\sword-swa

Re: [Dspace-tech] Importing authority keys

2015-01-23 Thread emilio lorenzo
Pablo, the authority key can be provided in the csv , just happen that it is not documented in the wiki (at least i couldnt find it) something similar asIglesias-Cubells, M.C. (María Cruz)::373::60 sintax (for authors) name::authority-key::confidence-value (the :: is configured in B

Re: [Dspace-tech] ERROR: creating index discovery‏

2015-01-23 Thread euler
Sorry, I forgot to mention that you also have to uncomment this line in order for the LCNameAuthority to work: lcname.url = http://alcme.oclc.org/srw/search/lcnaf As usual, save dspace.cfg and restart tomcat. Regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com

Re: [Dspace-tech] Customizing xmlui user interface

2015-01-23 Thread Hilton Gibson
Hi Tom Perhaps this will help as a starting point: http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M1 Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4

Re: [Dspace-tech] Importing authority keys

2015-01-23 Thread Pablo Buenaposada
Thanks anyway. In my case I need to import around 50.000 items frequently, and now using the import option of the dspace binary with a .csv containing all items it's a bit slow... I would like to import them faster... I have seen that the import is slow because for every author, the import needs t

Re: [Dspace-tech] Customizing xmlui user interface

2015-01-23 Thread Tom Obrien
Hi all, I am customazing Dspace 4.x. I am trying to remove the wording "Dspace repository" that is appearing at the user interface (xmlui) and replace with something else. Can some guide me on how to go about it. Thanks in advance, Tom --

Re: [Dspace-tech] LDAP autoregister

2015-01-23 Thread Olivier Nicole
Tim, >> 3) As for the "email" field problem. There was a known bug regarding >> this in DSpace 3 and 4. It's now been fixed in DSpace 5. Here's the info >> on that problem: https://jira.duraspace.org/browse/DS-1781 > > Thanks, I will patch that. I have downloaded the new LDAPAuthentication.java

Re: [Dspace-tech] ERROR: creating index discovery‏

2015-01-23 Thread . .
Hi euler, Thanks again. For political reasons, now is not possible to upgrade to version 5 I tried what you told me, but now I get this error: ERROR org.dspace.discovery.SolrServiceImpl DSpace @ Missing configuration keys for lcName Query java.lang.IllegalStateException: Missing DSpace conf

Re: [Dspace-tech] ERROR: creating index discovery‏

2015-01-23 Thread euler
Did you uncomment these lines? choices.plugin.dc.contributor.author = LCNameAuthority choices.presentation.dc.contributor.author = lookup authority.controlled.dc.contributor.author = true In dspace 4x, these lines are located here: https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/config/d

Re: [Dspace-tech] Problem update Mirage 2 in DSpace 5.x

2015-01-23 Thread snemi
Hi Carlos, as i mentioned before, please run it with a regular user account and not as root. "mvn -U clean package -Dmirage2.on=true" good luck snemi Zitat von Carlos Walter Blandon Alvarez : > Hi helix84 > > I ran with " -Dmirage2.deps.included=false" because I previously > installed Bo

[Dspace-tech] Display Order of Meta Data in XMLUI

2015-01-23 Thread Vinay Kumar Sharma
Dear Tech People, I am using Dspace 4.2, I want to change the display order of metadata in *Show full item record *detail. Can any one please guide me? Thanks & regards Vinay Kumar Sharma Librarian Sarath Engineering and Technology N.H. - 08, Nr. Chiloda Himatnagar-383125 Gujarat ---

Re: [Dspace-tech] ERROR: creating index discovery‏

2015-01-23 Thread . .
Hi Euler, thanks for your response. I tried what you told me. In my case, with version 4.2, I have these lines in my dspace.cfg file. # Authority Control Settings # plugin.named.org.dspace.content.authority.ChoiceAuthority = \ org.dspace.content.authority.SampleAuthority = Sample, \