From 330c22eef0bea5b332ee9c1043e8b10124a47080 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 1 Feb 2021 12:28:54 +0200 Subject: [PATCH] Add notes for 2021-02-01 --- content/posts/2021-02.md | 51 +++++ docs/2015-11/index.html | 4 +- docs/2015-12/index.html | 4 +- docs/2016-01/index.html | 4 +- docs/2016-02/index.html | 4 +- docs/2016-03/index.html | 4 +- docs/2016-04/index.html | 4 +- docs/2016-05/index.html | 4 +- docs/2016-06/index.html | 4 +- docs/2016-07/index.html | 4 +- docs/2016-08/index.html | 4 +- docs/2016-09/index.html | 4 +- docs/2016-10/index.html | 4 +- docs/2016-11/index.html | 4 +- docs/2016-12/index.html | 4 +- docs/2017-01/index.html | 4 +- docs/2017-02/index.html | 4 +- docs/2017-03/index.html | 4 +- docs/2017-04/index.html | 4 +- docs/2017-05/index.html | 4 +- docs/2017-06/index.html | 4 +- docs/2017-07/index.html | 4 +- docs/2017-08/index.html | 4 +- docs/2017-09/index.html | 4 +- docs/2017-10/index.html | 4 +- docs/2017-11/index.html | 4 +- docs/2017-12/index.html | 4 +- docs/2018-01/index.html | 4 +- docs/2018-02/index.html | 4 +- docs/2018-03/index.html | 4 +- docs/2018-04/index.html | 4 +- docs/2018-05/index.html | 4 +- docs/2018-06/index.html | 4 +- docs/2018-07/index.html | 4 +- docs/2018-08/index.html | 4 +- docs/2018-09/index.html | 4 +- docs/2018-10/index.html | 4 +- docs/2018-11/index.html | 4 +- docs/2018-12/index.html | 4 +- docs/2019-01/index.html | 4 +- docs/2019-02/index.html | 4 +- docs/2019-03/index.html | 4 +- docs/2019-04/index.html | 4 +- docs/2019-05/index.html | 4 +- docs/2019-06/index.html | 4 +- docs/2019-07/index.html | 4 +- docs/2019-08/index.html | 4 +- docs/2019-09/index.html | 4 +- docs/2019-10/index.html | 4 +- docs/2019-11/index.html | 4 +- docs/2019-12/index.html | 4 +- docs/2020-01/index.html | 4 +- docs/2020-02/index.html | 4 +- docs/2020-03/index.html | 4 +- docs/2020-04/index.html | 4 +- docs/2020-05/index.html | 4 +- docs/2020-06/index.html | 4 +- docs/2020-07/index.html | 4 +- docs/2020-08/index.html | 4 +- docs/2020-09/index.html | 4 +- docs/2020-10/index.html | 4 +- docs/2020-11/index.html | 4 +- docs/2020-12/index.html | 4 +- docs/2021-01/index.html | 8 +- docs/2021-02/index.html | 239 +++++++++++++++++++++ docs/404.html | 4 +- docs/categories/index.html | 8 +- docs/categories/index.xml | 4 +- docs/categories/notes/index.html | 64 +++--- docs/categories/notes/index.xml | 25 ++- docs/categories/notes/page/2/index.html | 64 +++--- docs/categories/notes/page/3/index.html | 60 +++--- docs/categories/notes/page/4/index.html | 52 +++-- docs/categories/notes/page/5/index.html | 30 ++- docs/cgiar-library-migration/index.html | 4 +- docs/cgspace-cgcorev2-migration/index.html | 4 +- docs/cgspace-dspace6-upgrade/index.html | 4 +- docs/index.html | 66 +++--- docs/index.xml | 25 ++- docs/page/2/index.html | 66 +++--- docs/page/3/index.html | 62 +++--- docs/page/4/index.html | 54 +++-- docs/page/5/index.html | 68 +++--- docs/page/6/index.html | 70 +++--- docs/page/7/index.html | 34 ++- docs/posts/index.html | 66 +++--- docs/posts/index.xml | 25 ++- docs/posts/page/2/index.html | 66 +++--- docs/posts/page/3/index.html | 62 +++--- docs/posts/page/4/index.html | 54 +++-- docs/posts/page/5/index.html | 68 +++--- docs/posts/page/6/index.html | 70 +++--- docs/posts/page/7/index.html | 34 ++- docs/robots.txt | 3 +- docs/sitemap.xml | 17 +- docs/tags/index.html | 4 +- docs/tags/migration/index.html | 4 +- docs/tags/notes/index.html | 4 +- docs/tags/notes/page/2/index.html | 4 +- docs/tags/notes/page/3/index.html | 4 +- 100 files changed, 1130 insertions(+), 669 deletions(-) create mode 100644 content/posts/2021-02.md create mode 100644 docs/2021-02/index.html diff --git a/content/posts/2021-02.md b/content/posts/2021-02.md new file mode 100644 index 000000000..19b58a0d7 --- /dev/null +++ b/content/posts/2021-02.md @@ -0,0 +1,51 @@ +--- +title: "February, 2021" +date: 2021-02-01T10:13:54+02:00 +author: "Alan Orth" +categories: ["Notes"] +--- + +## 2021-02-01 + +- Check the results of the AReS harvesting from last night: + +```console +$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty' +{ + "count" : 100875, + "_shards" : { + "total" : 1, + "successful" : 1, + "skipped" : 0, + "failed" : 0 + } +} +``` + + + +- Set the current items index to read only and make a backup: + +```console +$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d' +{"settings": {"index.blocks.write":true}}' +$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-02-01 +``` + +- Delete the current items index and clone the temp one to it: + +```console +$ curl -XDELETE 'http://localhost:9200/openrxv-items' +$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}' +$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items +``` + +- Then delete the temp and backup: + +```console +$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp' +{"acknowledged":true}% +$ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-02-01' +``` + + diff --git a/docs/2015-11/index.html b/docs/2015-11/index.html index 6188037bc..e31fbefd8 100644 --- a/docs/2015-11/index.html +++ b/docs/2015-11/index.html @@ -242,6 +242,8 @@ db.statementpool = true
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -250,8 +252,6 @@ db.statementpool = true
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2015-12/index.html b/docs/2015-12/index.html index 67019121f..10ae17689 100644 --- a/docs/2015-12/index.html +++ b/docs/2015-12/index.html @@ -264,6 +264,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -272,8 +274,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-01/index.html b/docs/2016-01/index.html index f6741cb02..6a4ae576f 100644 --- a/docs/2016-01/index.html +++ b/docs/2016-01/index.html @@ -200,6 +200,8 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} ; | sor
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -208,8 +210,6 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} ; | sor
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-02/index.html b/docs/2016-02/index.html index 994003f5f..94c1fe10b 100644 --- a/docs/2016-02/index.html +++ b/docs/2016-02/index.html @@ -378,6 +378,8 @@ Bitstream: tést señora alimentación.pdf
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -386,8 +388,6 @@ Bitstream: tést señora alimentación.pdf
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-03/index.html b/docs/2016-03/index.html index d6b5bf0f8..f610e2998 100644 --- a/docs/2016-03/index.html +++ b/docs/2016-03/index.html @@ -316,6 +316,8 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -324,8 +326,6 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-04/index.html b/docs/2016-04/index.html index 3381420f5..d06ac35c5 100644 --- a/docs/2016-04/index.html +++ b/docs/2016-04/index.html @@ -495,6 +495,8 @@ dspace.log.2016-04-27:7271
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -503,8 +505,6 @@ dspace.log.2016-04-27:7271
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-05/index.html b/docs/2016-05/index.html index 16c3fb213..528b66473 100644 --- a/docs/2016-05/index.html +++ b/docs/2016-05/index.html @@ -371,6 +371,8 @@ sys 0m20.540s
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -379,8 +381,6 @@ sys 0m20.540s
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-06/index.html b/docs/2016-06/index.html index 5c91ac64d..3809c78ed 100644 --- a/docs/2016-06/index.html +++ b/docs/2016-06/index.html @@ -409,6 +409,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -417,8 +419,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-07/index.html b/docs/2016-07/index.html index 5fa6823ac..4a58b6159 100644 --- a/docs/2016-07/index.html +++ b/docs/2016-07/index.html @@ -325,6 +325,8 @@ discovery.index.authority.ignore-variants=true
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -333,8 +335,6 @@ discovery.index.authority.ignore-variants=true
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-08/index.html b/docs/2016-08/index.html index 5ddc932da..d13edd9ae 100644 --- a/docs/2016-08/index.html +++ b/docs/2016-08/index.html @@ -389,6 +389,8 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -397,8 +399,6 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-09/index.html b/docs/2016-09/index.html index f7252e32c..b88b1420b 100644 --- a/docs/2016-09/index.html +++ b/docs/2016-09/index.html @@ -606,6 +606,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -614,8 +616,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-10/index.html b/docs/2016-10/index.html index 0f96d2a59..7d7920605 100644 --- a/docs/2016-10/index.html +++ b/docs/2016-10/index.html @@ -372,6 +372,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -380,8 +382,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-11/index.html b/docs/2016-11/index.html index ca34e96ce..6bb7cda92 100644 --- a/docs/2016-11/index.html +++ b/docs/2016-11/index.html @@ -548,6 +548,8 @@ org.dspace.discovery.SearchServiceException: Error executing query
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -556,8 +558,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2016-12/index.html b/docs/2016-12/index.html index 3678d98d1..2603b7d5c 100644 --- a/docs/2016-12/index.html +++ b/docs/2016-12/index.html @@ -784,6 +784,8 @@ $ exit
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -792,8 +794,6 @@ $ exit
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-01/index.html b/docs/2017-01/index.html index e7cfa2fe9..df67f408d 100644 --- a/docs/2017-01/index.html +++ b/docs/2017-01/index.html @@ -369,6 +369,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -377,8 +379,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-02/index.html b/docs/2017-02/index.html index 024af0ed2..41fb20bb4 100644 --- a/docs/2017-02/index.html +++ b/docs/2017-02/index.html @@ -424,6 +424,8 @@ COPY 1968
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -432,8 +434,6 @@ COPY 1968
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-03/index.html b/docs/2017-03/index.html index ea59d97ca..76648495a 100644 --- a/docs/2017-03/index.html +++ b/docs/2017-03/index.html @@ -355,6 +355,8 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -363,8 +365,6 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-04/index.html b/docs/2017-04/index.html index 24490d95e..519aadfb8 100644 --- a/docs/2017-04/index.html +++ b/docs/2017-04/index.html @@ -585,6 +585,8 @@ $ gem install compass -v 1.0.3
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -593,8 +595,6 @@ $ gem install compass -v 1.0.3
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-05/index.html b/docs/2017-05/index.html index a0223dfae..cc4abed24 100644 --- a/docs/2017-05/index.html +++ b/docs/2017-05/index.html @@ -391,6 +391,8 @@ UPDATE 187
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -399,8 +401,6 @@ UPDATE 187
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-06/index.html b/docs/2017-06/index.html index f679050dd..4cf20e88f 100644 --- a/docs/2017-06/index.html +++ b/docs/2017-06/index.html @@ -270,6 +270,8 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -278,8 +280,6 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-07/index.html b/docs/2017-07/index.html index 252c41339..37efc4762 100644 --- a/docs/2017-07/index.html +++ b/docs/2017-07/index.html @@ -275,6 +275,8 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -283,8 +285,6 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-08/index.html b/docs/2017-08/index.html index 9b81702ba..0b3ec3400 100644 --- a/docs/2017-08/index.html +++ b/docs/2017-08/index.html @@ -517,6 +517,8 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -525,8 +527,6 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-09/index.html b/docs/2017-09/index.html index 19db31864..7360bc25c 100644 --- a/docs/2017-09/index.html +++ b/docs/2017-09/index.html @@ -659,6 +659,8 @@ Cert Status: good
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -667,8 +669,6 @@ Cert Status: good
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-10/index.html b/docs/2017-10/index.html index 4fbc46ba5..39a889c72 100644 --- a/docs/2017-10/index.html +++ b/docs/2017-10/index.html @@ -443,6 +443,8 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -451,8 +453,6 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-11/index.html b/docs/2017-11/index.html index a71c05c7a..ef0eac9c9 100644 --- a/docs/2017-11/index.html +++ b/docs/2017-11/index.html @@ -944,6 +944,8 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -952,8 +954,6 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2017-12/index.html b/docs/2017-12/index.html index 22372a5e4..54e7986be 100644 --- a/docs/2017-12/index.html +++ b/docs/2017-12/index.html @@ -783,6 +783,8 @@ DELETE 20
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -791,8 +793,6 @@ DELETE 20
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-01/index.html b/docs/2018-01/index.html index 53679a43e..11e52e9fa 100644 --- a/docs/2018-01/index.html +++ b/docs/2018-01/index.html @@ -1452,6 +1452,8 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1460,8 +1462,6 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index 74f4e2e42..6fe722fea 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -1039,6 +1039,8 @@ UPDATE 3
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1047,8 +1049,6 @@ UPDATE 3
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-03/index.html b/docs/2018-03/index.html index 227c359cb..b0b518434 100644 --- a/docs/2018-03/index.html +++ b/docs/2018-03/index.html @@ -585,6 +585,8 @@ Fixed 5 occurences of: GENEBANKS
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -593,8 +595,6 @@ Fixed 5 occurences of: GENEBANKS
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-04/index.html b/docs/2018-04/index.html index 8bcb8d474..22b3c0bce 100644 --- a/docs/2018-04/index.html +++ b/docs/2018-04/index.html @@ -594,6 +594,8 @@ $ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -602,8 +604,6 @@ $ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-05/index.html b/docs/2018-05/index.html index 1818a9f5a..7d54d6291 100644 --- a/docs/2018-05/index.html +++ b/docs/2018-05/index.html @@ -523,6 +523,8 @@ $ psql -h localhost -U postgres dspacetest
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -531,8 +533,6 @@ $ psql -h localhost -U postgres dspacetest
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-06/index.html b/docs/2018-06/index.html index 9ac1e845b..ba8714539 100644 --- a/docs/2018-06/index.html +++ b/docs/2018-06/index.html @@ -517,6 +517,8 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -525,8 +527,6 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-07/index.html b/docs/2018-07/index.html index 8216b34c8..a20da2d21 100644 --- a/docs/2018-07/index.html +++ b/docs/2018-07/index.html @@ -569,6 +569,8 @@ dspace=# select count(text_value) from metadatavalue where resource_type_id=2 an
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -577,8 +579,6 @@ dspace=# select count(text_value) from metadatavalue where resource_type_id=2 an
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-08/index.html b/docs/2018-08/index.html index 779d843dc..e8555afb1 100644 --- a/docs/2018-08/index.html +++ b/docs/2018-08/index.html @@ -442,6 +442,8 @@ $ dspace database migrate ignored
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -450,8 +452,6 @@ $ dspace database migrate ignored
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-09/index.html b/docs/2018-09/index.html index d52579e80..b704a4160 100644 --- a/docs/2018-09/index.html +++ b/docs/2018-09/index.html @@ -748,6 +748,8 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -756,8 +758,6 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index 42de0521f..6c8ebd401 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -656,6 +656,8 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -664,8 +666,6 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-11/index.html b/docs/2018-11/index.html index 64412cffa..657f0f30d 100644 --- a/docs/2018-11/index.html +++ b/docs/2018-11/index.html @@ -553,6 +553,8 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -561,8 +563,6 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2018-12/index.html b/docs/2018-12/index.html index 43e67f326..b5797dbe9 100644 --- a/docs/2018-12/index.html +++ b/docs/2018-12/index.html @@ -594,6 +594,8 @@ UPDATE 1
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -602,8 +604,6 @@ UPDATE 1
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-01/index.html b/docs/2019-01/index.html index a94fb7df5..62f230730 100644 --- a/docs/2019-01/index.html +++ b/docs/2019-01/index.html @@ -1264,6 +1264,8 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1272,8 +1274,6 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index afdd9f3a1..f13f88609 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -1344,6 +1344,8 @@ Please see the DSpace documentation for assistance.
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1352,8 +1354,6 @@ Please see the DSpace documentation for assistance.
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index 20a1029ae..818eb1185 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -1208,6 +1208,8 @@ sys 0m2.551s
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1216,8 +1218,6 @@ sys 0m2.551s
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index f7652e8b7..580de35b0 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -1299,6 +1299,8 @@ UPDATE 14
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1307,8 +1309,6 @@ UPDATE 14
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-05/index.html b/docs/2019-05/index.html index 9656084e1..9a4b4f3a9 100644 --- a/docs/2019-05/index.html +++ b/docs/2019-05/index.html @@ -631,6 +631,8 @@ COPY 64871
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -639,8 +641,6 @@ COPY 64871
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-06/index.html b/docs/2019-06/index.html index 793fd225a..289584647 100644 --- a/docs/2019-06/index.html +++ b/docs/2019-06/index.html @@ -317,6 +317,8 @@ UPDATE 2
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -325,8 +327,6 @@ UPDATE 2
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-07/index.html b/docs/2019-07/index.html index c3f736a78..d2eeb95e8 100644 --- a/docs/2019-07/index.html +++ b/docs/2019-07/index.html @@ -554,6 +554,8 @@ issn.validate('1020-3362')
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -562,8 +564,6 @@ issn.validate('1020-3362')
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-08/index.html b/docs/2019-08/index.html index dda2a6ce9..140ee9c35 100644 --- a/docs/2019-08/index.html +++ b/docs/2019-08/index.html @@ -573,6 +573,8 @@ sys 2m27.496s
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -581,8 +583,6 @@ sys 2m27.496s
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-09/index.html b/docs/2019-09/index.html index 8b594c442..0cb6105a2 100644 --- a/docs/2019-09/index.html +++ b/docs/2019-09/index.html @@ -581,6 +581,8 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -589,8 +591,6 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-10/index.html b/docs/2019-10/index.html index 49f5f34fb..a9bafaf14 100644 --- a/docs/2019-10/index.html +++ b/docs/2019-10/index.html @@ -385,6 +385,8 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -393,8 +395,6 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-11/index.html b/docs/2019-11/index.html index b56bf43c4..5b8e3d776 100644 --- a/docs/2019-11/index.html +++ b/docs/2019-11/index.html @@ -692,6 +692,8 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -700,8 +702,6 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2019-12/index.html b/docs/2019-12/index.html index aa6ea9ea0..be6780957 100644 --- a/docs/2019-12/index.html +++ b/docs/2019-12/index.html @@ -404,6 +404,8 @@ UPDATE 1
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -412,8 +414,6 @@ UPDATE 1
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-01/index.html b/docs/2020-01/index.html index 2abaf7f41..606cf0b9d 100644 --- a/docs/2020-01/index.html +++ b/docs/2020-01/index.html @@ -604,6 +604,8 @@ COPY 2900
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -612,8 +614,6 @@ COPY 2900
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-02/index.html b/docs/2020-02/index.html index 3eed1cdca..836c1568a 100644 --- a/docs/2020-02/index.html +++ b/docs/2020-02/index.html @@ -1275,6 +1275,8 @@ Moving: 21993 into core statistics-2019
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1283,8 +1285,6 @@ Moving: 21993 into core statistics-2019
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-03/index.html b/docs/2020-03/index.html index 38495b689..e3a0d9254 100644 --- a/docs/2020-03/index.html +++ b/docs/2020-03/index.html @@ -484,6 +484,8 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -492,8 +494,6 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-04/index.html b/docs/2020-04/index.html index 2423e3df5..096a39a90 100644 --- a/docs/2020-04/index.html +++ b/docs/2020-04/index.html @@ -658,6 +658,8 @@ $ psql -c 'select * from pg_stat_activity' | wc -l
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -666,8 +668,6 @@ $ psql -c 'select * from pg_stat_activity' | wc -l
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-05/index.html b/docs/2020-05/index.html index dcc138060..15c8874c9 100644 --- a/docs/2020-05/index.html +++ b/docs/2020-05/index.html @@ -477,6 +477,8 @@ Caused by: java.lang.NullPointerException
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -485,8 +487,6 @@ Caused by: java.lang.NullPointerException
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-06/index.html b/docs/2020-06/index.html index abbd026ba..e7715e642 100644 --- a/docs/2020-06/index.html +++ b/docs/2020-06/index.html @@ -811,6 +811,8 @@ $ csvcut -c 'id,cg.subject.ilri[],cg.subject.ilri[en_US],dc.subject[en_US]' /tmp
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -819,8 +821,6 @@ $ csvcut -c 'id,cg.subject.ilri[],cg.subject.ilri[en_US],dc.subject[en_US]' /tmp
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-07/index.html b/docs/2020-07/index.html index cc000aa1b..6c93dbdff 100644 --- a/docs/2020-07/index.html +++ b/docs/2020-07/index.html @@ -1142,6 +1142,8 @@ Fixed 4 occurences of: Muloi, D.M.
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1150,8 +1152,6 @@ Fixed 4 occurences of: Muloi, D.M.
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-08/index.html b/docs/2020-08/index.html index 54cff1050..f1bc63307 100644 --- a/docs/2020-08/index.html +++ b/docs/2020-08/index.html @@ -798,6 +798,8 @@ $ grep -c added /tmp/2020-08-27-countrycodetagger.log
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -806,8 +808,6 @@ $ grep -c added /tmp/2020-08-27-countrycodetagger.log
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-09/index.html b/docs/2020-09/index.html index 30f014b6a..a5b06cc51 100644 --- a/docs/2020-09/index.html +++ b/docs/2020-09/index.html @@ -717,6 +717,8 @@ solr_query_params = {
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -725,8 +727,6 @@ solr_query_params = {
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-10/index.html b/docs/2020-10/index.html index fd52f9a90..ad72941bd 100644 --- a/docs/2020-10/index.html +++ b/docs/2020-10/index.html @@ -1241,6 +1241,8 @@ $ ./delete-metadata-values.py -i 2020-10-31-delete-74-sponsors.csv -db dspace -u
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -1249,8 +1251,6 @@ $ ./delete-metadata-values.py -i 2020-10-31-delete-74-sponsors.csv -db dspace -u
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-11/index.html b/docs/2020-11/index.html index 345f49aea..b32889171 100644 --- a/docs/2020-11/index.html +++ b/docs/2020-11/index.html @@ -731,6 +731,8 @@ $ ./fix-metadata-values.py -i 2020-11-30-fix-hung-orcid.csv -db dspace63 -u dspa
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -739,8 +741,6 @@ $ ./fix-metadata-values.py -i 2020-11-30-fix-hung-orcid.csv -db dspace63 -u dspa
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2020-12/index.html b/docs/2020-12/index.html index c268d08e6..067b0f74f 100644 --- a/docs/2020-12/index.html +++ b/docs/2020-12/index.html @@ -869,6 +869,8 @@ $ curl -XDELETE 'http://localhost:9200/openrxv-items-2020-12-29?pretty'
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -877,8 +879,6 @@ $ curl -XDELETE 'http://localhost:9200/openrxv-items-2020-12-29?pretty'
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2021-01/index.html b/docs/2021-01/index.html index aa71cd827..dd4c50175 100644 --- a/docs/2021-01/index.html +++ b/docs/2021-01/index.html @@ -27,7 +27,7 @@ For example, this item has 51 views on CGSpace, but 0 on AReS - + @@ -62,7 +62,7 @@ For example, this item has 51 views on CGSpace, but 0 on AReS "url": "https://alanorth.github.io/cgspace-notes/2021-01/", "wordCount": "3157", "datePublished": "2021-01-03T10:13:54+02:00", - "dateModified": "2021-01-28T16:28:48+02:00", + "dateModified": "2021-01-31T16:32:16+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -688,6 +688,8 @@ java.lang.IllegalArgumentException: Invalid character found in the request targe
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -696,8 +698,6 @@ java.lang.IllegalArgumentException: Invalid character found in the request targe
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/2021-02/index.html b/docs/2021-02/index.html new file mode 100644 index 000000000..c4b4fa108 --- /dev/null +++ b/docs/2021-02/index.html @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + February, 2021 | CGSpace Notes + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + + +
+
+

CGSpace Notes

+

Documenting day-to-day work on the CGSpace repository.

+
+
+ + + + +
+
+
+ + + + +
+
+

February, 2021

+ +
+

2021-02-01

+
    +
  • Check the results of the AReS harvesting from last night:
  • +
+
$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
+{
+  "count" : 100875,
+  "_shards" : {
+    "total" : 1,
+    "successful" : 1,
+    "skipped" : 0,
+    "failed" : 0
+  }
+}
+
    +
  • Set the current items index to read only and make a backup:
  • +
+
$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d'
+{"settings": {"index.blocks.write":true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-02-01
+
    +
  • Delete the current items index and clone the temp one to it:
  • +
+
$ curl -XDELETE 'http://localhost:9200/openrxv-items'
+$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items
+
    +
  • Then delete the temp and backup:
  • +
+
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'       
+{"acknowledged":true}%                                                                                                               
+$ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-02-01'
+
+ + + + + +
+ + + +
+ + + + +
+
+ + + + + + + + + diff --git a/docs/404.html b/docs/404.html index 294764a8c..4ef7f1626 100644 --- a/docs/404.html +++ b/docs/404.html @@ -95,6 +95,8 @@
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -103,8 +105,6 @@
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/categories/index.html b/docs/categories/index.html index 7e0cb2765..726592d11 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + @@ -84,7 +84,7 @@

Notes

- +
Read more → @@ -108,6 +108,8 @@
    +
  1. February, 2021
  2. +
  3. January, 2021
  4. December, 2020
  5. @@ -116,8 +118,6 @@
  6. November, 2020
  7. -
  8. October, 2020
  9. -
diff --git a/docs/categories/index.xml b/docs/categories/index.xml index 063a47bc7..f3570ad05 100644 --- a/docs/categories/index.xml +++ b/docs/categories/index.xml @@ -6,11 +6,11 @@ Recent content in Categories on CGSpace Notes Hugo -- gohugo.io en-us - Sun, 03 Jan 2021 10:13:54 +0200 + Mon, 01 Feb 2021 10:13:54 +0200 Notes https://alanorth.github.io/cgspace-notes/categories/notes/ - Sun, 03 Jan 2021 10:13:54 +0200 + Mon, 01 Feb 2021 10:13:54 +0200 https://alanorth.github.io/cgspace-notes/categories/notes/ diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 3f1df74ba..e784898f3 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + @@ -81,6 +81,38 @@ +
+
+

February, 2021

+ +
+

2021-02-01

+
    +
  • Check the results of the AReS harvesting from last night:
  • +
+
$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
+{
+  "count" : 100875,
+  "_shards" : {
+    "total" : 1,
+    "successful" : 1,
+    "skipped" : 0,
+    "failed" : 0
+  }
+}
+
+ Read more → +
+ + + + + +

January, 2021

@@ -332,32 +364,6 @@ - -
-
-

May, 2020

- -
-

2020-05-02

-
    -
  • Peter said that CTA is having problems submitting an item to CGSpace -
      -
    • Looking at the PostgreSQL stats it seems to be the same issue that Tezira was having last week, as I see the number of connections in ‘idle in transaction’ and ‘waiting for lock’ state are increasing again
    • -
    • I see that CGSpace (linode18) is still using PostgreSQL JDBC driver version 42.2.11, and there were some bugs related to transactions fixed in 42.2.12 (which I had updated in the Ansible playbooks, but not deployed yet)
    • -
    -
  • -
- Read more → -
- - - - -