mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 22:55:04 +01:00
Add notes for 2017-09-17
This commit is contained in:
parent
0a45ce22c2
commit
7871e1414e
@ -352,3 +352,38 @@ UPDATE 1
|
|||||||
DELETE 1
|
DELETE 1
|
||||||
DELETE 207
|
DELETE 207
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 2017-09-17
|
||||||
|
|
||||||
|
- Create pull request for CGSpace to be able to resolve multiple handles ([#339](https://github.com/ilri/DSpace/pull/339))
|
||||||
|
- We still need to do the changes to `config.dct` and regenerate the `sitebndl.zip` to send to the Handle.net admins
|
||||||
|
- According to this [dspace-tech mailing list entry from 2011](http://dspace.2283337.n4.nabble.com/Multiple-handle-prefixes-merged-DSpace-instances-td3427192.html), we need to add the extra handle prefixes to `config.dct` like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
"server_admins" = (
|
||||||
|
"300:0.NA/10568"
|
||||||
|
"300:0.NA/10947"
|
||||||
|
)
|
||||||
|
|
||||||
|
"replication_admins" = (
|
||||||
|
"300:0.NA/10568"
|
||||||
|
"300:0.NA/10947"
|
||||||
|
)
|
||||||
|
|
||||||
|
"backup_admins" = (
|
||||||
|
"300:0.NA/10568"
|
||||||
|
"300:0.NA/10947"
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
- More work on the CGIAR Library migration test run locally, as I was having problem with importing the last fourteen items from the CGIAR System Management Office community
|
||||||
|
- The problem was that we remapped the items to new collections after the initial import, so the items were using the 10947 prefix but the community and collection was using 10568
|
||||||
|
- I ended up having to read the [AIP Backup and Restore](https://wiki.duraspace.org/display/DSDOC5x/AIP+Backup+and+Restore#AIPBackupandRestore-ForceReplaceMode) closely a few times and then explicitly preserve handles and ignore parents:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ for item in 10568-93759/ITEM@10947-46*; do ~/dspace/bin/dspace packager -r -t AIP -o ignoreHandle=false -o ignoreParent=true -e aorth@mjanja.ch -p 10568/87738 $item; done
|
||||||
|
```
|
||||||
|
|
||||||
|
- Also, this was in replace mode (-r) rather than submit mode (-s), because submit mode always generated a new handle even if I told it not to!
|
||||||
|
- I decided to start the import process in the evening rather than waiting for the morning, and right as the first community was finished importing I started seeing `Timeout waiting for idle object` errors
|
||||||
|
- I had to cancel the import, clean up a bunch of database entries, increase the PostgreSQL `max_connections` as a precaution, restart PostgreSQL and Tomcat, and then finally completed the import
|
||||||
|
@ -25,7 +25,7 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account
|
|||||||
|
|
||||||
|
|
||||||
<meta property="article:published_time" content="2017-09-07T16:54:52+07:00"/>
|
<meta property="article:published_time" content="2017-09-07T16:54:52+07:00"/>
|
||||||
<meta property="article:modified_time" content="2017-09-14T18:01:50+03:00"/>
|
<meta property="article:modified_time" content="2017-09-15T19:20:37+03:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -61,9 +61,9 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account
|
|||||||
"@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": "2420",
|
"wordCount": "2686",
|
||||||
"datePublished": "2017-09-07T16:54:52+07:00",
|
"datePublished": "2017-09-07T16:54:52+07:00",
|
||||||
"dateModified": "2017-09-14T18:01:50+03:00",
|
"dateModified": "2017-09-15T19:20:37+03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -512,6 +512,45 @@ DELETE 1
|
|||||||
DELETE 207
|
DELETE 207
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="2017-09-17">2017-09-17</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Create pull request for CGSpace to be able to resolve multiple handles (<a href="https://github.com/ilri/DSpace/pull/339">#339</a>)</li>
|
||||||
|
<li>We still need to do the changes to <code>config.dct</code> and regenerate the <code>sitebndl.zip</code> to send to the Handle.net admins</li>
|
||||||
|
<li>According to this <a href="http://dspace.2283337.n4.nabble.com/Multiple-handle-prefixes-merged-DSpace-instances-td3427192.html">dspace-tech mailing list entry from 2011</a>, we need to add the extra handle prefixes to <code>config.dct</code> like this:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>"server_admins" = (
|
||||||
|
"300:0.NA/10568"
|
||||||
|
"300:0.NA/10947"
|
||||||
|
)
|
||||||
|
|
||||||
|
"replication_admins" = (
|
||||||
|
"300:0.NA/10568"
|
||||||
|
"300:0.NA/10947"
|
||||||
|
)
|
||||||
|
|
||||||
|
"backup_admins" = (
|
||||||
|
"300:0.NA/10568"
|
||||||
|
"300:0.NA/10947"
|
||||||
|
)
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>More work on the CGIAR Library migration test run locally, as I was having problem with importing the last fourteen items from the CGIAR System Management Office community</li>
|
||||||
|
<li>The problem was that we remapped the items to new collections after the initial import, so the items were using the 10947 prefix but the community and collection was using 10568</li>
|
||||||
|
<li>I ended up having to read the <a href="https://wiki.duraspace.org/display/DSDOC5x/AIP+Backup+and+Restore#AIPBackupandRestore-ForceReplaceMode">AIP Backup and Restore</a> closely a few times and then explicitly preserve handles and ignore parents:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ for item in 10568-93759/ITEM@10947-46*; do ~/dspace/bin/dspace packager -r -t AIP -o ignoreHandle=false -o ignoreParent=true -e aorth@mjanja.ch -p 10568/87738 $item; done
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Also, this was in replace mode (-r) rather than submit mode (-s), because submit mode always generated a new handle even if I told it not to!</li>
|
||||||
|
<li>I decided to start the import process in the evening rather than waiting for the morning, and right as the first community was finished importing I started seeing <code>Timeout waiting for idle object</code> errors</li>
|
||||||
|
<li>I had to cancel the import, clean up a bunch of database entries, increase the PostgreSQL <code>max_connections</code> as a precaution, restart PostgreSQL and Tomcat, and then finally completed the import</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<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-14T18:01:50+03:00</lastmod>
|
<lastmod>2017-09-15T19:20:37+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2017-09-14T18:01:50+03:00</lastmod>
|
<lastmod>2017-09-15T19:20:37+03: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-14T18:01:50+03:00</lastmod>
|
<lastmod>2017-09-15T19:20:37+03: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-14T18:01:50+03:00</lastmod>
|
<lastmod>2017-09-15T19:20:37+03: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-14T18:01:50+03:00</lastmod>
|
<lastmod>2017-09-15T19:20:37+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user