Re: [Dspace-tech] DSpace 5.3 missing link in Inactive account error message
Hi, On 27/08/15 01:57, Brouns, Francis wrote: > a minor issue in Dspace 5.3. When an user with an account that has not yet > been verified asks for a new password, a message is shown about the account > being inactive. The message contains a link to register. This link is not > set, instead {0} is shown. This sounds like a bug to me -- I've opened a Jira issue: https://jira.duraspace.org/browse/DS-2727 I'm assuming you encountered this in JSPUI? Next time, you might like to report the issue yourself; that way your name will be associated with the bug report and you will be kept updated on the progress. In the meantime, you could try rephrasing the message string so that it no longer contains an apostrophe. Or you could try putting in a double apostrophe, that method works in the e-mail templates but I don't know whether it works in JSPUI. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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 problem in DSpace 5.2 Mirage2
Hi George, On 27/08/15 04:43, George Stanley Kozak wrote: I wrote to the list back in July about a search problem that we were having with DSpace 5.2 XMLUI Mirage 2 theme. The problem was that if you did a search of a phrase (such as “Cornell University”), your search results would contain the word “Cornell” and the word “University”. In effect, the search was ignoring the quotes and giving you an “OR” search instead of an “AND” search. Bram Luyten confirmed that this was happening on the demo site. I haven’t heard anything since then, and I wonder if this is planned to be fixed. I have some users pretty upset about this and the complaints are making their way up my management chain L Anyway help that I can get would be great! I filed a search-related bug report a little while ago (though I could probably have picked a better title): https://jira.duraspace.org/browse/DS-2699 -- this issue currently needs a volunteer. I wouldn't be surprised if what you're seeing is caused by the same thing, basically, somewhat overzealous escaping of special characters in the search (which was introduced to fix a bug I had unfortunately snuck into DSpace 5.2, which in turn was intended to fix issues with searching for phrases containing colons). Is the behaviour you're seeing limited to Mirage 2/XMLUI? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] iOS (iphone/ipad) scrolling on Mirage2 sites
Hi Peter, On 26/08/15 09:24, Peter Dietz wrote: > I was wondering if anyone is having difficulty / hear reports that > mirage2 sites do not scroll on iOS / iPhone / iPad Safari? > > Using Xcode's iOS simulator, as well as browser stack, there are some > mirage2 sites that I have used that do not scroll. > > https://openknowledge.worldbank.org/ > https://cache.kzoo.edu/ > http://dc.statelibrary.sc.gov/ > > Other browsers (chrome, IE, opera, firefox) don't appear to have this > issue, and safari on Mac appears to work fine. Mirage2 bug or Safari > iOS bug? I just asked someone here to try and she reported it works fine both for the World Bank link you gave and a somewhat customised Mirage 2 on a local test instance. Safari on Iphone 6+, iOS 8.1.3. So maybe a bug with a specific version of iOS/the simulator? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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.3 and Google Analytics
Hi Sean, On 21/08/15 23:15, Sean Carte wrote: > When I download an item from my repository I have to wait for > google-analytics to respond. When the network gets busy this causes > delays and even time-outs. > > [...] > > Is there some way that I can prevent DSpace from attempting to contact > google-analytics? I believe you can do this by commenting out the Google Analytics bean here: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/WEB-INF/spring/applicationContext.xml#L55 That should stop DSpace from trying to log bitstream views with Google Analytics. You might also like to file a bug (https://jira.duraspace.org/browse/DS); logging statistics really shouldn't prevent the user from downloading the file! It looks like there's been a similar discussion for JSPUI: https://jira.duraspace.org/browse/DS-1925. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] additions module dependency on dspace-api
Hi Terry, On 20/08/15 08:45, Terry Brady wrote: > I am starting our upgrade from DSpace 4 to DSpace 5. > > Our code base contains only the dspace folder rather than the full > source distribution (dspace, dspace-api, etc). > > All of our custom code resides in dspace/modules including > dspace/modules/additions. > > Our additions module has a compile dependency on dspace-api and will > not compile unless dspace-api-5.4-SNAPSHOT.jar has already been > installed in the maven repository. Is there a particular reason you're doing the upgrade work against (unreleased, may never happen) version 5.4? Your issue with having to build dspace-api separately would go away if you worked against DSpace 5.3, since maven could then retrieve dspace-api, dspace-xmlui etc from maven central. With your code set-up, the DSpace version is set in dspace/pom.api. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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, On 17/08/15 23:52, Konstantinos Koumoutsos wrote: > [root@nemertes html]# /data/dspacenew/bin/dspace oai import -c > [...] > Caused by: com.ctc.wstx.exc.WstxIOException: Invalid white space > character (0x17) in text to output I'd guess that this means one of your items has this character in its metadata. I'm not sure how you'd go about finding the culprit. Is there any more information in the DSpace log file? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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 form input-type metadata validation
Hi, On 12/08/15 22:53, Saidy Binta wrote: I want to be able to validate a specific field input-type on the input form to only allow numbers of 4 digit length. The input-type text should only allow text instead of alphanumeric. I have try using number and text on the input-type but keep having errors. Please if someone has implement this can you kindly help me out or point me to the right direction. Thanks DSpace doesn't support the behaviour you describe. If you absolutely need to validate the input forms data and don't want to customise core DSpace code, your best bet would probably be to add custom _javascript_ that does this task. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] CC Licence step not completing?
Hi Mike, thanks for the extra information -- I agree, there's nothing obvious. The text you see appear in the metadata comes from here: https://github.com/DSpace/DSpace/blob/59f07bd4dab763eaff050a04ce65dd87a4ac84c6/dspace-api/src/main/java/org/dspace/license/CCLookup.java#L399 which to me suggests that either the licence document wasn't received from CC or doesn't have structure expected by the code. Strangely enough, the code just above the one that creates this text logs a "warning" level message, which doesn't appear to come through in your log. I don't use JSPUI and I don't have time to dig into this more, sorry. Hopefully someone else here can help you. cheers, Andrea On 11/08/15 22:28, Michael White wrote: > Hi Andrea, > >> Is there anything useful in the dspace log file? > Not really - running at DEBUG, I can see when the CC Licence step is being > accessed - the below snippet is what I get when I click "Next" to go to the > CC Licence step: > > 2015-08-11 11:06:16,803 DEBUG > org.dspace.app.webui.servlet.SubmissionController @ Calling Step Class: > 'org.dspace.submit.step.CCLicenseStep' > 2015-08-11 11:06:16,805 DEBUG org.dspace.app.webui.submit.JSPStepManager @ > Doing pre-processing for step org.dspace.app.webui.submit.JSPStepManager > 2015-08-11 11:06:17,294 DEBUG org.dspace.storage.rdbms.DatabaseManager @ > Running query "SELECT * FROM MetadataValue WHERE resource_id= ? and > resource_type_id = ? ORDER BY metadata_field_id, place" with parameters: 91,1 > 2015-08-11 11:06:17,295 DEBUG org.dspace.app.webui.util.JSPManager @ > michael.wh...@stir.ac.uk:session_id=7FF301D30EC1B9F9E67AFAB59C07A542:ip_addr=139.153.115.7:view_jsp:/submit/creative-commons.jsp > > - but as I select radio buttons on the CC Licence page, and click "Select a > Licence", things appear to proceed in the browser but nothing else is logged > beyond this point - when I click "Select a licence" to determine the > appropriate CC licence - I'm presented with a page that says: > > > provided by Creative Commons > You have selected the Attribution 4.0 International License. > This licence is permanently located at > http://creativecommons.org/licenses/by/4.0/. > > You may now proceed > > > - with proceed being a hyperlink that points to: > http://datastorre.stir.ac.uk/submit/cc-license.jsp?license_url=http%3A//creativecommons.org/licenses/by/4.0/, > but when I click that link on the CC Licence page, the iFrame just goes > blank and nothing further happens (so I can't get beyond this step), and > nothing is added to the logs beyond the log entries that appeared when I > first accessed the CC Licence step :-( > > If I Cancel out from the empty page, and then Save, and then go back in to > Edit the record, I can see that the value "An error occurred on the license > name." has been added to dc.rights, and an "empty" (bar one line containing > "") license_rdf file has been added to the bitstreams . . . . > >> HTTPS vs HTTP should not make any difference to this. However, a network >> proxy would -- does your DSpace instance have direct access to the Internet? > I believe so (we've not had a web proxy here for many years), but I don't > work at that level so I'm not 100% sure (but I'm certainly going to double > check) - the fact that I do get the page that shows the licence that applies > suggests to me that my DSpace is making contact with Creative Commons, but I > could be mistaken (is the licence selection logic held in DSpace, or is this > retrieved from CC in real time?). Is the behaviour I'm seeing (i.e. that CC > Licence selection appears to complete up to the point of clicking "Proceed" > when it hangs) what would happen if a proxy was in play but not configured in > DSpace? > > So, I'm still stuck with this - does anyone have this working in v5.2, JSPUI? > Did this "just work" for you after uncommenting the step in > item-submission.xml? or did you have to do anything special to get it working? > > Many thanks as ever, > > Mike > > Michael White > eLearning Developer > Information Services > > T: (01786) 466877 > E: michael.wh...@stir.ac.uk > A: S8, Library, University of Stirling, Stirling, FK9 4LA > -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] CC Licence step not completing?
Hi Mike, On 11/08/15 01:23, Michael White wrote: > Running DSpace v5.2 with JSPUI. Configured to run over https (which may, or > may not, be behind this issue?). > > I’ve just been having a play with the Creative Commons licence selection step > but it doesn’t seem to be working for me so I’m wondering if I’ve done > something wrong, or hit a known issue? > > I’ve “switched on” the CC License step by uncommenting it in > item-submission.xml. > > The CC licence selection step now appears as expected (in an iFrame), and I > can select radio buttons and click "Select a Licence" - the selection process > appears to work as I get a page back that shows the selected licence, but > when I click on the "proceed" link, the page just hangs and I'm not moved on > to the next step :-( Is there anything useful in the dspace log file? HTTPS vs HTTP should not make any difference to this. However, a network proxy would -- does your DSpace instance have direct access to the Internet? If not then you'll have to set up the proxy details in dspace.cfg https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-ProxySettings Perhaps setting this in dspace.cfg isn't enough for Creative Commons though, see the most recent comment here: https://jira.duraspace.org/browse/DS-2151?focusedCommentId=42205&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-42205 cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] subscribe to stats
Hi, On 11/08/15 06:23, Jose Blanco wrote: > In Dspace 4.2 can users subscribe to receive stats on items they > deposit? I can't find any documentation on that. You can't find any documentation on such a feature because it doesn't exist. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] retrospectively assigning DOIs to live items
Hi Pascal, On 03/08/15 21:04, Becker, Pascal-Nicolas wrote: > On 03/08/15 1:48 AM, Andrea Schweer wrote: >>> On 03/08/15 11:16, Claudia Jürgen wrote: >>> yes this is right. If you enable the identifier service this will only >>> cover new items. >>> Assuming you are using the DataCite Connector, the easiest way would >>> be to manipulate the database (usual warnings about that) to give the >>> old items the status of newly items in archive: >>> INSERT into doi (doi_id, doi, resource_type_id, resource_id, status) >>> SELECT nextval('doi_seq'), >>> >>> concat('YOURPREFIX/YOURNAMESPACESEPARATOR-',currval('doi_seq')), 2, >>> item_id, 7 FROM item WHERE in_archive=true and item_id not in (select >>> resource_id from doi where resource_type_id=2); >>> >>> Then the cron job for the usual doi-organiser commands will pick up the job. >>> >>> Perfect, thanks a lot for that! > It should be easy to add a command in the doi-organiser that adds those > entries into the database. I just didn't had the use case and the time. ;-) All good :) It just wasn't obvious to me from the documentation. Perhaps I'll have the time to change the docs / add this functionality to doi-organiser, but no promises -- I have the use case but not necessarily the time... cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] retrospectively assigning DOIs to live items
Hi Claudia, On 03/08/15 11:16, Claudia Jürgen wrote: > yes this is right. If you enable the identifier service this will only > cover new items. > Assuming you are using the DataCite Connector, the easiest way would be > to manipulate the database (usual warnings about that) to give the old > items the status of newly items in archive: > INSERT into doi (doi_id, doi, resource_type_id, resource_id, status) > SELECT nextval('doi_seq'), > > concat('YOURPREFIX/YOURNAMESPACESEPARATOR-',currval('doi_seq')), 2, item_id, > 7 FROM item > WHERE in_archive=true and item_id not in (select resource_id from doi where > resource_type_id=2); > > Then the cron job for the usual doi-organiser commands will pick up the job. Perfect, thanks a lot for that! > I've just been investigating the use of doi's for us. There are a couple of > issues with it, especially the datacite connector crosswalk and data > provider, see the latest JIRA issues. > At the moment with datacite the update of metadata does not work among other > things. Good to know; I had seen some DOI-related Jira issues come through but I'll make sure to review them in more detail. Yes, we'll be using DataCite; luckily with this particular repository, we're not really expecting metadata changes once the submission is completed. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] retrospectively assigning DOIs to live items
Hi all, I'm looking into switching on DOIs for an existing DSpace repository with ~1,000 live items. We'd like to retrospectively generate DOIs for the live items. How do I do that? The documentation about the doi-organiser tool [1] says "Currently you cannot generate new DOIs with this tool. You can only send information about changes in your local DSpace database to the registration agency." Does this mean I'd have to figure out how to change the state of the already live items to whatever the starting point of doi-organiser is (presumably "to be reserved")? cheers, Andrea [1] https://wiki.duraspace.org/display/DSDOC5x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-CommandLineInterface -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] Nested Metadata
Hi, On 30/07/15 08:06, Peter Dietz wrote: > Has anyone stored nested / rich metadata in DSpace? In a freshwater quality data repository I've helped develop (http://lernzdb.its.waikato.ac.nz), we're storing rich metadata in an XML bitstream. This bitstream is considered the authoritative source for the metadata. The DSpace item metadata fields are just used as a vehicle for transporting the metadata into discovery and the DSpace item page. Some of the information on the item page is pulled straight from the XML file (the repository uses XMLUI and the XSL just makes a document() call to read the XML metadata just like it makes a document() call to read the standard mets.xml file). It works pretty well, you just need to make sure you keep everything in sync (we use a bunch of curation tasks for this). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] 'admin use only' fields in input-forms.xml
On 29/07/15 18:30, Claudia Jürgen wrote: this configurable for each field in the input forms see https://wiki.duraspace.org/display/DSDOC3x/Submission+User+Interface You can add an element to each field which is either set to submit - visible only during submission workflow - visible only during workflow Huh I had no idea -- thanks Claudia! I see you can even set the field to read-only in the other scope: workflow cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- ___ 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] 'admin use only' fields in input-forms.xml
Hi Deborah, On 29/07/15 13:11, Fitchett, Deborah wrote: Does anyone know if there’s a way to create a field in input-forms.xml that can be seen/edited by reviewers when the item is in the workflow, but isn’t seen by the original submitter? Eg for internal processing notes about how we’ve dealt with an embargo/withdrawal request etc. (We’re on DSpace 3.1 XMLUI, but will upgrade to 5 probably next year.) I don't think the behaviour you describe is possible out of the box, but I'd be happy to be proven wrong on this. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] stats-util error "Document is missing mandatory uniqueKey field: uid"
Hi Anthony, oh right sorry, I should have looked at the help for -r: "While indexing the bundle names remove the statistics about deleted bitstreams". So yes, it looks like an upgrade is your best bet. Alternatively, you could write a curation task / script that goes through all bitstream IDs in your statistics solr core and for each one, checks whether it's still a valid bitstream. If not, delete all hits for this bitstream by sending the appropriate solr query. Sorry, I don't have time right now to dig up examples for these queries, but if you're interested in going down that route and need help with the queries, post to the mailing list again and I'm sure someone will respond. cheers, Andrea On 24/07/15 03:41, Anthony Petryk wrote: Hi again Andrea, As you predicted, I now get a “version conflict” error after applying your uid fix and rebuilding: Exception: version conflict for " expected=1507325787224670208 actual=1507501635509682176 org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: version conflict for " expected=1507325787224670208 actual=1507501635509682176 So it looks like we’ll need to upgrade to 5 for the full solution. Cheers, Anthony From: Anthony Petryk [mailto:anthony.pet...@uottawa.ca] Sent: Thursday, July 23, 2015 11:22 AM To: Andrea Schweer ; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] stats-util error "Document is missing mandatory uniqueKey field: uid" Thanks for the response, Andrea. Do I need to do anything after updating the solrconfig.xml file, as you suggested? I tried running but stats-util with just the –r flag, but it doesn’t work. I confirmed this by looking at StatisticsClient.java, which only uses r if b is present: else if(line.hasOption('b')) { SolrLogger.reindexBitstreamHits(line.hasOption('r')); } Best, Anthony From: Andrea Schweer [mailto:schw...@waikato.ac.nz] Sent: Wednesday, July 22, 2015 5:32 PM To: Anthony Petryk <anthony.pet...@uottawa.ca>; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] stats-util error "Document is missing mandatory uniqueKey field: uid" Hi Anthony, On 23/07/15 01:37, Anthony Petryk wrote: DSpace 4.3. We’re getting an error when trying to run dspace stats-util –br: “Document is missing mandatory uniqueKey field: uid”. We want to run this command specifically to remove stats for deleted bitstreams (-r option). This sounds like the same root problem as DS-2212, which is fixed in version 5.2. But I just wanted to check: is there any way to get this to work without upgrading? You're actually running into https://jira.duraspace.org/browse/DS-2489. If I remember correctly then you may be able to fix this by applying this small change to the solrconfig.xml for the statistics core: https://github.com/DSpace/DSpace/commit/b07707874a489b4d5238c87d04d2be1b28ece447 However, chances are that you'll then just run into further issues such as DS-2212. If you're only after removing deleted bitstreams, try leaving out the "b" flag ("Reindex the bitstreams to ensure we have the bundle name"). Re-indexing will hit the uid bug (and probably the _version_ one too); deleting (-r only) shouldn't have the same issue since it won't try adding documents to the solr index. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand --
Re: [Dspace-tech] dspace 5.1 error "You are not authorized to submit to any collections"
Hi Kostas, On 22/07/15 20:42, Konstantinos Koumoutsos wrote: > I am experiencing a problem after logging in and while starting a new > submission under "My dspace". > I got the error "You are not authorized to submit to any collections" > via gui. The weird thing is that, if i browse to any specific > collection i have the option to submit a new item. That means that > there is no issue with the permission of each collection etc. That sounds like https://jira.duraspace.org/browse/DS-2556 If you're using the "special group" functionality (group membership defined via single sign on property), try setting org.dspace.content.Collection.findAuthorizedPerformanceOptimize=false cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- ___ 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] stats-util error "Document is missing mandatory uniqueKey field: uid"
Hi Anthony, On 23/07/15 01:37, Anthony Petryk wrote: DSpace 4.3. We’re getting an error when trying to run dspace stats-util –br: “Document is missing mandatory uniqueKey field: uid”. We want to run this command specifically to remove stats for deleted bitstreams (-r option). This sounds like the same root problem as DS-2212, which is fixed in version 5.2. But I just wanted to check: is there any way to get this to work without upgrading? You're actually running into https://jira.duraspace.org/browse/DS-2489. If I remember correctly then you may be able to fix this by applying this small change to the solrconfig.xml for the statistics core: https://github.com/DSpace/DSpace/commit/b07707874a489b4d5238c87d04d2be1b28ece447 However, chances are that you'll then just run into further issues such as DS-2212. If you're only after removing deleted bitstreams, try leaving out the "b" flag ("Reindex the bitstreams to ensure we have the bundle name"). Re-indexing will hit the uid bug (and probably the _version_ one too); deleting (-r only) shouldn't have the same issue since it won't try adding documents to the solr index. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] New submissions are not searchable
Hi, On 23/06/15 03:58, Murray, Gregory wrote: Thank you very much for this information. It's extremely helpful. I must say I'm very surprised that DSpace doesn't provide full-text searching by default -- only by setting up a cron job or by running the indexing manually. Searching the full text of text-based file formats should be the default behavior out of the box, not a specialized or atypical use case. The short answer is, I'm sure there were good reasons for this behaviour back when it was first implemented, and it has never been enough of a problem for someone to submit a pull request or file a bug report. For the record, I do agree with you that it would be great not to have to set up additional things to support fulltext search. On the other hand, the cron job gives you the flexibility to schedule the fulltext extraction whenever it suits you, since this may be a resource intense task (probably more of a problem 10 years ago than it is now -- hence our drive to look at the use cases for the modern repository). As regards running the dspace script with sudo, now that I've done it once, is there a way for me to determine whether I've messed up the file system permissions? You could run a recursive chown (chown -R tomcat:tomcat or whatever your user/group are) on the dspace directory to fix its permissions. If you also throw in a -c, chown will tell you about all changes it makes. Note though that chown won't follow symbolic links. So if your dspace directory contains symbolic links, you'll have to run chown on the targets of these links too. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] New submissions are not searchable
Hi, On 20/06/15 06:03, Murray, Gregory wrote: From the DSpace bin directory I ran "sudo ./dspace index-discovery" but it had no effect on the problem. I don't see anything in the documentation to indicate that full-text indexing has to be enabled with a config change. Surely it's enabled by default, right? Fulltext extraction needs to be scheduled via cron, see https://wiki.duraspace.org/display/DSDOC5x/Scheduled+Tasks+via+Cron -- you need the media filter task. This task extracts the full text and it also generates thumbnails. That's what Hilton was referring to. Unfortunately, full-text extraction doesn't happen automatically, you do need to run the media filter. The media filter will trigger a re-index of the item once the .pdf.txt file has been generated, and from then on you can do fulltext searches on that item. You may be aware that we're currently collecting use cases for DSpace. Automatically running the media filter when an item is ingested is mentioned in the Tim's comment on this use case: https://wiki.duraspace.org/display/DSPACE/Admin+UI+-+Run+media+filters -- if you think this would be useful, you may wish to "like" Tim's comment and/or leave a comment of your own on the use case. Finally, unless you're running DSpace as root, you should never ever run a dspace command with just sudo. This can thoroughly mess up the file system permissions. All dspace commands need to be run as the same user that Tomcat runs under (the user is "dspace" if you followed the DSpace installation instructions, but it could be "tomcat" or something else depending on your OS/distribution). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] citation_pdf_url
Hi, On 05/06/15 01:17, nicolasschwab wrote: > I am using DSpace 5 and i already read the ticket you mentioned, and i found > that when an item has more than one bitstream but no primary and all of them > are public the "citation_pdf_url" will be null. > > I have been checking the code and i found a solution, if you want i could > make a ticket and a pull request so can check it Whoops I guess the new logic missed a case then, sorry about that! Yes please, a ticket and PR would be fab. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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 handles/purl
Hi, On 29/05/15 18:53, Code 2 dogears wrote: > Hello everyone. I have installed dspace in my organistaion. Here > dspace will be used only by organisation members. So is it necessary > to install handle server (or register for handle service) or use purl? > Can't I just use dspace without installing them. I am new to dspace. You can run DSpace without a handle server or DOI provider. Just make sure to set handle.canonical.prefix = ${dspace.url}/handle/ and keep the default setting of handle.prefix = 123456789 cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- ___ 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] Mirage2 customization
Hi Susan, On 29/05/15 09:35, Borda, Susan wrote: This afternoon I modified the default colors in Mirage2 _bootstrap_variables.scss (in tomcat/webapps/xmlui/themes/Mirage2/styles/classic_mirage_color_scheme/) followed by mvn package from [dspace-src]. I also restarted tomcat. My color changes aren’t showing, do I need to do a mvn package –Dmirage2.on=true? I was able to change the logo just fine (but that doesn’t require a rebuild) Yes, I believe if you are using Mirage2 at all, you will always have to add –Dmirage2.on=true when running mvn package. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] citation_pdf_url
Hi, On 04/06/15 03:09, nicolasschwab wrote: I have been noticing that when an item has more than a bitstream and has no primary bitstream the metadata citation_pdf_url will be void. Considering the update made in DSpace version 1.8 which offers the possibility to the user of order the bitstream of an item i think that in this cases the value of the metadata should be the link of the first public bitstream according to the order established by the user. What DSpace version are you using? We made quite a big change to the citation_pdf_url behaviour in DSpace 4. You can see the full discussion around the change here: https://jira.duraspace.org/browse/DS-1483 but the expected behaviour in DSpace 4 and 5 is: The "citation_pdf_url" is now provided as follows: if the item has only one bitstream in the ORIGINAL bundle, link to this one if the item has a primary bitstream in the ORIGINAL bundle, link to this one (regardless of how many bitstreams there are in total in the ORIGINAL bundle). Bitstream must be publicly visible to be linked to in the "citation_pdf_url". The MIME Type of the bitstream is no longer checked, as Google Scholar has reported this is no longer important (see description of this ticket). For items with multiple bitstreams but no primary bitstream, I believe this will select the first one according to the bitstream order. If you're on DSpace 4 or 5 and this behaviour isn't what you're seeing, please check that the bitstream is actually readable by Anonymous. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] Translation of Item Submission forms.
Hi, if you want everything in your submission form to be in Arabic only, it should work to just translate all displayed text in input-forms.xml to Arabic. Hopefully this will work even with rtl languages. If you want an English submission form to be shown to some users and an Arabic input form to other users, it's more complicated. I believe this depends on whether you're using XMLUI or JSPUI. In JSPUI, you can create a translated input-forms_ar.xml file and it will be used for people who have set their DSpace language to Arabic. Apparently this doesn't work in XMLUI, but I'm not 100% sure. cheers, Andrea On 28/05/15 21:10, Rajat Gupta wrote: Hello Friends, We are currently translating a dspace instance of Dspace 5.x and have translated most of the content in the message.properties file. We converted English to Arabic using Google and then converted the Arabic to Unicode text using a unicode converter. Although we converted the whole message.properties file the Item submission form does not seem to show any changes. We found that we have to translate the input forms.xml file. My questions are 1. whether by translating input forms.xml site our problem will be solved (the input submission forms will come in arabic?) 2. Can I use the Item submissions forms in both English and Arabic language? Thanks in advance. Regards, Rajat Gupta -- ___ 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 -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] Adding browse by Type in Dspace discovery side menu
Hi, On 28/05/15 18:05, allybit...@udsm.ac.tz wrote: I am trying to add search by Type eg Book or Book chapters in the Discovery menu side bar. There is documentation here: https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-BrowseIndexConfiguration (scroll down to "Defining the Indexes"). Essentially, in your dspace.cfg file there will be a block like this: webui.browse.index.1 = dateissued:metadata:dc.date.issued:date:full webui.browse.index.2 = author:metadata:dc.contributor.*:text webui.browse.index.3 = title:metadata:dc.title:title:full webui.browse.index.4 = subject:metadata:dc.subject.*:text #webui.browse.index.5 = dateaccessioned:item:dateaccessioned You'll need to add a line, continuing the numbering without counting commented-out lines, eg (assuming your type metadata is in dc.type): webui.browse.index.1 = dateissued:metadata:dc.date.issued:date:full webui.browse.index.2 = author:metadata:dc.contributor.*:text webui.browse.index.3 = title:metadata:dc.title:title:full webui.browse.index.4 = subject:metadata:dc.subject.*:text webui.browse.index.5 = type:metadata:dc.type:text You will most likely need to add some translations to your Messages.properties (if using JSPUI) or messages.xml (if using XMLUI) file, see https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n for help. You will also need to re-index Discovery to get the type browse to work. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] Odd Characters in Search Results...
Hi, On 28/05/15 17:21, euler wrote: > Thanks for the link. I forgot to mention that I am using Windows 2003 as my > OS, so I'm not using crontab, instead I have a batch file that is executed > by Scheduled Tasks. Apologies for my ignorance, but I don't know how to > apply this to a Windows environment. I have no idea either, but perhaps (hopefully) someone else on this list can help! cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] Odd Characters in Search Results...
Hi, On 28/05/15 15:24, euler wrote: > Thanks for this. I just assumed that the original characters in my pdfs were > defective somehow (some are defective actually, not OCRed but digital born > documents). I would be glad to know how to make sure that the dspace > media-filter will use the correct locale and UTF-8 encoding? I may have > missed something in the documentation on how to set this. Well -- how are you running the media filter? If you're running it from a crontab on linux, try the line I put into my other reply. Or eg http://www.logikdev.com/2010/02/02/locale-settings-for-your-cron-job/ cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] Odd Characters in Search Results...
Hi, On 28/05/15 14:44, euler wrote: > I'm having this issues also. I resolved this by adding TEXT in dspace.cfg, > ie xmlui.bundle.upload = ORIGINAL, TEXT, METADATA, THUMBNAIL, LICENSE, > CC-LICENSE so that I can upload TEXT bundle aside from the ORIGINAL which is > pdf. I just made sure that the text file was saved in UTF-8 encoding. The > question marks that you're seeing are the extracted text made by dspace > media-filter. By uploading a text version and deleting the extracted text, > the question marks in search results went away. If that solved the problem for you then my suspicion is that your media filter runs with the wrong locale. You need to make sure that the media filter is using UTF-8. I have LANG=en_NZ.UTF-8 at the top of tomcat's crontab for that reason (you presumably want something other than en_NZ). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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 server
Hi, On 27 May 2015 at 19:20, Sean Carte wrote: > > On 26 May 2015 at 23:44, Andrea Schweer wrote: > >> I use >> sudo jps -l >> (jps is like ps but just for JVM processes; the -l option tells it to >> output the full class name incl package) >> >> On one of my production DSpace servers, that currently says: >> 13042 sun.tools.jps.Jps >> 1768 org.apache.catalina.startup.Bootstrap >> 1978 net.handle.server.Main >> >> So the first one is jps itself, the second one is tomcat and the third >> one is the handle service. A few greps less ;) >> > > Thanks, Andrea, unfortunately my servers produce output like this: > > ~# jps -lv > 1867 -- process information unavailable > 6514 sun.tools.jps.Jps > -Dapplication.home=/usr/lib/jvm/java-7-openjdk-amd64 -Xms8m > 1636 -- process information unavailable > > I'm guessing that's because I'm using the OpenJDK? > No, my guess it that you aren't running jps as root. It only shows information for the processes owned by the current user. > Anyway, > > ps -ef | grep java | grep handle | grep -v 'grep' > > gets me the PID I need, so I'll just continue grepping excessively! > Sure thing, I just thought I'd mention the jps method in case it's useful for someone! cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] DSpace solr cache sizes
Hi all, I've been having two of "my" repositories run out of memory lately, after upgrading them to DSpace 5. Analysing the heap dumps show that the documentCache for the Discovery solr index is 700+MB -- its size is set to 512 (=512 solr documents) and each solr document contains the extracted fulltext twice (in fulltext and fulltext_hl). Since both repositories contain quite a few theses, some fulltext files are around 3MB each. So no surprise about the size really. Has anyone here run into similar issues / reduced the documentCache size / found other ways to resolve this? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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 server
Hi, On 27/05/15 02:53, Sean Carte wrote: On 26 May 2015 at 16:20, Hilton Gibson <hilton.gib...@gmail.com> wrote: Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Handle_Server The handle server is always problematic after an upgrade. Thanks, Hilton; lots of great information there. So it seems that this is not a good indicator of whether handled is running: ps -ef | grep java | grep log4j-handle | grep -v 'grep' I use sudo jps -l (jps is like ps but just for JVM processes; the -l option tells it to output the full class name incl package) On one of my production DSpace servers, that currently says: 13042 sun.tools.jps.Jps 1768 org.apache.catalina.startup.Bootstrap 1978 net.handle.server.Main So the first one is jps itself, the second one is tomcat and the third one is the handle service. A few greps less ;) cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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 restriction by date
Hi, On 27/05/15 08:27, Jose Blanco wrote: > I'm wondering how the access restriction by date works. For example, > I have a file from an item that I want to restrict to a particular > group for a period of time. So if I go to the edit bitstream policy > page, there is something there for the start and end date. I imagine > that this is the start and end date of the restriction, no? How is > the restriction lifted and changed to Anonymous access after the end > date? Is there something that has to be run to lift the restriction? Restrictions aren't "lifted" as such. Everything is controlled by the start/end dates. No (currently applicable) policy = admin-only access. In your scenario of restricting to a particular group for a period of time, you will need two READ policies. One for the particular group, with no end date (since you don't want people in that group to _stop_ having access on that date), and one for Anonymous, with a start date from when you want to allow public access. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] Could not find the main class: org.dspace.storage.rdbms.DatabaseUtils. Program will exit.
Hi, On 16/05/15 05:07, Vimal Kumar V. wrote: > Dear Friends, > I got following error in the final step of Dspace installation. > You got such errors before? > root@user1:/build/dspace-5.1-src-release/dspace/target/dspace-installer# > sudo ant fresh_install > > Unable to locate tools.jar. Expected to find it in > /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar > Buildfile: > /build/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml > > init_installation: > > init_configs: > [copy] Copying 41 files to /dspace/config > [copy] Copying 1 file to /dspace/config > > test_database: > [java] Exception in thread "main" > java.lang.UnsupportedClassVersionError: > org/dspace/storage/rdbms/DatabaseUtils : Unsupported major.minor > version 51.0 That looks to me like you are running a JRE, not a JDK, and of a too old Java version. DSpace 5.x needs a JDK of Java 7 or newer: https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-OracleJavaJDK7orOpenJDK7 cheers, Andrae -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Help for dspace backup/restore
Hi, you probably just need to reindex for discovery [dspace]/bin/dspace index-discovery -bo cheers, Andrea On 14/05/15 19:14, Emmanuel Wilson wrote: hello all.using database + assetstore restore method i tried this.pg_dump/psql backup: pg_dump -U username -f backup.sql database_name restore: psql -d database_name -f backup.sql it works something like import.alter table, create table etc. i restarted tomcat.but only communities are camewhen i enter in to it no records found. i already copied the assetstore at /home/dspace/ -- 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 -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] access to page spins
Hi, On 14/05/15 05:24, Jose Blanco wrote: > Thanks Tim, What seems to stopping the indexing is that when it > encounters an item that has rights other than Anonymous, it fails. I > have confirmed this by editing an item it was failing on and making > all its access rights anonymous and then it went on till it found > another with non Anonymous rights. I found this out restarting tomcat > and then going to the home page. I have not run the manual index, but > will try that now and see what kind of error it spits out. You mentioned you have some customisations in your code. Do any of them touch access permissions at all? I've had some problems similar to what you describe with customisations that used a fresh context and mixed calls to AuthorizeManager methods with the resource policy type in the parameter list and those without. I believe these two types of methods treat item.update calls differently and this can lead to database race conditions. If I remember correctly, I resolved this by using the existing context whenever possible and not mixing these two types of methods otherwise. I can't remember whether there was anything useful in the database logs when I encountered this issue. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Location of files
Hi, On 13 May 2015 at 19:43, Vimal Kumar V. wrote: > > Where files are downloding when we execute following command? > I mean to which directory. > > cd /build/dspace-4.1-src-release > mvn -U package > By default, ~/.m2/repository on Linux or C:\Documents and Settings\{your-username}\.m2 on Windows. See http://maven.apache.org/run-maven/index.html and the two pages linked from the "Configuring Maven" section. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] problems with dspace 5.1 migration - error on eperson-firstname and unable to create administrator fresh install
Hi, On 12/05/15 05:19, Searle, Shannon wrote: I have been working on an upgrade from an older postgres db in 1.6 dspace to the latest install of dspace 5.1. I ran the upgrades, checked migrate and started up the tomcat server. All looked well at first, but then any attempt to update profiles or show users resulted in an exception. I ran a maven clean package, then an ant fresh install. After that I couldn’t even create an administrator: Did you really run an ant fresh_install? You should only ever do that the very first time you install DSpace. From then on, run ant update. As helix84 wrote, ant update will try to auto-upgrade your database schema; I assume fresh_install won't try to do that since it assumes the database has no tables yet. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about adding a Search Filter
Glad I could help. Also, clearly you simply conducted an experiment to verify that a reindex is indeed needed for this type of change ;) cheers, Andrea On 13/05/15 01:46, George Stanley Kozak wrote: Andrea and Hilton: Thank you. Sure enough, I forgot to re-index. My problem is solved. This proves that there are no “stupid” questions (just “stupid” programmers like me ;-) ) George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 From: Andrea Schweer [mailto:schw...@waikato.ac.nz] Sent: Monday, May 11, 2015 5:19 PM To: George Stanley Kozak; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Question about adding a Search Filter Hi George, On 12/05/15 08:16, George Stanley Kozak wrote: I am using DSpace 5.1 with a Mirage 2 theme. I recently added a new browse and search filter based on dc.type. The browse for types works correctly. However, if I do a search and then add the advanced search filter of “type”, I get no hits. For the search filter, I updated dspace/config/spring/api/discovery.xml to add the Search Filter for “type”. Stupid question, but did you restart tomcat and do a reindex for discovery after the change to discovery.xml? I think both are needed for this type of change. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about adding a Search Filter
Hi George, On 12/05/15 08:16, George Stanley Kozak wrote: I am using DSpace 5.1 with a Mirage 2 theme. I recently added a new browse and search filter based on dc.type. The browse for types works correctly. However, if I do a search and then add the advanced search filter of “type”, I get no hits. For the search filter, I updated dspace/config/spring/api/discovery.xml to add the Search Filter for “type”. Stupid question, but did you restart tomcat and do a reindex for discovery after the change to discovery.xml? I think both are needed for this type of change. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to add new metadata element ??
Hi, On 11/05/15 18:16, Emmanuel Wilson wrote: i edit thiswebui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.*, dc.Institution.University, \ Didn't come Please keep copying in the mailing list, someone else may be able to help you better/faster. You'll need to tell us a little bit more. Is that actually the name of the metadata field you added (Including the capital letters)? Did you do a rebuild as described on the page I linked to? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to add new metadata element ??
Hi, it's been a while since I last used JSPUI, but I'd start with the instructions on this page: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006086 cheers, Andrea On 11/05/15 17:39, Emmanuel Wilson wrote: Ok.i am using dspace 3.1. Going to migrate 4.2. Using JSPUI. But meanwhile i want to add this new element.. On Mon, May 11, 2015 at 10:58 AM, Andrea Schweer <schw...@waikato.ac.nz> wrote: Hi, On 11/05/15 17:15, Emmanuel Wilson wrote: by using metadata field directory, i tried to add new element as 'Instituion" with its qualifier, scope note. i want to see it as a user from where i can download the pdf Eg: Title: Authors: 'Institution':--this field not coming even i add this element. Keywords: How can i do this properly ?? You'll have to tell us a little bit more about your DSpace. Are you using JSPUI or XMLUI? If XMLUI, what theme? What DSpace version? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Emmanuel Wilson macheml.wordpress.com joomlaarchives.wordpress.com -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to add new metadata element ??
Hi, On 11/05/15 17:15, Emmanuel Wilson wrote: > by using metadata field directory, i tried to add new element as > 'Instituion" with its qualifier, scope note. > > i want to see it as a user from where i can download the pdf > Eg: Title: > Authors: > 'Institution':--this field not coming even i add this element. > Keywords: > > How can i do this properly ?? You'll have to tell us a little bit more about your DSpace. Are you using JSPUI or XMLUI? If XMLUI, what theme? What DSpace version? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Creative Commons Question
Hi George, On 09/05/15 06:38, George Stanley Kozak wrote: I was asked recently why DSpace uses Creative Commons 3.0 (https://creativecommons.org/licenses/by/3.0/) instead of Creative Commons 4.0 (https://creativecommons.org/licenses/by/4.0/). Can someone answer that? And are there any plans to go to using Creative Commons 4.0? This is related to CC's move away from ported licences and you can influence this by changing your DSpace configuration. I'm assuming you have a CC jurisdiction enabled in your dspace.cfg (https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace/config/dspace.cfg#L948). That means DSpace will ask CC for the most recent licence version for this jurisdiction that matches the other criteria given during submission (whether to allow commercial reuse etc). CC 4 no longer uses jurisdictions, so there is no CC 4 licence for the jurisdiction you specify. Hence, you get a CC 3 licence for your jurisdiction. Simply comment out the jurisdiction setting in dspace.cfg and you will start getting (unported) CC 4 licences. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace 5.1 & oai
Hi On 30/04/15 00:17, Domingo Iglesias wrote: > I have a test environment for dspace 5.1 running with solr and jspui, > but I cannot get oai interface running. > When calling: http://diposittest.ub.edu/oai/request?verb=Identify > I get an "Error 500--Internal Server Error" with followed by: > > java.lang.NoSuchMethodError: > org.apache.commons.io.FileUtils.write(Ljava/io/File;Ljava/lang/CharSequence;)V That looks like you're using an older version of Java. DSpace 5.1 needs at least Java 7: https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-OracleJavaJDK7orOpenJDK7 cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Embargoed items showing in recent submissions and collection browse pages
Hi, On 08/05/15 10:00, Terry Brady wrote: > From my experience in DSpace 3, the browse indexes were not aware of > access rights. All items appeared in browse. Restricted item did not > appear faceted (discovery) navigation for an unauthenticated user. > > This issue was resolved for me after upgrading to DSpace 4. Thanks Terry -- we skipped DSpace 3 because of issues around embargoes (ie went straight from 1.8.x to 4.x), so I'm never too sure what the expected DSpace 3 behaviour is. Plus most of "my" repositories are quite heavily customised around embargoed/dark items anyway. > Since the Demo site is running the current version of DSpace, I am > surprised that the embargo items are not being hidden. That does sound strange. I don't have time to try this out, but I'd check - that the embargoed items still show up in the recently added list when you aren't logged in -- this really shouldn't be the case if the authorisation policies are correct - that the authorisation policy for the item doesn't allow READ for the Anonymous group -- I could imagine that either something went wrong with setting the permissions, or the permissions are restricting only the file but not the entire item. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Embargoed items showing in recent submissions and collection browse pages
Hi, On 08/05/15 06:35, Alcides Carlos de Moraes Neto wrote: > I manage a 3.2 dspace installation here. I configured it to use the > simple embargo form, and it works. > But all the embargoed items show in the page listings, specifically, > recent submissions and collection browsing. > > I tested the embargo functionality on the dspace demo site, and the > items are shown there as well. > > Is there a way to hide them? Do they show up even when you are not logged in? DSpace 3 uses access rights awareness (https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Accessitembasedresults) for this, so in theory you should only see the item in the recent submissions lists etc when you're logged in as a user who has READ permissions on the item. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSPACE stange feature with LDAP authentication
Hi Olivier, On 07/05/15 20:09, Olivier Nicole wrote: Our DPSACE 4.2 users are authenticating againts LDAP, all is working fine so far. But recently, one of the administrators changed his email address in LDAP. The next time he loged in DSpace, he was assigned a new eperson despite the fact that the username (and even the password) were the same. I think this is just a matter of how your LDAP authentication is configured and what data comes through from LDAP. Have a look at the configuration reference: https://wiki.duraspace.org/display/DSDOC4x/Authentication+Plugins#AuthenticationPlugins-ConfiguringLDAPAuthentication I believe DSpace uses this property as the DSpace username: Property: email_field Example Value: email_field = mail Informational Note: This is the LDAP object field where the user's email address is stored. "mail" is the default and the most common for LDAP servers. If the mail field is not found the username will be used as the email address when creating the eperson object. To me it looks like you have set this to the e-mail field. This is perhaps a little counter-intuitive, but what (I think) happens is this: person goes to login screen, enters username (not e-mail address) and password DSpace talks to LDAP and verifies that the password is correct for the username DSpace gets the e-mail address for this username from LDAP DSpace looks up that e-mail address in its eperson table to find the corresponding DSpace account; creates a new one if none is found So when the person changed his address, DSpace could not match the new address to an existing account, so it set up a new account with the new e-mail address. To get the behaviour you're after, you could change this property and point it to whichever field the username comes through from LDAP. However, that would mean you'd have to change the eperson table in DSpace to hold the username rather than the e-mail address, which in turn would mean that DSpace can no longer send e-mails to people (unless you're using hierarchical LDAP and username@institution is a valid e-mail address for everyone, in which case you could use the netid_email_domain property described in the documentation to construct the e-mail address). It's been a while since I last set up LDAP authentication, but I believe we're using the netid mechanism. Someone with more LDAP experience may have a better solution for you. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace web pages showing incomplete information
Hi Lewatle, On 6 May 2015 at 18:09, Lewatle Phaladi wrote: > > I am asking any reply also from @Mire on how to resolve the following > error in order to get starting to use Mirage 2, when I was running mvn I > haven’t received any error performing the following commands : > > mvn -U clean package > > mvn -U clean package -Dmirage2.on=true > > if I choose default theme it opens well without error, only Mirage 2 can’t > be loaded completely > If you want to use Mirage 2, you need to use the second of these commands. However, there currently is a bug that means you cannot use the "quick build" option with Mirage 2 unless you install the Mirage 2 build prerequisites manually. If you do not wish to install the build prerequisites, you need to use the "full build" option and run maven in [dspace-src] (*not* [dspace-src]/dspace). > I have received error only when I have performed the following step as > follows: > > dspace@dev:~/src/dspace-5.1-src-release/dspace$ mvn package -Dmirage2.on=true > -Dmirage2.deps.included=false > > You can only use the -Dmirage2.deps.included=false build option if you manually install the Mirage 2 build prerequisites before running maven. This is explained in the Mirage 2 developer documentation: https://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2#installation Can you confirm that you have installed these and you still get an error? What output do you get when you run the three commands mentioned in the Mirage 2 documentation? Afterwards the command bower should show a help message. > Afterwards the command grunt --version should show the grunt-cli version > number > Afterwards the command compass should show a help message. > cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Restricted items published via XOAI
Hi Germán, what version of DSpace are you using? There is a bug around OAI filters in DSpace 5.0 and 5.1: https://jira.duraspace.org/browse/DS-2424 cheers, Andrea On 7 May 2015 at 02:49, Germán Biozzoli wrote: > Hi people > > I have few items restricted to a group of users in a collection. The > restriction works OK for Discovery search and browse, but not in the > context of OAI data provider. I've checked that the request context has the > defaultFilter > > > > > > > ... > > That uses DSpaceAuthorizationFilter. As far as I can see the items have > restriction for all bitstreams and item for READ to the group. > > Any idea? > > Thanks & regards > Germán > > > > > -- > 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 > -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- 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] Error when browse Title, Author, Issue Date in Communities or Collections
Hi, On 05/05/15 14:10, Nguyen Hung Thanh wrote: I install DSpace 5.1 on windows, using jspui. When I browse DSpace via Title, Author, Issue Date in Communities or Collections, DSpace show all item in DSpace instead show item in this Communities/Collections This is a known bug in DSpace 5.1: https://jira.duraspace.org/browse/DS-2482 It will be fixed in DSpace 5.2, which will hopefully be released in the next few weeks. If you can't wait for DSpace 5.2, you could try applying the original bugfix to your code base: https://github.com/DSpace/DSpace/pull/876/files cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Altering Advance Search in DSpace 5.1 XMLUI
Hi, On 05/05/15 07:38, George Stanley Kozak wrote: I need to add “Type” to the Filters and I’m pretty sure I know how to do that (by altering spring/api/discovery.xml), but I can’t figure out where the modifiers: “Contains”, Equals”, “ID”, etc. are coming from. I need to drop “ID” and “Not ID”. Can someone point me in the right direction? If you're happy to modify the Java code, it's here: https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SimpleSearch.java#L249 (and line 246) I use grep/find for this sort of thing (just in case this helps someone down the line): [in dspace-src] rgrep 'Not ID' dspace-xmlui/src/main/ dspace-xmlui/src/main/resources/aspects/Discovery/i18n/messages.xml: Not ID [in dspace-src] find . -name SimpleSearch.java ./dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SimpleSearch.java ./dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/SimpleSearch.java and since the messages.xml entry refers to Discovery, you know you'll want the first of these two classes, and then search for where the message key is used. If you prefer to make XSL changes, the DRI is here: http://demo.dspace.org/xmlui/DRI/discover so you may just be able to get away with an empty template for something like dri:field[starts-with(@id, 'aspect.discovery.SimpleSearch.field.filter_relational_operator_')]/dri:option[@returnValue='notauthority' or @returnValue='authority'] in your theme.xsl file -- but I haven't tried that. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Open Search
Hi Gary, On 04/05/15 16:37, Gary Browne wrote: I'm trying to get open search working. I have enabled it and restarted tomcat. If I send a search like: http://ses-dev.library.usyd.edu.au/open-search/?q=test Looks like this needs to be query=test (and you don't strictly speaking need the trailing slash, though it shouldn't cause any problems either) https://github.com/DSpace/DSpace/blob/dspace-4.1/dspace-jspui/src/main/java/org/dspace/app/webui/discovery/DiscoverUtility.java#L190 Does this work? http://ses-dev.library.usyd.edu.au/open-search/?query=test cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Hiding sub-communities from main page
Hi, On 02/05/15 13:45, Ilana Kingsley wrote: > I've just inherited a dspace project and know nothing about the software. You've found the right place to ask questions :) Also, the official documentation is here: https://wiki.duraspace.org/display/DSDOC/All+Documentation > I've been told there's no "admin" interface via the web-- which I find > hard to believe, and all changes need to be done command line. That's not entirely true, but what you are asking about cannot be done via the admin interface. > I'm wondering if someone can tell me how to hide sub-communities from > the community page. > On https://scholarworks.alaska.edu/community-list if you click one of > the communities (example, UAF) we want to hide the third sub-community > on the list. > > Does anyone know how to do this? > > Note, it don't even know what version of dspace we are running or how > to tell what version we're running. According to the "Generator" meta tag, you're running DSpace 3.1 https://wiki.duraspace.org/display/DSDOC3x/DSpace+3.x+Documentation Looking at the resources pulled in to the pages (css / JavaScript), you're using XMLUI with a theme based on Mirage https://wiki.duraspace.org/display/DSDOC3x/Mirage+Configuration+and+Customization The community page looks nothing like a standard Mirage community page, so this must have been customised quite extensively. You'll probably want to try and find those customisations and see whether you can hide the communities you want to hide. There is embedded JavaScript code on the community list page. It looks like this is generated in this xsl file: https://scholarworks.alaska.edu/themes/Mirage/lib/xsl/core/page-structure.xsl -- so you'll want to change that file. Find where the source code for your DSpace instance lives and figure out where the page-structure.xsl file is. It should be either under a "dspace/modules" directory tree or a "dspace-xmlui/src/main/webapp" tree -- for comparison, here is the standard 3.1 source tree: https://github.com/DSpace/DSpace/tree/dspace-3.1 Then you will probably need to rebuild DSpace to deploy the changes -- or you may be able to get away with just copying the page-structure.xsl file across. You may wish to try this whole process on a test instance if there is one; depending on how changes to the code and configuration have been managed, doing a rebuild may remove functionality. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Building DSpace after bug fix (DS-2542)
Hi Margaret, On 02/05/15 01:48, Margaret Vail wrote: I am trying to apply the suggested bug fix for DS-2542 (https://jira.duraspace.org/browse/DS-2542) to my DSpace 5.1 instance. However, the changes are not displaying. Can someone please log through my build process and advise on any mistakes or anything I may be missing. Update lyncode/xoai: git clone https://github.com/lyncode/xoai.git git checkout 3.x (The bug fix was already accepted in this version of the code, so I did not need to apply it) cd to lyncode/xoai root directory mvn package (Jar file built in target directory) (I de-compiled the jar file and was able to confirm that the bug fix was included in the jar) Run mvn package install that will install the jar file into your local maven cache, by default ~/.m2/repository Apply code changes in https://github.com/DSpace/DSpace/pull/912 to source code cd [dspace-src]/dspace mvn clean package cd target/dspace-installer ant update_code You still need to tell DSpace to use your updated jar file -- there are two options. You can do this "properly", by changing the XOAI version in the DSpace pom file. Or you can do the rebuild as always and just swap in the updated jar file later. First option In the DSpace codebase ([dspace-src]/dspace-oai/pom.xml) change the OAI version to 3.2.10-SNAPSHOT -- this is exactly what's in the pom.xml file in the lyncode xoai project you just compiled. ("SNAPSHOT" means that this isn't an officially released version) Since you are changing something in a [dspace-src]/dspace-* directory, you will need to do the full rebuild option cd [dspace-src] <- not [dspace-src]/dspace mvn clean package ant as in your description (I always use the update ant target; I'm not sure whether update_code is enough, I think you'd need update_webapps too Then you should see the xoai-3.2.10-SNAPSHOT.jar in [dspace]/webapps/oai/WEB-INF/lib/ and in [dspace]/lib (and you should _not_ see xoai-3.2.9.jar in those directories) Second option Don't make the pom change, just do your normal rebuild (mvn&ant) Then delete [dspace]/webapps/oai/WEB-INF/lib/xoai-3.2.9.jar and instead copy over the xoai you built yourself (xoai-3.2.10-SNAPSHOT.jar) Then delete [dspace]/lib/xoai-3.2.9.jar and instead copy over the xoai you built yourself I hope this helps. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Moving a community
Hi Mary, On 29/04/15 12:15, Mary Weppler-Selear wrote: I want to move a community within a hierarchy, and I’m wondering if anyone has information as to whether it’s best to use the community filiator for doing this? I’m using 4.x currently. In this instance I need to move a sub community and its corresponding collections and items further down the hierarchy and within another parent sub community. If anyone has had success doing this and can share their experience that would be helpful. This sounds like the exact use case for the community filiator. It's been a long time since I last used that tool, but there are no open bug reports for it, so why don't you give it a go and let us know what happens :) (You might like to do this on a test instance first if you have one, and/or back up your database first.) cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Advanced Embargo: Dark Metadata
Hi, On 22/04/15 02:49, Tim Donohue wrote: > You should be able to just enable that Access Step. Setting the embargo > via that step applies to the entire Item (including metadata), if I > recall correctly. By default, if you use the "Simple" version, it'll > limit Anonymous READ access (on the Item) so that it starts on the date > the embargo ends. If you use the "Advanced" version, you can specify > exact groups whose READ access should be limited (just be sure to click > the "Confirm Policy & add another" for each embargo policy). This is what we're doing for some of "my" repositories; however I also have a pile of customisations in place (since at least DSpace 1.6.x) to make sure the policies are respected everywhere. I don't know whether all of these customisations are still needed, perhaps some are overkill. I should review these at some point. With the Discovery rights awareness functionality, you (=the current user) will see an item in search/browse etc only when you have READ permissions for the item. Viewing the item page is also controlled by the item's READ permission; if you don't have that permission then you'll get a message / be prompted to log in. So the READ permissions definitely cover the basics. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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_15&utm_medium=email&utm_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] Constant dspace error java.lang.OutOfMemoryError: Java heap space
Hi Евгений, as I said on Stack Overflow, your tomcat log file suggests that it isn't actually using those JAVA_OPTS http://stackoverflow.com/questions/29778609/constant-dspace-error-java-lang-outofmemoryerror-java-heap-space cheers, Andrea On 22/04/15 05:02, Евгений wrote: > Hello all, I have a DSpace server, after uprading from version 4.3 to > 5.1, it constantly stops working after some hours with following error: > > java.lang.OutOfMemoryError: Java heap space > > I've read answers to the same questions, but they didn't help me. > My JAVA_OPTS: -Xmx4096M -Xms4096M -Dfile.encoding=UTF-8 > -Dsun.jnu.encoding=UTF-8 > > Here are dspace.log.2015-04-21 > http://jpst.it/ylU4 > > tomcat7-stderr.2015-04-20.log > http://jpst.it/ylTN > > and localhost_access_log.2015-04-20.txt > http://jpst.it/ylTT > > I searched the internet for a solution and could not find one, does any > one have a clue? > > -- > 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_15&utm_medium=email&utm_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 -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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_15&utm_medium=email&utm_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] pdf is not displaying
Hi Ritesh, On 17/04/15 18:53, ritesh roushan wrote: > when I click on item list, pdf is just downloading. I want it to > display. how can I do this? The behaviour depends on the file size -- have a look at this dspace.cfg setting here: https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace/config/dspace.cfg#L1523 However, DSpace only sends a "hint" to the browser and each browser interprets this differently. So you cannot reliably force all browsers to have the same behaviour around this. See eg http://stackoverflow.com/questions/1395151/content-dispositionwhat-are-the-differences-between-inline-and-attachment for some more information. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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_15&utm_medium=email&utm_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] Javascript disabled on DSpace?
Hi Susan, what maven version are you using (mvn --version)? I just discovered that Mirage 2 doesn't appear to work with Maven 3.3.1; Maven 3.2.5 is fine. https://jira.duraspace.org/browse/DS-2533 cheers, Andrea On 02/04/15 12:28, Borda, Susan wrote: I’m having this same issue: https://jira.duraspace.org/browse/DS-2368 -susan -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Error after install of DSpace 5.1
Hi, On 02/04/15 12:50, George Stanley Kozak wrote: Andrea: I'm not sure if you saw my follow up post. Yes, I did see errors in the Solr log. It is: ERROR org.apache.solr.core.CoreContainer @ Unable to create core: statistics Format version is not supported (resource: segment _32 in resource ChecksumIndexInput(MMapIndexInput(path="/cul/app/dspace/solr/statistics/data/index/segments_1p0"))): 2.x. This version of Lucene only supports indexes created with release 3.0 and later. If I later try to upgrade to 5.1, I see during the ant update: /cul/app/dspace/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:1061: ERROR occurred while checking Solr index version: Exception in thread "main" java.io.IOException: Could not read Lucene segments files in /cul/app/dspace/solr/statistics/data/index No sorry, I didn't see that. I did however run into a very similar problem with one of my own DSpace 5.1 development instances the other day. I'm not quite sure what state the solr indexes were in at that stage, so I'm not sure how to reproduce it. It does look like we should add a big warning to the upgrade instructions for people to back up their solr index first -- my problem went away when I re-set the usage stats data dir in my dev instance to a fresh copy from (4.2) production. I did try to manually update the Solr statistics using the instructions in the DSpace 5.1 Manual, but that didn't seem to help.. My suspicion is that once the upgrade fails halfway through for some reason, there is no way to recover from the situation. Hence the importance of the back-up! Is there a way to tell the DSpace that we don't want to use the Solr Stats? We have our own statistics gathering so I'm really not using them. It looks like you can disable adding new hits to the Solr statistics by commenting out the SolrLoggerUsageEventListener bean in dspace-xmlui/src/main/webapp/WEB-INF/spring/applicationContext.xml (XMLUI) / dspace-jspui/src/main/webapp/WEB-INF/spring//applicationContext.xml (JSPUI). Then you could delete the contents of [dspace]/solr/statistics/data (for anyone following along on this -- this _will_ wipe all your usage stats data! Do this only when you're sure that's what you want!) and that should be it. But I've never tried this, so it may break lots of things in lots of interesting ways. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Error after install of DSpace 5.1
Hi George, On 02/04/15 04:22, George Stanley Kozak wrote: I found a problem in my upgrade from 3.3 to 4.3. When I do the optimize of the solr indexes, my optimize of core “search” and “oai” work fine, but when I try to optimize “statistics”, I get an internal server error: wget ‘http://localhost:8080/solr/statistics/update?optimize=true’ results in Connecting to localhost|::1|:8080... connected. HTTP request sent, awaiting response... 500 Internal Server Error Does anyone have suggestions as to what I can do to fix this? (By the way, the 4.3 install seems to run OK even with this error). Is there any more information about the 500 error? Maybe in the solr log or in the tomcat log, either from the time you made the request or when you started up tomcat? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Javascript disabled on DSpace?
Hi Susan, (I'll add dspace-tech back in -- perhaps others with the same problem can benefit from the discussion) With the same message coming up in Chrome, to me it sounds like you've probably run into one of the Mirage 2 build problems. Have a look at the official DSpace documentation for a few hints: https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-ThebuildprocessandenablingMirage2 cheers, Andrea On 01/04/15 03:53, Borda, Susan wrote: Hi Andrea- Thanks for the info, I knew it was a long shot that that the setting was in Dspace. I get the same message in Chrome. I will re-run Maven to see if I can spot the error. Thanks again, susan From: Andrea Schweer <schw...@waikato.ac.nz> Date: Monday, March 30, 2015 at 6:02 PM To: Susan Borda <susan.bo...@montana.edu>, "dspace-tech@lists.sourceforge.net" <dspace-tech@lists.sourceforge.net> Subject: Re: [Dspace-tech] _javascript_ disabled on DSpace? Hi Susan, On 31/03/15 12:31, Borda, Susan wrote: I just installed Space 5.1 with Mirage 2 on a Centos 6.6 VirtualBox. When I go to my new DSpace page (localhost:8080/xmlui) I’m getting a message that says “_javascript_ has been disabled for your browser. Some features of this site may not work without it.” _javascript_ is working on other sites just not this one. Where do I enable _javascript_ for Dspace, is it in one of the Mirage 2 or xmlui files? This is not a DSpace setting, it's something in your browser. It's a little bit odd for this to happen in what is presumably pretty much a fresh Centos install. Can you try with a different browser? Your VM has access to the Internet, yes? Did the maven step of the build process complain about anything? Mirage 2 will sometimes tell you that the build was successful even when it wasn't, so you'll need to keep an eye on the output while maven is running. If none of these things help, could you try to switch on the developer tools for your browser, then force-reload the page to see whether you get any error messages to pinpoint the problem? In Firefox, you'll want to open the Web Console (try Ctrl-Shift-K). In Chrome, it appears to be called _javascript_ console (try Ctrl-Shift-J). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- 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] Javascript disabled on DSpace?
Hi Susan, On 31/03/15 12:31, Borda, Susan wrote: I just installed Space 5.1 with Mirage 2 on a Centos 6.6 VirtualBox. When I go to my new DSpace page (localhost:8080/xmlui) I’m getting a message that says “_javascript_ has been disabled for your browser. Some features of this site may not work without it.” _javascript_ is working on other sites just not this one. Where do I enable _javascript_ for Dspace, is it in one of the Mirage 2 or xmlui files? This is not a DSpace setting, it's something in your browser. It's a little bit odd for this to happen in what is presumably pretty much a fresh Centos install. Can you try with a different browser? Your VM has access to the Internet, yes? Did the maven step of the build process complain about anything? Mirage 2 will sometimes tell you that the build was successful even when it wasn't, so you'll need to keep an eye on the output while maven is running. If none of these things help, could you try to switch on the developer tools for your browser, then force-reload the page to see whether you get any error messages to pinpoint the problem? In Firefox, you'll want to open the Web Console (try Ctrl-Shift-K). In Chrome, it appears to be called _javascript_ console (try Ctrl-Shift-J). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Embargo problems DSpace 4.0
Hi Antony, On 31/03/15 02:28, Antony Corfield [awc] wrote: Hi Andrea, thanks for your reply and possible solution, I suspected this was the case. Are you aware of the new release of rioxx metadata profile? I wonder if future DSpace releases will incorporate this with the advanced embargo functionality? The RIOXX metadata guidelines document (http://rioxx.net/guidelines/RIOXX_Metadata_Guidelines_v_3.0.pdf) mentions this: To help with the compliance process, a plugin for EPrints repositories (versions 3.3.x) and an add -‐ on for DSpace repositories (versions 3, 4 and 5) will be freely available. The RIOXX EPrints plugin is currently being trialed by around ten early adopters; the DSpace plugin will be developed by @Mire and is scheduled to be available around the end of March 2015. You might like to check with @mire whether this is still planned and what distribution model they are planning for the plugin (eg paid module vs potentially included in stock DSpace at some point). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Error after install of DSpace 5.1
Hi George, On 26/03/15 10:55, George Stanley Kozak wrote: Yes, it has me stumped. If I restore the Solr indexes and the postgres database back to the DSpace 4.2 versions and bring up DSpace 4.2, everything works fine. I do shutdown tomcat when I do the ant step. Here are my steps, and let me know if I have forgotten anything: That all looks good so far 1) Shutdown tomcat 2) Run mvn –U clear package (I also tried with the Mirage2 option) 3) After successful build, I go to the target/dspace-install directory and run “ant update” As which user do you run ant? Same as the one that tomcat is running as? 4) After that is successful, I copy the webpass over to tomcat 5) Restart tomcat 6) Go to view the system The system comes up and I have access to the database records, but all browses and searches generate the index lock error. When you look for the write locks after step 5, what are their permissions? You should be able to find them (assuming a Linux system) using find [dspace]/solr -name "*.lock" cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Embargo problems DSpace 4.0
Hi Antony, On 26/03/15 05:24, Antony Corfield [awc] wrote: I've configured DSpace 4.0 to use simple embargo functionality including submission forms and dspace.cfg below. Although the embargo is lifted on the correct date and seems to be working fine I can't see the dc.rights.embargoreason and dc.rights.embargodate in the full item metadata view or in the database. I can see the date in the policies for the item (attached). It seems that the reason and date aren't being copied to these metadata fields. Prior to upgrade (from 1.8) this was working and any items that were embargoed prior to upgrade do have these metadata fields in the full item view and in the database. Any help would be very much appreciated as we really need embargo details in the item metadata. The simple embargo functionality doesn't use item metadata at all. All information is stored in the policies. So the behaviour you're asking for doesn't exist in that mechanism. The settings you quote in your e-mail don't apply when you use the simple embargo functionality. If having the embargo information in the policies is not sufficient for your needs, your best bet is probably to add fields for the embargo date and reason to input-forms.xml, possibly on a new page if you want to keep them separated from the other item metadata. cheers, Andrea Embargo Settings # DC metadata field to hold the user-supplied embargo terms #embargo.field.terms = SCHEMA.ELEMENT.QUALIFIER #awc embargo.field.terms = dc.rights.embargoreason # DC metadata field to hold computed "lift date" of embargo embargo.field.lift = dc.rights.embargodate # string in terms field to indicate indefinite embargo embargo.terms.open = forever # implementation of embargo setter plugin - replace with local implementation if applicable plugin.single.org.dspace.embargo.EmbargoSetter = org.dspace.embargo.DefaultEmbargoSetter # implementation of embargo lifter plugin - - replace with local implementation if applicable plugin.single.org.dspace.embargo.EmbargoLifter = org.dspace.embargo.DefaultEmbargoLifter -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Error after install of DSpace 5.1
Hi George, On 26/03/15 03:42, George Stanley Kozak wrote: So, I double checked the permissions on my solr index and tomcat. They are both owned by the DSpace user. If I bring my system up in DSpace 4.2 (after a restore), I have no problems. If I bring it up in 5.1, I get the error: “SolrCore 'search' is not available due to init failure: Index locked for write for core search,trace=org.apache.solr.common.SolrException: SolrCore 'search' is not available due to init failure: Index locked for write for core search” I can’t even do an re-index. I have to say that I’m kind of stumped here. Works OK in 4.2, doesn’t work in 5.1 How odd. Are you running the ant step (with the 5.1 code) as the same user as tomcat? Also, when you run ant for the first time using the 5.1 code, tomcat must not be running -- ant will upgrade the solr indexes to the version used in DSpace 5.1 and it needs to have exclusive access to the index while that runs (and the mechanism for that is the write lock, which makes me suspect it's involved in the problem you're seeing). You have presumably checked already that the ant step with the 5.1 code doesn't throw any errors. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Error after install of DSpace 5.1
Hi George, On 25/03/15 10:06, George Stanley Kozak wrote: Thank you for your suggestions. I did check and my tomcat (tomcat 7) is owned by my dspace user as is my solr index, so tomcat should be able to write to the solr directory (it works OK for 4.2). So, I am not sure what is causing the permission problem, but I will keep checking. Have you run a chown with the -c flag on your solr directory? That will tell you about any changes it makes. Might be worth it just so you can go from "tomcat should be able to write to the solr directory" to "tomcat is definitely able to write to the solr directory". Just on the off-chance this is happening to you: I've had nasty surprises when the solr directory was on a different partition and symlinked into [dspace], chown -R didn't work across the symlink (it changed ownership of the symlink but not of the symlinked directory). Also, if the permissions have been wrong in the past at some point, sometimes the write.lock file sticks around with wrong write permissions. In that case, it helps to stop tomcat, delete the write.lock file, then start tomcat. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Error after install of DSpace 5.1
Hi George, On 25/03/15 06:42, George Stanley Kozak wrote: I upgraded our DSpace 4.2 XMLUI to DSpace 5.1 (using Mirage 2). The install went fine, but once the system came up, if I try to view any records, I get: “The server encountered an internal error that prevented it from fulfilling this request.” and Caused by: org.apache.solr.common.SolrException: Index locked for write for core search and Caused by: org.apache.lucene.store.LockObtainFailedException: Index locked for write for core search Does anyone have any suggestions as to what I am doing wrong? This is a permissions problem. Tomcat needs to have write permissions on your [dspace]/solr directory and all its subdirectories. Change the permissions and restart tomcat -- hopefully that will solve the issue. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Problem running dspace stats-util -o
Hi Ricardo, On 21/03/15 23:56, RICARDO EITO BRUN wrote: > when trying t run the stats-util -o command (after upgrading old > dspace Solr indexes with the Lucene library) I am getting this error: > > Exception: Server at http://localhost:8080/solr/statistics returned > non ok status:500 > > Any suggestion? Tomcat is up when running the command. Is there anything useful in your tomcat log file (probably catalina.out; in /var/log/tomcat6 on my RHEL6 machines)? What happens when you access that URL in a browser? Keep in mind that you'll need to access it from the machine itself, eg using curl or wget if it doesn't have a graphical interface. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] freshly installed dspace 5 has problems
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) I searched online for solutions, but got no hint. Any hint will be appreciated. Thank you so much! Hongxing Geng Library Services Athabasca University Phone: 780-675-6589 This communication is intended for the use of the recipient to whom it is addressed, and may contain confidential, personal, and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communications received in error, or subsequent reply, should be deleted or destroyed. -- 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 -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- 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] Modules?
Hi Susan, On 20/03/15 03:45, Borda, Susan wrote: I was looking at this Stackoverflow article: http://stackoverflow.com/questions/27556499/dspace-version-4-x-adding-facet-which-messages-xml-file-should-i-edit?rq=1 Oh sorry, I didn't spot in your original e-mail that you were asking about messages.xml as well. So dspace.cfg and discovery.xml, these files you need to edit these in place. For all messages.xml files, you have to decide how to manage these - you can either modify them in place, or copy them to the corresponding path in a modules directory and edit that copy. I personally started out by editing copies of messages.xml in the modules directory. However, given that all our code etc is under git control, I find it much easier now to edit in place. That way, I can use git's merge tools to consolidate my own changes with those coming in with new DSpace versions, rather than having to manually copy my changes back. Do keep in mind that if you change anything in the dspace-xyz directories, you need to run a full rebuild (in the top-level dspace-src directory). If all your changes live in dspace-src/dspace then you can use the quick rebuild option. I have other changes in the dspace-xyz directories, so I have to run a full rebuild anyway. https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease So the "right way" to do this really depends on your local processes. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Modules?
Hi Susan, On 18/03/15 03:54, Borda, Susan wrote: Does anyone use the “Modules” option for advanced configuration? I was wondering if that’s where I should be putting a copy of dspace.cfg, discovery.xml and messages.xml after I modify the facets and filters? I don't think you can use the modules for configuration files. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Error running mvn package
Hi Lewatle, On 18/03/15 22:04, Lewatle Phaladi wrote: [ERROR] Failed to execute goal on project solr: Could not resolve dependencies for project org.dspace.modules:solr:war:5.1: Failed to collect dependencies for [org.dspace:dspace-solr:war:skinny:5.1 (compile), org.dspace:dspace-solr:jar:classes:5.1 (compile), org.apache.solr:solr-analysis-extras:jar:4.10.2 (compile), com.ibm.icu:icu4j:jar:51.1 (compile), org.apache.lucene:lucene-analyzers-icu:jar:4.10.2 (compile), org.apache.lucene:lucene-analyzers-smartcn:jar:4.10.2 (compile), org.apache.lucene:lucene-analyzers-stempel:jar:4.10.2 (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.1.1: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.1.1 from/to sonatype-releases (https://oss.sonatype.org/content/repositories/releases/): Access denied to: https://oss.sonatype.org/content/repositories/releases/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.pom , ReasonPhrase:Forbidden. -> [Help 1] This suggests to me that you're running this on a machine that is behind a mandatory authenticated proxy. You'll need to set this up in your maven settings file (~/.m2/settings.xml if you are on a Linux machine). See http://maven.apache.org/guides/mini/guide-proxies.html cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Mirage2 default XMLUI Theme
Hi, On 17/03/15 04:08, Tim Donohue wrote: > Mirage 2 is already included in the DSpace 5.x release, so you no longer > need to download it separately: I believe what Lewatle was referring to is that a DSpace build with Mirage 2 enabled needs to retrieve the build tools and JavaScript dependencies during the maven step. The dependencies are downloaded even when the build tools are installed separately. So the build process with Mirage 2 does require extra settings on the machine where the build is being run, compared to a build without Mirage 2 enabled. I think this may only be opening up outgoing connections to github.com via the git and/or https protocols. There is a workaround on the wiki for limiting this to https only, at least: https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues I can't remember whether outgoing http/https needs to be enabled to domains other than github as well. But with the dependencies now fixed to specific releases, perhaps there might be a way of including these in the binary release / including Mirage 2 in the binary release in a way that does not require the build tools (bower, grunt, compass) to be present. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Repeating pairs of metadata fields
Hi Courtney, On 13/03/15 01:06, Courtney Earl Matthews wrote: We’re specifically interested in providing a way for the user to link their item (article) to their externally hosted dataset. I think in the short-term we’ll adopt the fixed list approach using the dc.identifier set-up as our example. For a fixed list of link types, that sounds like the best option to me. Would you share an example of the enhancement requests you mentioned? We’re using XMLUI too. Our group had a brief conversation about storing triples in bitstreams. I'm not sure the details are written down in a way I can easily copy&paste, but this came up in the context of thesis submissions. There had been a number of requests from higher degree students to add various types of links to their thesis record -- off the top of my head, this included datasets, source code, geo data, audiovisual content hosted elsewhere, links to the research group's home page, etc. Sometimes there might be multiple links in the same category. This got us thinking that it would be nice to give students more freedom to add URLs to related content (presumably still subject to some sort of auditing/approval process by repository staff). And since there might be multiple links of the same type, in terms of user friendliness it would be good to have some way of distinguishing between them, so that end users know what's what. We never actually got around to working on this. However, I do have a working example of including content from an XML bitstream on the item's page. This is what we do for LERNZdb, a freshwater quality data repository; the item pages embed a Google map with markers for the data collection sites (eg http://lernzdb.its.waikato.ac.nz/handle/123456789/1140) and these coordinates come from an XML bitstream rather than from the item's metadata. (Never mind that we later added the geo coordinates to the item metadata for a different purpose, as you can see on the full item view -- the geo coordinates in the Google map don't know about those metadata values.) There is a complicating factor in our case: the repositories in question don't use the XMLUI submission process for theses, instead the theses are submitted using a standalone PHP application and come in via SWORD. So if we were to implement this, we probably would create the external links XML file in the PHP application. That said, I've written quite a few custom submission steps and I think it'd be pretty easy to write submission step code where the UI component lets users add a number of (type,description,link) triples and the processing component saves these to an XML bitstream and attaches it to the submission. https://wiki.duraspace.org/display/DSDOC5x/Submission+User+Interface#SubmissionUserInterface-CreatingnewSubmissionSteps cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Item Submission - defaults
Hi, On 12/03/15 19:21, Sean Carte wrote: On 12 March 2015 at 01:01, Andrea Schweer <schw...@waikato.ac.nz> wrote: On 11/03/15 21:09, Sean Carte wrote: I have a follow-up question: I have enabled the 'initial questions' page in item-submission.xml, but we would prefer the checkboxes to be unchecked as it is the exception rather than the norm that we need multiple titles or a previously published date. Is there any way to make this happen? Not easily. However -- are you using JSPUI or XMLUI? In XMLUI, I don't think those questions make much difference at all. I think this is different in JSPUI, but I'm not sure. We're using the XMLUI and the problem is that it adds two additional clicks at the start of almost every submission, as only a small percentage of submissions actually require the previously published date field. I think I worked out the solution: skip the first step and modify the date published field so that it isn't required. That would have been my suggestion, yes :) cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Item Submission - defaults
Hi Sean, On 11/03/15 21:09, Sean Carte wrote: > I have a follow-up question: I have enabled the 'initial questions' > page in item-submission.xml, but we would prefer the checkboxes to be > unchecked as it is the exception rather than the norm that we need > multiple titles or a previously published date. > > Is there any way to make this happen? Not easily. However -- are you using JSPUI or XMLUI? In XMLUI, I don't think those questions make much difference at all. I think this is different in JSPUI, but I'm not sure. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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 is losing session persistence on Internet Explorer after click on handle, any idea why?
Hi Paulo, does the user's IP address stay the same? I've had problems with sessions getting lost when the user was behind a set of load-balanced proxies; when requests from the same user went through different proxy machines, they ended up with different IP addresses and the session hijacking prevention kicked in (see the xmlui.session.ipcheck property, I'm not sure what the equivalent is for JSPUI if that's what you're using). cheers, Andrea On 11/03/15 03:59, Paulo Graça wrote: Some people have reported us that they are losing the authenticated session after clicking on the handle link, on the screen after the item is published. We are using version 3.2 of DSpace on CentoOS 6.5. And the user was using Internet Explorer 10 with compatibility mode (identifying himself as IE7) on Windows 7. What the user does? 1. Submits the item 2. Goes to his personal area and accepts the task for that item (has work-flow in the collection) 3. Edit the item as a reviewer and adds more metadata 4. Publishes the item and a handle is assign 5. On the confirmation page, clicks on the handle link What sometimes happens? The user loses is authenticated session What we verified? . The item is correctly published . This issue happens when: Before the pattern: apache_access.log USER_IP - - [06/Mar/2015:14:35:17 +] "POST /mydspace HTTP/1.1" 200 12937 "http://example.com/mydspace" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)" 433873 dspace.log 2015-03-06 14:35:17,700 INFO org.dspace.workflow.WorkflowManager @ USER@HOST:session_id=SESSION_ID_ENDS_WITH_C20436F:ip_addr=USER_IP:advance_workflow:workflow_item_id=16200,item_id=16945,collection_id=223,old_state=4,new_state=7 2015-03-06 14:35:17,713 INFO org.dspace.search.DSIndexer @ Writing Item: HANDLE_PREFIX/16836 to Index 2015-03-06 14:35:17,716 INFO org.dspace.search.DSIndexer @ Wrote Item: HANDLE_PREFIX/16836 to Index 2015-03-06 14:35:17,876 INFO org.dspace.usage.LoggerUsageEventListener @ USER@HOST:session_id=SESSION_ID_ENDS_WITH_C20436F:ip_addr=USER_IP:advanced_workflow_workflow:workflow_id=16200 After the pattern: apache_access.log USER_IP - - [06/Mar/2015:14:35:19 +] "GET /handle/HANDLE_PREFIX/16836 HTTP/1.1" 200 34333 "-" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)" 29615 dspace.log 2015-03-06 14:35:19,987 INFO org.dspace.app.webui.servlet.HandleServlet @ anonymous:session_id=SESSION_ID_ENDS_WITH_BD2F787:ip_addr=USER_IP:view_item:handle=HANDLE_PREFIX/16836 What we asked them to do? 1. Try 1 week with a different browser (Firefox 31.3.0) 2. Try 1 week without the compatibility mode (Internet Explorer 10). What were the results? After the first week the problem didn't occurred with Firefox. On the second week the problem occurred with Internet Explorer. Any ideas what might be the problem with Internet Explorer/handle system? Note: the http to https switch issue doesn't occur in this case. -- Paulo Graça -- 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 -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9112 -- 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
Re: [Dspace-tech] Trouble with Roles and Permissions
Hi Guillermo, On 11/03/15 06:30, Guillermo Esteban Murillo Goussen wrote: > I had a user registered as administrator, so this user could see all > the queues of submissions. Then I removed him from the administrator > group, in fact he doesn't belong to any group now, so technically at > "My DSpace" page he should see only his archived items or unfinished > submissions... BUT... he is still seeing all the queues and > submissions he saw as an administrator. > > How can I force an "update" of the permissions, roles, or "My DSpace" > page so they correspond to the last changes made. the visibility for pool tasks / owned tasks is set at the time the item enters its current state. Later changes to the workflow roles do not apply automatically to existing workflow tasks. Unfortunately the only way currently is to change the state of all affected workflow tasks (eg if they are in the pool, have another user take them and then return them into the pool). Via the user interface, that is. In your case, you could go into the database and delete the rows corresponding to the user id from the tasklistitem table, I believe that should be enough. There is a Jira issue for this: https://jira.duraspace.org/browse/DS-457 and according to the Jira issue, this has been discussed by the committers and maybe also by DCAT, the DSpace Community Advisory Team. However, it looks like there currently is no volunteer to work on this; from my point of view, it would be good to have a clearer idea of what behaviour would work for the majority of DSpace users. I'll add a note to the Jira issue with your comments. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Repeating pairs of metadata fields
Hi Courtney, On 10/03/15 07:57, Courtney Earl Matthews wrote: Does anyone have experience creating pairs of repeatable metadata fields within the input-forms.xml? Alternatives? I would like to enable the user to enter the name of a related resource paired with its URI (dc.relation, dc.relation.uri) and then repeat as needed. The DSpace metadata model doesn't let you associate "split" metadata like that. If the names of your related resources are a fixed list (eg Source Code, Dataset) then you could create custom metadata fields, eg uw.relation.sourcecode uw.relation.dataset ... and set this up in input-forms the same way as dc.identifier is currently set up in the stock DSpace input forms: https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace/config/input-forms.xml#L120 and with the list of possible names set up as value pairs: https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace/config/input-forms.xml#L236 If you want users to enter a free-text description of the related resource, it gets much trickier. This is actually on a list of enhancement requests for some of "my" repositories; the request there was for triples (type of link from set of fixed options, optional free-text description, URL). I've been thinking of writing a custom submission step that stores these triples in an XML bitstream attached to the item; since we're using XMLUI, we can then read in that bitstream from the XSL that generates the item page and add the links to the page together with their description and type. You could cheat and as your users to enter them as eg name|link and then process that as required in your theme code -- it's a bit of an ugly hack but depending on whether you do self-submission or mediated submission, it could work? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Item Submission - defaults
Hi Sean, On 09/03/15 21:31, Sean Carte wrote: > In HTML forms I can use 'SELECTED' in SELECT lists to make something a > default. Am I missing some easy way to make a value-pair in > input-forms a default like that? In "my" repositories, the item template mechanism is used for this sort of thing. So when 99% of the items in a collection are in English, we'll set up an item template for that collection with that metadata value, which makes it selected by default in the submission form. The submitters can just change the value if it isn't correct. The one drawback I've heard of with this approach is that reviewers can't tell whether the submitter explicitly selected a value or just went with the default (usually this isn't a problem but sometimes it is). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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 05/03/15 10:35, helix84 wrote: > On Wed, Mar 4, 2015 at 8:34 PM, Monika C. Mevenkamp > 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? Seconding helix84, pretty much every time I've had weird "why is that version of the jar there" issues was when I had forgotten to run mvn clean. The only other time was when I had a very messy pom file in a custom module (before I understood provided and in the middle of switching DSpace versions), and I would assume that's not the case in the main DSpace codebase :) cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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
Hi Monika, On 04/03/15 12:42, Monika C. Mevenkamp wrote: I am trying to run upstream/master with code changes of mine inside dspace-api I created a new database did mvn package and ran fresh_install when going to home page I get the following error http://localhost:8080/jspui/internal-error -- Method: GET -- Parameters were: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [94] in the generated java file: [/usr/local/Cellar/tomcat/8.0.17/libexec/work/Catalina/localhost/jspui/org/apache/jsp/index_jsp.java] The method getDispatcherType() is undefined for the type HttpServletRequest My first suspect would be the version of servlet-api that comes with your tomcat install. A quick web search for "The method getDispatcherType() is undefined for the type HttpServletRequest" leads to this: http://stackoverflow.com/questions/26436463/getdispatchertype-is-undefined-for-the-type-httpservletrequest From this line in the top-level pom, it looks to me like DSpace expects version 2.5 of servlet-api to be provided by your web application container: https://github.com/DSpace/DSpace/blob/master/pom.xml#L1030 I don't know whether you can just swap out the servlet-api jar that comes with tomcat. One of the answers to the stackoverflow question suggests going the other direction, ie changing the version number in the DSpace pom file to what is provided by your web application container (3.1, it looks like?). I suspect in that case you'll get compile-time errors about the same thing. The DSpace docs say we support Tomcat 7 or newer; if this problem persists for Tomcat 8 then this might be worth a Jira issue. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Log file attached: Dspace migration from 1.7 to 5 in new setup(due to harddisk crash)
F on client connection LOG: unexpected EOF on client connection -- 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 -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] Changing the community/collection name
-- 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 -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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 helix84, On 02/03/15 20:21, helix84 wrote: > at least part of your problem - the missing uid for old documents - is > a known open issue: > > https://jira.duraspace.org/browse/DS-2212 Perfect thanks, I hadn't spotted that, even though I saw the same thing when I tried out the sharding. I see there are a couple of approaches on there for retrospectively adding uids (with code, thanks folks!), so I'll look into using one of those in the hope that it will also fix my docValues problem. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9112 -- 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
[Dspace-tech] DSpace 5 and solr usage statistics data
Hi all, I'm working on DSpace 4->5 upgrades and I've run into a problem with the data in the solr-based usage statistics. Before I open a Jira issue, I thought I'd check whether anyone else has seen the same thing; we've heavily customised the usage statistics, so perhaps the problem affects only "my" repositories. In DSpace 5, the fields for geographical information in the usage stats were changed in the solr schema to have docValues="true" (https://github.com/DSpace/DSpace/commit/8e2f87e75548b48ad44c6257b47bf45af3e5b4ef). What I'm now seeing is that the statistics pages only show geographical information for visits from the upgrade onwards. Manually running the corresponding facet queries via curl shows the same, so the issue is definitely in what is coming out of solr, not in the DSpace code. I believe that the issue is that when docValues data is present for a field, only those solr documents are included in facet query results that actually have the docValues (see http://www.signaldump.org/solr/qpod/15072/adding-docvalues-after-or-in-the-middle-of-indexing). The pre-upgrade data doesn't have docValues, so they are omitted from the facets used by that part of the statistics pages. Setting docValues="false" and _then_ doing the upgrade retains all geographical data in the stats (but of course throws away the performance improvements gained by enabling docValues). I'm assuming I might be able to fix the docValues problem by re-indexing all documents in the index, and perhaps the solr index auto-upgrade tries to do just that. However, quite a few documents in the index don't have a uid (required unique key field). I'm wondering whether I'm seeing this issue only because we've strung along our data/customisations across several updates. Back when the solr-based usage stats first became a part of DSpace, the usage stats solr documents didn't have any unique identifiers. It looks like this was added for DSpace 3: https://github.com/DSpace/DSpace/commit/808bc6fc5d169f4996523c20a101a30e3e8c6a43#diff-c4dd1d4c13c979500d59399da9c0e861R325 So -- has anyone upgraded a repository with pre-3.0 usage stats data to 5.x? Did the geographical information in the usage stats make it along? I'm talking about the "Top country views" / "Top city views" sections on the item stats pages, eg http://demo.dspace.org/xmlui/handle/10673/3/statistics cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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, On 27/02/15 01:16, Anja Radoicic wrote: This helps me save the trail variable. Now I have to somehow acces the fourth or fifth element of the trail. Is there a way to do that? Also, this is just a workaround to access the collection name. Is there another way that you would suggest to get to a collection name or community name from xsl file? There is, it's just one more step. Look at this item here, on the demo server: http://demo.dspace.org/xmlui/handle/10673/93 Add ?XML to look at the XML, like you did for the trail: http://demo.dspace.org/xmlui/handle/10673/93?XML Then look at this section here: The hierarchy tells you which collection this item is in. It gives you the link to the collection's mets.xml. So have a look at that one http://demo.dspace.org/xmlui//metadata/handle/10673/22/mets.xml and you will see the title here: The scramble for and Partition of Africa Now, to put this all together -- in the same spot where you are assigning the trail to a variable, instead do this: obtain the URL of the collection's mets.xml file from the snippet above load that mets file via the XSL document function (http://www.w3schools.com/xsl/func_document.asp) from the loaded document, select the title metadata (and/or whatever else you want, eg identifier for the link). then assign _that_ to a variable and pass it into item-view.xsl I hope this makes sense, I don't have time to go into more detail right now, sorry. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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 - Embargo lift date - message to administrator
Hi, On 27/02/15 01:09, Hilton Gibson wrote: On 26 February 2015 at 14:05, Adan Roman <aro...@arvo.es> wrote: Sending an email to administrator can be done creating a curation tast that search the resource policy of items and send an email if its date is near. Do you have a published example of this curation task? I'm not Adan, but I have written a task that counts items with resource policies that have start and/or end dates in the future. So this could be modified to include a check how close to the current date these will come into effect. It's here: https://github.com/lconz-irr/Curation-Tasks/blob/6dbaca66be7b0d55bc5e0b551172ac5dc6006ab1/src/main/java/nz/ac/lconz/irr/curate/task/thesisembargo/FindAutolift.java Note that it expects three configuration settings via the curation task configuration mechanism (ie file in the config/module directory with name taskname.cfg where taskname matches the name of this task in curate.cfg): recipients - comma-separated list of recipients for the e-mail. If this is empty, the task can still be run from the command line or admin interface, it just won't e-mail. email.send-if-empty - whether to send an e-mail even when there are 0 such items. Default false. template - name of the e-mail template. Default "autolift_items_email". The e-mail template can simply look like this: # Parameters: {0} curation task output Subject: Items with future policies The curation task reports the following result: {0} DSpace I hope this helps. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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 and mysql
Hi, On 18/02/15 12:53, Daniel G wrote: i need to change the postgresql to mysql on dspace 5 DSpace officially supports only PostgreSQL and Oracle DB https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-RelationalDatabase:%28PostgreSQLorOracle%29 While it may be possible to make DSpace work with MySQL, this would require major code changes. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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=190641631&iu=/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.0 XMLUI Display problem with Screenshot
Hi, On 12/02/15 02:16, Fausto Carvalho Marques Silva wrote: I had the same problem in my instalation, for me it was a proxy thing that generated a bad css in the the construction part of "mvn package" of Mirage 2. It was resolved by setting Bower and Npm proxy variables. Would you mind sharing how you set those? Then we can update the official documentation, to hopefully help the next person with the same issue. https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-ThebuildprocessandenablingMirage2 cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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 on server 2012 R2
Hi, there are instructions for deploying the web apps here: https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-Installation step 10. I don't know whether you can deploy the solr webapp via the tomcat application manager. cheers, Andrea On 06/02/15 10:28, Goran Ivaz wrote: I deployed web.xml only. But I am unable to start solr…. FAIL - Application at context path /solr could not be started FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [/solr] Any suggestions ? Thanks From: Andrea Schweer [mailto:schw...@waikato.ac.nz] Sent: Wednesday, February 04, 2015 4:55 PM To: Goran Ivaz; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace 5 on server 2012 R2 Hi, On 05/02/15 12:21, Goran Ivaz wrote: If I only want to use the /xmlui interface in Tomcat 8 which other webapp must I add/deploy to Tomcat. So far I added only the xmlui webapp and it seems OK. Do I need to deploy any other webapps from the DSPace directory ? Assuming you're using the default settings, you will also need the solr webapp (for search, browse, recently added lists, facets and usage statistics). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-838 4466 ext. 6972 -- 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] R: R: R: Mirage 2
Hi, in your attachment, I see this just before it starts to complain: EACCES EACCES, mkdir '/tmp/dspace/bower' [INFO] [INFO] Stack trace: [INFO] Error: EACCES, mkdir '/tmp/dspace/bower' [INFO] That looks like a permissions problem to me. Ensure that the dspace user has permission to write to /tmp/dspace and try again, does it work then? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] R: R: Mirage 2
Hi Massimiliano, We tried to do mvn with not root user as DSPACE but we have the same > problem. > > We have changed the git too but for now we haven’t solved the problem. > What error messages are you getting -- anything useful from the maven step? cheers, Andrea -- 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 on server 2012 R2
Hi, On 05/02/15 12:21, Goran Ivaz wrote: If I only want to use the /xmlui interface in Tomcat 8 which other webapp must I add/deploy to Tomcat. So far I added only the xmlui webapp and it seems OK. Do I need to deploy any other webapps from the DSPace directory ? Assuming you're using the default settings, you will also need the solr webapp (for search, browse, recently added lists, facets and usage statistics). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] R: R: Mirage 2
Hi Sean, On 03/02/15 20:38, Sean Carte wrote: On 3 February 2015 at 07:23, Sean Carte <sean.ca...@gmail.com> wrote: Yes, I did (see above). I'll try again with a fresh download and see if that makes any difference. Well, it seems the problem is me. (Was there ever any doubt?) I had changed the git config, but I did it as root instead of dspace, so that had no effect on the mvn build process. I ran the git config command as the dspace user and was able to build Mirage 2 without errors. Perfect, glad to hear you got it working and thanks for letting us know what the problem was. I've updated the official DSpace documentation to clarify that it needs to be the same user account as used for the maven step. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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] R: R: Mirage 2
Hi Sean, On 02/02/15 19:19, Sean Carte wrote: On 2 February 2015 at 06:31, Andrea Schweer <schw...@waikato.ac.nz> wrote: On 31/01/15 00:19, Sean Carte wrote: For what it's worth, I've got the same error and I'm running mvn as the dspace user. I suspect the problem is due to the firewall here. Following Andrea's suggestion of changing git to use https did allow maven to download more things, but still not enough. Are you getting any error messages during the maven build step? If not, is there a way you might be able to get a list of denied outgoing access attempts from your firewall? I'm assuming you're allowing outgoing https access to github and maven central / wherever else you're getting your maven artifacts from. Unfortunately it's the institutional firewall and I don't have access to those logs. The other themes work, just not Mirage 2. Rerunning mvn with a close eye on the output, this doesn't look too healthy: [INFO] bower datatables#1.10.3 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/DataTables/DataTables.git", exit code of #128 Did you run the git config change that I put on the wiki? This is the exact error message I got, and forcing git to use https rather than the git protocol fixed the problem for me (also a firewall issue). git config --global url."https://github.com/".insteadOf git://github.com/ see https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- 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