Add notes for 2016-12-18

This commit is contained in:
Alan Orth 2016-12-18 12:00:09 +02:00
parent 03a0a901e3
commit 0834e75388
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
5 changed files with 184 additions and 1 deletions

View File

@ -595,3 +595,38 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb
![Select all items with "rangelands" in metadata](2016/12/batch-edit1.png)
![Add RANGELANDS ILRI subject](2016/12/batch-edit2.png)
## 2016-12-18
- Add four new CRP subjects for 2017 and sort the input forms alphabetically ([#294](https://github.com/ilri/DSpace/pull/294))
- Test the SMTP on the new server and it's working
- Last week, when we asked CGNET to update the DNS records this weekend, they misunderstood and did it immediately
- We quickly told them to undo it, but I just realized they didn't undo the IPv6 AAAA record!
- None of our users in African institutes will have IPv6, but some Europeans might, so I need to check if any submissions have been added since then
- Update some names and authorities in the database:
```
dspace=# update metadatavalue set authority='5ff35043-942e-4d0a-b377-4daed6e3c1a3', confidence=600, text_value='Duncan, Alan' where resource_type_id=2 and metadata_field_id=3 and text_value ~ '^.*Duncan,? A.*';
UPDATE 204
dspace=# update metadatavalue set authority='46804b53-ea30-4a85-9ccf-b79a35816fa9', confidence=600, text_value='Mekonnen, Kindu' where resource_type_id=2 and metadata_field_id=3 and text_value like '%Mekonnen, K%';
UPDATE 89
dspace=# update metadatavalue set authority='f840da02-26e7-4a74-b7ba-3e2b723f3684', confidence=600, text_value='Lukuyu, Ben A.' where resource_type_id=2 and metadata_field_id=3 and text_value like '%Lukuyu, B%';
UPDATE 140
```
- Generated a new UUID for Ben using `uuidgen | tr [A-Z] [a-z]` as the one in Solr had his ORCID but the name format was incorrect
- In theory DSpace should be able to check names from ORCID and update the records in the database, but I find that this doesn't work (see Jira bug [DS-3302](https://jira.duraspace.org/browse/DS-3302))
- I need to run these updates along with the other one for CIAT that I found last week
- Enable OCSP stapling for hosts >= Ubuntu 16.04 in our Ansible playbooks ([#76](https://github.com/ilri/rmg-ansible-public/pull/76))
- Working for DSpace Test on the second response:
```
$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP response: no response sent
$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP Response Data:
...
Cert Status: good
```

View File

@ -30,7 +30,7 @@
<meta itemprop="dateModified" content="2016-12-02T10:43:00&#43;03:00" />
<meta itemprop="wordCount" content="3423">
<meta itemprop="wordCount" content="3706">
@ -752,6 +752,43 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb
<p><img src="2016/12/batch-edit1.png" alt="Select all items with &quot;rangelands&quot; in metadata" />
<img src="2016/12/batch-edit2.png" alt="Add RANGELANDS ILRI subject" /></p>
<h2 id="2016-12-18">2016-12-18</h2>
<ul>
<li>Add four new CRP subjects for 2017 and sort the input forms alphabetically (<a href="https://github.com/ilri/DSpace/pull/294">#294</a>)</li>
<li>Test the SMTP on the new server and it&rsquo;s working</li>
<li>Last week, when we asked CGNET to update the DNS records this weekend, they misunderstood and did it immediately</li>
<li>We quickly told them to undo it, but I just realized they didn&rsquo;t undo the IPv6 AAAA record!</li>
<li>None of our users in African institutes will have IPv6, but some Europeans might, so I need to check if any submissions have been added since then</li>
<li>Update some names and authorities in the database:</li>
</ul>
<pre><code>dspace=# update metadatavalue set authority='5ff35043-942e-4d0a-b377-4daed6e3c1a3', confidence=600, text_value='Duncan, Alan' where resource_type_id=2 and metadata_field_id=3 and text_value ~ '^.*Duncan,? A.*';
UPDATE 204
dspace=# update metadatavalue set authority='46804b53-ea30-4a85-9ccf-b79a35816fa9', confidence=600, text_value='Mekonnen, Kindu' where resource_type_id=2 and metadata_field_id=3 and text_value like '%Mekonnen, K%';
UPDATE 89
dspace=# update metadatavalue set authority='f840da02-26e7-4a74-b7ba-3e2b723f3684', confidence=600, text_value='Lukuyu, Ben A.' where resource_type_id=2 and metadata_field_id=3 and text_value like '%Lukuyu, B%';
UPDATE 140
</code></pre>
<ul>
<li>Generated a new UUID for Ben using <code>uuidgen | tr [A-Z] [a-z]</code> as the one in Solr had his ORCID but the name format was incorrect</li>
<li>In theory DSpace should be able to check names from ORCID and update the records in the database, but I find that this doesn&rsquo;t work (see Jira bug <a href="https://jira.duraspace.org/browse/DS-3302">DS-3302</a>)</li>
<li>I need to run these updates along with the other one for CIAT that I found last week</li>
<li>Enable OCSP stapling for hosts &gt;= Ubuntu 16.04 in our Ansible playbooks (<a href="https://github.com/ilri/rmg-ansible-public/pull/76">#76</a>)</li>
<li>Working for DSpace Test on the second response:</li>
</ul>
<pre><code>$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP response: no response sent
$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP Response Data:
...
Cert Status: good
</code></pre>

View File

@ -655,6 +655,43 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb
&lt;p&gt;&lt;img src=&#34;2016/12/batch-edit1.png&#34; alt=&#34;Select all items with &amp;quot;rangelands&amp;quot; in metadata&#34; /&gt;
&lt;img src=&#34;2016/12/batch-edit2.png&#34; alt=&#34;Add RANGELANDS ILRI subject&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;2016-12-18&#34;&gt;2016-12-18&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Add four new CRP subjects for 2017 and sort the input forms alphabetically (&lt;a href=&#34;https://github.com/ilri/DSpace/pull/294&#34;&gt;#294&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Test the SMTP on the new server and it&amp;rsquo;s working&lt;/li&gt;
&lt;li&gt;Last week, when we asked CGNET to update the DNS records this weekend, they misunderstood and did it immediately&lt;/li&gt;
&lt;li&gt;We quickly told them to undo it, but I just realized they didn&amp;rsquo;t undo the IPv6 AAAA record!&lt;/li&gt;
&lt;li&gt;None of our users in African institutes will have IPv6, but some Europeans might, so I need to check if any submissions have been added since then&lt;/li&gt;
&lt;li&gt;Update some names and authorities in the database:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set authority=&#39;5ff35043-942e-4d0a-b377-4daed6e3c1a3&#39;, confidence=600, text_value=&#39;Duncan, Alan&#39; where resource_type_id=2 and metadata_field_id=3 and text_value ~ &#39;^.*Duncan,? A.*&#39;;
UPDATE 204
dspace=# update metadatavalue set authority=&#39;46804b53-ea30-4a85-9ccf-b79a35816fa9&#39;, confidence=600, text_value=&#39;Mekonnen, Kindu&#39; where resource_type_id=2 and metadata_field_id=3 and text_value like &#39;%Mekonnen, K%&#39;;
UPDATE 89
dspace=# update metadatavalue set authority=&#39;f840da02-26e7-4a74-b7ba-3e2b723f3684&#39;, confidence=600, text_value=&#39;Lukuyu, Ben A.&#39; where resource_type_id=2 and metadata_field_id=3 and text_value like &#39;%Lukuyu, B%&#39;;
UPDATE 140
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Generated a new UUID for Ben using &lt;code&gt;uuidgen | tr [A-Z] [a-z]&lt;/code&gt; as the one in Solr had his ORCID but the name format was incorrect&lt;/li&gt;
&lt;li&gt;In theory DSpace should be able to check names from ORCID and update the records in the database, but I find that this doesn&amp;rsquo;t work (see Jira bug &lt;a href=&#34;https://jira.duraspace.org/browse/DS-3302&#34;&gt;DS-3302&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;I need to run these updates along with the other one for CIAT that I found last week&lt;/li&gt;
&lt;li&gt;Enable OCSP stapling for hosts &amp;gt;= Ubuntu 16.04 in our Ansible playbooks (&lt;a href=&#34;https://github.com/ilri/rmg-ansible-public/pull/76&#34;&gt;#76&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Working for DSpace Test on the second response:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP response: no response sent
$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP Response Data:
...
Cert Status: good
&lt;/code&gt;&lt;/pre&gt;
</description>
</item>

View File

@ -655,6 +655,43 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb
&lt;p&gt;&lt;img src=&#34;2016/12/batch-edit1.png&#34; alt=&#34;Select all items with &amp;quot;rangelands&amp;quot; in metadata&#34; /&gt;
&lt;img src=&#34;2016/12/batch-edit2.png&#34; alt=&#34;Add RANGELANDS ILRI subject&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;2016-12-18&#34;&gt;2016-12-18&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Add four new CRP subjects for 2017 and sort the input forms alphabetically (&lt;a href=&#34;https://github.com/ilri/DSpace/pull/294&#34;&gt;#294&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Test the SMTP on the new server and it&amp;rsquo;s working&lt;/li&gt;
&lt;li&gt;Last week, when we asked CGNET to update the DNS records this weekend, they misunderstood and did it immediately&lt;/li&gt;
&lt;li&gt;We quickly told them to undo it, but I just realized they didn&amp;rsquo;t undo the IPv6 AAAA record!&lt;/li&gt;
&lt;li&gt;None of our users in African institutes will have IPv6, but some Europeans might, so I need to check if any submissions have been added since then&lt;/li&gt;
&lt;li&gt;Update some names and authorities in the database:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set authority=&#39;5ff35043-942e-4d0a-b377-4daed6e3c1a3&#39;, confidence=600, text_value=&#39;Duncan, Alan&#39; where resource_type_id=2 and metadata_field_id=3 and text_value ~ &#39;^.*Duncan,? A.*&#39;;
UPDATE 204
dspace=# update metadatavalue set authority=&#39;46804b53-ea30-4a85-9ccf-b79a35816fa9&#39;, confidence=600, text_value=&#39;Mekonnen, Kindu&#39; where resource_type_id=2 and metadata_field_id=3 and text_value like &#39;%Mekonnen, K%&#39;;
UPDATE 89
dspace=# update metadatavalue set authority=&#39;f840da02-26e7-4a74-b7ba-3e2b723f3684&#39;, confidence=600, text_value=&#39;Lukuyu, Ben A.&#39; where resource_type_id=2 and metadata_field_id=3 and text_value like &#39;%Lukuyu, B%&#39;;
UPDATE 140
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Generated a new UUID for Ben using &lt;code&gt;uuidgen | tr [A-Z] [a-z]&lt;/code&gt; as the one in Solr had his ORCID but the name format was incorrect&lt;/li&gt;
&lt;li&gt;In theory DSpace should be able to check names from ORCID and update the records in the database, but I find that this doesn&amp;rsquo;t work (see Jira bug &lt;a href=&#34;https://jira.duraspace.org/browse/DS-3302&#34;&gt;DS-3302&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;I need to run these updates along with the other one for CIAT that I found last week&lt;/li&gt;
&lt;li&gt;Enable OCSP stapling for hosts &amp;gt;= Ubuntu 16.04 in our Ansible playbooks (&lt;a href=&#34;https://github.com/ilri/rmg-ansible-public/pull/76&#34;&gt;#76&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Working for DSpace Test on the second response:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP response: no response sent
$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP Response Data:
...
Cert Status: good
&lt;/code&gt;&lt;/pre&gt;
</description>
</item>

View File

@ -654,6 +654,43 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb
&lt;p&gt;&lt;img src=&#34;2016/12/batch-edit1.png&#34; alt=&#34;Select all items with &amp;quot;rangelands&amp;quot; in metadata&#34; /&gt;
&lt;img src=&#34;2016/12/batch-edit2.png&#34; alt=&#34;Add RANGELANDS ILRI subject&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;2016-12-18&#34;&gt;2016-12-18&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Add four new CRP subjects for 2017 and sort the input forms alphabetically (&lt;a href=&#34;https://github.com/ilri/DSpace/pull/294&#34;&gt;#294&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Test the SMTP on the new server and it&amp;rsquo;s working&lt;/li&gt;
&lt;li&gt;Last week, when we asked CGNET to update the DNS records this weekend, they misunderstood and did it immediately&lt;/li&gt;
&lt;li&gt;We quickly told them to undo it, but I just realized they didn&amp;rsquo;t undo the IPv6 AAAA record!&lt;/li&gt;
&lt;li&gt;None of our users in African institutes will have IPv6, but some Europeans might, so I need to check if any submissions have been added since then&lt;/li&gt;
&lt;li&gt;Update some names and authorities in the database:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set authority=&#39;5ff35043-942e-4d0a-b377-4daed6e3c1a3&#39;, confidence=600, text_value=&#39;Duncan, Alan&#39; where resource_type_id=2 and metadata_field_id=3 and text_value ~ &#39;^.*Duncan,? A.*&#39;;
UPDATE 204
dspace=# update metadatavalue set authority=&#39;46804b53-ea30-4a85-9ccf-b79a35816fa9&#39;, confidence=600, text_value=&#39;Mekonnen, Kindu&#39; where resource_type_id=2 and metadata_field_id=3 and text_value like &#39;%Mekonnen, K%&#39;;
UPDATE 89
dspace=# update metadatavalue set authority=&#39;f840da02-26e7-4a74-b7ba-3e2b723f3684&#39;, confidence=600, text_value=&#39;Lukuyu, Ben A.&#39; where resource_type_id=2 and metadata_field_id=3 and text_value like &#39;%Lukuyu, B%&#39;;
UPDATE 140
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Generated a new UUID for Ben using &lt;code&gt;uuidgen | tr [A-Z] [a-z]&lt;/code&gt; as the one in Solr had his ORCID but the name format was incorrect&lt;/li&gt;
&lt;li&gt;In theory DSpace should be able to check names from ORCID and update the records in the database, but I find that this doesn&amp;rsquo;t work (see Jira bug &lt;a href=&#34;https://jira.duraspace.org/browse/DS-3302&#34;&gt;DS-3302&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;I need to run these updates along with the other one for CIAT that I found last week&lt;/li&gt;
&lt;li&gt;Enable OCSP stapling for hosts &amp;gt;= Ubuntu 16.04 in our Ansible playbooks (&lt;a href=&#34;https://github.com/ilri/rmg-ansible-public/pull/76&#34;&gt;#76&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Working for DSpace Test on the second response:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP response: no response sent
$ openssl s_client -connect dspacetest.cgiar.org:443 -servername dspacetest.cgiar.org -tls1_2 -tlsextdebug -status
...
OCSP Response Data:
...
Cert Status: good
&lt;/code&gt;&lt;/pre&gt;
</description>
</item>