mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-06-26 16:13:48 +02:00
53 lines
2.2 KiB
Markdown
53 lines
2.2 KiB
Markdown
|
---
|
||
|
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
|
||
|
|
||
|
<!--more-->
|
||
|
|
||
|
- 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...
|
||
|
|
||
|
<!-- vim: set sw=2 ts=2: -->
|