diff --git a/content/posts/2020-08.md b/content/posts/2020-08.md index 3570feaf4..bb33f3187 100644 --- a/content/posts/2020-08.md +++ b/content/posts/2020-08.md @@ -536,4 +536,20 @@ $ grep -oE '[0-9]+/[0-9]+' /tmp/ids.txt > /tmp/handles.txt - The group members are the same so I went through and replaced the `CCAFS approvers1` group everywhere manually... - I also removed some old CCAFS users from the groups +## 2020-08-27 + +- I ran the CountryCodeTagger on CGSpace and it was very fast: + +``` +$ time chrt -b 0 dspace curate -t countrycodetagger -i all -r - -l 500 -s object | tee /tmp/2020-08-27-countrycodetagger.log +real 2m7.643s +user 1m48.740s +sys 0m14.518s +$ grep -c added /tmp/2020-08-27-countrycodetagger.log +46 +``` + +- I still haven't created a cron job for it... but it's good to know that when it doesn't need to add very many country codes that it is very fast (original run a few weeks ago added 50,000 country codes) + - I wonder how DSpace 6 will perform when it doesn't need to add all the codes, like after the initial run + diff --git a/content/posts/2020-09.md b/content/posts/2020-09.md new file mode 100644 index 000000000..fbb41f5c0 --- /dev/null +++ b/content/posts/2020-09.md @@ -0,0 +1,52 @@ +--- +title: "September, 2020" +date: 2020-09-02T15:35:54+03:00 +author: "Alan Orth" +categories: ["Notes"] +--- + +## 2020-09-02 + +- Replace Marissa van Epp for Rhys Bucknall in the CCAFS groups on CGSpace because Marissa no longer works at CCAFS +- The AReS Explorer hasn't updated its index since 2020-08-22 when I last forced it + - I restarted it again now and told Moayad that the automatic indexing isn't working +- Add `Alliance of Bioversity International and CIAT` to affiliations on CGSpace +- Abenet told me that the general search text on AReS doesn't get reset when you use the "Reset Filters" button + - I filed a bug on OpenRXV: https://github.com/ilri/OpenRXV/issues/39 +- I filed an issue on OpenRXV to make some minor edits to the admin UI: https://github.com/ilri/OpenRXV/issues/40 + + + +- I ran the country code tagger on CGSpace: + +``` +$ time chrt -b 0 dspace curate -t countrycodetagger -i all -r - -l 500 -s object | tee /tmp/2020-09-02-countrycodetagger.log +... +real 2m10.516s +user 1m43.953s +sys 0m15.192s +$ grep -c added /tmp/2020-09-02-countrycodetagger.log +39 +``` + +- I still need to create a cron job for this... +- Sisay and Abenet said they can't log in with LDAP on DSpace Test (DSpace 6) + - I tried and I can't either... but it is working on CGSpace + - The error on DSpace 6 is: + +``` +2020-09-02 12:03:10,666 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=A629116488DCC467E1EA2062A2E2EFD7:ip_addr=92.220.02.201:failed_login:no DN found for user aorth +``` + +- I tried to query LDAP directly using the application credentials with ldapsearch and it works: + +``` +$ ldapsearch -x -H ldaps://AZCGNEROOT2.CGIARAD.ORG:636/ -b "dc=cgiarad,dc=org" -D "applicationaccount@cgiarad.org" -W "(sAMAccountName=me)" +``` + +- According to the [DSpace 6 docs](https://wiki.lyrasis.org/display/DSDOC6x/Authentication+Plugins#AuthenticationPlugins-LDAPAuthentication) we need to escape commas in our LDAP parameters due to the new configuration system + - I added the commas and restarted DSpace (though technically we shouldn't need to restart due to the new config system hot reloading configs) + - Run all system updates on DSpace Test (linode26) and reboot it + - After the restart LDAP login works... + + diff --git a/docs/2020-08/index.html b/docs/2020-08/index.html index b89390238..50b1db208 100644 --- a/docs/2020-08/index.html +++ b/docs/2020-08/index.html @@ -19,7 +19,7 @@ It is class based so I can easily add support for other vocabularies, and the te - + @@ -43,9 +43,9 @@ It is class based so I can easily add support for other vocabularies, and the te "@type": "BlogPosting", "headline": "August, 2020", "url": "https://alanorth.github.io/cgspace-notes/2020-08/", - "wordCount": "3567", + "wordCount": "3672", "datePublished": "2020-08-02T15:35:54+03:00", - "dateModified": "2020-08-20T17:35:11+03:00", + "dateModified": "2020-08-22T13:29:08+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -757,6 +757,23 @@ $ grep -oE '[0-9]+/[0-9]+' /tmp/ids.txt > /tmp/handles.txt +
$ time chrt -b 0 dspace curate -t countrycodetagger -i all -r - -l 500 -s object | tee /tmp/2020-08-27-countrycodetagger.log
+real 2m7.643s
+user 1m48.740s
+sys 0m14.518s
+$ grep -c added /tmp/2020-08-27-countrycodetagger.log
+46
+