Re: [Dspace-tech] SSH Tunnelling with PuTTY for Solr

2013-12-10 Thread helix84
On Tue, Dec 10, 2013 at 5:58 AM, David Cook dc...@prosentient.com.au wrote: I’m happy to change this on the wiki, but I wanted to double-check to see if there was some protocol for changing wiki pages that I should take into account. Hi David, thanks for figuring it out. Feel free to improve

[Dspace-tech] Upgrade 1.8.2 to 3.2 update.

2013-12-10 Thread Hilton Gibson
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Practical_guidelines_for_starting_an_institutional_repository_(IR) ​Hi All I have upgraded our test system from 1.8.2 to 3.2 successfully. The big items to watch out for are: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Embargo_Systems

[Dspace-tech] Error when adding a new bitstream format

2013-12-10 Thread Anthony Petryk
Hello, We're getting the following error when attempting to add a new bitstream format: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint bitstreamformatregistry_pkey I checked BitstreamFormat.java and DatabaseManager.java and couldn't see any obvious

Re: [Dspace-tech] Error when adding a new bitstream format

2013-12-10 Thread helix84
On Tue, Dec 10, 2013 at 3:52 PM, Anthony Petryk anthony.pet...@uottawa.ca wrote: Is there a fix for this? I could update the database manually but would prefer that it worked via the web UI. We’re on version 1.8.2. Hi Anthony, run [dspace]/etc/postgres/update-sequences.sql (using the psql

Re: [Dspace-tech] Error when adding a new bitstream format

2013-12-10 Thread Anthony Petryk
Perfect - thanks very much. Anthony -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Tuesday, December 10, 2013 10:32 AM To: Anthony Petryk Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Error when adding a new

[Dspace-tech] update-handle-prefix broken?

2013-12-10 Thread Bill Tantzen
Or am I misunderstanding something? In UpdateHandlePrefix.java: sql = update handle set handle = ' + newH + ' || '/' || handle_id + where handle like ' + oldH + /%'; shouldn't this be set handle = ' + newH + ' || '/' || handle What do you think? Bill

Re: [Dspace-tech] update-handle-prefix broken?

2013-12-10 Thread Brian Freels-Stendel
I'm thinking maybe: set handle = ' + newH + ' || SUBSTRING(handle from POSITION('/' in handle)) from handle I've seen more than a few people on the newsgroups (and we're in the same boat) who have changed the handle suffix so that it doesn't necessarily correspond to the handle_id anymore. I

Re: [Dspace-tech] update-handle-prefix broken?

2013-12-10 Thread Brian Freels-Stendel
Upon trying to verify the statement, it looks like postgresql will allow: update handle set handle = 'NewH' || SUBSTRING(handle from POSITION('/' in handle)) where handle like 'OldH/%' So the new code would be: sql = update handle set handle = ' + newH + ' || SUBSTRING(handle

Re: [Dspace-tech] Hit-highlighting disappeared

2013-12-10 Thread Ioannis Damastianos Panagis
Hi helix84, Hat off to you! My many reckless efforts with updating mirage had resulted in overwriting the discovery settings... A careful rebuilding solved everything and now discovery works and so does hit highlighting... All the best /Yannis -Original Message- From: