Add notes for 2020-06-13

This commit is contained in:
2020-06-13 17:48:31 +03:00
parent 4280ad7388
commit a29833dc8f
25 changed files with 67 additions and 30 deletions

View File

@ -334,4 +334,19 @@ Total number of bot hits purged: 29025
![PostgreSQL connections year DSpace Test](/cgspace-notes/2020/06/postgres_connections_ALL-day2.png)
## 2020-06-13
- Atmire sent some questions about DSpace Test related to our ongoing CUA indexing issue
- I had to clarify a few build steps and directories on the test server
- I notice that the PostgreSQL connection issues have not come back since 2020-06-09 when I downgraded Tomcat to 7.0.99... fingers crossed that it was something related to that!
- On that note I notice that the AReS explorer is still not harvesting CGSpace properly...
- I looked at the REST API logs on CGSpace (linode18) and saw that the AReS harvester is being denied due to not having a user agent, oops:
```
172.104.229.92 - - [13/Jun/2020:02:00:00 +0200] "GET /rest/items?expand=metadata,bitstreams,parentCommunityList&limit=50&offset=0 HTTP/1.1" 403 260 "-" "-"
```
- I created an nginx map based on the host's IP address that sets a temporary user agent (ua) and then changed the conditional in the REST API location block so that it checks this mapped ua instead of the default one
- That should allow AReS to harvest for now until they update their user agent
<!-- vim: set sw=2 ts=2: -->