From 3eb69e79fe9dd895e3064784252844ab7159cb16 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 17 Feb 2019 13:16:36 +0200 Subject: [PATCH] Add notes for 2019-02-17 --- content/posts/2019-02.md | 19 +++++++++++++++++++ docs/2019-02/index.html | 29 ++++++++++++++++++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 50 insertions(+), 8 deletions(-) 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
  • More on the subuid permissions issue with rootless containers here
  • +

    2019-02-17

    + + + +
    $ 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".
    +
    + + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index ce7717ecd..d29e2b119 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-02/ - 2019-02-15T17:30:02+02:00 + 2019-02-15T17:37:14+02:00 @@ -209,7 +209,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-02-15T17:30:02+02:00 + 2019-02-15T17:37:14+02:00 0 @@ -220,7 +220,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-02-15T17:30:02+02:00 + 2019-02-15T17:37:14+02:00 0 @@ -232,13 +232,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2019-02-15T17:30:02+02:00 + 2019-02-15T17:37:14+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-02-15T17:30:02+02:00 + 2019-02-15T17:37:14+02:00 0