diff --git a/content/post/2017-04.md b/content/post/2017-04.md index 156b33f02..8ad130294 100644 --- a/content/post/2017-04.md +++ b/content/post/2017-04.md @@ -400,3 +400,10 @@ org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: this Index ``` - Now everything is ok +- Finally finished manually running the cleanup task over and over and null'ing the conflicting IDs: + +``` +dspace=# update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (435, 1132, 1136, 1220, 1236, 3002, 3255, 5322, 5098, 5982, 5897, 6245, 6184, 4927, 6070, 4925, 6888, 7368, 7136, 7294, 7698, 7864, 10799, 10839, 11765, 13241, 13634, 13642, 14127, 14146, 15582, 16116, 16254, 17136, 17486, 17824, 18098, 22091, 22149, 22206, 22449, 22548, 22559, 22454, 22253, 22553, 22897, 22941, 30262, 33657, 39796, 46943, 56561, 58237, 58739, 58734, 62020, 62535, 64149, 64672, 66988, 66919, 76005, 79780, 78545, 81078, 83620, 84492, 92513, 93915); +``` + +- Now running the cleanup script on DSpace Test and already seeing 4GB freed from the assetstore—it's likely we haven't had a cleanup task complete successfully in years... diff --git a/public/2015-11/index.html b/public/2015-11/index.html index 8e5512ca6..ea9bd69fe 100644 --- a/public/2015-11/index.html +++ b/public/2015-11/index.html @@ -59,7 +59,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac "/> - + diff --git a/public/2015-12/index.html b/public/2015-12/index.html index 357d03fcd..b47b3df8d 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -61,7 +61,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less "/> - + diff --git a/public/2016-01/index.html b/public/2016-01/index.html index 7ecff37dd..695b78b69 100644 --- a/public/2016-01/index.html +++ b/public/2016-01/index.html @@ -51,7 +51,7 @@ Update GitHub wiki for documentation of maintenance tasks. "/> - + diff --git a/public/2016-02/index.html b/public/2016-02/index.html index f11862720..4f3f451d0 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -65,7 +65,7 @@ Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE&r "/> - + diff --git a/public/2016-03/index.html b/public/2016-03/index.html index 24d95bef4..b867bff85 100644 --- a/public/2016-03/index.html +++ b/public/2016-03/index.html @@ -51,7 +51,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja "/> - + diff --git a/public/2016-04/index.html b/public/2016-04/index.html index d4e41fb93..b6de02888 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -55,7 +55,7 @@ Also, I noticed the checker log has some errors we should pay attention to: "/> - + diff --git a/public/2016-05/index.html b/public/2016-05/index.html index c3fb1a77d..634e5f353 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -59,7 +59,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! "/> - + diff --git a/public/2016-06/index.html b/public/2016-06/index.html index 9e285c7da..a9c8b3e44 100644 --- a/public/2016-06/index.html +++ b/public/2016-06/index.html @@ -57,7 +57,7 @@ Working on second phase of metadata migration, looks like this will work for mov "/> - + diff --git a/public/2016-07/index.html b/public/2016-07/index.html index 20f4ca97e..addd04feb 100644 --- a/public/2016-07/index.html +++ b/public/2016-07/index.html @@ -73,7 +73,7 @@ In this case the select query was showing 95 results before the update "/> - + diff --git a/public/2016-08/index.html b/public/2016-08/index.html index 56aa73cf5..23330d3c5 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -67,7 +67,7 @@ $ git rebase -i dspace-5.5 "/> - + diff --git a/public/2016-09/index.html b/public/2016-09/index.html index 7a7b1d24e..2a0d4a13a 100644 --- a/public/2016-09/index.html +++ b/public/2016-09/index.html @@ -59,7 +59,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=or "/> - + diff --git a/public/2016-10/index.html b/public/2016-10/index.html index 888ae6a65..4b930d8f7 100644 --- a/public/2016-10/index.html +++ b/public/2016-10/index.html @@ -67,7 +67,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id "/> - + diff --git a/public/2016-11/index.html b/public/2016-11/index.html index 9f0ecb215..f2b342dfb 100644 --- a/public/2016-11/index.html +++ b/public/2016-11/index.html @@ -51,7 +51,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module "/> - + diff --git a/public/2016-12/index.html b/public/2016-12/index.html index 3dd71f7ca..ad3d269af 100644 --- a/public/2016-12/index.html +++ b/public/2016-12/index.html @@ -75,7 +75,7 @@ Another worrying error from dspace.log is: "/> - + diff --git a/public/2017-01/index.html b/public/2017-01/index.html index e00eebe83..78d5de362 100644 --- a/public/2017-01/index.html +++ b/public/2017-01/index.html @@ -51,7 +51,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua "/> - + diff --git a/public/2017-02/index.html b/public/2017-02/index.html index 717f771c4..4485e84e5 100644 --- a/public/2017-02/index.html +++ b/public/2017-02/index.html @@ -79,7 +79,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name "/> - + diff --git a/public/2017-03/index.html b/public/2017-03/index.html index f10552cea..4664c19cb 100644 --- a/public/2017-03/index.html +++ b/public/2017-03/index.html @@ -83,7 +83,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg "/> - + diff --git a/public/2017-04/index.html b/public/2017-04/index.html index fdd466e6a..0dd002bad 100644 --- a/public/2017-04/index.html +++ b/public/2017-04/index.html @@ -30,7 +30,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th - + @@ -69,7 +69,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th "/> - + @@ -79,9 +79,9 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th "@type": "BlogPosting", "headline": "April, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-04/", - "wordCount": "2433", + "wordCount": "2553", "datePublished": "2017-04-02T17:08:52+02:00", - "dateModified": "2017-04-22T19:34:59+03:00", + "dateModified": "2017-04-24T10:41:55+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -613,6 +613,14 @@ org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: this Index + +
dspace=# update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (435, 1132, 1136, 1220, 1236, 3002, 3255, 5322, 5098, 5982, 5897, 6245, 6184, 4927, 6070, 4925, 6888, 7368, 7136, 7294, 7698, 7864, 10799, 10839, 11765, 13241, 13634, 13642, 14127, 14146, 15582, 16116, 16254, 17136, 17486, 17824, 18098, 22091, 22149, 22206, 22449, 22548, 22559, 22454, 22253, 22553, 22897, 22941, 30262, 33657, 39796, 46943, 56561, 58237, 58739, 58734, 62020, 62535, 64149, 64672, 66988, 66919, 76005, 79780, 78545, 81078, 83620, 84492, 92513, 93915);
+
+ + diff --git a/public/index.html b/public/index.html index 0ba25c9ac..bff790a82 100644 --- a/public/index.html +++ b/public/index.html @@ -23,7 +23,7 @@ - + diff --git a/public/page/2/index.html b/public/page/2/index.html index 75e3d1e98..c16b556e7 100644 --- a/public/page/2/index.html +++ b/public/page/2/index.html @@ -23,7 +23,7 @@ - + diff --git a/public/post/index.html b/public/post/index.html index 19f12dbdb..ff2ed9554 100644 --- a/public/post/index.html +++ b/public/post/index.html @@ -23,7 +23,7 @@ - + diff --git a/public/post/page/2/index.html b/public/post/page/2/index.html index 067bea9bf..4520b59dd 100644 --- a/public/post/page/2/index.html +++ b/public/post/page/2/index.html @@ -23,7 +23,7 @@ - + diff --git a/public/sitemap.xml b/public/sitemap.xml index acc82f455..e9163df9f 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -1,9 +1,10 @@ - + https://alanorth.github.io/cgspace-notes/2017-04/ - 2017-04-22T19:34:59+03:00 + 2017-04-24T10:41:55+03:00 @@ -93,7 +94,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-04-22T19:34:59+03:00 + 2017-04-24T10:41:55+03:00 0 @@ -104,19 +105,19 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-04-22T19:34:59+03:00 + 2017-04-24T10:41:55+03:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2017-04-22T19:34:59+03:00 + 2017-04-24T10:41:55+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-04-22T19:34:59+03:00 + 2017-04-24T10:41:55+03:00 0 diff --git a/public/tags/notes/index.html b/public/tags/notes/index.html index cef370144..13e2ffdc2 100644 --- a/public/tags/notes/index.html +++ b/public/tags/notes/index.html @@ -23,7 +23,7 @@ - + diff --git a/public/tags/notes/page/2/index.html b/public/tags/notes/page/2/index.html index 622654227..795641755 100644 --- a/public/tags/notes/page/2/index.html +++ b/public/tags/notes/page/2/index.html @@ -23,7 +23,7 @@ - +