mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2019-05-05
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="June, 2017"/>
|
||||
<meta name="twitter:description" content="2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg."/>
|
||||
<meta name="generator" content="Hugo 0.55.3" />
|
||||
<meta name="generator" content="Hugo 0.55.5" />
|
||||
|
||||
|
||||
|
||||
@ -148,16 +148,17 @@
|
||||
<li>Command like: <code>$ gs -dNOPAUSE -dBATCH -dFirstPage=14 -dLastPage=27 -sDEVICE=pdfwrite -sOutputFile=beans.pdf -f 12605-1.pdf</code></li>
|
||||
</ul></li>
|
||||
<li>17 of the items have issues with incorrect page number ranges, and upon closer inspection they do not appear in the referenced PDF</li>
|
||||
<li>I’ve flagged them and proceeded without them (752 total) on DSpace Test:</li>
|
||||
</ul>
|
||||
|
||||
<li><p>I’ve flagged them and proceeded without them (752 total) on DSpace Test:</p>
|
||||
|
||||
<pre><code>$ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/93843 --source /home/aorth/src/CIAT-Books/SimpleArchiveFormat/ --mapfile=/tmp/ciat-books.map &> /tmp/ciat-books.log
|
||||
</code></pre>
|
||||
</code></pre></li>
|
||||
|
||||
<ul>
|
||||
<li>I went and did some basic sanity checks on the remaining items in the CIAT Book Chapters and decided they are mostly fine (except one duplicate and the flagged ones), so I imported them to DSpace Test too (162 items)</li>
|
||||
<li>Total items in CIAT Book Chapters is 914, with the others being flagged for some reason, and we should send that back to CIAT</li>
|
||||
<li>Restart Tomcat on CGSpace so that the <code>cg.identifier.wletheme</code> field is available on REST API for Macaroni Bros</li>
|
||||
<li><p>I went and did some basic sanity checks on the remaining items in the CIAT Book Chapters and decided they are mostly fine (except one duplicate and the flagged ones), so I imported them to DSpace Test too (162 items)</p></li>
|
||||
|
||||
<li><p>Total items in CIAT Book Chapters is 914, with the others being flagged for some reason, and we should send that back to CIAT</p></li>
|
||||
|
||||
<li><p>Restart Tomcat on CGSpace so that the <code>cg.identifier.wletheme</code> field is available on REST API for Macaroni Bros</p></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2017-06-07">2017-06-07</h2>
|
||||
@ -167,8 +168,8 @@
|
||||
<li>Still doesn’t seem to give results I’d expect, like there are no results for Maria Garruccio, or for the ILRI community!</li>
|
||||
<li>Then I’ll file an update to the issue on Atmire’s tracker</li>
|
||||
<li>Created a new branch with just the relevant changes, so I can send it to them</li>
|
||||
<li>One thing I noticed is that there is a failed database migration related to CUA:</li>
|
||||
</ul>
|
||||
|
||||
<li><p>One thing I noticed is that there is a failed database migration related to CUA:</p>
|
||||
|
||||
<pre><code>+----------------+----------------------------+---------------------+---------+
|
||||
| Version | Description | Installed on | State |
|
||||
@ -194,10 +195,9 @@
|
||||
| 5.5.2015.12.03 | Atmire MQM migration | 2016-11-27 06:39:06 | OutOrde |
|
||||
| 5.6.2016.08.08 | CUA emailreport migration | 2017-01-29 11:18:56 | OutOrde |
|
||||
+----------------+----------------------------+---------------------+---------+
|
||||
</code></pre>
|
||||
</code></pre></li>
|
||||
|
||||
<ul>
|
||||
<li>Merge the pull request for <a href="https://github.com/ilri/DSpace/pull/328">WLE Phase II themes</a></li>
|
||||
<li><p>Merge the pull request for <a href="https://github.com/ilri/DSpace/pull/328">WLE Phase II themes</a></p></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2017-06-18">2017-06-18</h2>
|
||||
@ -220,53 +220,56 @@
|
||||
<li><code>replace(value,/<\/?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s*)\/?>/,'')</code></li>
|
||||
<li><code>value.unescape("html").unescape("xml")</code></li>
|
||||
</ul></li>
|
||||
<li>Finally import 914 CIAT Book Chapters to CGSpace in two batches:</li>
|
||||
</ul>
|
||||
|
||||
<li><p>Finally import 914 CIAT Book Chapters to CGSpace in two batches:</p>
|
||||
|
||||
<pre><code>$ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/35701 --source /home/aorth/CIAT-Books/SimpleArchiveFormat/ --mapfile=/tmp/ciat-books.map &> /tmp/ciat-books.log
|
||||
$ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/35701 --source /home/aorth/CIAT-Books/SimpleArchiveFormat/ --mapfile=/tmp/ciat-books2.map &> /tmp/ciat-books2.log
|
||||
</code></pre>
|
||||
</code></pre></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2017-06-25">2017-06-25</h2>
|
||||
|
||||
<ul>
|
||||
<li>WLE has said that one of their Phase II research themes is being renamed from <code>Regenerating Degraded Landscapes</code> to <code>Restoring Degraded Landscapes</code></li>
|
||||
<li>Pull request with the changes to <code>input-forms.xml</code>: <a href="https://github.com/ilri/DSpace/pull/329">#329</a></li>
|
||||
<li>As of now it doesn’t look like there are any items using this research theme so we don’t need to do any updates:</li>
|
||||
</ul>
|
||||
|
||||
<li><p>As of now it doesn’t look like there are any items using this research theme so we don’t need to do any updates:</p>
|
||||
|
||||
<pre><code>dspace=# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=237 and text_value like 'Regenerating Degraded Landscapes%';
|
||||
text_value
|
||||
text_value
|
||||
------------
|
||||
(0 rows)
|
||||
</code></pre>
|
||||
</code></pre></li>
|
||||
|
||||
<ul>
|
||||
<li>Marianne from WLE asked if they can have both Phase I and II research themes together in the item submission form</li>
|
||||
<li>Perhaps we can add them together in the same question for <code>cg.identifier.wletheme</code></li>
|
||||
<li><p>Marianne from WLE asked if they can have both Phase I and II research themes together in the item submission form</p></li>
|
||||
|
||||
<li><p>Perhaps we can add them together in the same question for <code>cg.identifier.wletheme</code></p></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2017-06-30">2017-06-30</h2>
|
||||
|
||||
<ul>
|
||||
<li>CGSpace went down briefly, I see lots of these errors in the dspace logs:</li>
|
||||
</ul>
|
||||
<li><p>CGSpace went down briefly, I see lots of these errors in the dspace logs:</p>
|
||||
|
||||
<pre><code>Java stacktrace: java.util.NoSuchElementException: Timeout waiting for idle object
|
||||
</code></pre>
|
||||
</code></pre></li>
|
||||
|
||||
<ul>
|
||||
<li>After looking at the Tomcat logs, Munin graphs, and PostgreSQL connection stats, it seems there is just a high load</li>
|
||||
<li>Might be a good time to adjust DSpace’s database connection settings, like I first mentioned in April, 2017 after reading the <a href="https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017">2017-04 DCAT comments</a></li>
|
||||
<li>I’ve adjusted the following in CGSpace’s config:
|
||||
<li><p>After looking at the Tomcat logs, Munin graphs, and PostgreSQL connection stats, it seems there is just a high load</p></li>
|
||||
|
||||
<li><p>Might be a good time to adjust DSpace’s database connection settings, like I first mentioned in April, 2017 after reading the <a href="https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017">2017-04 DCAT comments</a></p></li>
|
||||
|
||||
<li><p>I’ve adjusted the following in CGSpace’s config:</p>
|
||||
|
||||
<ul>
|
||||
<li><code>db.maxconnections</code> 30→70 (the default PostgreSQL config allows 100 connections, so DSpace’s default of 30 is quite low)</li>
|
||||
<li><code>db.maxwait</code> 5000→10000</li>
|
||||
<li><code>db.maxidle</code> 8→20 (DSpace default is -1, unlimited, but we had set it to 8 earlier)</li>
|
||||
</ul></li>
|
||||
<li>We will need to adjust this again (as well as the <code>pg_hba.conf</code> settings) when we deploy tsega’s REST API</li>
|
||||
<li>Whip up a test for Marianne of WLE to be able to show both their Phase I and II research themes in the CGSpace item submission form:</li>
|
||||
|
||||
<li><p>We will need to adjust this again (as well as the <code>pg_hba.conf</code> settings) when we deploy tsega’s REST API</p></li>
|
||||
|
||||
<li><p>Whip up a test for Marianne of WLE to be able to show both their Phase I and II research themes in the CGSpace item submission form:</p></li>
|
||||
</ul>
|
||||
|
||||
<p><img src="/cgspace-notes/2017/06/wle-theme-test-a.png" alt="Test A for displaying the Phase I and II research themes" />
|
||||
|
Reference in New Issue
Block a user