mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2016-04-19
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user