mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2019-12-17
This commit is contained in:
@ -47,7 +47,7 @@ DELETE 1
|
||||
Create issue on GitHub to track the addition of CCAFS Phase II project tags (#301)
|
||||
Looks like we'll be using cg.identifier.ccafsprojectpii as the field name
|
||||
"/>
|
||||
<meta name="generator" content="Hugo 0.60.1" />
|
||||
<meta name="generator" content="Hugo 0.61.0" />
|
||||
|
||||
|
||||
|
||||
@ -128,7 +128,7 @@ Looks like we'll be using cg.identifier.ccafsprojectpii as the field name
|
||||
|
||||
</p>
|
||||
</header>
|
||||
<h2 id="20170207">2017-02-07</h2>
|
||||
<h2 id="2017-02-07">2017-02-07</h2>
|
||||
<ul>
|
||||
<li>An item was mapped twice erroneously again, so I had to remove one of the mappings manually:</li>
|
||||
</ul>
|
||||
@ -145,7 +145,7 @@ DELETE 1
|
||||
<li>Create issue on GitHub to track the addition of CCAFS Phase II project tags (<a href="https://github.com/ilri/DSpace/issues/301">#301</a>)</li>
|
||||
<li>Looks like we'll be using <code>cg.identifier.ccafsprojectpii</code> as the field name</li>
|
||||
</ul>
|
||||
<h2 id="20170208">2017-02-08</h2>
|
||||
<h2 id="2017-02-08">2017-02-08</h2>
|
||||
<ul>
|
||||
<li>We also need to rename some of the CCAFS Phase I flagships:
|
||||
<ul>
|
||||
@ -159,7 +159,7 @@ DELETE 1
|
||||
<li>Start testing some nearly 500 author corrections that CCAFS sent me:</li>
|
||||
</ul>
|
||||
<pre><code>$ ./fix-metadata-values.py -i /tmp/CCAFS-Authors-Feb-7.csv -f dc.contributor.author -t 'correct name' -m 3 -d dspace -u dspace -p fuuu
|
||||
</code></pre><h2 id="20170209">2017-02-09</h2>
|
||||
</code></pre><h2 id="2017-02-09">2017-02-09</h2>
|
||||
<ul>
|
||||
<li>More work on CCAFS Phase II stuff</li>
|
||||
<li>Looks like simply adding a new metadata field to <code>dspace/config/registries/cgiar-types.xml</code> and restarting DSpace causes the field to get added to the rregistry</li>
|
||||
@ -168,13 +168,13 @@ DELETE 1
|
||||
<li>Testing some corrections on CCAFS Phase II flagships (<code>cg.subject.ccafs</code>):</li>
|
||||
</ul>
|
||||
<pre><code>$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu
|
||||
</code></pre><h2 id="20170210">2017-02-10</h2>
|
||||
</code></pre><h2 id="2017-02-10">2017-02-10</h2>
|
||||
<ul>
|
||||
<li>CCAFS said they want to wait on the flagship updates (<code>cg.subject.ccafs</code>) on CGSpace, perhaps for a month or so</li>
|
||||
<li>Help Marianne Gadeberg (WLE) with some user permissions as it seems she had previously been using a personal email account, and is now on a CGIAR one</li>
|
||||
<li>I manually added her new account to ~25 authorizations that her hold user was on</li>
|
||||
</ul>
|
||||
<h2 id="20170214">2017-02-14</h2>
|
||||
<h2 id="2017-02-14">2017-02-14</h2>
|
||||
<ul>
|
||||
<li>Add <code>SCALING</code> to ILRI subjects (<a href="https://github.com/ilri/DSpace/pull/304">#304</a>), as Sisay's attempts were all sloppy</li>
|
||||
<li>Cherry pick some patches from the DSpace 5.7 branch:
|
||||
@ -187,11 +187,11 @@ DELETE 1
|
||||
</li>
|
||||
<li>I still need to test these, especially as the last two which change some stuff with Solr maintenance</li>
|
||||
</ul>
|
||||
<h2 id="20170215">2017-02-15</h2>
|
||||
<h2 id="2017-02-15">2017-02-15</h2>
|
||||
<ul>
|
||||
<li>Update rvm on DSpace Test and CGSpace as there was a <a href="https://github.com/justinsteven/advisories/blob/master/2017_rvm_cd_command_execution.md">security disclosure about versions less than 1.28.0</a></li>
|
||||
</ul>
|
||||
<h2 id="20170216">2017-02-16</h2>
|
||||
<h2 id="2017-02-16">2017-02-16</h2>
|
||||
<ul>
|
||||
<li>Looking at memory info from munin on CGSpace:</li>
|
||||
</ul>
|
||||
@ -262,7 +262,7 @@ dspace=# update metadatavalue set text_value = 'https://dx.doi.org/10.15446/agro
|
||||
<li>Then we could add a cron job for them and run them from the command line like:</li>
|
||||
</ul>
|
||||
<pre><code>[dspace]/bin/dspace curate -t noop -i 10568/79891
|
||||
</code></pre><h2 id="20170220">2017-02-20</h2>
|
||||
</code></pre><h2 id="2017-02-20">2017-02-20</h2>
|
||||
<ul>
|
||||
<li>Run all system updates on DSpace Test and reboot the server</li>
|
||||
<li>Run CCAFS author corrections on DSpace Test and CGSpace and force a full discovery reindex</li>
|
||||
@ -281,7 +281,7 @@ b'Entwicklung & L\xc3\xa4ndlicher Raum'
|
||||
</code></pre><ul>
|
||||
<li>So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really <em>was</em> a temporary problem, perhaps due to macOS or the Python build I was using.</li>
|
||||
</ul>
|
||||
<h2 id="20170221">2017-02-21</h2>
|
||||
<h2 id="2017-02-21">2017-02-21</h2>
|
||||
<ul>
|
||||
<li>Testing regenerating PDF thumbnails, like I started in 2016-11</li>
|
||||
<li>It seems there is a bug in <code>filter-media</code> that causes it to process formats that aren't part of its configuration:</li>
|
||||
@ -300,14 +300,14 @@ filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = A
|
||||
<li>I've sent a message to the mailing list and might file a Jira issue</li>
|
||||
<li>Ask Atmire about the failed interpolation of the <code>dspace.internalUrl</code> variable in <code>atmire-cua.cfg</code></li>
|
||||
</ul>
|
||||
<h2 id="20170222">2017-02-22</h2>
|
||||
<h2 id="2017-02-22">2017-02-22</h2>
|
||||
<ul>
|
||||
<li>Atmire said I can add <code>dspace.internalUrl</code> to my build properties and the error will go away</li>
|
||||
<li>It should be the local URL for accessing Tomcat from the server's own perspective, ie: http://localhost:8080</li>
|
||||
</ul>
|
||||
<h2 id="20170226">2017-02-26</h2>
|
||||
<h2 id="2017-02-26">2017-02-26</h2>
|
||||
<ul>
|
||||
<li>Find all fields with “<a href="http://hdl.handle.net">http://hdl.handle.net</a>” values (most are in <code>dc.identifier.uri</code>, but some are in other URL-related fields like <code>cg.link.reference</code>, <code>cg.identifier.dataurl</code>, and <code>cg.identifier.url</code>):</li>
|
||||
<li>Find all fields with “<a href="http://hdl.handle.net%22">http://hdl.handle.net"</a> values (most are in <code>dc.identifier.uri</code>, but some are in other URL-related fields like <code>cg.link.reference</code>, <code>cg.identifier.dataurl</code>, and <code>cg.identifier.url</code>):</li>
|
||||
</ul>
|
||||
<pre><code>dspace=# select distinct metadata_field_id from metadatavalue where resource_type_id=2 and text_value like 'http://hdl.handle.net%';
|
||||
dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http://hdl.handle.net', 'https://hdl.handle.net') where resource_type_id=2 and metadata_field_id IN (25, 113, 179, 219, 220, 223) and text_value like 'http://hdl.handle.net%';
|
||||
@ -316,7 +316,7 @@ UPDATE 58633
|
||||
<li>This works but I'm thinking I'll wait on the replacement as there are perhaps some other places that rely on <code>http://hdl.handle.net</code> (grep the code, it's scary how many things are hard coded)</li>
|
||||
<li>Send message to dspace-tech mailing list with concerns about this</li>
|
||||
</ul>
|
||||
<h2 id="20170227">2017-02-27</h2>
|
||||
<h2 id="2017-02-27">2017-02-27</h2>
|
||||
<ul>
|
||||
<li>LDAP users cannot log in today, looks to be an issue with CGIAR's LDAP server:</li>
|
||||
</ul>
|
||||
@ -379,7 +379,7 @@ Certificate chain
|
||||
<li>Redeploy CGSpace and DSpace Test to on latest <code>5_x-prod</code> branch with fixes for LDAP bind user</li>
|
||||
<li>Run all system updates on CGSpace server and reboot</li>
|
||||
</ul>
|
||||
<h2 id="20170228">2017-02-28</h2>
|
||||
<h2 id="2017-02-28">2017-02-28</h2>
|
||||
<ul>
|
||||
<li>After running the CIAT corrections and updating the Discovery and authority indexes, there is still no change in the number of items listed for CIAT in Discovery</li>
|
||||
<li>Ah, this is probably because some items have the <code>International Center for Tropical Agriculture</code> author twice, which I first noticed in 2016-12 but couldn't figure out how to fix</li>
|
||||
|
Reference in New Issue
Block a user