Regenerate site

This commit is contained in:
2016-08-03 10:09:36 +03:00
parent 0d60610f6e
commit 6b4a2f7091
19 changed files with 620 additions and 621 deletions

View File

@ -6,7 +6,7 @@
<meta property="og:title" content=" April, 2016 &middot; CGSpace Notes" />
<meta property="og:site_name" content="CGSpace Notes" />
<meta property="og:url" content="/cgspace-notes/2016-04/" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2016-04/" />
<meta property="og:type" content="article" />
@ -21,19 +21,19 @@
April, 2016 &middot; CGSpace Notes
</title>
<link rel="stylesheet" href="/cgspace-notes/css/bootstrap.min.css" />
<link rel="stylesheet" href="/cgspace-notes/css/main.css" />
<link rel="stylesheet" href="/cgspace-notes/css/font-awesome.min.css" />
<link rel="stylesheet" href="/cgspace-notes/css/github.css" />
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/main.css" />
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/github.css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400" type="text/css">
<link rel="shortcut icon" href="/cgspace-notes/images/favicon.ico" />
<link rel="apple-touch-icon" href="/cgspace-notes/images/apple-touch-icon.png" />
<link rel="shortcut icon" href="https://alanorth.github.io/cgspace-notes/images/favicon.ico" />
<link rel="apple-touch-icon" href="https://alanorth.github.io/cgspace-notes/images/apple-touch-icon.png" />
</head>
<body>
<header class="global-header" style="background-image:url(../images/bg.jpg )">
<section class="header-text">
<h1><a href="/cgspace-notes/">CGSpace Notes</a></h1>
<h1><a href="https://alanorth.github.io/cgspace-notes/">CGSpace Notes</a></h1>
<div class="sns-links hidden-print">
@ -48,7 +48,7 @@
</div>
<a href="/cgspace-notes/" class="btn-header btn-back hidden-xs">
<a href="https://alanorth.github.io/cgspace-notes/" class="btn-header btn-back hidden-xs">
<i class="fa fa-angle-left" aria-hidden="true"></i>
&nbsp;Home
</a>
@ -71,7 +71,7 @@
</div>
<div class="pull-right">
<span class="post-tag small"><a href="/cgspace-notes//tags/notes">#notes</a></span>
<span class="post-tag small"><a href="https://alanorth.github.io/cgspace-notes//tags/notes">#notes</a></span>
</div>
</div>
@ -79,7 +79,7 @@
<section>
<h2 id="2016-04-04:c88be15f5b2f07c85f7742556a955e47">2016-04-04</h2>
<h2 id="2016-04-04">2016-04-04</h2>
<ul>
<li>Looking at log file use on CGSpace and notice that we need to work on our cron setup a bit</li>
@ -120,7 +120,7 @@ java.io.FileNotFoundException: /home/cgspace.cgiar.org/assetstore/64/29/06/64290
<li>Submit pull request for Tomcat 7 limits in Ansible dspace role (<a href="https://github.com/ilri/rmg-ansible-public/pull/30">#30</a>)</li>
</ul>
<h2 id="2016-04-05:c88be15f5b2f07c85f7742556a955e47">2016-04-05</h2>
<h2 id="2016-04-05">2016-04-05</h2>
<ul>
<li>Reduce Amazon S3 storage used for logs from 46 GB to 6GB by deleting a bunch of logs we don&rsquo;t need!</li>
@ -138,7 +138,7 @@ java.io.FileNotFoundException: /home/cgspace.cgiar.org/assetstore/64/29/06/64290
<li>Try to do some metadata field migrations using the Atmire batch UI (<code>dc.Species</code> → <code>cg.species</code>) but it took several hours and even missed a few records</li>
</ul>
<h2 id="2016-04-06:c88be15f5b2f07c85f7742556a955e47">2016-04-06</h2>
<h2 id="2016-04-06">2016-04-06</h2>
<ul>
<li>A better way to move metadata on this scale is via SQL, for example <code>dc.type.output</code> → <code>dc.type</code> (their IDs in the metadatafieldregistry are 66 and 109, respectively):</li>
@ -153,7 +153,7 @@ UPDATE 40852
<li>Start working on metadata migrations, add 25 or so new metadata fields to CGSpace</li>
</ul>
<h2 id="2016-04-07:c88be15f5b2f07c85f7742556a955e47">2016-04-07</h2>
<h2 id="2016-04-07">2016-04-07</h2>
<ul>
<li>Write shell script to do the migration of fields: <a href="https://gist.github.com/alanorth/72a70aca856d76f24c127a6e67b3342b">https://gist.github.com/alanorth/72a70aca856d76f24c127a6e67b3342b</a></li>
@ -169,14 +169,14 @@ UPDATE metadatavalue SET metadata_field_id=203 WHERE metadata_field_id=76
UPDATE 51258
</code></pre>
<h2 id="2016-04-08:c88be15f5b2f07c85f7742556a955e47">2016-04-08</h2>
<h2 id="2016-04-08">2016-04-08</h2>
<ul>
<li>Discuss metadata renaming with Abenet, we decided it&rsquo;s better to start with the center-specific subjects like ILRI, CIFOR, CCAFS, IWMI, and CPWF</li>
<li>I&rsquo;ve e-mailed CCAFS and CPWF people to ask them how much time it will take for them to update their systems to cope with this change</li>
</ul>
<h2 id="2016-04-10:c88be15f5b2f07c85f7742556a955e47">2016-04-10</h2>
<h2 id="2016-04-10">2016-04-10</h2>
<ul>
<li>Looking at the DOI issue <a href="https://www.yammer.com/dspacedevelopers/#/Threads/show?threadId=678507860">reported by Leroy from CIAT a few weeks ago</a></li>
@ -199,14 +199,14 @@ dspacetest=# select count(*) from metadatavalue where metadata_field_id=74 and t
<li>I will manually edit the <code>dc.identifier.doi</code> in <a href="https://cgspace.cgiar.org/handle/10568/72509?show=full"><sup>10568</sup>&frasl;<sub>72509</sub></a> and tweet the link, then check back in a week to see if the donut gets updated</li>
</ul>
<h2 id="2016-04-11:c88be15f5b2f07c85f7742556a955e47">2016-04-11</h2>
<h2 id="2016-04-11">2016-04-11</h2>
<ul>
<li>The donut is already updated and shows the correct number now</li>
<li>CCAFS people say it will only take them an hour to update their code for the metadata renames, so I proposed we&rsquo;d do it tentatively on Monday the 18th.</li>
</ul>
<h2 id="2016-04-12:c88be15f5b2f07c85f7742556a955e47">2016-04-12</h2>
<h2 id="2016-04-12">2016-04-12</h2>
<ul>
<li>Looking at quality of WLE data (<code>cg.subject.iwmi</code>) in SQL:</li>
@ -243,7 +243,7 @@ DELETE 226
<li>We want to do the <code>dc.type.output</code> move on CGSpace anyways, but we should wait as it might affect other external people!</li>
</ul>
<h2 id="2016-04-14:c88be15f5b2f07c85f7742556a955e47">2016-04-14</h2>
<h2 id="2016-04-14">2016-04-14</h2>
<ul>
<li>Communicate with Macaroni Bros again about <code>dc.type</code></li>
@ -251,13 +251,13 @@ DELETE 226
<li>Notify CIAT people of metadata changes (I had forgotten them last week)</li>
</ul>
<h2 id="2016-04-15:c88be15f5b2f07c85f7742556a955e47">2016-04-15</h2>
<h2 id="2016-04-15">2016-04-15</h2>
<ul>
<li>DSpace Test had crashed, so I ran all system updates, rebooted, and re-deployed DSpace code</li>
</ul>
<h2 id="2016-04-18:c88be15f5b2f07c85f7742556a955e47">2016-04-18</h2>
<h2 id="2016-04-18">2016-04-18</h2>
<ul>
<li>Talk to CIAT people about their portal again</li>
@ -336,7 +336,7 @@ javax.ws.rs.WebApplicationException
<li>After restarting Tomcat a few more of these errors were logged but the application was up</li>
</ul>
<h2 id="2016-04-19:c88be15f5b2f07c85f7742556a955e47">2016-04-19</h2>
<h2 id="2016-04-19">2016-04-19</h2>
<ul>
<li>Get handles for items that are using a given metadata field, ie <code>dc.Species.animal</code> (105):</li>
@ -392,7 +392,7 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
<li>And then remove them from the metadata registry</li>
</ul>
<h2 id="2016-04-20:c88be15f5b2f07c85f7742556a955e47">2016-04-20</h2>
<h2 id="2016-04-20">2016-04-20</h2>
<ul>
<li>Re-deploy DSpace Test with the new subject and type fields, run all system updates, and reboot the server</li>
@ -431,20 +431,20 @@ UPDATE 46075
<li>I&rsquo;ve sent a message to Atmire asking about compatibility with DSpace 5.5</li>
</ul>
<h2 id="2016-04-21:c88be15f5b2f07c85f7742556a955e47">2016-04-21</h2>
<h2 id="2016-04-21">2016-04-21</h2>
<ul>
<li>Fix a bunch of metadata consistency issues with IITA Journal Articles (Peer review, Formally published, messed up DOIs, etc)</li>
<li>Atmire responded with DSpace 5.5 compatible versions for their modules, so I&rsquo;ll start testing those in a few weeks</li>
</ul>
<h2 id="2016-04-22:c88be15f5b2f07c85f7742556a955e47">2016-04-22</h2>
<h2 id="2016-04-22">2016-04-22</h2>
<ul>
<li>Import 95 records into <a href="https://cgspace.cgiar.org/handle/10568/42219">CTA&rsquo;s Agrodok collection</a></li>
</ul>
<h2 id="2016-04-26:c88be15f5b2f07c85f7742556a955e47">2016-04-26</h2>
<h2 id="2016-04-26">2016-04-26</h2>
<ul>
<li>Test embargo during item upload</li>
@ -460,7 +460,7 @@ UPDATE 46075
</ul></li>
</ul>
<h2 id="2016-04-27:c88be15f5b2f07c85f7742556a955e47">2016-04-27</h2>
<h2 id="2016-04-27">2016-04-27</h2>
<ul>
<li>I woke up to ten or fifteen &ldquo;up&rdquo; and &ldquo;down&rdquo; emails from the monitoring website</li>
@ -507,14 +507,14 @@ dspace.log.2016-04-27:7271
<li>CGSpace down, restarted tomcat and it&rsquo;s back up</li>
</ul>
<h2 id="2016-04-28:c88be15f5b2f07c85f7742556a955e47">2016-04-28</h2>
<h2 id="2016-04-28">2016-04-28</h2>
<ul>
<li>Problems with stability again. I&rsquo;ve blocked access to <code>/rest</code> for now to see if the number of errors in the log files drop</li>
<li>Later we could maybe start logging access to <code>/rest</code> and perhaps whitelist some IPs&hellip;</li>
</ul>
<h2 id="2016-04-30:c88be15f5b2f07c85f7742556a955e47">2016-04-30</h2>
<h2 id="2016-04-30">2016-04-30</h2>
<ul>
<li>Logs for today and yesterday have zero references to this REST error, so I&rsquo;m going to open back up the REST API but log all requests</li>
@ -547,10 +547,10 @@ dspace.log.2016-04-27:7271
</section>
<ul class="pager">
<li class="previous"><a href="/cgspace-notes/2016-03/"><span aria-hidden="true">&larr;</span> Older</a></li>
<li class="previous"><a href="https://alanorth.github.io/cgspace-notes/2016-03/"><span aria-hidden="true">&larr;</span> Older</a></li>
<li class="next"><a href="/cgspace-notes/2016-05/">Newer <span aria-hidden="true">&rarr;</span></a></li>
<li class="next"><a href="https://alanorth.github.io/cgspace-notes/2016-05/">Newer <span aria-hidden="true">&rarr;</span></a></li>
</ul>
</footer>
@ -575,7 +575,7 @@ dspace.log.2016-04-27:7271
</footer>
<script src="/cgspace-notes/js/highlight.pack.js"></script>
<script src="https://alanorth.github.io/cgspace-notes/js/highlight.pack.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>