- Rename WLE's "Research Themes" sub-community to "WLE Phase I Research Themes" on DSpace Test so Macaroni Bros can continue their testing
- Macaroni Bros tested it and said it's fine, so I renamed it on CGSpace as well
- Working on how to automate the extraction of the CIAT Book chapters, doing some magic in OpenRefine to extract page from–to from cg.identifier.url and dc.format.extent, respectively:
- Finally, after some filtering to see which small outliers there were (based on dc.format.extent using "p. 1-14" vs "29 p."), create a new column with last page number:
- Start processing 769 records after filtering the following (there are another 159 records that have some other format, or for example they have their own PDF which I will process later), using a modified `generate-thumbnails.py` script to read certain fields and then pass to GhostScript:
- I went and did some basic sanity checks on the remaining items in the CIAT Book Chapters and decided they are mostly fine (except one duplicate and the flagged ones), so I imported them to DSpace Test too (162 items)
- Total items in CIAT Book Chapters is 914, with the others being flagged for some reason, and we should send that back to CIAT
- Restart Tomcat on CGSpace so that the `cg.identifier.wletheme` field is available on REST API for Macaroni Bros
- WLE has said that one of their Phase II research themes is being renamed from `Regenerating Degraded Landscapes` to `Restoring Degraded Landscapes`
- Pull request with the changes to `input-forms.xml`: [#329](https://github.com/ilri/DSpace/pull/329)
- As of now it doesn't look like there are any items using this research theme so we don't need to do any updates:
```
dspace=# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=237 and text_value like 'Regenerating Degraded Landscapes%';
text_value
------------
(0 rows)
```
- Marianne from WLE asked if they can have both Phase I and II research themes together in the item submission form
- Perhaps we can add them together in the same question for `cg.identifier.wletheme`
- CGSpace went down briefly, I see lots of these errors in the dspace logs:
```
Java stacktrace: java.util.NoSuchElementException: Timeout waiting for idle object
```
- After looking at the Tomcat logs, Munin graphs, and PostgreSQL connection stats, it seems there is just a high load
- Might be a good time to adjust DSpace's database connection settings, like I first mentioned in April, 2017 after reading the [2017-04 DCAT comments](https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017)
- I've adjusted the following in CGSpace's config:
-`db.maxconnections` 30→70 (the default PostgreSQL config allows 100 connections, so DSpace's default of 30 is quite low)
-`db.maxwait` 5000→10000
-`db.maxidle` 8→20 (DSpace default is -1, unlimited, but we had set it to 8 earlier)
- We will need to adjust this again (as well as the `pg_hba.conf` settings) when we deploy tsega's REST API