mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-10 17:15:46 +01:00
Add notes for 2021-05-17
This commit is contained in:
parent
51ce8b0cf4
commit
ab72780cf1
@ -282,5 +282,57 @@ $ elasticdump --input=/home/aorth/openrxv-items_data.json --output=http://localh
|
||||
|
||||
- Then I started a new harvest on AReS
|
||||
|
||||
## 2021-05-17
|
||||
|
||||
- The AReS harvest finished and the Elasticsearch indexes seem OK so I shouldn't have to fix them next time...
|
||||
|
||||
```console
|
||||
$ curl -s http://localhost:9200/_cat/indices | grep openrxv-items
|
||||
yellow open openrxv-items-temp o3ijJLcyTtGMOPeWpAJiVA 1 1 0 0 283b 283b
|
||||
yellow open openrxv-items-final TrJ1Ict3QZ-vFkj-4VcAzw 1 1 104317 0 259.4mb 259.4mb
|
||||
$ curl -s 'http://localhost:9200/_alias/' | python -m json.tool
|
||||
"openrxv-items-temp": {
|
||||
"aliases": {}
|
||||
},
|
||||
"openrxv-items-final": {
|
||||
"aliases": {
|
||||
"openrxv-items": {}
|
||||
}
|
||||
},
|
||||
...
|
||||
```
|
||||
|
||||
- Abenet said she and some others can't log into CGSpace
|
||||
- I tried to check the CGSpace LDAP account and it does seem to be not working:
|
||||
|
||||
```console
|
||||
$ ldapsearch -x -H ldaps://AZCGNEROOT2.CGIARAD.ORG:636/ -b "dc=cgiarad,dc=org" -D "cgspace-ldap@cgiarad.org" -W "(sAMAccountName=aorth)"
|
||||
Enter LDAP Password:
|
||||
ldap_bind: Invalid credentials (49)
|
||||
additional info: 80090308: LdapErr: DSID-0C090453, comment: AcceptSecurityContext error, data 532, v3839
|
||||
```
|
||||
|
||||
- I sent a message to Biruk so he can check the LDAP account
|
||||
- IWMI confirmed that they do indeed want to move all their subjects to AGROVOC, so I made the changes in the XMLUI and config ([#467](https://github.com/ilri/DSpace/pull/467))
|
||||
- Then I used the `migrate-fields.sh` script to move them (46,000 metadata entries!)
|
||||
- I tested Abdullah's latest pull request to add clickable filters to AReS and I think it works
|
||||
- I had some issues with my local AReS installation so I was only able to do limited testing...
|
||||
- I will have to wait until I have more time to test before I can merge that
|
||||
- CCAFS asked me to add eight more phase II project tags to the CGSpace input form
|
||||
- I extracted the existing ones using xmllint, added the new ones, sorted them, and then replaced them in `input-forms.xml`:
|
||||
|
||||
```console
|
||||
$ xmllint --xpath '//value-pairs[@value-pairs-name="ccafsprojectpii"]/pair/stored-value/node()' dspace/config/input-forms.xml
|
||||
```
|
||||
|
||||
- I formatted the input file with tidy, especially because one of the new project tags has an ampersand character... grrr:
|
||||
|
||||
```console
|
||||
$ tidy -xml -utf8 -m -iq -w 0 dspace/config/input-forms.xml
|
||||
line 3658 column 26 - Warning: unescaped & or unknown entity "&WA_EU-IFAD"
|
||||
line 3659 column 23 - Warning: unescaped & or unknown entity "&WA_EU-IFAD"
|
||||
```
|
||||
|
||||
- After testing whether this escaped value worked during submission, I created and merged a pull request to `6_x-prod` ([#468](https://github.com/ilri/DSpace/pull/468))
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
@ -20,7 +20,7 @@ I will add the RI/1.0 pattern to our DSpace agents overload and purge them from
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2021-05/" />
|
||||
<meta property="article:published_time" content="2021-05-02T09:50:54+03:00" />
|
||||
<meta property="article:modified_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="article:modified_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
@ -46,9 +46,9 @@ I will add the RI/1.0 pattern to our DSpace agents overload and purge them from
|
||||
"@type": "BlogPosting",
|
||||
"headline": "May, 2021",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2021-05/",
|
||||
"wordCount": "1907",
|
||||
"wordCount": "2245",
|
||||
"datePublished": "2021-05-02T09:50:54+03:00",
|
||||
"dateModified": "2021-05-15T20:28:33+03:00",
|
||||
"dateModified": "2021-05-16T17:11:48+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -399,6 +399,63 @@ $ elasticdump --input=/home/aorth/openrxv-items_data.json --output=http://localh
|
||||
</code></pre><ul>
|
||||
<li>Then I started a new harvest on AReS</li>
|
||||
</ul>
|
||||
<h2 id="2021-05-17">2021-05-17</h2>
|
||||
<ul>
|
||||
<li>The AReS harvest finished and the Elasticsearch indexes seem OK so I shouldn’t have to fix them next time…</li>
|
||||
</ul>
|
||||
<pre><code class="language-console" data-lang="console">$ curl -s http://localhost:9200/_cat/indices | grep openrxv-items
|
||||
yellow open openrxv-items-temp o3ijJLcyTtGMOPeWpAJiVA 1 1 0 0 283b 283b
|
||||
yellow open openrxv-items-final TrJ1Ict3QZ-vFkj-4VcAzw 1 1 104317 0 259.4mb 259.4mb
|
||||
$ curl -s 'http://localhost:9200/_alias/' | python -m json.tool
|
||||
"openrxv-items-temp": {
|
||||
"aliases": {}
|
||||
},
|
||||
"openrxv-items-final": {
|
||||
"aliases": {
|
||||
"openrxv-items": {}
|
||||
}
|
||||
},
|
||||
...
|
||||
</code></pre><ul>
|
||||
<li>Abenet said she and some others can’t log into CGSpace
|
||||
<ul>
|
||||
<li>I tried to check the CGSpace LDAP account and it does seem to be not working:</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<pre><code class="language-console" data-lang="console">$ ldapsearch -x -H ldaps://AZCGNEROOT2.CGIARAD.ORG:636/ -b "dc=cgiarad,dc=org" -D "cgspace-ldap@cgiarad.org" -W "(sAMAccountName=aorth)"
|
||||
Enter LDAP Password:
|
||||
ldap_bind: Invalid credentials (49)
|
||||
additional info: 80090308: LdapErr: DSID-0C090453, comment: AcceptSecurityContext error, data 532, v3839
|
||||
</code></pre><ul>
|
||||
<li>I sent a message to Biruk so he can check the LDAP account</li>
|
||||
<li>IWMI confirmed that they do indeed want to move all their subjects to AGROVOC, so I made the changes in the XMLUI and config (<a href="https://github.com/ilri/DSpace/pull/467">#467</a>)
|
||||
<ul>
|
||||
<li>Then I used the <code>migrate-fields.sh</code> script to move them (46,000 metadata entries!)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>I tested Abdullah’s latest pull request to add clickable filters to AReS and I think it works
|
||||
<ul>
|
||||
<li>I had some issues with my local AReS installation so I was only able to do limited testing…</li>
|
||||
<li>I will have to wait until I have more time to test before I can merge that</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>CCAFS asked me to add eight more phase II project tags to the CGSpace input form
|
||||
<ul>
|
||||
<li>I extracted the existing ones using xmllint, added the new ones, sorted them, and then replaced them in <code>input-forms.xml</code>:</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<pre><code class="language-console" data-lang="console">$ xmllint --xpath '//value-pairs[@value-pairs-name="ccafsprojectpii"]/pair/stored-value/node()' dspace/config/input-forms.xml
|
||||
</code></pre><ul>
|
||||
<li>I formatted the input file with tidy, especially because one of the new project tags has an ampersand character… grrr:</li>
|
||||
</ul>
|
||||
<pre><code class="language-console" data-lang="console">$ tidy -xml -utf8 -m -iq -w 0 dspace/config/input-forms.xml
|
||||
line 3658 column 26 - Warning: unescaped & or unknown entity "&WA_EU-IFAD"
|
||||
line 3659 column 23 - Warning: unescaped & or unknown entity "&WA_EU-IFAD"
|
||||
</code></pre><ul>
|
||||
<li>After testing whether this escaped value worked during submission, I created and merged a pull request to <code>6_x-prod</code> (<a href="https://github.com/ilri/DSpace/pull/468">#468</a>)</li>
|
||||
</ul>
|
||||
<!-- raw HTML omitted -->
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2021-05-15T20:28:33+03:00" />
|
||||
<meta property="og:updated_time" content="2021-05-16T17:11:48+03:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -3,19 +3,19 @@
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||
<lastmod>2021-05-15T20:28:33+03:00</lastmod>
|
||||
<lastmod>2021-05-16T17:11:48+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||
<lastmod>2021-05-15T20:28:33+03:00</lastmod>
|
||||
<lastmod>2021-05-16T17:11:48+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2021-05/</loc>
|
||||
<lastmod>2021-05-15T20:28:33+03:00</lastmod>
|
||||
<lastmod>2021-05-16T17:11:48+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||
<lastmod>2021-05-15T20:28:33+03:00</lastmod>
|
||||
<lastmod>2021-05-16T17:11:48+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||
<lastmod>2021-05-15T20:28:33+03:00</lastmod>
|
||||
<lastmod>2021-05-16T17:11:48+03:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2021-04/</loc>
|
||||
<lastmod>2021-04-28T18:57:48+03:00</lastmod>
|
||||
|
Loading…
Reference in New Issue
Block a user