Re: [Dspace-tech] Owner of Assetstore directories and files
On Mon, Aug 24, 2015 at 7:57 PM, Luiz dos Santos luiz...@gmail.com wrote: It is just a question, why not using the tomcat installed by himself, instead to user everything as tomcat7 user? In his case he could just run the comand: chown -R dspace:tomcat7 * In Assetstore directory and certificate that himself that when he run the batch process that all files have the same permissions? Sure, if you're installing from binaries downloaded from tomcat.apache.org, you can call your tomcat/dspace user whatever you want. But using binaries kind of defeats the purpose of using a distribution - you'll most likely never do security updates to tomcat. And like I said, if you chown the binaries of Tomcat from the Debian package, it will chown it back during the nearest update and most likely leave you with non-functional DSpace (you most likely won't immediately notice it because only uploads won't work). I speak from my own experience :) Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Owner of Assetstore directories and files
Hi David, save yourself future headaches and only use the tomcat7 user to own everything dspace-related on your machine - the dspace installation directory. For consistency, you can also create the database in Postgres as the tomcat7 user (i.e. db.username in DSpace would also be tomcat7). This applies to both Debian and Ubuntu if you're using the tomcat7 (or any other tomcat version) distribution package. If you notice the generic advice in the DSpace installation docs to run everything as the dspace user, my advice is just an application of the principle to Debian, where the tomcat package determines the user name (tomcat7). You shouldn't change the ownership of tomcat's files because they belong to the package and the package will reinstall them under the tomcat7 name upon the nearest package upgrade. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] DSpace 5.1 - oai 500
Hi Kostas, I filed a bug report for you, you can click watch to be notified of any changes: https://jira.duraspace.org/browse/DS-2705 As it can take some time before someone takes it up to fix it in code, meanwhile you can try to find and remove the offending character from your metadata. You can try something like this: SELECT handle, text_valueFROM metadatavalue, handleWHERE metadatavalue.resource_id = handle.resource_idAND text_value LIKE E'%\u0017%'; Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] CPU usage when idle
I should add that this was on DSpace 5 and that APR is not on by default (requires the libtcnative-1 package). On Mon, Aug 17, 2015 at 11:39 AM, helix84 heli...@centrum.sk wrote: Hi everyone, this is just a heads-up about a problem I solved with my repository. I was getting ~60% CPU usage on all CPUs in the DSpace VM all the time, even when DSpace was idle. This is on Debian Jessie with distro packages of tomcat8 and openjdk-7-jdk:amd64. The problem went away when I turned off APR in /etc/tomcat8/server.xml. I confirmed this solution independently on 2 different DSpace instances. !-- Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / -- Be aware if you define your HTTPS connector in Tomcat, it's attribute syntax changes depending on whether you are using APR (OpenSSL) or not (JSSE). Unrelated to CPU usage, I was also getting occasional Too many open files message with APR despite trying to raise the respective ulimit. They haven't appeared yet with APR turned off. If you have similar experiences, please do share them with us. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] CPU usage when idle
Hi everyone, this is just a heads-up about a problem I solved with my repository. I was getting ~60% CPU usage on all CPUs in the DSpace VM all the time, even when DSpace was idle. This is on Debian Jessie with distro packages of tomcat8 and openjdk-7-jdk:amd64. The problem went away when I turned off APR in /etc/tomcat8/server.xml. I confirmed this solution independently on 2 different DSpace instances. !-- Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / -- Be aware if you define your HTTPS connector in Tomcat, it's attribute syntax changes depending on whether you are using APR (OpenSSL) or not (JSSE). Unrelated to CPU usage, I was also getting occasional Too many open files message with APR despite trying to raise the respective ulimit. They haven't appeared yet with APR turned off. If you have similar experiences, please do share them with us. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Embargo process and future releases
At this time, it looks like the plugin-based embargo added in 1.6 might be removed and only the resoucepolicy-based 3.0 embargo kept. See https://jira.duraspace.org/browse/DS-2588 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Front Page Build
Hi Keith, XMLUI isn't organized around files but rather around templates, some of which are shared among different pages. You probably already figured out [1]. Now you just need [2] to distinguish between the homepage and /community-list (@target). [1] https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowdoIremovethesearchboxfromthefrontpageinXMLUI ? [2] https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowcanIchangewhatisdisplayedinXMLUIforaparticularcollection ? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Front Page Build
The code I sent you tries to be as non-invasive as possible. When you add the template, the only the DRI output of the homepage should change but not the DRI output of the community-list. Therefore, if your collapse/expand widgets are just css/js, they should continue to work. If, however, they do any modifications to XSLT, that may change how the community-list DRI is rendered and it's possible my snippet interferes with it somehow. Check whether there are any differences in community-list DRI between how Mirage renders it and your theme renders it. On Thu, Aug 13, 2015 at 4:25 PM, Keith Jones mad...@udel.edu wrote: Helix, Thanks for the help, the code is working and will remove the list from the home page. Here is my problem. Currently in production we are using collapsible list for the community browse page, which you can see here: http://udspace.udel.edu/community-list. This is in version 3.1 using the XMLUI. I was able to remove the community list from the main page but commenting out the template call in the xslt, I did not use the overriding template method. When I use the code provided, the collapsible list will partly work, but the arrow icons do not appear, when viewing the community list. Thanks Keith On Thu, Aug 13, 2015 at 9:07 AM, helix84 heli...@centrum.sk wrote: Try this: xsl:template name=hide_homepage_community-list match=dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'] xsl:if test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']/text() xsl:apply-templates / /xsl:if /xsl:template It hides the community browser unless the request URI is non-empty (like /community-list). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Front Page Build
On Thu, Aug 13, 2015 at 7:21 PM, Keith Jones mad...@udel.edu wrote: Do you think it is causing your code some problems. When I leave you code out this works, but when I have your code in it doesn't. Most certainly. This is what builds your collection/community structure to be styled as collapsible. Replace xsl:apply-templates / with your ul ... ... /ul and it should work. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Filter by language - search
On Wed, Jul 22, 2015 at 4:04 PM, Luiz dos Santos luiz...@gmail.com wrote: That is it? https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-ConfiguringlistsofsidebarFacetsandsearchFilters After modifying sidebarFacets and searchFilters, don't forget to reindex existing items by running [dspace]/bin/dspace index-discovery -b, otherwise the changes will not appear. If you also want facets: Each sidebar facet must also occur in the list of the search filters. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] extract pdf files from an entire collection
On Thu, Jun 25, 2015 at 4:36 PM, Avino, Thomas W. (LARC-B702)[LITES] thomas.w.av...@nasa.gov wrote: I am not sure why this seems so hard to do. I have a dspace collection that has about 3000 items. Most items have one PDF file. All I want to do is extract all of those PDF files into a directory on my file system so I can put them on a DVD for the customer. I only need the PDF’s. What I keep getting is a directory for each item, with the pdf, and a Dublin_core file. If you got this far, just copy all the pdf files: find ./export-dir/ -name '*.pdf' -print0 | xargs -0 -I {} cp -i {} ./cdrom/ Note that the -i argument in this non-interactive mode is there just to notify you of files which had identical filenames and therefore only one of them is in the target directory. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] Vagrant or Docker
Hi Monika, this will eventually boil down to a generic discussion of VMs vs. containers which you can look up anywhere. Let me just point out one important consideration - security. With Vagrant, you get an official way of creating a VM using scripts made by DSpace commiters, whom you already trust if you use DSpace. With Docker, one of the advantages is being able to use the Docker Hub Registry of images, which is just code from random people on the internet. The question is do you want to use these, even in a development environment? Of course, you have the option of creating the whole container from scratch including the OS - you'll lose some of the benefits of Docker this way, but you'll have more certainty that you're not running any malicious code. Second security consideration is that of container isolation in Linux, which is not particularly strong, but this matters only if you run multiple containers per machine. I also talked about this briefly with Hardy and he pointed out one benefit of Vagrant - vagrant-share. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] Altmetrics and DSpace how to add?
Sorry, I was wrong. It seems they started supporting handles, too. http://api.altmetric.com/embeds.html It's possible they'll have to harvest your repository first to recognize handles, consult this with Altmetric. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] about hosting and external interface
On Wed, Jun 24, 2015 at 12:02 PM, Code 2 dogears code2.dogears...@gmail.com wrote: I am new to dspace. How to host dspace repository. Secondly can I make external interface to fetch data from postgres database? If yes then what I have to do during dspace upgrade.Please reply soon. Thanks in advance. DSpace already uses Postgres as the primary persistence layer. Of course, it has its own schema [1]. What do you mean by fetching data? Do you mean importing data that already exists in a Postgres database of some sort? If so, take a look at [2]. [1] https://wiki.duraspace.org/display/DSDOC5x/Storage+Layer#StorageLayer-RDBMS/DatabaseStructure [2] https://wiki.duraspace.org/display/DSDOC5x/Ingesting+Content+and+Metadata Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] about hosting and external interface
On Wed, Jun 24, 2015 at 12:50 PM, Code 2 dogears code2.dogears...@gmail.com wrote: What I asked is this: 1.How to host dspace repository? The official documentation describes both installation and the required environment. https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace 2. How to search dspace from external website? If you want to display the results in the DSpace interface, just use URL parameters. If you want to display them in your interface, it's easiest to use Solr: https://wiki.duraspace.org/display/DSPACE/Solr Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] Altmetrics and DSpace how to add?
On Wed, Jun 24, 2015 at 10:14 AM, karolosoc...@interia.pl karolosoc...@interia.pl wrote: My DSpace production is 3.2 but in nearest future i want upgrade to 4.2. I Want using handle :). Like I said, Altmetric supports only DOI. PlumX does support handle if you ask them to harvest your repository. In my test server i installed DSpace 5.2 and You have right, there is module altmetrics.cfg I try configure this, but i see DONUT with ? http://150.254.65.243:8080/xmlui/handle/10493/3 . 1) What can be wrong? I must register my repository in altmetrics? See above. Altmetric doesn't work with handles, so it doesn't recognize the item (you can see it in the URL: doi=undefined). You have to point it to the DSpace metadata field where you store DOI. You'll only get badges for items which have DOI. 2) Altmetrics team, give me API KEY but i dont known what i can do with this, where i must write this KEY? I don't think you need the API key for using badges. Only if you want to use the API, this is not used in DSpace. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] Altmetrics and DSpace how to add?
On Tue, Jun 23, 2015 at 12:39 PM, karolosoc...@interia.pl karolosoc...@interia.pl wrote: someone known how add Altmetrics to dspace/jspui? Regards, What is your DSpace version and which metadata field do you use to store DOI or (in case of PlumX) other supported identifiers [3]? Which altmetrics do you want to use? DSpace 5 supports Altmetric [2] and PlumX [3] in XMLUI out-of-the-box [1]. Adding it to JSPUI would be quite simple. [1] https://jira.duraspace.org/browse/DS-1222 [2] http://api.altmetric.com/embeds.html [3] https://plu.mx/developers/widgets Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] Search API returning JSON
On Thu, Jun 18, 2015 at 8:21 AM, Gary Browne gary.bro...@sydney.edu.au wrote: Is there any way of issuing searches to dspace and getting a JSON response? I've tried open-search but it seems only to have XML (Atom or RSS) as an option. Yes, try Solr with wt=json: http://wiki.duraspace.org/display/DSPACE/Solr Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Upgrade to JSPUI or XMLUI or not at all ?
On Tue, Jun 16, 2015 at 10:21 PM, Monika C. Mevenkamp moni...@princeton.edu wrote: After all this talk about the new and improved and entirely different web UI on the strategic plan at the OR conference, I am wondering how to proceed forward. We are stuck in the past: 1.8 JSPUI with a few customizations. Are you willing to wait until 7.0 to upgrade? That's the earliest reasonable date when a possible new UI might be expected. Your DSpace is beyond security support period already. https://wiki.duraspace.org/display/DSPACE/DSpace+Software+Support+Policy It would be easy to port this to JSPUI in version 5, but the bootstrap theme does not work particularly well for us - it seems rather space consuming. Has somebody a modified css / small JSPUI customizations that lead to a tighter UI layout ? IMHO it would quite difficult to keep your modifications to JSPUI separate from upstream JSPUI if they are anything more than CSS changes (e.g. bootstrap theme). You'd have to maintain a bunch of patches to JSPs which might break on each upgrade. Are your modifications something that makes sense to contribute back upstream? Regarding JSPUI and best practices to work with the Bootstrap-based interface in DSpace 4+, your best bet would be to talk to CINECA. Comparing what I see in the XMLUI 5 with JSPUI 1.8, I see nice features like - admin can impersonate another user - a control panel with system info - the ability to start curation tasks … - and a much more friendly interface for dealing with editing an items metadata authorization, … Aside from the different look and feel what are the functional/feature differences between the XMLUI and JSPUI ? There are quite a few different features, your best bet to make a high-level comparison would be to review the list of new features in each major DSpace version, e.g.: https://wiki.duraspace.org/display/DSDOC5x/Release+Notes#ReleaseNotes-5.0ReleaseNotes One of the changes we made requires a custom agreement page and programming a bit of logic when to pop that page up and when to simply show a bitstream. Who I did I talk to who said they have a custom agreement type page at the OR conference ? Please holler - was that XMLUI ? That might have been Jozef M. from LINDAT/CLARIN, they have a custom license module with such features and use XMLUI. It was briefly mentioned here: http://www.doria.fi/handle/10024/97724 Their repo is here: https://github.com/ufal/lindat-dspace Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Problem with Search Result display in Mirage2 theme (resend)
The text being displayed stream_source_info ... is the literal value coming from the fulltext or fulltext_hl field value in your Solr search core. I'm not sure why the literal value is being shown instead of just the parts of fulltext containing the search terms, but this should give you an idea where to start looking. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Dspace 4.2 Issue
In [dspace]/config/modules/discovery.cfg, change search.server to http://localhost/solr/ Also change these other URLs to avoid problems with OAI and Solr statistics: https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-ErrorsconnectingtoSolr Then restart Tomcat. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Tue, Jun 16, 2015 at 2:02 PM, Wasefer Zaman wasefer.za...@simplexinfra.com wrote: Please find the output of the command wget http://localhost:8080/solr/; With regards, Wasefer Zaman [image: Inactive hide details for helix84 ---06/16/2015 04:52:56 PM---On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman Wasefer.Zaman@si] helix84 ---06/16/2015 04:52:56 PM---On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman wasefer.za...@simplexinfra.com wrote: From: helix84 heli...@centrum.sk To: Wasefer Zaman wasefer.za...@simplexinfra.com Cc: dspace-tech dspace-tech@lists.sourceforge.net Date: 06/16/2015 04:52 PM Subject: Re: [Dspace-tech] Dspace 4.2 Issue -- On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman wasefer.za...@simplexinfra.com wrote: Caused by: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Server refused connection at: http://localhost:8080/solr/search My initial assessent was correct, DSpace cannot reach Solr at http://localhost:8080/solr/search . Proceed as I described. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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 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] Dspace 4.2 Issue
On Tue, Jun 16, 2015 at 2:59 PM, Wasefer Zaman wasefer.za...@simplexinfra.com wrote: On clicking the 'Feedback' link, we are getting the following error. Just like it says, when you enter the feedback page URL directly, this error will be thrown. This is intentional in order to provide context to you, the repository administrator. Instead, access the feedback page from any other DSpace page by clicking on the feedback link. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] dspace ldap
On Tue, Jun 16, 2015 at 10:22 AM, Saidy Binta bisa...@mrc.gm wrote: Please I need to know, if I have to install ldap server on my machine before I can use the dspace ldap authentication. No, you can use an existing LDAP server on another machine, if you already have one. If you don't already have one, I see no point in installing your own LDAP server just for DSpace, in that case you can just use PasswordAuthentication. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Dspace 4.2 Issue
You should paste the text from Java full stacktrace [show] to confirm the error. My guess is that DSpace can't connect to Solr. To confirm this, run wget http://localhost:8080/solr/; (assuming you're running Solr on port 8080) - if you get anything else than a 200 OK response, there is a problem. To run Solr, make sure its Context is defined as per installation instructions and search.server in [dspace]/config/modules/discovery.cfg is a working URL endpoint (the procedure shown above). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Dspace 4.2 Issue
On Tue, Jun 16, 2015 at 12:24 PM, Wasefer Zaman wasefer.za...@simplexinfra.com wrote: Caused by: org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: Server refused connection at: http://localhost:8080/solr/search My initial assessent was correct, DSpace cannot reach Solr at http://localhost:8080/solr/search. Proceed as I described. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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 Rest Javadoc
Hi Paul, there certainly is some JavaDoc for classes under org.dspace.rest in DSpace 5 as you can see here: http://demo.dspace.org/javadocs/5/apidocs/ Perhaps you ran mvn javadoc:javadoc in ~/dspace-src/dspace-rest/ ? Try running it in ~/dspace-src/ instead. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] eperson and groups
On Fri, May 22, 2015 at 9:07 AM, Vegard Korvald vegard.korv...@usit.uio.no wrote: Is it possible to make groups with the CLI, similar to the «user» command for creating users, or in any other way script this behavior? Well again, not currently using CLI, but using SQL. This used to be just one insert, now it's two. Add a new row to the epersongroup table and its name to the metadatavalue table. INSERT INTO epersongroup (eperson_group_id) VALUES (nextval('epersongroup_seq')); INSERT INTO metadatavalue (metadata_field_id, resource_type_id, resource_id, text_value) VALUES ( (SELECT metadata_field_id FROM metadatafieldregistry WHERE metadata_schema_id = 1 AND element = 'title' AND qualifier IS NULL ), 6, currval('epersongroup_seq'), 'NEW_GROUP_NAME'); 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] eperson and groups
On Thu, May 21, 2015 at 12:22 PM, Vegard Korvald vegard.korv...@usit.uio.no wrote: I used SELECT * FROM epersongroup to get the IDs, but I couldn't seem to find the corresponding group name in the database. To find the name I had to look it up as an admin on our DSpace page under Access Control-Groups. Is there a way to find the IDs and names of the groups in the database? Sorry about that, I forgot to note that since DSpace 5, the epersongroup table changed due to the metadata for all dspace objects feature. You can get the same view on the table as in previous versions using this query instead (6 is the constant for group): SELECT e.*, m.text_value AS name FROM epersongroup eLEFT JOIN metadatavalue m ON ( m.resource_id = e.eperson_group_id AND m.resource_type_id = 6) 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] eperson and groups
I don't think it's doable with the currently available CLI commands in DSpace: https://wiki.duraspace.org/display/DSDOC5x/Managing+User+Accounts You could, however, use a CLI SQL client (psql) to manipulate membership in the epersongroup2eperson table. You can find out the user and group IDs from the eperson and epersongroup table, respectively. Alternatively, assuming you're using password authentication and want to put all users into a single group, you can use the login.specialgroup option in [dspace]/config/modules/authentication-password.cfg. Please note that special group membership is dynamic - it doesn't appear in the epersongroup2eperson table, but you can check effective membership in the profile of a logged in user. 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] Batch move item between collections
As Tim noted, complex changes can now be done using filtering in Excel as you can currently only export collections. This would be unpractical with with large result sets (over 10k items). Once this feature gets in, you will be able to export any search query (so you can search based on metadata field and export only those items): https://github.com/DSpace/DSpace/pull/801 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
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
On Tue, May 12, 2015 at 4:23 PM, George Stanley Kozak 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, 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] access rights in METS ingest are ignored
Which DSpace version and which ingestion method are you using? I added simple embargo recording in metsrights metadata, available since DSpace 4 via AIP packager (both ingest and dissemination). You can see the issue and the patch here: https://jira.duraspace.org/browse/DS-1514 I don't remeber whether metsrights in AIP uses the same concept of users/groups as DSpace, though. 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] OAI-PMH/OAI-ORE Harvesting configuration documentation
Hi David, the ore.authoritative.source option and the related OREDisseminationCrosswalk seem to be a remnant from pre-DSpace 3 OAI. Why don't you try this instead: http://demo.dspace.org/oai/request?verb=GetRecordmetadataPrefix=oreidentifier=oai:demo.dspace.org:10673/3 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ 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] OAI-PMH/OAI-ORE Harvesting configuration documentation
Hi Hilton, that part is specific to DSpace. Harvesting from any other OAI-ORE-compliant provider should work just fine. The reason DSpace is mentioned specifically is that there are two different bitstream URL syntaxes depending on which UI you use. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ 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] OAI-PMH/OAI-ORE Harvesting configuration documentation
If DSpace is the harvester, you can harvest from any OAI-ORE-compliant provider. If DSpace is the provider, it's only OAI-ORE-compliant if you point bitstream.baseUrl in oai.cfg to the UI you want to serve bitstreams. It's trivial but necessary because DSpace cannot know which UI you consider primary if you have both deployed, so it doesn't try to guess. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ 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] Advanced Embargo: Dark Metadata
Hi Peter, the easiest thing I can think of with no new development is to put the items in archive as withdrawn, put embargo lift date in a metadata field and run a curation task daily to to lift the embargo (reinstate the items). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ 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] Advanced Embargo: Dark Metadata
On Tue, Apr 21, 2015 at 5:45 PM, Robbins, Seth David srobb...@illinois.edu wrote: We do what Helix describes, but we¹re looking for another way. It's a hack to store information crucial to actionable business logic in the descriptive metadata. Depends on how you look at it - it is also a way to allow a wider group of users to easily edit the date - the 1.6 embargo does the same thing. But if you insist, it's not any harder to make the curation task look at resource policies instead of item metadata. You could use item resource policy or a resource policy of one of the bitstreams or one with a special name. Such implementation will still be contained within the curation task and doesn't require changes to DSpace. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ 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] XMLUI modification: search collections from front page
This is where the This Collection radio button is rendered in Mirage2: https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/navigation.xsl#L66-89 The simplest way would be to duplicate this code and render it for each collection you want (xsl:for-each). But you have to get the collection names and handles from somewhere and they're not in DRI of a community. I'd get them directly from Solr this way: https://wiki.duraspace.org/display/DSPACE/Solr#Solr-QueryingSolrfromXMLUI Your Solr query (for all collections) could be: http://localhost:8080/solr/search/select?q=search.resourcetype:3 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ 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] Turning SSL on with self-signed certificate breaks solr functionality
On Thu, Apr 9, 2015 at 5:10 PM, Chris Gray cpg...@uwaterloo.ca wrote: We're using DSpace 5.1 and when we turn on SSL as per the instructions in the installation documentation then browsing and RSS feeds break. Looking at the localhost access logs it looks like requests to solr on 127.0.0.1 return a 302 status rather than 200. If you're forcing HTTPS and redirects are causing problems, why don't you configure DSpace to talk to Solr via HTTPS? server=https://localhost:8080/solr/statistics in [dspace]/config/modules/ solr-statistics.cfg. solr.url=https://localhost:8080/solr/oai in [dspace]/config/modules/oai.cfg and search.server=https://localhost:8080/solr/search in [dspace]/config/modules/ discovery.cfg All of these can be changed at once at build time by changing solr.server=https://localhost:8080/solr in [dspace-source]/build.properties Using wget from the command line I'm told I need to add the --no-check-certificate parameter. All works as expected here, tools like wget and curl want you to explicitly acknowledge that you want to skip certificate chain validation. If you're using these often, make an alias: alias wget='wget --no-check-certificate' Is there a way to have tomcat7 force 8080 traffic to 8443 only for the hostname and public IP address and not for localhost and 127.0.0.1? I just did some research and I don't think Tomcat can do this on its own. 1) You can only have a single Server in configuration per Tomcat instance as it's the application (Tomcat) as a whole which binds to an IP/port 2) Host isn't helpful here, either 3) you can't Connector (which forces the redirect) twice with the same port number Since you're using 8080, this probably means you're running a web server as a frontend to Tomcat, you could take care of it there as Stuart suggests. Another solution would be to have another Connector on another port number which doesn't force the redirect to HTTPS. While you can't disallow non-localhost access to this in Tomcat (due to 1) above), you could restrict it using iptables or other methods. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ 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] reuse of resource IDs in database
Hi Chris, I'm not sure I understand your problem. Since DSpace 5, you are guaranteed unique rows in the metadatavalue table using the composite key (resource_id, resource_type_id) where resource_type_id is one of the constants: https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/core/Constants.java#L20-41 In case I misunderstand, please provide an example that will help me see the problem in this form: epersongroup.eperson_group_id = 123 community.community_id = 456 ... Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] APIs to alter Reports and Userprofiles
Hi Eva, unfortunately, DSpace currently treats authors as text (although there is the possibility of authority control). It doesn't currently have any association between an author (item metadata field or an authority ID) and an EPerson (DSpace user). This problem is described here: https://github.com/DSpace/DSpace/pull/244 Since this seems to be central to what you expect from your system, you may want to look at other solutions besides DSpace. If you decide for DSpace nevertheless, here's the Java API: http://demo.dspace.org/javadocs/5/apidocs/ and the REST API: https://wiki.duraspace.org/display/DSDOC5x/REST+API There may be other APIs available for specialized tasks, too. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Cocoon cache
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] DSpace Upgrade from v3.1 to v5.1
On Thu, Mar 19, 2015 at 8:30 PM, Chelsea Lobdell clobd...@swarthmore.edu wrote: Thanks Tim! I have been able to successfully run ant build. I am still not through the upgrade process and today I am seeing a 503 when I try to go to the development site with a message that reads: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Hi Chelsea, this is an error you get when you're running with HTTPD as a frontend talking to Tomcat using AJP and the AJP connection is unavailable. That typically happens while you restart Tomcat. If Tomcat is running (verify using an HTTP connector, this runs on port 8080 by default) and you still see the message even after restarting HTTPD, investigate what's wrong with your AJP connection. Perhaps you forgot to add the AJP connector in Tomcat's server.xml? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Security Points
First of all, upgrade to 4.3 which fixes a number of security issues. Make sure you're not running Tomcat as root. Use authbind or Linux capabilites or iptables. The possibilities are described here [1]. Make sure that you're using HTTPS at least for the login page (xmlui.force.ssl is one of the ways to acheive that). This list is non-exhaustive. For a more conceptual approach, check out [2]. [1] https://wiki.duraspace.org/display/DSPACE/Running+DSpace+on+Standard+Ports [2] https://wiki.duraspace.org/display/DSPACE/SecuringDspace Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] BTE OAI import - NullPointerException
Sending link to the source, hope it helps: https://github.com/EKT/Biblio-Transformation-Engine/blob/version-0.9.4/bte-io/src/main/java/gr/ekt/bteio/loaders/OAIPMHDataLoader.java#L179 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Cant access some archived file without login
The items will be readable to visitors who are not logged in when you add a READ authorization for the Anonymous group. After you test this on one item (Edit item - Authorizations), you may want to modify other items in batch. Here's how: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-Ichangedaccessrestrictionsonacollection,butrestrictionsdidn'tchangeonitsitems Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] displaying full titles for pool tasks
Please, always reply to the mailing list. I don't have XMLWorkflow turned on, so I didn't try with that, but removing the ifs works with my regular submission. Perhaps you overlooked that the shortening branch is there 3 times for each of the sections on that page? https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L206-207 https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L292-293 https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L394-395 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Fri, Mar 6, 2015 at 7:22 PM, Bran, Adela adela.b...@gesis.org wrote: Thank you for the reply. Yes, I am sure we are using XMLWorkflow. And I have also tried commenting the ifs which shorten the displayTitle from the other classes, without any success. Any other hints? Best regards, Adela Bran GESIS - Leibniz-Institut für Sozialwissenschaften Computational Social Science Unter Sachsenhausen 6-8, 50667 Köln adela.b...@gesis.org www.gesis.org -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] displaying full titles for pool tasks
On Sat, Mar 7, 2015 at 11:03 AM, Bran, Adela adela.b...@gesis.org wrote: I am aware it appears three times: once for the claimed tasks, once for the tasks in the pool and one for all the submissions that this user has submitted which are currently under review. I have commented out all of them, still without any success. Except packaging and updating the code, is there anything else I need to do? Thanks. Are you sure that you're using the full rebuild? In general, you should run maven from [dspace-source], not in [dspace-source]/dspace/. https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease The procedure is: mvn package (in [dspace-source]) ant update (in [dspace-source]/dspace/target/dspace-installer/) restart tomcat If you're switching between DSpace releases or working with the master branch, do a mvn clean package to avoid multiple versions of the same .jar being present in the build, in which case it's generally unpredictable which version tomcat will pick up. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] OAI-PMH data provider 2.0 not persistent?
Yes, that makes sense. Still, it needs a brief verification because sometimes our understanding of a concept and its implementation may differ. On Fri, Mar 6, 2015 at 10:12 AM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Hi Ivan, I might have overlooked something, but from your comments on https://jira.duraspace.org/browse/DS-2491 wouldnt it be meaningful to do both your declaration change and Ondřej's suggestion in order to match both what is declared and what the documentation says about OAI and deleted items? regards, Kristian -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, March 05, 2015 3:46 PM To: Kristian Roberto Salcedo Cc: dspace-tech@lists.sourceforge.net; João Melo Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent? Hi Kristian, I think you're right that the declared deletedRecordpersistent/deletedRecord doesn't match how DSpace behaves. I filed a Jira issue and created a pull request to change the declared status to deletedRecordtransient/deletedRecord. https://jira.duraspace.org/browse/DS-2491 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Mar 5, 2015 at 2:52 PM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Hi all, In Dspace 4.2 we are currently seeing that our OAI feeds are not being persistent as per these definitions when it comes to deleted (withdrawn) items: http://www.openarchives.org/OAI/openarchivesprotocol.html#deletion https://wiki.duraspace.org/pages/viewpage.action?pageId=34640887#OAI- P MHDataProvider2.0(Internals)-Deletions Withdrawn items do not get the header status=deleted as they should, like in this example: http://webservices.itcs.umich.edu/mediawiki/oaibp/index.php/Deleted_Re cord_Example_1 Withdrawing an item is not reflected in the OAI entry in any way. -- This is our Identify page at the moment: https://www.duo.uio.no/oai/request?verb=Identify -- I believe we're doing everything right regarding config parameters and maintenance of the solr oai index. The only place I can find a persistent-parameter is in this config file: /www/var/data/dspace/config/oaicat.properties which I thought was deprecated, but we still set it just to be sure: Identify.deletedRecord=persistent All other relevant config parameters are set in these two files as far as I can tell: /www/var/data/dspace/config/modules/oai.cfg /www/var/data/dspace/config/crosswalks/oai/description.xml We are running the oai import -o command nightly. -- The only way we've found to remove withdrawn items from the OAI feed is by running a complete re-indexing of the oai solr index: /www/var/data/dspace/bin/dspace oai import -c with a subsequent /www/var/data/dspace/bin/dspace oai clean-cache This removes a withdrawn item: https://www.duo.uio.no/handle/10852/42670 completely from the feed: https://www.duo.uio.no/oai/request?verb=GetRecordmetadataPrefix=oai _d cidentifier=oai:localhost:10852/42670 which is not what we want... -- Is anyone else experiencing the same problem? Maybe I've missed something - If this actually works differently than we expect or has been addressed in OAI 2.1, please let me know. regards, Kristian Salcedo Universitetet of Oslo Library Department of digital services -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] displaying full titles for pool tasks
On Fri, Mar 6, 2015 at 4:55 PM, Bran, Adela adela.b...@gesis.org wrote: by making some changes in the Submissions class (org.dspace.app.xmlui.aspect.xmlworkflow.Submissions.java). More precisely Are you sure you're using XMLWorkflow? This is an optional module that has to be enabled. Check out these classes: dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/Submissions.java dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/workflow/Submissions.java dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] External Searching of DSpace contents
I used to use this SRU module[1] in DSpace 1.6-1.8. It should still work, but it uses Lucene as the search backend. It was an annoyance to upgrade though, so I changed my client to talk to DSpace Solr directly, the client is a component on another server, so I didn't have to secure Solr, only add its IP to RemoteAddrValve. Back then I had this idea for creating a SRU interface as a thin layer on top of Solr, it should be quite easily doable [2], see the link there. Anyway, I asked you what your use case was. Is it just search query autosuggestion using JQuery? We used to have that before 3.0, but it was removed in the huge patch which brought Access Rights Awareness to Discovery, supposedly due to being memory-inefficient. It's worth looking there how it was implemented. For completeness, I'll also mention solr-security-proxy [3] here, but generally you might want to avoid that approach [4]. Going off on a tangent, Elasticsearch has the same problem, but the company behind ES very recently released a commercial product that addresses this highly requested feature [5]. [1] https://code.google.com/p/oclcsrwdspacelucene/ [2] https://jira.duraspace.org/browse/DS-1264 [3] https://github.com/dergachev/solr-security-proxy [4] http://stackoverflow.com/questions/3637014/running-solr-in-read-only-mode [5] http://www.elasticsearch.org/overview/shield/ Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] OAI-PMH data provider 2.0 not persistent?
On Thu, Mar 5, 2015 at 4:13 PM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Thank you for answering so swiftly. But are you saying that this part of the documentation https://wiki.duraspace.org/pages/viewpage.action?pageId=45548245#OAI-PMHDataProvider2.0(Internals)-Deletions is incorrect and that Dspace only supports deletions transiently? I think the docs are open to interpretation a little bit. If you have a policy to withdraw items instead of deleting them, then you have persistent repository in the OAI-PMH sense. However, actually deleting an item removes it from DSpace and DSpace can no more provide any information about it. So there's an impedance mismatch of the concept between DSpace and OAI-PMH. Secondly, if you run a full import, I think the state information may be lost. But it's been a long time since I last verified, so correct me if I'm wrong. If so, wouldn’t it mean that all who harvest us would have to perform complete harvests every time in order to keep track of changes in our repository unless we create custom solutions in order to reveal deleted status? If you implement a policy to only ever withdraw items, I think you're fine. But you should test what happens to them during oai import -c. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] XOAI wrong request info
OK, I'm a bit lost but let's consider baseURL. Its value doesn't originate in configuration, it's taken from current request. So if you can access your repository in three ways (example below), it will display three values of baseURL accordingly. With caching enabled, the value used in the first request is cached. https://eldorado.tu-dortmund.de/dspace-oai/request?verb=Identify http://eldorado.tu-dortmund.de/dspace-oai/request?verb=Identify http://eldorado.tu-dortmund.de:8080/dspace-oai/request?verb=Identify https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceIdentify.java#L76-85 Please note that I tested the behaviour described above only on current master, not on 4.2. https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-oai/src/main/java/org/dspace/xoai/services/impl/xoai/DSpaceRepositoryConfiguration.java#L72-81 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Input Forms Value Pairs
On Thu, Mar 5, 2015 at 11:33 AM, Hilton Gibson hilton.gib...@gmail.com wrote: Can I make it public? Sure. I took the data from Wikipedia, so consider it CC-BY-SA 3.0 Unported. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Input Forms Value Pairs
File attached. This took literally three minutes to look up and create in vim. I used alpha-2 as the stored value. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette value-pairs value-pairs-name=common_departments dc-term=description pair displayed-valueAfghanistan/displayed-value stored-valueAF/stored-value /pair pair displayed-valueÅland Islands/displayed-value stored-valueAX/stored-value /pair pair displayed-valueAlbania/displayed-value stored-valueAL/stored-value /pair pair displayed-valueAlgeria/displayed-value stored-valueDZ/stored-value /pair pair displayed-valueAmerican Samoa/displayed-value stored-valueAS/stored-value /pair pair displayed-valueAndorra/displayed-value stored-valueAD/stored-value /pair pair displayed-valueAngola/displayed-value stored-valueAO/stored-value /pair pair displayed-valueAnguilla/displayed-value stored-valueAI/stored-value /pair pair displayed-valueAntarctica/displayed-value stored-valueAQ/stored-value /pair pair displayed-valueAntigua and Barbuda/displayed-value stored-valueAG/stored-value /pair pair displayed-valueArgentina/displayed-value stored-valueAR/stored-value /pair pair displayed-valueArmenia/displayed-value stored-valueAM/stored-value /pair pair displayed-valueAruba/displayed-value stored-valueAW/stored-value /pair pair displayed-valueAustralia/displayed-value stored-valueAU/stored-value /pair pair displayed-valueAustria/displayed-value stored-valueAT/stored-value /pair pair displayed-valueAzerbaijan/displayed-value stored-valueAZ/stored-value /pair pair displayed-valueBahamas/displayed-value stored-valueBS/stored-value /pair pair displayed-valueBahrain/displayed-value stored-valueBH/stored-value /pair pair displayed-valueBangladesh/displayed-value stored-valueBD/stored-value /pair pair displayed-valueBarbados/displayed-value stored-valueBB/stored-value /pair pair displayed-valueBelarus/displayed-value stored-valueBY/stored-value /pair pair displayed-valueBelgium/displayed-value stored-valueBE/stored-value /pair pair displayed-valueBelize/displayed-value stored-valueBZ/stored-value /pair pair displayed-valueBenin/displayed-value stored-valueBJ/stored-value /pair pair displayed-valueBermuda/displayed-value stored-valueBM/stored-value /pair pair displayed-valueBhutan/displayed-value stored-valueBT/stored-value /pair pair displayed-valueBolivia (Plurinational State of)/displayed-value stored-valueBO/stored-value /pair pair displayed-valueBonaire, Sint Eustatius and Saba/displayed-value stored-valueBQ/stored-value /pair pair displayed-valueBosnia and Herzegovina/displayed-value stored-valueBA/stored-value /pair pair displayed-valueBotswana/displayed-value stored-valueBW/stored-value /pair pair displayed-valueBouvet Island/displayed-value stored-valueBV/stored-value /pair pair displayed-valueBrazil/displayed-value stored-valueBR/stored-value /pair pair displayed-valueBritish Indian Ocean Territory/displayed-value stored-valueIO/stored-value /pair pair displayed-valueBrunei Darussalam/displayed-value stored-valueBN/stored-value /pair pair displayed-valueBulgaria/displayed-value stored-valueBG/stored-value /pair pair displayed-valueBurkina Faso/displayed-value stored-valueBF/stored-value /pair pair displayed-valueBurundi/displayed-value stored-valueBI/stored-value /pair pair displayed-valueCambodia/displayed-value stored-valueKH/stored-value /pair pair displayed-valueCameroon/displayed-value stored-valueCM/stored-value /pair pair displayed-valueCanada/displayed-value stored-valueCA/stored-value /pair pair displayed-valueCabo Verde/displayed-value stored-valueCV/stored-value /pair pair displayed-valueCayman Islands/displayed-value stored-valueKY/stored-value /pair pair displayed-valueCentral African Republic/displayed-value stored-valueCF/stored-value /pair pair displayed-valueChad/displayed-value stored-valueTD/stored-value /pair pair displayed-valueChile/displayed-value stored-valueCL/stored-value /pair pair displayed-valueChina/displayed-value stored-valueCN/stored-value /pair pair displayed-valueChristmas Island/displayed-value stored-valueCX/stored-value /pair pair displayed-valueCocos (Keeling) Islands/displayed-value stored-valueCC/stored-value /pair pair displayed-valueColombia/displayed-value stored-valueCO/stored-value /pair pair displayed-valueComoros/displayed-value stored-valueKM/stored-value /pair pair displayed-valueCongo/displayed-value stored-valueCG/stored-value /pair pair displayed-valueCongo (Democratic Republic of the)/displayed-value stored-valueCD/stored-value /pair pair displayed-valueCook Islands/displayed-value stored-valueCK/stored-value /pair pair displayed-valueCosta Rica/displayed-value stored-valueCR/stored-value /pair pair displayed
Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
Hi Kristian, I think you're right that the declared deletedRecordpersistent/deletedRecord doesn't match how DSpace behaves. I filed a Jira issue and created a pull request to change the declared status to deletedRecordtransient/deletedRecord. https://jira.duraspace.org/browse/DS-2491 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Mar 5, 2015 at 2:52 PM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Hi all, In Dspace 4.2 we are currently seeing that our OAI feeds are not being persistent as per these definitions when it comes to deleted (withdrawn) items: http://www.openarchives.org/OAI/openarchivesprotocol.html#deletion https://wiki.duraspace.org/pages/viewpage.action?pageId=34640887#OAI-PMHDataProvider2.0(Internals)-Deletions Withdrawn items do not get the header status=deleted as they should, like in this example: http://webservices.itcs.umich.edu/mediawiki/oaibp/index.php/Deleted_Record_Example_1 Withdrawing an item is not reflected in the OAI entry in any way. -- This is our Identify page at the moment: https://www.duo.uio.no/oai/request?verb=Identify -- I believe we're doing everything right regarding config parameters and maintenance of the solr oai index. The only place I can find a persistent-parameter is in this config file: /www/var/data/dspace/config/oaicat.properties which I thought was deprecated, but we still set it just to be sure: Identify.deletedRecord=persistent All other relevant config parameters are set in these two files as far as I can tell: /www/var/data/dspace/config/modules/oai.cfg /www/var/data/dspace/config/crosswalks/oai/description.xml We are running the oai import -o command nightly. -- The only way we've found to remove withdrawn items from the OAI feed is by running a complete re-indexing of the oai solr index: /www/var/data/dspace/bin/dspace oai import -c with a subsequent /www/var/data/dspace/bin/dspace oai clean-cache This removes a withdrawn item: https://www.duo.uio.no/handle/10852/42670 completely from the feed: https://www.duo.uio.no/oai/request?verb=GetRecordmetadataPrefix=oai_dcidentifier=oai:localhost:10852/42670 which is not what we want... -- Is anyone else experiencing the same problem? Maybe I've missed something - If this actually works differently than we expect or has been addressed in OAI 2.1, please let me know. regards, Kristian Salcedo Universitetet of Oslo Library Department of digital services -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Submission process and input-forms.xml - enable language fields
Hi Vladimir, as far as I know, submission forms don't give you a choice of language for individual fields and just pre-fill the value of default.language (as you noted). Currently you can either edit the in_archive item or you can use other form of ingestion if you require this functionality. If I may say so, patches to add this to input forms would be welcome, but on the other hand people tend to simplify input forms (e.g. reduce the number of steps) rather than complicate it. Preferably, this would be done in a way that's very unobtrusive. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Dspace migration from 1.7 to 4 in new setup
Please, don't cross-post. Your question belongs to dspace-tech only. The bi_* tables are the old browse index. Since DSpace 4, it's not used by default anymore unless you explicitly configure to use the Postgres DAO rather then the Solr DAO [1]. In your dspace.log I don't see any problem which would pertain to these bi_* tables. What did you do when those postgres errors were logged? Anyway, there's another problem in dspace.cfg, unrelated to bi_* tables. Your DSpace cannot connect to Solr, which now provides the browse and search functionality. Make sure that you deployed the solr webapp, that it's running and that you configured DSpace to point to their correct URL (which may be different from the example below): server=http://localhost:8080/solr/statistics in [dspace]/config/modules/solr-statistics.cfg. solr.url=http://localhost:8080/solr/oai in [dspace]/config/modules/oai.cfg and search.server=http://localhost:8080/solr/search in [dspace]/config/modules/discovery.cfg All of these can be changed at once at build time by changing solr.server=http://localhost:8080/solr in [dspace-source]/build.properties [1] https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/config/dspace.cfg#L1016-1017 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] ORCID patch for DSpace 3.2
You can see the original ORCID patch here: https://github.com/DSpace/DSpace/pull/612/files I wouldn't attempt to apply it to 3.x. Remember that DSpace 5 had the metadata for all DSOs changes, which are pretty extensive. Moreover, the ORCID feature later received several bugfixes, which are not part of PR#612. Your best bet is to upgrade to DSpace 5. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Registering DOIs with crossref from DSpace
Hi Chris, you are correct, DSpace currrently supports only the DataCite and EZID APIs. It doesn't support the CrossRef API yet, but the infrastructure for minting DOIs is already in place, so it should be relatively easy to write a CrossRef class for someone with access to CrossRef API. Here's how: https://wiki.duraspace.org/display/DSDOC5x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-AddingsupportforotherRegistrationAgencies Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] install error for upstream/master
On Wed, Mar 4, 2015 at 8:34 PM, Monika C. Mevenkamp moni...@princeton.edu wrote: after the compile I still find WEB-INF/lib/servlet-api-2.5-20081211.jar in webapps/*/WEB-INF/lib directories Sorry for asking the obvious, but did you run mvn clean? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] XOAI wrong request info
On Wed, Mar 4, 2015 at 7:46 PM, Claudia Jürgen claudia.juer...@ub.tu-dortmund.de wrote: got a weird effect with oai (DSpace version 4.2 + the latest security patches, oai caching disabled). Hi Claudia, the description part of OAI Identify response was backported to 4.x, so most likely that's the change you weren't expecting: https://github.com/DSpace/DSpace/commit/8fd038334e464593b3732c0ce832c4f27d77fc33#diff-2892a00c2368f97457e6ac3f2030c9e9 By default, repositoryIdentifier is configured to point to your dspace.hostname - I assume that's the problem. You can change it here: https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace/config/crosswalks/oai/description.xml#L3 Then just restart your servlet container. You have caching turned off (may I suggest you reconsider this decision?), so no need to run oai clean-cache. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Input Forms Value Pairs
Hi Hilton, that would be ISO 3166, one of the few ISO norms that has tables easily findable on the web. This project even makes translations of the country names to other languages: http://translationproject.org/domain/iso_3166.html Check out the iso-codes debian package; it's the same thing. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Solr and IP authentication
Hi Stefanie, try copying IPAuthentication.java, IPMatcher.java and IPMatcherException.java [1] from DSpace 5 to your source, then rebuild and redeploy. It should be the same thing you already have with patches, but try this just to make sure. If it still doesn't work, please provide an example netmask (from your configuration) and IP (you tried to login with). There are now unit tests for CIDR, so they are expected to catch any mistakes (you may copy them, too [2]). On Mon, Mar 2, 2015 at 4:33 PM, Bram Luyten b...@atmire.com wrote: I don't think the SOLR logger lookup error you are seeing is related to your IP authentication problem. This lookup tries to identify the country/region of your IP, in order to include geo information into the usage events. This message is about reverse DNS lookup, not a GeoIP lookup. But the message is harmless, nevertheless. It makes sense that this fails if the IP you are hiding is an internal IP, for these kinds of IPs, it's impossible to lookup the location in the Geomind database that is used for this purpose. SolrLogger actually should already respect X-Forwarded-For if useProxies is enabled: [1] https://github.com/DSpace/DSpace/tree/dspace-5.0/dspace-api/src/main/java/org/dspace/authenticate [2] https://github.com/DSpace/DSpace/blob/dspace-5.0/dspace-api/src/test/java/org/dspace/authenticate/IPMatcherTest.java#L187-241 [3] https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/statistics/SolrLogger.java#L300-311 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] [Dspace-devel] DSpace 5 and solr usage statistics data
Hi Andrea, at least part of your problem - the missing uid for old documents - is a known open issue: https://jira.duraspace.org/browse/DS-2212 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool
On Thu, Feb 26, 2015 at 10:12 AM, BARRERA BARRERA, Carlos carles.barr...@upf.edu wrote: Bad metadata declaration in row 1: id;collection;action It seems that you're using a semicolon as field separator. The separator has to be a comma. If already have a comma in the data, you should enclose the value in double quotes to prevent it from being treated as a separator. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Manakin, collection name
Hi Anja, save it in a variable outside any template, then you can use it even in any dim template. xsl:variable name='trail'xsl:copy-of select=/dri:document/dri:meta/dri:pageMeta/dri:trail//xsl:variable Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Dspace 5 with Tomcat 8 on OSX
Hi Daniel, the exception is pretty self-explanatory. Make sure that Postgres is running, that dspace.cfg points at the correct postgres URL (hostname, port) and if the error message is still there, that it isn't blocked by a firewall. org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ 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] Dspace 5 with Tomcat 8 on OSX
On Thu, Feb 19, 2015 at 5:54 PM, Daniel Sifton daniel.sif...@viu.ca wrote: I can try. The log you attached in your second email is not dspace.log, it's also Tomcat's log like the first one. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ 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] : Upload bitstream problem
Make sure that your [dspace]/assetstore/ directory has write access for the user your servlet container (Tomcat) runs as. Assuming that user is dspace with group dspace, you would run chown -R dspace:dspace [dspace]/assetstore/ chmod -R u+rw [dspace]/assetstore/ Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ 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] OAI Import Error
https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L275 The problem is that the item you're indexing has a submitter with empty email field. You need to find out which item it is and correct the submitter's email. Run the import again and in another terminal run: tail -f /dspace/log/solr.log You'll see lines like this one. The last one you'll see (e.g. 123456789/2611) will be the one with the problem: org.apache.solr.update.processor.LogUpdateProcessor @ [oai] webapp=/solr path=/update params={wt=javabinversion=2} {add=[123456789/2611 (1493435116024758272)]} 0 2 If you have multiple submitters without an email, you'll need to repeat the process. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ 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] Dspace 5 with Tomcat 8 on OSX
Hi Daniel, that's just a very generic error in the log. Can you attach the relevant part of dspace.log? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ 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] Solr Statistics problem
On Tue, Feb 17, 2015 at 7:56 PM, Nada Abo-Eita naboeit...@gmail.com wrote: *Server at http://tspace.qu.edu.qa:8080/solr/statistics http://tspace.qu.edu.qa:8080/solr/statistics returned non ok status:500, * I added the answer to your problem to FAQ: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ErrorsconnectingtoSolr Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ 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] : Upload bitstream problem
On Tue, Feb 17, 2015 at 3:59 PM, Nada Abo Eita naboeit...@gmail.com wrote: I am using DSpace xmlui version 4.2 and trying to upload bitstream but it gives No Such file or directory Exception. We'll need the full stacktrace of the No such file or directory exception from dspace.log. Also read the Etiquette link below and always state your version information. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ 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] Apache blocking file upload
Hi Ben, this (unresolved) thread looks similar: http://www.gossamer-threads.com/lists/apache/users/401398 Just a few ideas to explore: Does this depend on a particular browser? Any messages in the HTTPD or Catalina logs? What's your AJP configuration (HTTPD-side)? Is this related to file size? Could any timeout come to play? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Default item metadata for XMULI
How would I add “Default Item Metadata” to a collection created in XMLUI 4.x or XMLUI 5.0? 1) log in as admin 2) go to collection 3) Edit Collection 4) Item template: Create Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] (no subject)
On Wed, Feb 11, 2015 at 12:39 PM, tyres...@inwind.it tyres...@inwind.it wrote: 1) is it necessary to reinstall as non root user ? or can I just chown -R [dspace-dir] and assetstore? and give appropriate permissions on apache/tomcat? No need to reinstall. The only thing you should keep in mind is to have both dspace and tomcat owned and run as the same user. You don't even need to bind a low port, so it should be a non-issue. I would, however, heartily recommend you to upgrade to the latest and greatest DSpace when 5.1 comes out (soon). I'd recommend to start a new OS install from scratch and upgrade the dependencies (postgres, maven, ant, tomcat and java) as per DSpace 5 requirements. You can import the old DB and copy in the assetstore and DSpace 5 will happily do most of the (DB and Solr, if you use it) migration steps for you, be it from 1.8 or 3. Upon any upgrade, make sure you start with a fresh configuration directory and make your changes to it, don't overwrite newer configuration with your older one. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Edit item - Upload a new bitstream problem: buttons and footer not rendered
On Tue, Feb 10, 2015 at 12:38 PM, Vladimir Tomić vladimir.to...@rcub.bg.ac.rs wrote: What is missing are Upload and Cancel buttons, as well as the entire footer. (We have another DSpace 4.1 where everything is working fine.) Did anyone have similar issues and could help us with this? A quick skim of changes between 4.1 and 4.2 doesn't suggest any changes in this area. Perhaps this is a configuration issue. Does any error get written to dspace.log when you open/reload that page? What about catalina.out? This could be even be an error in your messages_XX.xml file. Try running xmllint on that file. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Edit item - Upload a new bitstream problem: buttons and footer not rendered
On Tue, Feb 10, 2015 at 2:58 PM, Vladimir Tomić vladimir.to...@rcub.bg.ac.rs wrote: How should I use xmllint to check messages.xml files? xmllint -noout messages.xml No output means good. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Embargoed items
On Fri, Feb 6, 2015 at 6:24 PM, Collier, Aaron acoll...@calstate.edu wrote: http://localhost:24091/solr/search/select/?q=dc.date.embargountil:*fl=handle,dc.date.embargountilrows=100wt=json Hi Aaron, did you know that it's easier to use the phps Solr writer when querying Solr from PHP? No need for json decoding. I added a complete example here: https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Solrresponses Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] list Items in a Collection
Hi Fernando, please see https://jira.duraspace.org/browse/DS-1188 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] HANDLE table entries without resource_id
Also keep in mind that if you ever need to use update-sequences.sql and the most recently assigned item(s) are deleted, by removing those NULL entries you would cause the sequence to reassign the same identifiers the deleted items had to any new item(s) you submit next, thus again defeating the purpose of a persistent ID. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] dpsace3, solr, tomcat7, debian question
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. docBase=/dspace/webapps/solr). In a context fragment, the .xml file name is used instead, so this attribute is left out. I'm not sure though that this error would cause the 403. I think it would cause the context not to load. As another quick fix, try specifying the context without any parameters, i.e.: Context path=/solr reloadable=true / in solr.xml or Context path=/solr docBase=/dspace/webapps/solr / in server.xml This will put the localhost restriction back in place, which means you should be able to access Solr from localhost, but not from 129.27.218.*. Also double-check whether you are really running Tomcat 7. In Tomcat 6 and older the RemoteAddrValve syntax was slightly different, see: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote_Address_Filter Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] dpsace3, solr, tomcat7, debian question
On Fri, Jan 23, 2015 at 3:25 PM, Lars Schimmer l.schim...@cgv.tugraz.at 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 work with IPv6. RemoteAddrValve should, but you specified and IPv4 address (127.0.0.1), not an IPv6 one (::1)! Verify this by running wget http://127.0.0.1:8080/solr/statistics/select?q=*:* which should work. Then either try RemoteAddrValve with IPv6 or modify your /etc/hosts file to no longer translate localhost to ::1. If my assumptions are correct, connections from your other allowed address range (129.27.218.*) currently do work, you only have a problem with the localhost host name. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] SQL query to count number of downloadables (bitstream)
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_id=1 AND metadata_field_id=(SELECT metadata_field_id FROM metadatafieldregistry WHERE metadata_schema_id=(SELECT metadata_schema_id FROM metadataschemaregistry WHERE short_id='dc') AND element='title' AND qualifier IS NULL) AND text_value='ORIGINAL' Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] Problem update Mirage 2 in DSpace 5.x
Hi Carlos, it should be easier running without -Dmirage2.deps.included=false. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] IP Authentification
On Tue, Jan 20, 2015 at 11:37 AM, Stefanie Behnke dsp...@eurographics-office-goslar.de wrote: Is it possible to use in authentication-ip.cfg domain names with wildcards such as *.tugraz.at ? Hi Stefanie, no, it's not possible with IPAuthentication. It wouldn't be very practical, either. Although .in-addr.arpa records are recommended in RFCs, they are not mandated and honestly they are rarely enforced. IP address blocks are much more stable and predictable. You can use multiple address blocks with IPAuthentication, if you need. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] dspace customization and administration
Hi Nicholas, I'm afraid that being an administrator is an inherently technical task. If you need more help, you can either ask a specific question you need help with here, one at a time. For more complex ecucation, you can contact your local dspace user group. If you only want to take care of content and leave the administration up to someone else, there are plenty of companies who will take care of that for you, most prominently these [1]. [1] http://dspace.org/service-providers Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] FATAL: Cannot find dspace.cfg
Hi Fernando, assuming that you are using the [dspace]/bin/start-handle-server to start the handle server, you have to make sure that $BINDIR points to the bin directory within your DSpace installation directory [dspace], because getting the configuration values depends on this. https://github.com/DSpace/DSpace/blob/dspace-5.0/dspace/bin/start-handle-server#L47 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] DSpace crashes during the file upload process
The Internal Server Error message is just an indication that you should look at the error in logs. Here's how: https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] Dspace 3.2 Swordv2 Encoding issues
Are you running with -Dfile.encoding=UTF-8 as suggested in the installation docs? https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-ServletEngine(ApacheTomcat5.5orlater,Jetty,CauchoResinorequivalent) Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] java.lang.OutOfMemoryError: PermGen space
On Wed, Jan 14, 2015 at 3:34 PM, bender bender.bending.1...@gmail.com wrote: Besides the actions that you recommend to take, is there any possibility that a software component in particular, like Java or Tomcat, could be the origin of the problem? I wonder if the version of each software could present some sort of incompatibility. That's always possible, but it wouldn't be my first guess. After looking at the graphs you will see how each of the memory spaces grow, that should at the very least pinpoint the problem. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] java.lang.OutOfMemoryError: PermGen space
We have this documentation page [1] that explains JVM memory allocation, although not in much more detail than you already know. The important part is that you should start monitoring how your memory grows over time (two suggestions are psi probe and jconsole) and tweak the values in your JAVA_OPTS accordingly. Also don't forget that the memory assigned to Tomcat must not exceed total RAM available on the system (you don't want it to start swapping). Check how much memory you have available when Tomcat is off (because there are also other services on the system which require a small amount of memory). Keep some memory unallocated, otherwise your CLI jobs may start crashing - they have a default of 256 MB [2], but some tasks may need more. Ultimately, your periodic problem may be a scheduled job that fails to run because it doesn't have enough memory allocated. Or it runs and crashes Tomcat by starving it from memory. Check when your DSpace CLI tasks are scheduled to run. [1] https://wiki.duraspace.org/display/DSDOC5x/Performance+Tuning+DSpace [2] https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/bin/dspace#L75 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] ERROR: creating index discovery
ERROR org.dspace.discovery.SolrServiceImpl @ No choices plugin was configured for field dc_contributor_author. java.lang.IllegalArgumentException: No choices plugin was configured for field dc_contributor_author. This pertains to authority control settings, they can be found here: https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/config/dspace.cfg#L1499-1581 1) Make sure you're not using your 1.6 configuration files with DSpace 4, that can cause various hard-to-debug problems. Always start with the default configuration from the new version and put your changes in there, not the other way around. 2) Check your authority control configuration. The specific configuration depends on what you are trying to achieve. But the default configuration (no authority control) should work, so start with that and modify as needed. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] Change Solr port from 8080 to 8081
Change the port number in the following properties and restart your servlet container: search.server in [dspace]/config/modules/discovery.cfg solr.url in [dspace]/config/modules/oai.cfg server in [dspace]/config/modules/solr-statistics.cfg solr.authority.server in [dspace]/config/dspace.cfg (DSpace 5) Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] follow-up to #DS-1481 DS-1822
On Tue, Jan 13, 2015 at 9:30 AM, Hilton Gibson hilton.gib...@gmail.com wrote: Updating the existing curation task to check metadata, with a date-issued format would help a lot. Hi Hilton, see DS-1775. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ 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] Fwd: Null pointer exception while using configurable workflow, select Reviewer Step
I looked only briefly, the immediate problem seems to be that either the eperson or (more likely) the workflow item is null: https://github.com/DSpace/DSpace/blob/dspace-5.0-rc3/dspace-api/src/main/java/org/dspace/xmlworkflow/WorkflowRequirementsManager.java#L126 I don't know what it means in the bigger picture. Meanwhile you should try following the new version of the docs: https://wiki.duraspace.org/display/DSDOC5x/Configurable+Workflow There have been changes to that page, at least in the way the extra database tables are created is now different (DS-2243). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] Pull Requests
On Fri, Jan 9, 2015 at 10:12 AM, Christian Scheible christian.schei...@uni-konstanz.de wrote: I have opened a few tickets for DSpace bugs in JIRA and would like to add the fixes to the tickets. So I cloned the git repository, created a branch, fixed a bug and tried to push the branch to make it a pull request. But I don't have the rights to push. Should I attach patches instead or how can I solve this? Hi Christian, this page [1] describes everything you need to work with the git repository and submit pull requests. The recommended setup part is important. You started your local repository as a clone of the official DSpace/DSpace repository. But in order to create PRs, you must first fork (=clone on GitHub) DSpace/DSpace to yourname/DSpace, then clone yourname/DSpace to your computer using git clone. You have write access to your fork, therefore you can push there. When you go to yourname/DSpace in the GitHub web interface after you pushed a branch, there's a button to create a PR against DSpace/DSpace. Sounds complicated, but really isn't. There is a way to modify your current repo this way, but it's easy to screw up if you've never done this before. Therefore it's safer to transfer your changes from your old clone to the new clone this way, one branch at a time: cd ~/oldclone ~/oldclone$ git checkout branch1 ~/oldclone$ git format-patch HEAD^ --stdout branch1.patch cd ~/newclone ~/oldclone$ git checkout master ~/oldclone$ git checkout -b branch1 ~/oldclone$ git am ~/oldclone/branch1.patch Note the HEAD^, which means take the last commit in that branch. If you want to take the last N commits, use HEAD~N instead. Alternatively, you can also specify a hash of the commit _before_ the first commit you want to take. Even if something goes wrong, you can still submit these .patch files to Jira and we'll get everything we would get in a PR. [1] https://wiki.duraspace.org/display/DSPACE/Development+with+Git#DevelopmentwithGit-ContributingChangestoDSpaceviaGitHub Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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 on recent submissions
On Wed, Jan 7, 2015 at 11:46 PM, Hugo Agud ha...@orex.es wrote: On the other hand we have the euskera language translated, how can we share with the community. Hi Hugo, please, just send the file directly to me this time. At this point we'll have a release very soon so I'd like to make sure we can include it quickly. I'm going to check it for missing strings and encoding issues, so be prepared to make some quick fixes if necessary. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ 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