diff --git a/content/posts/2019-02.md b/content/posts/2019-02.md index 82a33bb82..344618ff2 100644 --- a/content/posts/2019-02.md +++ b/content/posts/2019-02.md @@ -739,4 +739,23 @@ $ podman start artifactory - More on the [subuid permissions issue with rootless containers here](https://podman.io/blogs/2018/10/03/podman-remove-content-homedir.html) +## 2019-02-17 + +- I ran DSpace's cleanup task on CGSpace (linode18) and there were errors: + +``` +$ dspace cleanup -v +Error: ERROR: update or delete on table "bitstream" violates foreign key constraint "bundle_primary_bitstream_id_fkey" on table "bundle" + Detail: Key (bitstream_id)=(162844) is still referenced from table "bundle". +``` + +- The solution is, as always: +``` +$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (162844);' +UPDATE 1 +``` + +- I merged the Atmire Metadata Quality Module (MQM) changes to the `5_x-prod` branch and deployed it on CGSpace ([#407](https://github.com/ilri/DSpace/pull/407)) +- Then I ran all system updates on CGSpace server and rebooted it + diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index 89dbaf6ca..3ea308904 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -42,7 +42,7 @@ sys 0m1.979s - + @@ -89,9 +89,9 @@ sys 0m1.979s "@type": "BlogPosting", "headline": "February, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-02/", - "wordCount": "4200", + "wordCount": "4292", "datePublished": "2019-02-01T21:37:30+02:00", - "dateModified": "2019-02-15T17:30:02+02:00", + "dateModified": "2019-02-15T17:37:14+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -997,6 +997,29 @@ $ podman start artifactory
$ dspace cleanup -v
+Error: ERROR: update or delete on table "bitstream" violates foreign key constraint "bundle_primary_bitstream_id_fkey" on table "bundle"
+ Detail: Key (bitstream_id)=(162844) is still referenced from table "bundle".
+
+
+The solution is, as always:
+ +$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (162844);'
+UPDATE 1
+
I merged the Atmire Metadata Quality Module (MQM) changes to the 5_x-prod
branch and deployed it on CGSpace (#407)
Then I ran all system updates on CGSpace server and rebooted it