diff --git a/content/posts/2020-04.md b/content/posts/2020-04.md index a70ca2306..0a2f1a295 100644 --- a/content/posts/2020-04.md +++ b/content/posts/2020-04.md @@ -89,6 +89,34 @@ $ ./add-orcid-identifiers-csv.py -i 2020-04-07-fix-duplicate-orcids.csv -db dspa - I ran the fixes on DSpace Test and CGSpace as well - I started testing the [pull request](https://github.com/ilri/DSpace/pull/445) sent by Atmire yesterday - I notice that we now need `yarn` to build, and I need to bump the Node.js `engine` version in our Mirage 2 theme in order to get it to build on Node.js 10.x + - Font Awesome icons for GitHub etc weren't loading, and after a bit of troubleshooting I replaced version 4.5.0 with 5.13.0 and to my surprise they now include Mendeley and ORCID so we can get rid of the Academicons dependency +## 2020-04-12 + +- Testing the Atmire DSpace 6.3 code with a clean CGSpace DSpace 5.8 database snapshot + - One Flyway migration failed so I had to manually remove it (and of course create the pgcrypto extension): + +``` +dspace63=# DELETE FROM schema_version WHERE version IN ('5.8.2015.12.03.3'); +dspace63=# CREATE EXTENSION pgcrypto; +``` + +- Then DSpace 6.3 started up OK and I was able to see some statistics in the Content and Usage Analysis (CUA) module, but not on community, collection, or item pages + - I also noticed at least one of these errors in the DSpace log: + +``` +2020-04-12 16:34:33,363 ERROR com.atmire.dspace.app.xmlui.aspect.statistics.editorparts.DataTableTransformer @ java.lang.IllegalArgumentException: Invalid UUID string: 1 +``` + +- And I remembered I actually need to run the DSpace 6.4 Solr UUID migrations: + +``` +$ export JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" +$ ~/dspace63/bin/dspace solr-upgrade-statistics-6x +``` + +- Run system updates on DSpace Test (linode26) and reboot it +- More work on the DSpace 6.3 stuff, improving the GDPR consent logic to use [haven](https://github.com/chiiya/haven) instead of cookieconsent + - It works better by injecting the Google Analytics script after the user clicks agree, and it also has a preferences section that gets automatically injected on the privacy page! diff --git a/docs/2020-04/index.html b/docs/2020-04/index.html index 524a7c5d1..6ced4d946 100644 --- a/docs/2020-04/index.html +++ b/docs/2020-04/index.html @@ -25,7 +25,7 @@ On the same note, the one item Abenet pointed out last week now has a donut with - + @@ -55,9 +55,9 @@ On the same note, the one item Abenet pointed out last week now has a donut with "@type": "BlogPosting", "headline": "April, 2020", "url": "https://alanorth.github.io/cgspace-notes/2020-04/", - "wordCount": "578", + "wordCount": "793", "datePublished": "2020-04-02T10:53:24+03:00", - "dateModified": "2020-04-07T10:37:48+03:00", + "dateModified": "2020-04-07T16:32:02+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -215,6 +215,38 @@ DELETE 994
  • I started testing the pull request sent by Atmire yesterday +
  • + +

    2020-04-12

    + +
    dspace63=# DELETE FROM schema_version WHERE version IN ('5.8.2015.12.03.3');
    +dspace63=# CREATE EXTENSION pgcrypto;
    +
    +
    2020-04-12 16:34:33,363 ERROR com.atmire.dspace.app.xmlui.aspect.statistics.editorparts.DataTableTransformer @ java.lang.IllegalArgumentException: Invalid UUID string: 1
    +
    +
    $ export JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8"
    +$ ~/dspace63/bin/dspace solr-upgrade-statistics-6x
    +
    diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 9ce37878d..733a64d25 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/2020-04/ - 2020-04-07T10:37:48+03:00 + 2020-04-07T16:32:02+03:00 https://alanorth.github.io/cgspace-notes/categories/ - 2020-04-07T10:37:48+03:00 + 2020-04-07T16:32:02+03:00 https://alanorth.github.io/cgspace-notes/ - 2020-04-07T10:37:48+03:00 + 2020-04-07T16:32:02+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-04-07T10:37:48+03:00 + 2020-04-07T16:32:02+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-04-07T10:37:48+03:00 + 2020-04-07T16:32:02+03:00