Update notes for 2017-05-09

This commit is contained in:
Alan Orth 2017-05-10 00:16:49 +03:00
parent 4b8c67c427
commit 57d98dd690
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 27 additions and 8 deletions

View File

@ -88,3 +88,12 @@ $ for item in /home/aorth/10947-1/ITEM@10947-*; do [dspace]/bin/dspace packager
```
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
- Hours into the re-ingestion I ran into more errors, and had to erase everything and start over _again_!
- Now, no matter what I do I keep getting foreign key errors...
```
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "handle_pkey"
Detail: Key (handle_id)=(80928) already exists.
```

View File

@ -13,7 +13,7 @@
<meta property="article:published_time" content="2017-05-01T16:21:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-05-09T00:44:39&#43;03:00"/>
<meta property="article:modified_time" content="2017-05-09T10:06:42&#43;03:00"/>
@ -45,9 +45,9 @@
"@type": "BlogPosting",
"headline": "May, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-05/",
"wordCount": "700",
"wordCount": "782",
"datePublished": "2017-05-01T16:21:52&#43;02:00",
"dateModified": "2017-05-09T00:44:39&#43;03:00",
"dateModified": "2017-05-09T10:06:42&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -220,6 +220,16 @@ $ for item in /home/aorth/10947-1/ITEM@10947-*; do [dspace]/bin/dspace packager
<pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and text_value=''
</code></pre>
<ul>
<li>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</li>
<li>Hours into the re-ingestion I ran into more errors, and had to erase everything and start over <em>again</em>!</li>
<li>Now, no matter what I do I keep getting foreign key errors&hellip;</li>
</ul>
<pre><code>Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint &quot;handle_pkey&quot;
Detail: Key (handle_id)=(80928) already exists.
</code></pre>

View File

@ -4,7 +4,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2017-05/</loc>
<lastmod>2017-05-09T00:44:39+03:00</lastmod>
<lastmod>2017-05-09T10:06:42+03:00</lastmod>
</url>
<url>
@ -99,7 +99,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2017-05-09T00:44:39+03:00</lastmod>
<lastmod>2017-05-09T10:06:42+03:00</lastmod>
<priority>0</priority>
</url>
@ -110,19 +110,19 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2017-05-09T00:44:39+03:00</lastmod>
<lastmod>2017-05-09T10:06:42+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2017-05-09T00:44:39+03:00</lastmod>
<lastmod>2017-05-09T10:06:42+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2017-05-09T00:44:39+03:00</lastmod>
<lastmod>2017-05-09T10:06:42+03:00</lastmod>
<priority>0</priority>
</url>