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 +

2020-08-27

+ +
$ 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
+
diff --git a/docs/categories/index.html b/docs/categories/index.html index 24aa4328b..e92308224 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 03db0f5c0..23293b76e 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 4b05d773d..2552bc877 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 11b0eaa13..84e0c9c46 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 7c187f7db..12d57cc24 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/index.html b/docs/index.html index cae9f2095..f7c416e33 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 1e0c5bdb6..bbf48279a 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 60fee42b5..9b90823de 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index b07804561..8b739e649 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 418e57eda..ec6b5617c 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 207941e34..7c017e0a5 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 7e1877e75..70a7665d6 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 7409a1f26..a99f16942 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 3167ff1f9..238e9d5c1 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 1c8f7310a..33b81e609 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 139b619d4..cd73449d4 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 9079c8d05..b9a0093e6 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 6d6d1680e..a1216f484 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/2020-08/ - 2020-08-20T17:35:11+03:00 + 2020-08-22T13:29:08+03:00 https://alanorth.github.io/cgspace-notes/categories/ - 2020-08-20T17:35:11+03:00 + 2020-08-22T13:29:08+03:00 https://alanorth.github.io/cgspace-notes/ - 2020-08-20T17:35:11+03:00 + 2020-08-22T13:29:08+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-08-20T17:35:11+03:00 + 2020-08-22T13:29:08+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-08-20T17:35:11+03:00 + 2020-08-22T13:29:08+03:00