mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-06-02
This commit is contained in:
parent
a819589a6d
commit
065b60e94a
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "June, 2020"
|
||||
date: 2020-05-01T13:55:39+03:00
|
||||
date: 2020-06-01T13:55:39+03:00
|
||||
author: "Alan Orth"
|
||||
categories: ["Notes"]
|
||||
---
|
||||
@ -38,4 +38,48 @@ java.lang.NullPointerException
|
||||
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
|
||||
```
|
||||
|
||||
## 2020-06-02
|
||||
|
||||
- I noticed that I was able to do a partial OAI import (ie, without `-c`)
|
||||
- Then I tried to clear the OAI Solr core and import, but I get the same error:
|
||||
|
||||
```
|
||||
$ curl http://localhost:8080/solr/oai/update -H "Content-type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
|
||||
$ curl http://localhost:8080/solr/oai/update -H "Content-type: text/xml" --data-binary '<commit />'
|
||||
$ ~/dspace63/bin/dspace oai import
|
||||
OAI 2.0 manager action started
|
||||
...
|
||||
There are no indexed documents, using full import.
|
||||
Full import
|
||||
java.lang.NullPointerException
|
||||
at org.dspace.xoai.app.XOAI.willChangeStatus(XOAI.java:438)
|
||||
at org.dspace.xoai.app.XOAI.index(XOAI.java:368)
|
||||
at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
|
||||
at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227)
|
||||
at org.dspace.xoai.app.XOAI.index(XOAI.java:143)
|
||||
at org.dspace.xoai.app.XOAI.main(XOAI.java:560)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.lang.reflect.Method.invoke(Method.java:498)
|
||||
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
|
||||
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
|
||||
```
|
||||
|
||||
- I found a [bug report on DSpace Jira](https://jira.lyrasis.org/browse/DS-4363) describing this issue affecting someone else running DSpace 6.3
|
||||
- They suspect it has to do with the item having some missing group names in its authorization policies
|
||||
- I added some debugging to `dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java` to print the Handle of the item that causes the crash and then I looked at its authorization policies
|
||||
- Indeed there are some blank group names:
|
||||
|
||||

|
||||
|
||||
- The same item on CGSpace (DSpace 5.8) also has groups with no name:
|
||||
|
||||

|
||||
|
||||
- I added some debugging and found exactly where this happens
|
||||
- As it turns out we can just check if the group policy is null there and it allows the OAI import to proceed
|
||||
- Aaaaand as it turns out, this was fixed in `dspace-6_x` in 2018 after DSpace 6.3 was released (see [DS-4019](https://jira.lyrasis.org/browse/DS-4019)), so that was a waste of three hours.
|
||||
- I cherry picked 150e83558103ed7f50e8f323b6407b9cbdf33717 into our current `6_x-dev-atmire-modules` branch
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
@ -239,9 +239,9 @@ db.statementpool = true
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -261,9 +261,9 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -197,9 +197,9 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} ; | sor
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -375,9 +375,9 @@ Bitstream: tést señora alimentación.pdf
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -313,9 +313,9 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -492,9 +492,9 @@ dspace.log.2016-04-27:7271
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -368,9 +368,9 @@ sys 0m20.540s
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -406,9 +406,9 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -322,9 +322,9 @@ discovery.index.authority.ignore-variants=true
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -386,9 +386,9 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -603,9 +603,9 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -369,9 +369,9 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -545,9 +545,9 @@ org.dspace.discovery.SearchServiceException: Error executing query
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -781,9 +781,9 @@ $ exit
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -366,9 +366,9 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -421,9 +421,9 @@ COPY 1968
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -352,9 +352,9 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -582,9 +582,9 @@ $ gem install compass -v 1.0.3
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -388,9 +388,9 @@ UPDATE 187
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -267,9 +267,9 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -272,9 +272,9 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -514,9 +514,9 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -656,9 +656,9 @@ Cert Status: good
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -440,9 +440,9 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -941,9 +941,9 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -780,9 +780,9 @@ DELETE 20
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -1449,9 +1449,9 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -1036,9 +1036,9 @@ UPDATE 3
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -582,9 +582,9 @@ Fixed 5 occurences of: GENEBANKS
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -591,9 +591,9 @@ $ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -520,9 +520,9 @@ $ psql -h localhost -U postgres dspacetest
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -514,9 +514,9 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -566,9 +566,9 @@ dspace=# select count(text_value) from metadatavalue where resource_type_id=2 an
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -439,9 +439,9 @@ $ dspace database migrate ignored
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -745,9 +745,9 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -653,9 +653,9 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -550,9 +550,9 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -591,9 +591,9 @@ UPDATE 1
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -1261,9 +1261,9 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -1341,9 +1341,9 @@ Please see the DSpace documentation for assistance.
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -1205,9 +1205,9 @@ sys 0m2.551s
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -1296,9 +1296,9 @@ UPDATE 14
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -628,9 +628,9 @@ COPY 64871
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -314,9 +314,9 @@ UPDATE 2
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -551,9 +551,9 @@ issn.validate('1020-3362')
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -570,9 +570,9 @@ sys 2m27.496s
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -578,9 +578,9 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -382,9 +382,9 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -689,9 +689,9 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -401,9 +401,9 @@ UPDATE 1
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -601,9 +601,9 @@ COPY 2900
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -1272,9 +1272,9 @@ Moving: 21993 into core statistics-2019
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -481,9 +481,9 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -655,9 +655,9 @@ $ psql -c 'select * from pg_stat_activity' | wc -l
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
@ -474,9 +474,9 @@ Caused by: java.lang.NullPointerException
|
||||
<ol class="list-unstyled">
|
||||
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-05/">June, 2020</a></li>
|
||||
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
|
||||
|
||||
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
|
||||
|
||||
|
276
docs/2020-06/index.html
Normal file
276
docs/2020-06/index.html
Normal file
@ -0,0 +1,276 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<meta property="og:title" content="June, 2020" />
|
||||
<meta property="og:description" content="2020-06-01
|
||||
|
||||
I tried to run the AtomicStatisticsUpdateCLI CUA migration script on DSpace Test (linode26) again and it is still going very slowly and has tons of errors like I noticed yesterday
|
||||
|
||||
I sent Atmire the dspace.log from today and told them to log into the server to debug the process
|
||||
|
||||
|
||||
In other news, I checked the statistics API on DSpace 6 and it’s working
|
||||
I tried to build the OAI registry on the freshly migrated DSpace 6 on DSpace Test and I get an error:
|
||||
" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-06/" />
|
||||
<meta property="article:published_time" content="2020-06-01T13:55:39+03:00" />
|
||||
<meta property="article:modified_time" content="2020-06-01T17:08:25+03:00" />
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="June, 2020"/>
|
||||
<meta name="twitter:description" content="2020-06-01
|
||||
|
||||
I tried to run the AtomicStatisticsUpdateCLI CUA migration script on DSpace Test (linode26) again and it is still going very slowly and has tons of errors like I noticed yesterday
|
||||
|
||||
I sent Atmire the dspace.log from today and told them to log into the server to debug the process
|
||||
|
||||
|
||||
In other news, I checked the statistics API on DSpace 6 and it’s working
|
||||
I tried to build the OAI registry on the freshly migrated DSpace 6 on DSpace Test and I get an error:
|
||||
"/>
|
||||
<meta name="generator" content="Hugo 0.71.1" />
|
||||
|
||||
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "BlogPosting",
|
||||
"headline": "June, 2020",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2020-06/",
|
||||
"wordCount": "386",
|
||||
"datePublished": "2020-06-01T13:55:39+03:00",
|
||||
"dateModified": "2020-06-01T17:08:25+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
},
|
||||
"keywords": "Notes"
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2020-06/">
|
||||
|
||||
<title>June, 2020 | CGSpace Notes</title>
|
||||
|
||||
|
||||
<!-- combined, minified CSS -->
|
||||
|
||||
<link href="https://alanorth.github.io/cgspace-notes/css/style.6da5c906cc7a8fbb93f31cd2316c5dbe3f19ac4aa6bfb066f1243045b8f6061e.css" rel="stylesheet" integrity="sha256-baXJBsx6j7uT8xzSMWxdvj8ZrEqmv7Bm8SQwRbj2Bh4=" crossorigin="anonymous">
|
||||
|
||||
|
||||
<!-- minified Font Awesome for SVG icons -->
|
||||
|
||||
<script defer src="https://alanorth.github.io/cgspace-notes/js/fontawesome.min.f3d2a1f5980bab30ddd0d8cadbd496475309fc48e2b1d052c5c09e6facffcb0f.js" integrity="sha256-89Kh9ZgLqzDd0NjK29SWR1MJ/EjisdBSxcCeb6z/yw8=" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- RSS 2.0 feed -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
<div class="blog-masthead">
|
||||
<div class="container">
|
||||
<nav class="nav blog-nav">
|
||||
<a class="nav-link " href="https://alanorth.github.io/cgspace-notes/">Home</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<header class="blog-header">
|
||||
<div class="container">
|
||||
<h1 class="blog-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||
<p class="lead blog-description" dir="auto">Documenting day-to-day work on the <a href="https://cgspace.cgiar.org">CGSpace</a> repository.</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-8 blog-main">
|
||||
|
||||
|
||||
|
||||
|
||||
<article class="blog-post">
|
||||
<header>
|
||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2020-06/">June, 2020</a></h2>
|
||||
<p class="blog-post-meta"><time datetime="2020-06-01T13:55:39+03:00">Mon Jun 01, 2020</time> by Alan Orth in
|
||||
<span class="fas fa-folder" aria-hidden="true"></span> <a href="/cgspace-notes/categories/notes/" rel="category tag">Notes</a>
|
||||
|
||||
|
||||
</p>
|
||||
</header>
|
||||
<h2 id="2020-06-01">2020-06-01</h2>
|
||||
<ul>
|
||||
<li>I tried to run the <code>AtomicStatisticsUpdateCLI</code> CUA migration script on DSpace Test (linode26) again and it is still going very slowly and has tons of errors like I noticed yesterday
|
||||
<ul>
|
||||
<li>I sent Atmire the dspace.log from today and told them to log into the server to debug the process</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>In other news, I checked the statistics API on DSpace 6 and it’s working</li>
|
||||
<li>I tried to build the OAI registry on the freshly migrated DSpace 6 on DSpace Test and I get an error:</li>
|
||||
</ul>
|
||||
<pre><code>$ dspace oai import -c
|
||||
OAI 2.0 manager action started
|
||||
Loading @mire database changes for module MQM
|
||||
Changes have been processed
|
||||
Clearing index
|
||||
Index cleared
|
||||
Using full import.
|
||||
Full import
|
||||
java.lang.NullPointerException
|
||||
at org.dspace.xoai.app.XOAI.willChangeStatus(XOAI.java:438)
|
||||
at org.dspace.xoai.app.XOAI.index(XOAI.java:368)
|
||||
at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
|
||||
at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227)
|
||||
at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
|
||||
at org.dspace.xoai.app.XOAI.main(XOAI.java:560)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.lang.reflect.Method.invoke(Method.java:498)
|
||||
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
|
||||
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
|
||||
</code></pre><h2 id="2020-06-02">2020-06-02</h2>
|
||||
<ul>
|
||||
<li>I noticed that I was able to do a partial OAI import (ie, without <code>-c</code>)
|
||||
<ul>
|
||||
<li>Then I tried to clear the OAI Solr core and import, but I get the same error:</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<pre><code>$ curl http://localhost:8080/solr/oai/update -H "Content-type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
|
||||
$ curl http://localhost:8080/solr/oai/update -H "Content-type: text/xml" --data-binary '<commit />'
|
||||
$ ~/dspace63/bin/dspace oai import
|
||||
OAI 2.0 manager action started
|
||||