diff --git a/content/posts/2019-07.md b/content/posts/2019-07.md index 51825c768..4b3616e45 100644 --- a/content/posts/2019-07.md +++ b/content/posts/2019-07.md @@ -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 +``` + + diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index a417f942a..2438cccc7 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca - + @@ -57,7 +57,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-03\/", "wordCount": "7105", "datePublished": "2019-03-01T12:16:30\x2b01:00", - "dateModified": "2019-04-01T17:02:54\x2b03:00", + "dateModified": "2019-07-12T14:05:21\x2b03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -490,7 +490,7 @@ Detail: Key (bitstream_id)=(164496) is still referenced from table "bundle&
The solution is, as always:
# su - postgres
-$ psql dspacetest -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (164496);'
+$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (164496);'
UPDATE 1
I’m assuming something happened in his browser (like a refresh) after the item was submitted…
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
+