mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2019-07-12
This commit is contained in:
@ -218,4 +218,28 @@ dc.identifier.issn
|
||||
|
||||
- I'm assuming something happened in his browser (like a refresh) after the item was submitted...
|
||||
|
||||
## 2019-07-12
|
||||
|
||||
- Atmire responded with some initial feedback about our Tomcat configuration related to the [Solr issue I raised recently](https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=685)
|
||||
- Unfortunately there is no concrete feedback yet
|
||||
- I think we need to upgrade our DSpace Test server so we can fit all the Solr cores...
|
||||
- Actually, I looked and there were over 40 GB free on DSpace Test so I copied the Solr statistics cores for the years 2017 to 2010 from CGSpace to DSpace Test because they weren't actually very large
|
||||
- I re-deployed DSpace for good measure, and I think all Solr cores are loading... I will do more tests later
|
||||
- Run all system updates on DSpace Test (linode19) and reboot it
|
||||
- Try to run `dspace cleanup -v` on CGSpace and ran into an error:
|
||||
|
||||
```
|
||||
Error: ERROR: update or delete on table "bitstream" violates foreign key constraint "bundle_primary_bitstream_id_fkey" on table "bundle"
|
||||
Detail: Key (bitstream_id)=(167394) is still referenced from table "bundle".
|
||||
```
|
||||
|
||||
- The solution is, as always:
|
||||
|
||||
```
|
||||
# su - postgres
|
||||
$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (167394);'
|
||||
UPDATE 1
|
||||
```
|
||||
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user