[dspace-tech] RE: messages.xml not loaded

2017-11-22 Thread Grant Jackson
Hi again, This also seems to occur sometimes when navigating into a community, collection, item, Show simple item record, etc. The cocoon log lines leading into the 49 "not loaded" lines are related to cache hit/miss as shown below. 2017-11-23 10:08:31,558 INFO

Re: [dspace-tech] PostgreSQL Queries for DSpace 6.2

2017-11-22 Thread Stacy Pennington
Thanks, Tim. Those are some very useful DB functions for making it much easier to query DSpace's very normalized and efficient table definitions. I'll definitely build my custom queries around those helper functions. Stacy On Wednesday, November 22, 2017 at 10:11:52 AM UTC-6, Tim Donohue

Re: [dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Terry Brady
I recommend adding a link to a custom javascript file here. https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace- xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L130 Mirage2 compiles all of the javascript into a single file for efficiency. Since my custom javascript is small, I

Re: [dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Tom Avino
Terry, It doesn't matter if I do this in Javascript or xsl. I am not sure where to put the javascript code. I can put in the code I sent, and it works, but I only need it to show up the first time, and only once. When I put it in the page-structure.xsl, it shows up on every page. I guess I am

Re: [dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Terry Brady
If you want to resolve the issue in XSL (vs JavaScript), I recommend that you override this template and place your alert in a similar location. https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L759-L762 On Wed, Nov 22, 2017 at

Re: [dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Tom Avino
We are running Dspace 5.5 XMLUI using Mirage 2 UI. It is a gov't requirement that we display a screen that the user must accept before allowing them access to the homepage. Thanks On Wednesday, November 22, 2017 at 10:58:31 AM UTC-5, Terry Brady wrote: > > Since this message does not display

Re: [dspace-tech] Re: New eperson metadata field in register form

2017-11-22 Thread Tim Donohue
Hi Karol, You will need to modify the code behind the Eperson registration form in order to enable this new field in the User Interface. At this time, this registration form is hardcoded within DSpace, so simply updating the eperson-types.xml will not automatically update the registration form.

Re: [dspace-tech] Bitstream IDs when migrating 5.6 to 6.2

2017-11-22 Thread Tim Donohue
Hi Evgeni, The old and new IDs can be found in the "bitstream" table in the database (see the "bitstream_id" and "uuid" columns for the old and new IDs respectively). New bitstreams will *not* receive an old ID however, which is why the URLs now only utilize the new UUIDs. Handles are preserved

Re: [dspace-tech] PostgreSQL Queries for DSpace 6.2

2017-11-22 Thread Tim Donohue
Hi Stacy, Just as a quick FYI, some "helper SQL functions" have been gathered on the wiki at: https://wiki.duraspace.org/display/DSPACE/Helper+SQL+functions+for+DSpace+6 These functions make querying the DSpace 6 database a bit easier (see examples on that page). - Tim On Thu, Nov 16, 2017 at

Re: [dspace-tech] Rebuilding Solr Statistics from Source

2017-11-22 Thread Terry Brady
Statistics are not stored in the database. Since DSpace 4, those records are only stored in solr. I do not know the nature of your corrupted index. The following commands will export/import/export+import statistics records to the file system. - solr-export-statistics: Export usage statistics

Re: [dspace-tech] Is there *no* documentation for "traditional" workflow states?

2017-11-22 Thread Tim Donohue
Hi Mark, There is some additional documentation on "traditional" workflow states in the "Functional Overview" section near the beginning of the documentation (including a flow diagram). But, you are correct, there is no separate section specific to traditional workflow.

Re: [dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Terry Brady
Since this message does not display any repository content, I would recommend that you add it to the page with javaScript/jQuery. You could also add it in through the UI code. Which Version/UI/theme are you running? For inspiration of where to add the message, you could activate a system alert

Re: [dspace-tech] dspace 6.1 delete community foreignkey-constraint community2community_child_comm_id_fkey

2017-11-22 Thread Terry Brady
This does not directly answer your question, but it might be helpful. I sign into the UI as a repository administrator when I want to delete communities, collections, and items. The code handles all of the dependencies when deleting. On Wed, Nov 22, 2017 at 6:19 AM, Paul Warner

[dspace-tech] Re: Reindex SOLR Stats (only necessary if upgrading from 4.x or below)

2017-11-22 Thread Mark H. Wood
On Wednesday, November 22, 2017 at 6:07:50 AM UTC-5, Lewatle Johannes Phaladi wrote: > > Hi All, > > I am running the following command without yielding any results, I just > executed commanf without getting any results, please help. > > -bash-4.2$ ls > buildpath.bat dspace.bat

[dspace-tech] Dspace 5 Startup .xsl code

2017-11-22 Thread Tom Avino
I am trying to insert a "Warning Box" to display an acknowledgment screen at the startup of Dspace. I am struggling where to place the code By accessing and using this information system, you acknowledge and consent to the following:

[dspace-tech] Is there *no* documentation for "traditional" workflow states?

2017-11-22 Thread Mark H. Wood
While trying to answer a question, I've spent half an hour rummaging through thinly-documented code and the manual, but I can't find anything that will tell me the meanings of the workflow states STEP_1, STEP_2, and STEP_3. What did I miss? The closest I came to *any* mention of "traditional"

[dspace-tech] dspace 6.1 delete community foreignkey-constraint community2community_child_comm_id_fkey

2017-11-22 Thread Paul Warner
Hi all, I am running DSpace 6.1 on Suse. I have tried to delete a community I just created, since I found a different way to solve my organization problem. I got an error that the update or delete in the table 'community' violates foreignkey-constraint

[dspace-tech] Reindex SOLR Stats (only necessary if upgrading from 4.x or below)

2017-11-22 Thread Lewatle Johannes Phaladi
Hi All, I am running the following command without yielding any results, I just executed commanf without getting any results, please help. -bash-4.2$ ls buildpath.bat dspace.bat log-reporterstart-handle-server dspace dspace-info.pl make-handle-config

Re: [dspace-tech] Rebuilding Solr Statistics from Source

2017-11-22 Thread Adan
Hi Hayden try to repair and optimice the solr index using luke (https://github.com/DmitryKey/luke/releases) and then try to use it with DSpace Regards Adán We have inherited a DSpace instance with a corrupt Solr index. We have rebuilt the Solr Search and OAI. How is the Solr statistics