diff --git a/content/post/2018-01.md b/content/post/2018-01.md new file mode 100644 index 000000000..354241341 --- /dev/null +++ b/content/post/2018-01.md @@ -0,0 +1,71 @@ +--- +title: "January, 2018" +date: 2018-01-02T08:35:54-08:00 +author: "Alan Orth" +tags: ["Notes"] +--- + +## 2018-01-02 + +- Uptime Robot noticed that CGSpace went down and up a few times last night, for a few minutes each time +- I didn't get any load alerts from Linode and the REST and XMLUI logs don't show anything out of the ordinary +- So I don't know WHY Uptime Robot thought it was down so many times +- I notice this error quite a few times in dspace.log: + +``` +2018-01-02 01:21:19,137 ERROR org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ Error while searching for sidebar facets +org.dspace.discovery.SearchServiceException: org.apache.solr.search.SyntaxError: Cannot parse 'dateIssued_keyword:[1976+TO+1979]': Encountered " "]" "] "" at line 1, column 32. +``` + +- And there are many of these errors every day for the past month: + +``` +$ grep -c "Error while searching for sidebar facets" dspace.log.* +dspace.log.2017-11-21:4 +dspace.log.2017-11-22:1 +dspace.log.2017-11-23:4 +dspace.log.2017-11-24:11 +dspace.log.2017-11-25:0 +dspace.log.2017-11-26:1 +dspace.log.2017-11-27:7 +dspace.log.2017-11-28:21 +dspace.log.2017-11-29:31 +dspace.log.2017-11-30:15 +dspace.log.2017-12-01:15 +dspace.log.2017-12-02:20 +dspace.log.2017-12-03:38 +dspace.log.2017-12-04:65 +dspace.log.2017-12-05:43 +dspace.log.2017-12-06:72 +dspace.log.2017-12-07:27 +dspace.log.2017-12-08:15 +dspace.log.2017-12-09:29 +dspace.log.2017-12-10:35 +dspace.log.2017-12-11:20 +dspace.log.2017-12-12:44 +dspace.log.2017-12-13:36 +dspace.log.2017-12-14:59 +dspace.log.2017-12-15:104 +dspace.log.2017-12-16:53 +dspace.log.2017-12-17:66 +dspace.log.2017-12-18:83 +dspace.log.2017-12-19:101 +dspace.log.2017-12-20:74 +dspace.log.2017-12-21:55 +dspace.log.2017-12-22:66 +dspace.log.2017-12-23:50 +dspace.log.2017-12-24:85 +dspace.log.2017-12-25:62 +dspace.log.2017-12-26:49 +dspace.log.2017-12-27:30 +dspace.log.2017-12-28:54 +dspace.log.2017-12-29:68 +dspace.log.2017-12-30:89 +dspace.log.2017-12-31:53 +dspace.log.2018-01-01:45 +dspace.log.2018-01-02:34 +``` + +- Danny wrote to ask for help renewing the wildcard ilri.org certificate and I advised that we should probably use Let's Encrypt if it's just a handful of domains + + diff --git a/public/2015-11/index.html b/public/2015-11/index.html index 9ee83fb5d..ef456c9e8 100644 --- a/public/2015-11/index.html +++ b/public/2015-11/index.html @@ -26,7 +26,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac - + @@ -64,7 +64,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac "url": "https://alanorth.github.io/cgspace-notes/2015-11/", "wordCount": "798", "datePublished": "2015-11-23T17:00:57+03:00", - "dateModified": "2016-09-28T17:02:30+03:00", + "dateModified": "2015-11-23T17:00:57+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -293,6 +293,8 @@ db.statementpool = true
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -301,8 +303,6 @@ db.statementpool = true
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2015-12/index.html b/public/2015-12/index.html index 7324e6066..d4561f244 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -27,7 +27,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less - + @@ -66,7 +66,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less "url": "https://alanorth.github.io/cgspace-notes/2015-12/", "wordCount": "753", "datePublished": "2015-12-02T13:18:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2015-12-02T13:18:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -310,6 +310,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -318,8 +320,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-01/index.html b/public/2016-01/index.html index 2804d2db9..ff2798d70 100644 --- a/public/2016-01/index.html +++ b/public/2016-01/index.html @@ -22,7 +22,7 @@ Update GitHub wiki for documentation of maintenance tasks. - + @@ -56,7 +56,7 @@ Update GitHub wiki for documentation of maintenance tasks. "url": "https://alanorth.github.io/cgspace-notes/2016-01/", "wordCount": "466", "datePublished": "2016-01-13T13:18:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-01-13T13:18:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -225,6 +225,8 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -233,8 +235,6 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-02/index.html b/public/2016-02/index.html index 29a8b9b09..e3252f793 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -29,7 +29,7 @@ Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE&r - + @@ -70,7 +70,7 @@ Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE&r "url": "https://alanorth.github.io/cgspace-notes/2016-02/", "wordCount": "1657", "datePublished": "2016-02-05T13:18:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-02-05T13:18:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -478,6 +478,8 @@ Bitstream: tést señora alimentación.pdf
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -486,8 +488,6 @@ Bitstream: tést señora alimentación.pdf
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-03/index.html b/public/2016-03/index.html index 4969a71d8..ac83c70e4 100644 --- a/public/2016-03/index.html +++ b/public/2016-03/index.html @@ -22,7 +22,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja - + @@ -56,7 +56,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja "url": "https://alanorth.github.io/cgspace-notes/2016-03/", "wordCount": "1581", "datePublished": "2016-03-02T16:50:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-03-02T16:50:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -378,6 +378,8 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -386,8 +388,6 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-04/index.html b/public/2016-04/index.html index 508e22a2f..0104e1ca1 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -24,7 +24,7 @@ Also, I noticed the checker log has some errors we should pay attention to: - + @@ -60,7 +60,7 @@ Also, I noticed the checker log has some errors we should pay attention to: "url": "https://alanorth.github.io/cgspace-notes/2016-04/", "wordCount": "2006", "datePublished": "2016-04-04T11:06:00+03:00", - "dateModified": "2016-09-28T17:02:30+03:00", + "dateModified": "2016-04-04T11:06:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -595,6 +595,8 @@ dspace.log.2016-04-27:7271
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -603,8 +605,6 @@ dspace.log.2016-04-27:7271
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-05/index.html b/public/2016-05/index.html index 455e581a6..4e4c40d44 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -26,7 +26,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! - + @@ -64,7 +64,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! "url": "https://alanorth.github.io/cgspace-notes/2016-05/", "wordCount": "1349", "datePublished": "2016-05-01T23:06:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-05-01T23:06:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -445,6 +445,8 @@ sys 0m20.540s
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -453,8 +455,6 @@ sys 0m20.540s
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-06/index.html b/public/2016-06/index.html index a9d6d381b..68976909d 100644 --- a/public/2016-06/index.html +++ b/public/2016-06/index.html @@ -25,7 +25,7 @@ Working on second phase of metadata migration, looks like this will work for mov - + @@ -62,7 +62,7 @@ Working on second phase of metadata migration, looks like this will work for mov "url": "https://alanorth.github.io/cgspace-notes/2016-06/", "wordCount": "1549", "datePublished": "2016-06-01T10:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-06-01T10:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -490,6 +490,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -498,8 +500,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-07/index.html b/public/2016-07/index.html index d0ce9c205..33dca5084 100644 --- a/public/2016-07/index.html +++ b/public/2016-07/index.html @@ -33,7 +33,7 @@ In this case the select query was showing 95 results before the update - + @@ -78,7 +78,7 @@ In this case the select query was showing 95 results before the update "url": "https://alanorth.github.io/cgspace-notes/2016-07/", "wordCount": "866", "datePublished": "2016-07-01T10:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-07-01T10:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -408,6 +408,8 @@ discovery.index.authority.ignore-variants=true
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -416,8 +418,6 @@ discovery.index.authority.ignore-variants=true
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-08/index.html b/public/2016-08/index.html index 6edb841ff..f8d3354d8 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -30,7 +30,7 @@ $ git rebase -i dspace-5.5 - + @@ -72,7 +72,7 @@ $ git rebase -i dspace-5.5 "url": "https://alanorth.github.io/cgspace-notes/2016-08/", "wordCount": "1514", "datePublished": "2016-08-01T15:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-08-01T15:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -481,6 +481,8 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -489,8 +491,6 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-09/index.html b/public/2016-09/index.html index df0bf51c2..681cd114d 100644 --- a/public/2016-09/index.html +++ b/public/2016-09/index.html @@ -26,7 +26,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=or - + @@ -64,7 +64,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=or "url": "https://alanorth.github.io/cgspace-notes/2016-09/", "wordCount": "3298", "datePublished": "2016-09-01T15:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-09-01T15:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -781,6 +781,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -789,8 +791,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-10/index.html b/public/2016-10/index.html index 72da9cdae..b43d4ebd9 100644 --- a/public/2016-10/index.html +++ b/public/2016-10/index.html @@ -30,7 +30,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id - + @@ -72,7 +72,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id "url": "https://alanorth.github.io/cgspace-notes/2016-10/", "wordCount": "1828", "datePublished": "2016-10-03T15:53:00+03:00", - "dateModified": "2017-01-10T16:21:47+02:00", + "dateModified": "2016-10-03T15:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -467,6 +467,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -475,8 +477,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-11/index.html b/public/2016-11/index.html index 2aa4ad0c0..d350aa0ab 100644 --- a/public/2016-11/index.html +++ b/public/2016-11/index.html @@ -22,7 +22,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module - + @@ -56,7 +56,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module "url": "https://alanorth.github.io/cgspace-notes/2016-11/", "wordCount": "2825", "datePublished": "2016-11-01T09:21:00+03:00", - "dateModified": "2017-01-10T16:21:47+02:00", + "dateModified": "2016-11-01T09:21:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -683,6 +683,8 @@ org.dspace.discovery.SearchServiceException: Error executing query
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -691,8 +693,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2016-12/index.html b/public/2016-12/index.html index 63f03a81d..84761ef12 100644 --- a/public/2016-12/index.html +++ b/public/2016-12/index.html @@ -34,7 +34,7 @@ Another worrying error from dspace.log is: - + @@ -80,7 +80,7 @@ Another worrying error from dspace.log is: "url": "https://alanorth.github.io/cgspace-notes/2016-12/", "wordCount": "4078", "datePublished": "2016-12-02T10:43:00+03:00", - "dateModified": "2017-09-19T16:07:20+03:00", + "dateModified": "2016-12-02T10:43:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -919,6 +919,8 @@ $ exit
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -927,8 +929,6 @@ $ exit
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-01/index.html b/public/2017-01/index.html index 2de11cd05..8a68388d1 100644 --- a/public/2017-01/index.html +++ b/public/2017-01/index.html @@ -22,7 +22,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua - + @@ -56,7 +56,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua "url": "https://alanorth.github.io/cgspace-notes/2017-01/", "wordCount": "1594", "datePublished": "2017-01-02T10:43:00+03:00", - "dateModified": "2017-01-29T13:18:32+02:00", + "dateModified": "2017-01-02T10:43:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -464,6 +464,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -472,8 +474,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-02/index.html b/public/2017-02/index.html index aaacb445b..bd5a4ced1 100644 --- a/public/2017-02/index.html +++ b/public/2017-02/index.html @@ -36,7 +36,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name - + @@ -84,7 +84,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name "url": "https://alanorth.github.io/cgspace-notes/2017-02/", "wordCount": "2028", "datePublished": "2017-02-07T07:04:52-08:00", - "dateModified": "2017-02-28T22:58:29+02:00", + "dateModified": "2017-02-07T07:04:52-08:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -536,6 +536,8 @@ COPY 1968
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -544,8 +546,6 @@ COPY 1968
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-03/index.html b/public/2017-03/index.html index fca819ce3..94b9722bc 100644 --- a/public/2017-03/index.html +++ b/public/2017-03/index.html @@ -38,7 +38,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg - + @@ -88,7 +88,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg "url": "https://alanorth.github.io/cgspace-notes/2017-03/", "wordCount": "1538", "datePublished": "2017-03-01T17:08:52+02:00", - "dateModified": "2017-03-31T05:36:10+03:00", + "dateModified": "2017-03-01T17:08:52+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -450,6 +450,8 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -458,8 +460,6 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-04/index.html b/public/2017-04/index.html index e10ae2a51..3f2377879 100644 --- a/public/2017-04/index.html +++ b/public/2017-04/index.html @@ -31,7 +31,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th - + @@ -74,7 +74,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th "url": "https://alanorth.github.io/cgspace-notes/2017-04/", "wordCount": "2917", "datePublished": "2017-04-02T17:08:52+02:00", - "dateModified": "2017-04-26T13:35:10+03:00", + "dateModified": "2017-04-02T17:08:52+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -729,6 +729,8 @@ $ gem install compass -v 1.0.3
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -737,8 +739,6 @@ $ gem install compass -v 1.0.3
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-05/index.html b/public/2017-05/index.html index 64a2642a0..7ab1cc7c5 100644 --- a/public/2017-05/index.html +++ b/public/2017-05/index.html @@ -14,7 +14,7 @@ - + @@ -40,7 +40,7 @@ "url": "https://alanorth.github.io/cgspace-notes/2017-05/", "wordCount": "2398", "datePublished": "2017-05-01T16:21:52+02:00", - "dateModified": "2017-09-10T17:46:54+03:00", + "dateModified": "2017-05-01T16:21:52+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -483,6 +483,8 @@ UPDATE 187
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -491,8 +493,6 @@ UPDATE 187
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-06/index.html b/public/2017-06/index.html index 6f43cfe09..22dda8179 100644 --- a/public/2017-06/index.html +++ b/public/2017-06/index.html @@ -14,7 +14,7 @@ - + @@ -40,7 +40,7 @@ "url": "https://alanorth.github.io/cgspace-notes/2017-06/", "wordCount": "1261", "datePublished": "2017-06-01T10:14:52+03:00", - "dateModified": "2017-06-30T18:34:51+03:00", + "dateModified": "2017-06-01T10:14:52+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -301,6 +301,8 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -309,8 +311,6 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-07/index.html b/public/2017-07/index.html index ae222dcad..e04825d16 100644 --- a/public/2017-07/index.html +++ b/public/2017-07/index.html @@ -28,7 +28,7 @@ We can use PostgreSQL’s extended output format (-x) plus sed to format the - + @@ -68,7 +68,7 @@ We can use PostgreSQL’s extended output format (-x) plus sed to format the "url": "https://alanorth.github.io/cgspace-notes/2017-07/", "wordCount": "1151", "datePublished": "2017-07-01T18:03:52+03:00", - "dateModified": "2017-08-01T08:55:37+03:00", + "dateModified": "2017-07-01T18:03:52+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -336,6 +336,8 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -344,8 +346,6 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-08/index.html b/public/2017-08/index.html index 67cabc0ac..9b5fd1e3e 100644 --- a/public/2017-08/index.html +++ b/public/2017-08/index.html @@ -38,7 +38,7 @@ Then I cleaned up the author authorities and HTML characters in OpenRefine and s - + @@ -88,7 +88,7 @@ Then I cleaned up the author authorities and HTML characters in OpenRefine and s "url": "https://alanorth.github.io/cgspace-notes/2017-08/", "wordCount": "3542", "datePublished": "2017-08-01T11:51:52+03:00", - "dateModified": "2017-09-10T19:18:52+03:00", + "dateModified": "2017-08-01T11:51:52+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -622,6 +622,8 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -630,8 +632,6 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-09/index.html b/public/2017-09/index.html index 8e3fa176b..8f21a1b82 100644 --- a/public/2017-09/index.html +++ b/public/2017-09/index.html @@ -26,7 +26,7 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account - + @@ -64,7 +64,7 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account "url": "https://alanorth.github.io/cgspace-notes/2017-09/", "wordCount": "4199", "datePublished": "2017-09-07T16:54:52+07:00", - "dateModified": "2017-09-28T07:56:11+03:00", + "dateModified": "2017-09-07T16:54:52+07:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -794,6 +794,8 @@ Cert Status: good
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -802,8 +804,6 @@ Cert Status: good
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-10/index.html b/public/2017-10/index.html index 0381d9bc0..409fa16e2 100644 --- a/public/2017-10/index.html +++ b/public/2017-10/index.html @@ -28,7 +28,7 @@ Add Katherine Lutz to the groups for content submission and edit steps of the CG - + @@ -68,7 +68,7 @@ Add Katherine Lutz to the groups for content submission and edit steps of the CG "url": "https://alanorth.github.io/cgspace-notes/2017-10/", "wordCount": "2613", "datePublished": "2017-10-01T08:07:54+03:00", - "dateModified": "2017-11-02T16:13:10+02:00", + "dateModified": "2017-10-01T08:07:54+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -559,6 +559,8 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -567,8 +569,6 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-11/index.html b/public/2017-11/index.html index ad746bf89..3cd6de491 100644 --- a/public/2017-11/index.html +++ b/public/2017-11/index.html @@ -38,7 +38,7 @@ COPY 54701 - + @@ -88,7 +88,7 @@ COPY 54701 "url": "https://alanorth.github.io/cgspace-notes/2017-11/", "wordCount": "5428", "datePublished": "2017-11-02T09:37:54+02:00", - "dateModified": "2017-12-17T10:43:56+02:00", + "dateModified": "2017-11-02T09:37:54+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -1203,6 +1203,8 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -1211,8 +1213,6 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2017-12/index.html b/public/2017-12/index.html index 536b0cecd..e7d7ae7da 100644 --- a/public/2017-12/index.html +++ b/public/2017-12/index.html @@ -23,7 +23,7 @@ The list of connections to XMLUI and REST API for today: - + @@ -58,7 +58,7 @@ The list of connections to XMLUI and REST API for today: "url": "https://alanorth.github.io/cgspace-notes/2017-12/", "wordCount": "4088", "datePublished": "2017-12-01T13:53:54+03:00", - "dateModified": "2017-12-31T07:56:19-08:00", + "dateModified": "2017-12-01T13:53:54+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -968,6 +968,8 @@ DELETE 20
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -976,8 +978,6 @@ DELETE 20
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/2018-01/index.html b/public/2018-01/index.html new file mode 100644 index 000000000..b53af2ce5 --- /dev/null +++ b/public/2018-01/index.html @@ -0,0 +1,376 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + January, 2018 | CGSpace Notes + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+

CGSpace Notes

+

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

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

January, 2018

+ +
+

2018-01-02

+ +
    +
  • Uptime Robot noticed that CGSpace went down and up a few times last night, for a few minutes each time
  • +
  • I didn’t get any load alerts from Linode and the REST and XMLUI logs don’t show anything out of the ordinary
  • +
  • So I don’t know WHY Uptime Robot thought it was down so many times
  • +
  • I notice this error quite a few times in dspace.log:
  • +
+ +
2018-01-02 01:21:19,137 ERROR org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ Error while searching for sidebar facets
+org.dspace.discovery.SearchServiceException: org.apache.solr.search.SyntaxError: Cannot parse 'dateIssued_keyword:[1976+TO+1979]': Encountered " "]" "] "" at line 1, column 32.
+
+ +
    +
  • And there are many of these errors every day for the past month:
  • +
+ +
$ grep -c "Error while searching for sidebar facets" dspace.log.*
+dspace.log.2017-11-21:4
+dspace.log.2017-11-22:1
+dspace.log.2017-11-23:4
+dspace.log.2017-11-24:11
+dspace.log.2017-11-25:0
+dspace.log.2017-11-26:1
+dspace.log.2017-11-27:7
+dspace.log.2017-11-28:21
+dspace.log.2017-11-29:31
+dspace.log.2017-11-30:15
+dspace.log.2017-12-01:15
+dspace.log.2017-12-02:20
+dspace.log.2017-12-03:38
+dspace.log.2017-12-04:65
+dspace.log.2017-12-05:43
+dspace.log.2017-12-06:72
+dspace.log.2017-12-07:27
+dspace.log.2017-12-08:15
+dspace.log.2017-12-09:29
+dspace.log.2017-12-10:35
+dspace.log.2017-12-11:20
+dspace.log.2017-12-12:44
+dspace.log.2017-12-13:36
+dspace.log.2017-12-14:59
+dspace.log.2017-12-15:104
+dspace.log.2017-12-16:53
+dspace.log.2017-12-17:66
+dspace.log.2017-12-18:83
+dspace.log.2017-12-19:101
+dspace.log.2017-12-20:74
+dspace.log.2017-12-21:55
+dspace.log.2017-12-22:66
+dspace.log.2017-12-23:50
+dspace.log.2017-12-24:85
+dspace.log.2017-12-25:62
+dspace.log.2017-12-26:49
+dspace.log.2017-12-27:30
+dspace.log.2017-12-28:54
+dspace.log.2017-12-29:68
+dspace.log.2017-12-30:89
+dspace.log.2017-12-31:53
+dspace.log.2018-01-01:45
+dspace.log.2018-01-02:34
+
+ +
    +
  • Danny wrote to ask for help renewing the wildcard ilri.org certificate and I advised that we should probably use Let’s Encrypt if it’s just a handful of domains
  • +
+ +

+ + + + + +
+ + + +
+ + + + +
+
+ + + + + + diff --git a/public/categories/notes/index.html b/public/categories/notes/index.html index d52822082..c752a941c 100644 --- a/public/categories/notes/index.html +++ b/public/categories/notes/index.html @@ -130,6 +130,8 @@
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -138,8 +140,6 @@
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/cgiar-library-migration/index.html b/public/cgiar-library-migration/index.html index af1b71ff5..dab71b0d7 100644 --- a/public/cgiar-library-migration/index.html +++ b/public/cgiar-library-migration/index.html @@ -14,7 +14,7 @@ - + @@ -40,7 +40,7 @@ "url": "https://alanorth.github.io/cgspace-notes/cgiar-library-migration/", "wordCount": "1278", "datePublished": "2017-09-18T16:38:35+03:00", - "dateModified": "2017-09-28T12:00:49+03:00", + "dateModified": "2017-09-18T16:38:35+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -336,6 +336,8 @@ dspace=# select setval('handle_seq',86873);
    +
  1. January, 2018
  2. +
  3. December, 2017
  4. November, 2017
  5. @@ -344,8 +346,6 @@ dspace=# select setval('handle_seq',86873);
  6. CGIAR Library Migration
  7. -
  8. September, 2017
  9. -
diff --git a/public/index.html b/public/index.html index cee7f1381..862323eb9 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ - + @@ -39,7 +39,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2017-12-01T13:53:54+03:00", + "dateModified": "2018-01-02T08:35:54-08:00", "keywords": "notes,notes,", "description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -97,6 +97,91 @@ +
+
+

January, 2018

+ +
+

2018-01-02

+ + + +
2018-01-02 01:21:19,137 ERROR org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ Error while searching for sidebar facets
+org.dspace.discovery.SearchServiceException: org.apache.solr.search.SyntaxError: Cannot parse 'dateIssued_keyword:[1976+TO+1979]': Encountered " "]" "] "" at line 1, column 32.
+
+ + + +
$ grep -c "Error while searching for sidebar facets" dspace.log.*
+dspace.log.2017-11-21:4
+dspace.log.2017-11-22:1
+dspace.log.2017-11-23:4
+dspace.log.2017-11-24:11
+dspace.log.2017-11-25:0
+dspace.log.2017-11-26:1
+dspace.log.2017-11-27:7
+dspace.log.2017-11-28:21
+dspace.log.2017-11-29:31
+dspace.log.2017-11-30:15
+dspace.log.2017-12-01:15
+dspace.log.2017-12-02:20
+dspace.log.2017-12-03:38
+dspace.log.2017-12-04:65
+dspace.log.2017-12-05:43
+dspace.log.2017-12-06:72
+dspace.log.2017-12-07:27
+dspace.log.2017-12-08:15
+dspace.log.2017-12-09:29
+dspace.log.2017-12-10:35
+dspace.log.2017-12-11:20
+dspace.log.2017-12-12:44
+dspace.log.2017-12-13:36
+dspace.log.2017-12-14:59
+dspace.log.2017-12-15:104
+dspace.log.2017-12-16:53
+dspace.log.2017-12-17:66
+dspace.log.2017-12-18:83
+dspace.log.2017-12-19:101
+dspace.log.2017-12-20:74
+dspace.log.2017-12-21:55
+dspace.log.2017-12-22:66
+dspace.log.2017-12-23:50
+dspace.log.2017-12-24:85
+dspace.log.2017-12-25:62
+dspace.log.2017-12-26:49
+dspace.log.2017-12-27:30
+dspace.log.2017-12-28:54
+dspace.log.2017-12-29:68
+dspace.log.2017-12-30:89
+dspace.log.2017-12-31:53
+dspace.log.2018-01-01:45
+dspace.log.2018-01-02:34
+
+ + + +

+ Read more → +
+ + + + + +

December, 2017

@@ -357,41 +442,6 @@ COPY 54701 - -
-
-

April, 2017

- -
-

2017-04-02

- -
    -
  • Merge one change to CCAFS flagships that I had forgotten to remove last month (“MANAGING CLIMATE RISK”): https://github.com/ilri/DSpace/pull/317
  • -
  • Quick proof-of-concept hack to add dc.rights to the input form, including some inline instructions/hints:
  • -
- -

dc.rights in the submission form

- -
    -
  • Remove redundant/duplicate text in the DSpace submission license
  • -
  • Testing the CMYK patch on a collection with 650 items:
  • -
- -
$ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Thumbnail" -v >& /tmp/filter-media-cmyk.txt
-
- -

- Read more → -
- - - - -