Update notes

This commit is contained in:
Alan Orth 2017-09-10 13:35:51 +03:00
parent a12ae828f6
commit f8fa8a0443
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
26 changed files with 109 additions and 76 deletions

View File

@ -86,7 +86,7 @@ $ for item in /home/aorth/10947-1/ITEM@10947-*; do [dspace]/bin/dspace packager
- Clean these up in the database using: - Clean these up in the database using:
``` ```
dspace=# delete from metadatavalue where resource_type_id=2 and text_value='' dspace=# delete from metadatavalue where resource_type_id=2 and text_value='';
``` ```
- I ended up running into issues during data cleaning and decided to wipe out the entire community and re-sync DSpace Test assetstore and database from CGSpace rather than waiting for the cleanup task to clean up - I ended up running into issues during data cleaning and decided to wipe out the entire community and re-sync DSpace Test assetstore and database from CGSpace rather than waiting for the cleanup task to clean up

View File

@ -14,3 +14,18 @@ tags = ["Notes"]
## 2017-09-07 ## 2017-09-07
- Ask Sisay to clean up the WLE approvers a bit, as Marianne's user account is both in the approvers step as well as the group - Ask Sisay to clean up the WLE approvers a bit, as Marianne's user account is both in the approvers step as well as the group
## 2017-09-10
- Delete 58 blank metadata values from the CGSpace database:
```
dspace=# delete from metadatavalue where resource_type_id=2 and text_value='';
DELETE 58
```
- I also ran it on DSpace Test because we'll be migrating the CGIAR Library soon and it would be good to catch these before we migrate
- Run system updates and restart DSpace Test
- We only have 7.7GB of free space on DSpace Test so I need to copy some data off of it before doing the CGIAR Library migration (requires lots of exporting and creating temp files)
- I still have the original data from the CGIAR Library so I've zipped it up and sent it off to linode18 for now
- sha256sum of `original-cgiar-library-6.6GB.tar.gz` is: bcfabb52f51cbdf164b61b7e9b3a0e498479e4c1ed1d547d32d11f44c0d5eb8a

View File

@ -25,7 +25,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac
<meta property="article:published_time" content="2015-11-23T17:00:57&#43;03:00"/> <meta property="article:published_time" content="2015-11-23T17:00:57&#43;03:00"/>
<meta property="article:modified_time" content="2015-11-23T17:00:57&#43;03:00"/> <meta property="article:modified_time" content="2016-09-28T17:02:30&#43;03:00"/>
@ -63,7 +63,7 @@ $ psql -c &#39;SELECT * from pg_stat_activity;&#39; | grep idle | grep -c cgspac
"url": "https://alanorth.github.io/cgspace-notes/2015-11/", "url": "https://alanorth.github.io/cgspace-notes/2015-11/",
"wordCount": "798", "wordCount": "798",
"datePublished": "2015-11-23T17:00:57&#43;03:00", "datePublished": "2015-11-23T17:00:57&#43;03:00",
"dateModified": "2015-11-23T17:00:57&#43;03:00", "dateModified": "2016-09-28T17:02:30&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -26,7 +26,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less
<meta property="article:published_time" content="2015-12-02T13:18:00&#43;03:00"/> <meta property="article:published_time" content="2015-12-02T13:18:00&#43;03:00"/>
<meta property="article:modified_time" content="2015-12-02T13:18:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -65,7 +65,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less
"url": "https://alanorth.github.io/cgspace-notes/2015-12/", "url": "https://alanorth.github.io/cgspace-notes/2015-12/",
"wordCount": "753", "wordCount": "753",
"datePublished": "2015-12-02T13:18:00&#43;03:00", "datePublished": "2015-12-02T13:18:00&#43;03:00",
"dateModified": "2015-12-02T13:18:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -21,7 +21,7 @@ Update GitHub wiki for documentation of maintenance tasks.
<meta property="article:published_time" content="2016-01-13T13:18:00&#43;03:00"/> <meta property="article:published_time" content="2016-01-13T13:18:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-01-13T13:18:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -55,7 +55,7 @@ Update GitHub wiki for documentation of maintenance tasks.
"url": "https://alanorth.github.io/cgspace-notes/2016-01/", "url": "https://alanorth.github.io/cgspace-notes/2016-01/",
"wordCount": "466", "wordCount": "466",
"datePublished": "2016-01-13T13:18:00&#43;03:00", "datePublished": "2016-01-13T13:18:00&#43;03:00",
"dateModified": "2016-01-13T13:18:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -28,7 +28,7 @@ Also, lots of things like &ldquo;COTE D`LVOIRE&rdquo; and &ldquo;COTE D IVOIRE&r
<meta property="article:published_time" content="2016-02-05T13:18:00&#43;03:00"/> <meta property="article:published_time" content="2016-02-05T13:18:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-02-05T13:18:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -69,7 +69,7 @@ Also, lots of things like &ldquo;COTE D`LVOIRE&rdquo; and &ldquo;COTE D IVOIRE&r
"url": "https://alanorth.github.io/cgspace-notes/2016-02/", "url": "https://alanorth.github.io/cgspace-notes/2016-02/",
"wordCount": "1657", "wordCount": "1657",
"datePublished": "2016-02-05T13:18:00&#43;03:00", "datePublished": "2016-02-05T13:18:00&#43;03:00",
"dateModified": "2016-02-05T13:18:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -21,7 +21,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
<meta property="article:published_time" content="2016-03-02T16:50:00&#43;03:00"/> <meta property="article:published_time" content="2016-03-02T16:50:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-03-02T16:50:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -55,7 +55,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
"url": "https://alanorth.github.io/cgspace-notes/2016-03/", "url": "https://alanorth.github.io/cgspace-notes/2016-03/",
"wordCount": "1581", "wordCount": "1581",
"datePublished": "2016-03-02T16:50:00&#43;03:00", "datePublished": "2016-03-02T16:50:00&#43;03:00",
"dateModified": "2016-03-02T16:50:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -23,7 +23,7 @@ Also, I noticed the checker log has some errors we should pay attention to:
<meta property="article:published_time" content="2016-04-04T11:06:00&#43;03:00"/> <meta property="article:published_time" content="2016-04-04T11:06:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-04-04T11:06:00&#43;03:00"/> <meta property="article:modified_time" content="2016-09-28T17:02:30&#43;03:00"/>
@ -59,7 +59,7 @@ Also, I noticed the checker log has some errors we should pay attention to:
"url": "https://alanorth.github.io/cgspace-notes/2016-04/", "url": "https://alanorth.github.io/cgspace-notes/2016-04/",
"wordCount": "2006", "wordCount": "2006",
"datePublished": "2016-04-04T11:06:00&#43;03:00", "datePublished": "2016-04-04T11:06:00&#43;03:00",
"dateModified": "2016-04-04T11:06:00&#43;03:00", "dateModified": "2016-09-28T17:02:30&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -25,7 +25,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
<meta property="article:published_time" content="2016-05-01T23:06:00&#43;03:00"/> <meta property="article:published_time" content="2016-05-01T23:06:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-05-01T23:06:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -63,7 +63,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
"url": "https://alanorth.github.io/cgspace-notes/2016-05/", "url": "https://alanorth.github.io/cgspace-notes/2016-05/",
"wordCount": "1349", "wordCount": "1349",
"datePublished": "2016-05-01T23:06:00&#43;03:00", "datePublished": "2016-05-01T23:06:00&#43;03:00",
"dateModified": "2016-05-01T23:06:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -24,7 +24,7 @@ Working on second phase of metadata migration, looks like this will work for mov
<meta property="article:published_time" content="2016-06-01T10:53:00&#43;03:00"/> <meta property="article:published_time" content="2016-06-01T10:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-06-01T10:53:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -61,7 +61,7 @@ Working on second phase of metadata migration, looks like this will work for mov
"url": "https://alanorth.github.io/cgspace-notes/2016-06/", "url": "https://alanorth.github.io/cgspace-notes/2016-06/",
"wordCount": "1549", "wordCount": "1549",
"datePublished": "2016-06-01T10:53:00&#43;03:00", "datePublished": "2016-06-01T10:53:00&#43;03:00",
"dateModified": "2016-06-01T10:53:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -32,7 +32,7 @@ In this case the select query was showing 95 results before the update
<meta property="article:published_time" content="2016-07-01T10:53:00&#43;03:00"/> <meta property="article:published_time" content="2016-07-01T10:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-07-01T10:53:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -77,7 +77,7 @@ In this case the select query was showing 95 results before the update
"url": "https://alanorth.github.io/cgspace-notes/2016-07/", "url": "https://alanorth.github.io/cgspace-notes/2016-07/",
"wordCount": "866", "wordCount": "866",
"datePublished": "2016-07-01T10:53:00&#43;03:00", "datePublished": "2016-07-01T10:53:00&#43;03:00",
"dateModified": "2016-07-01T10:53:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -29,7 +29,7 @@ $ git rebase -i dspace-5.5
<meta property="article:published_time" content="2016-08-01T15:53:00&#43;03:00"/> <meta property="article:published_time" content="2016-08-01T15:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-08-01T15:53:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -71,7 +71,7 @@ $ git rebase -i dspace-5.5
"url": "https://alanorth.github.io/cgspace-notes/2016-08/", "url": "https://alanorth.github.io/cgspace-notes/2016-08/",
"wordCount": "1514", "wordCount": "1514",
"datePublished": "2016-08-01T15:53:00&#43;03:00", "datePublished": "2016-08-01T15:53:00&#43;03:00",
"dateModified": "2016-08-01T15:53:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -25,7 +25,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b &quot;dc=cgiarad,dc=or
<meta property="article:published_time" content="2016-09-01T15:53:00&#43;03:00"/> <meta property="article:published_time" content="2016-09-01T15:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-09-01T15:53:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
@ -63,7 +63,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b &quot;dc=cgiarad,dc=or
"url": "https://alanorth.github.io/cgspace-notes/2016-09/", "url": "https://alanorth.github.io/cgspace-notes/2016-09/",
"wordCount": "3298", "wordCount": "3298",
"datePublished": "2016-09-01T15:53:00&#43;03:00", "datePublished": "2016-09-01T15:53:00&#43;03:00",
"dateModified": "2016-09-01T15:53:00&#43;03:00", "dateModified": "2017-01-09T16:18:07&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -29,7 +29,7 @@ I exported a random item&rsquo;s metadata as CSV, deleted all columns except id
<meta property="article:published_time" content="2016-10-03T15:53:00&#43;03:00"/> <meta property="article:published_time" content="2016-10-03T15:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-10-03T15:53:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-10T16:21:47&#43;02:00"/>
@ -71,7 +71,7 @@ I exported a random item&rsquo;s metadata as CSV, deleted all columns except id
"url": "https://alanorth.github.io/cgspace-notes/2016-10/", "url": "https://alanorth.github.io/cgspace-notes/2016-10/",
"wordCount": "1828", "wordCount": "1828",
"datePublished": "2016-10-03T15:53:00&#43;03:00", "datePublished": "2016-10-03T15:53:00&#43;03:00",
"dateModified": "2016-10-03T15:53:00&#43;03:00", "dateModified": "2017-01-10T16:21:47&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -21,7 +21,7 @@ Add dc.type to the output options for Atmire&rsquo;s Listings and Reports module
<meta property="article:published_time" content="2016-11-01T09:21:00&#43;03:00"/> <meta property="article:published_time" content="2016-11-01T09:21:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-11-01T09:21:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-10T16:21:47&#43;02:00"/>
@ -55,7 +55,7 @@ Add dc.type to the output options for Atmire&rsquo;s Listings and Reports module
"url": "https://alanorth.github.io/cgspace-notes/2016-11/", "url": "https://alanorth.github.io/cgspace-notes/2016-11/",
"wordCount": "2825", "wordCount": "2825",
"datePublished": "2016-11-01T09:21:00&#43;03:00", "datePublished": "2016-11-01T09:21:00&#43;03:00",
"dateModified": "2016-11-01T09:21:00&#43;03:00", "dateModified": "2017-01-10T16:21:47&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -33,7 +33,7 @@ Another worrying error from dspace.log is:
<meta property="article:published_time" content="2016-12-02T10:43:00&#43;03:00"/> <meta property="article:published_time" content="2016-12-02T10:43:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-12-02T10:43:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-10T16:21:47&#43;02:00"/>
@ -79,7 +79,7 @@ Another worrying error from dspace.log is:
"url": "https://alanorth.github.io/cgspace-notes/2016-12/", "url": "https://alanorth.github.io/cgspace-notes/2016-12/",
"wordCount": "4078", "wordCount": "4078",
"datePublished": "2016-12-02T10:43:00&#43;03:00", "datePublished": "2016-12-02T10:43:00&#43;03:00",
"dateModified": "2016-12-02T10:43:00&#43;03:00", "dateModified": "2017-01-10T16:21:47&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -21,7 +21,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua
<meta property="article:published_time" content="2017-01-02T10:43:00&#43;03:00"/> <meta property="article:published_time" content="2017-01-02T10:43:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-02T10:43:00&#43;03:00"/> <meta property="article:modified_time" content="2017-01-29T13:18:32&#43;02:00"/>
@ -55,7 +55,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua
"url": "https://alanorth.github.io/cgspace-notes/2017-01/", "url": "https://alanorth.github.io/cgspace-notes/2017-01/",
"wordCount": "1594", "wordCount": "1594",
"datePublished": "2017-01-02T10:43:00&#43;03:00", "datePublished": "2017-01-02T10:43:00&#43;03:00",
"dateModified": "2017-01-02T10:43:00&#43;03:00", "dateModified": "2017-01-29T13:18:32&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -35,7 +35,7 @@ Looks like we&rsquo;ll be using cg.identifier.ccafsprojectpii as the field name
<meta property="article:published_time" content="2017-02-07T07:04:52-08:00"/> <meta property="article:published_time" content="2017-02-07T07:04:52-08:00"/>
<meta property="article:modified_time" content="2017-02-07T07:04:52-08:00"/> <meta property="article:modified_time" content="2017-02-28T22:58:29&#43;02:00"/>
@ -83,7 +83,7 @@ Looks like we&rsquo;ll be using cg.identifier.ccafsprojectpii as the field name
"url": "https://alanorth.github.io/cgspace-notes/2017-02/", "url": "https://alanorth.github.io/cgspace-notes/2017-02/",
"wordCount": "2028", "wordCount": "2028",
"datePublished": "2017-02-07T07:04:52-08:00", "datePublished": "2017-02-07T07:04:52-08:00",
"dateModified": "2017-02-07T07:04:52-08:00", "dateModified": "2017-02-28T22:58:29&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -37,7 +37,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
<meta property="article:published_time" content="2017-03-01T17:08:52&#43;02:00"/> <meta property="article:published_time" content="2017-03-01T17:08:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-03-01T17:08:52&#43;02:00"/> <meta property="article:modified_time" content="2017-03-31T05:36:10&#43;03:00"/>
@ -87,7 +87,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
"url": "https://alanorth.github.io/cgspace-notes/2017-03/", "url": "https://alanorth.github.io/cgspace-notes/2017-03/",
"wordCount": "1538", "wordCount": "1538",
"datePublished": "2017-03-01T17:08:52&#43;02:00", "datePublished": "2017-03-01T17:08:52&#43;02:00",
"dateModified": "2017-03-01T17:08:52&#43;02:00", "dateModified": "2017-03-31T05:36:10&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -30,7 +30,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p &quot;ImageMagick PDF Th
<meta property="article:published_time" content="2017-04-02T17:08:52&#43;02:00"/> <meta property="article:published_time" content="2017-04-02T17:08:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-04-02T17:08:52&#43;02:00"/> <meta property="article:modified_time" content="2017-04-26T13:35:10&#43;03:00"/>
@ -73,7 +73,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p &quot;ImageMagick PDF Th
"url": "https://alanorth.github.io/cgspace-notes/2017-04/", "url": "https://alanorth.github.io/cgspace-notes/2017-04/",
"wordCount": "2917", "wordCount": "2917",
"datePublished": "2017-04-02T17:08:52&#43;02:00", "datePublished": "2017-04-02T17:08:52&#43;02:00",
"dateModified": "2017-04-02T17:08:52&#43;02:00", "dateModified": "2017-04-26T13:35:10&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -13,7 +13,7 @@
<meta property="article:published_time" content="2017-05-01T16:21:52&#43;02:00"/> <meta property="article:published_time" content="2017-05-01T16:21:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-05-01T16:21:52&#43;02:00"/> <meta property="article:modified_time" content="2017-05-29T13:15:22&#43;03:00"/>
@ -39,7 +39,7 @@
"url": "https://alanorth.github.io/cgspace-notes/2017-05/", "url": "https://alanorth.github.io/cgspace-notes/2017-05/",
"wordCount": "2412", "wordCount": "2412",
"datePublished": "2017-05-01T16:21:52&#43;02:00", "datePublished": "2017-05-01T16:21:52&#43;02:00",
"dateModified": "2017-05-01T16:21:52&#43;02:00", "dateModified": "2017-05-29T13:15:22&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -209,7 +209,7 @@ $ for item in /home/aorth/10947-1/ITEM@10947-*; do [dspace]/bin/dspace packager
<li>Clean these up in the database using:</li> <li>Clean these up in the database using:</li>
</ul> </ul>
<pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and text_value='' <pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and text_value='';
</code></pre> </code></pre>
<ul> <ul>

View File

@ -13,7 +13,7 @@
<meta property="article:published_time" content="2017-06-01T10:14:52&#43;03:00"/> <meta property="article:published_time" content="2017-06-01T10:14:52&#43;03:00"/>
<meta property="article:modified_time" content="2017-06-01T10:14:52&#43;03:00"/> <meta property="article:modified_time" content="2017-06-30T18:34:51&#43;03:00"/>
@ -39,7 +39,7 @@
"url": "https://alanorth.github.io/cgspace-notes/2017-06/", "url": "https://alanorth.github.io/cgspace-notes/2017-06/",
"wordCount": "1261", "wordCount": "1261",
"datePublished": "2017-06-01T10:14:52&#43;03:00", "datePublished": "2017-06-01T10:14:52&#43;03:00",
"dateModified": "2017-06-01T10:14:52&#43;03:00", "dateModified": "2017-06-30T18:34:51&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -27,7 +27,7 @@ We can use PostgreSQL&rsquo;s extended output format (-x) plus sed to format the
<meta property="article:published_time" content="2017-07-01T18:03:52&#43;03:00"/> <meta property="article:published_time" content="2017-07-01T18:03:52&#43;03:00"/>
<meta property="article:modified_time" content="2017-07-01T18:03:52&#43;03:00"/> <meta property="article:modified_time" content="2017-08-01T08:55:37&#43;03:00"/>
@ -67,7 +67,7 @@ We can use PostgreSQL&rsquo;s extended output format (-x) plus sed to format the
"url": "https://alanorth.github.io/cgspace-notes/2017-07/", "url": "https://alanorth.github.io/cgspace-notes/2017-07/",
"wordCount": "1151", "wordCount": "1151",
"datePublished": "2017-07-01T18:03:52&#43;03:00", "datePublished": "2017-07-01T18:03:52&#43;03:00",
"dateModified": "2017-07-01T18:03:52&#43;03:00", "dateModified": "2017-08-01T08:55:37&#43;03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -37,7 +37,7 @@ Then I cleaned up the author authorities and HTML characters in OpenRefine and s
<meta property="article:published_time" content="2017-08-01T11:51:52&#43;03:00"/> <meta property="article:published_time" content="2017-08-01T11:51:52&#43;03:00"/>
<meta property="article:modified_time" content="2017-08-01T11:51:52&#43;03:00"/> <meta property="article:modified_time" content="2017-08-31T22:40:57&#43;07:00"/>
@ -87,7 +87,7 @@ Then I cleaned up the author authorities and HTML characters in OpenRefine and s
"url": "https://alanorth.github.io/cgspace-notes/2017-08/", "url": "https://alanorth.github.io/cgspace-notes/2017-08/",
"wordCount": "3542", "wordCount": "3542",
"datePublished": "2017-08-01T11:51:52&#43;03:00", "datePublished": "2017-08-01T11:51:52&#43;03:00",
"dateModified": "2017-08-01T11:51:52&#43;03:00", "dateModified": "2017-08-31T22:40:57&#43;07:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"

View File

@ -19,7 +19,7 @@ Linode sent an alert that CGSpace (linode18) was using 261% CPU for the past two
<meta property="article:published_time" content="2017-09-07T16:54:52&#43;07:00"/> <meta property="article:published_time" content="2017-09-07T16:54:52&#43;07:00"/>
<meta property="article:modified_time" content="2017-09-07T16:54:52&#43;07:00"/> <meta property="article:modified_time" content="2017-09-07T17:02:57&#43;07:00"/>
@ -49,9 +49,9 @@ Linode sent an alert that CGSpace (linode18) was using 261% CPU for the past two
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "September, 2017", "headline": "September, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-09/", "url": "https://alanorth.github.io/cgspace-notes/2017-09/",
"wordCount": "43", "wordCount": "158",
"datePublished": "2017-09-07T16:54:52&#43;07:00", "datePublished": "2017-09-07T16:54:52&#43;07:00",
"dateModified": "2017-09-07T16:54:52&#43;07:00", "dateModified": "2017-09-07T17:02:57&#43;07:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -128,6 +128,24 @@ Linode sent an alert that CGSpace (linode18) was using 261% CPU for the past two
<li>Ask Sisay to clean up the WLE approvers a bit, as Marianne&rsquo;s user account is both in the approvers step as well as the group</li> <li>Ask Sisay to clean up the WLE approvers a bit, as Marianne&rsquo;s user account is both in the approvers step as well as the group</li>
</ul> </ul>
<h2 id="2017-09-10">2017-09-10</h2>
<ul>
<li>Delete 58 blank metadata values from the CGSpace database:</li>
</ul>
<pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and text_value='';
DELETE 58
</code></pre>
<ul>
<li>I also ran it on DSpace Test because we&rsquo;ll be migrating the CGIAR Library soon and it would be good to catch these before we migrate</li>
<li>Run system updates and restart DSpace Test</li>
<li>We only have 7.7GB of free space on DSpace Test so I need to copy some data off of it before doing the CGIAR Library migration (requires lots of exporting and creating temp files)</li>
<li>I still have the original data from the CGIAR Library so I&rsquo;ve zipped it up and sent it off to linode18 for now</li>
<li>sha256sum of <code>original-cgiar-library-6.6GB.tar.gz</code> is: bcfabb52f51cbdf164b61b7e9b3a0e498479e4c1ed1d547d32d11f44c0d5eb8a</li>
</ul>

View File

@ -4,122 +4,122 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-09/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-09/</loc>
<lastmod>2017-09-07T16:54:52+07:00</lastmod> <lastmod>2017-09-07T17:02:57+07:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-08/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-08/</loc>
<lastmod>2017-08-01T11:51:52+03:00</lastmod> <lastmod>2017-08-31T22:40:57+07:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-07/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-07/</loc>
<lastmod>2017-07-01T18:03:52+03:00</lastmod> <lastmod>2017-08-01T08:55:37+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-06/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-06/</loc>
<lastmod>2017-06-01T10:14:52+03:00</lastmod> <lastmod>2017-06-30T18:34:51+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-05/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-05/</loc>
<lastmod>2017-05-01T16:21:52+02:00</lastmod> <lastmod>2017-05-29T13:15:22+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-04/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-04/</loc>
<lastmod>2017-04-02T17:08:52+02:00</lastmod> <lastmod>2017-04-26T13:35:10+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-03/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-03/</loc>
<lastmod>2017-03-01T17:08:52+02:00</lastmod> <lastmod>2017-03-31T05:36:10+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-02/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-02/</loc>
<lastmod>2017-02-07T07:04:52-08:00</lastmod> <lastmod>2017-02-28T22:58:29+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-01/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-01/</loc>
<lastmod>2017-01-02T10:43:00+03:00</lastmod> <lastmod>2017-01-29T13:18:32+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-12/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-12/</loc>
<lastmod>2016-12-02T10:43:00+03:00</lastmod> <lastmod>2017-01-10T16:21:47+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-11/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-11/</loc>
<lastmod>2016-11-01T09:21:00+03:00</lastmod> <lastmod>2017-01-10T16:21:47+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-10/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-10/</loc>
<lastmod>2016-10-03T15:53:00+03:00</lastmod> <lastmod>2017-01-10T16:21:47+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-09/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-09/</loc>
<lastmod>2016-09-01T15:53:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-08/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-08/</loc>
<lastmod>2016-08-01T15:53:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-07/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-07/</loc>
<lastmod>2016-07-01T10:53:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-06/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-06/</loc>
<lastmod>2016-06-01T10:53:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-05/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-05/</loc>
<lastmod>2016-05-01T23:06:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-04/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-04/</loc>
<lastmod>2016-04-04T11:06:00+03:00</lastmod> <lastmod>2016-09-28T17:02:30+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-03/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-03/</loc>
<lastmod>2016-03-02T16:50:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-02/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-02/</loc>
<lastmod>2016-02-05T13:18:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2016-01/</loc> <loc>https://alanorth.github.io/cgspace-notes/2016-01/</loc>
<lastmod>2016-01-13T13:18:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2015-12/</loc> <loc>https://alanorth.github.io/cgspace-notes/2015-12/</loc>
<lastmod>2015-12-02T13:18:00+03:00</lastmod> <lastmod>2017-01-09T16:18:07+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2015-11/</loc> <loc>https://alanorth.github.io/cgspace-notes/2015-11/</loc>
<lastmod>2015-11-23T17:00:57+03:00</lastmod> <lastmod>2016-09-28T17:02:30+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2017-09-07T16:54:52+07:00</lastmod> <lastmod>2017-09-07T17:02:57+07:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -130,19 +130,19 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2017-09-07T16:54:52+07:00</lastmod> <lastmod>2017-09-07T17:02:57+07:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc> <loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2017-09-07T16:54:52+07:00</lastmod> <lastmod>2017-09-07T17:02:57+07:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2017-09-07T16:54:52+07:00</lastmod> <lastmod>2017-09-07T17:02:57+07:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>