[dspace-tech] Re: Auto populating a field with MIME types and/or file extensions pulled from 'provenance'?

2019-01-30 Thread tuf04742
Andrea- This is so helpful. Thank you!! -Gabe On Monday, January 28, 2019 at 3:48:24 PM UTC-5, tuf0...@temple.edu wrote: > > Group- > > At my institution we're interested in populating a field with file > extensions pulled from the automatically generated 'provenance' data. If > possible

Re: [dspace-tech] Re: Auto populating a field with MIME types and/or file extensions pulled from 'provenance'?

2019-01-30 Thread Andrea Schweer
Hi Gabe, you'd just need to extend the code I shared to add the extension metadata instead / in addition to the mimetype. So something very similar to the getBitstreamFormats method ( https://github.com/lconz-irr/Curation-Tasks/blob/master/src/main/java/nz/ac/lconz/irr/curate/task/AnnotateWithBits

Re: [dspace-tech] Problems using pg_restore to populate repository db

2019-01-30 Thread Andrea Schweer
Hi Kev, rebuilding the discovery index (and the oai index if you use oai) should absolutely be your next step - we do the pg_dump/pg_restore and assetstore rsync regularly to refresh test server data from production, so that part of your process looks ok. cheers, Andrea On Thu, 31 Jan 2019 at 10

[dspace-tech] Re: Auto populating a field with MIME types and/or file extensions pulled from 'provenance'?

2019-01-30 Thread tuf04742
Andrea- We're interested in a way to pull out just the file extension from the auto-generated field you've mentioned and put it programmatically in another field. Do you know of a way to do this? Thank you so much for the help you've already provided! -Gabe On Monday, January 28, 2019 at

[dspace-tech] Problems using pg_restore to populate repository db

2019-01-30 Thread Kev Evans
Hi, After having problems using AIP packages to export an entire site I am rsyncing the assetstore and using pg_dump and pg_restore. I have restored the dump into an existing database but even though it completes successfully. I see nothing new in the repository apart from the initial Test c

[dspace-tech] Mirage 2

2019-01-30 Thread Chin U. Kim
Hello all, Having trouble building Mirage 2 theme. Error below. Maven 3.5 Dspace 6.2 linux and Java 1.9.0_191 [ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:

[dspace-tech] drupal and my publications widget

2019-01-30 Thread Mcmanus, Molly S CIV USARMY CEERD (US)
Does anyone have any experience using the My Publications widget or another method to bring dpsace metadata (list of publications by a certain author) into drupal? It seems like there have been a few projects in that direction, but I'm unclear if any of them were completed yet. https://wiki.dura

[dspace-tech] Re: migrate dspace database

2019-01-30 Thread Mark H. Wood
On Wednesday, January 30, 2019 at 5:42:27 AM UTC-5, Massimiliano CILURZO wrote: > > We have 2 server one with dspace 5.6 and one with dspace 6.0. Each > server have a postgres DB. > We would like to migrate all items from the dspace 5.6 to the dspace 6.0 > server. > I can simply export the dat

[dspace-tech] migrate dspace database

2019-01-30 Thread Massimiliano CILURZO
Dear all, We have 2 server one with dspace 5.6 and one with dspace 6.0. Each server have a postgres DB. We would like to migrate all items from the dspace 5.6 to the dspace 6.0 server. I can simply export the data from one DB to the other? This is not an upgrade so I wonder which steps I have