Update notes for 2016-04-19

This commit is contained in:
2016-04-19 19:23:10 +03:00
parent 835d25fbc5
commit 5ec064879c
4 changed files with 109 additions and 0 deletions

View File

@ -250,3 +250,28 @@ javax.ws.rs.WebApplicationException
- They are old ICRAF fields and we haven't used them since 2011 or so
- Also delete them from the metadata registry
- CGSpace went down again, `dspace.log` had this:
```
2016-04-19 15:02:17,025 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error -
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object
```
- I restarted Tomcat and PostgreSQL and now it's back up
- I bet this is the same crash as yesterday, but I only saw the errors in `catalina.out`
- Looks to be related to this, from `dspace.log`:
```
2016-04-19 15:16:34,670 ERROR org.dspace.rest.Resource @ Something get wrong. Aborting context in finally statement.
```
- We have 18,000 of these errors right now...
- Delete a few more old metadata values: `dc.Species.animal`, `dc.type.journal`, and `dc.publicationcategory`:
```
# delete from metadatavalue where resource_type_id=2 and metadata_field_id=105;
# delete from metadatavalue where resource_type_id=2 and metadata_field_id=85;
# delete from metadatavalue where resource_type_id=2 and metadata_field_id=95;
```
- And then remove them from the metadata registry