mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-26 00:18:21 +01:00
902 lines
41 KiB
HTML
902 lines
41 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
|
||
<meta property="og:title" content="March, 2019" />
|
||
<meta property="og:description" content="2019-03-01
|
||
|
||
|
||
I checked IITA’s 259 Feb 14 records from last month for duplicates using Atmire’s Duplicate Checker on a fresh snapshot of CGSpace on my local machine and everything looks good
|
||
I am now only waiting to hear from her about where the items should go, though I assume Journal Articles go to IITA Journal Articles collection, etc…
|
||
Looking at the other half of Udana’s WLE records from 2018-11
|
||
|
||
|
||
I finished the ones for Restoring Degraded Landscapes (RDL), but these are for Variability, Risks and Competing Uses (VRC)
|
||
I did the usual cleanups for whitespace, added regions where they made sense for certain countries, cleaned up the DOI link formats, added rights information based on the publications page for a few items
|
||
Most worryingly, there are encoding errors in the abstracts for eleven items, for example:
|
||
68.15% <20> 9.45 instead of 68.15% ± 9.45
|
||
2003<EFBFBD>2013 instead of 2003–2013
|
||
|
||
I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs
|
||
" />
|
||
<meta property="og:type" content="article" />
|
||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-03/" />
|
||
<meta property="article:published_time" content="2019-03-01T12:16:30+01:00"/>
|
||
<meta property="article:modified_time" content="2019-03-21T00:36:18+02:00"/>
|
||
|
||
<meta name="twitter:card" content="summary"/>
|
||
<meta name="twitter:title" content="March, 2019"/>
|
||
<meta name="twitter:description" content="2019-03-01
|
||
|
||
|
||
I checked IITA’s 259 Feb 14 records from last month for duplicates using Atmire’s Duplicate Checker on a fresh snapshot of CGSpace on my local machine and everything looks good
|
||
I am now only waiting to hear from her about where the items should go, though I assume Journal Articles go to IITA Journal Articles collection, etc…
|
||
Looking at the other half of Udana’s WLE records from 2018-11
|
||
|
||
|
||
I finished the ones for Restoring Degraded Landscapes (RDL), but these are for Variability, Risks and Competing Uses (VRC)
|
||
I did the usual cleanups for whitespace, added regions where they made sense for certain countries, cleaned up the DOI link formats, added rights information based on the publications page for a few items
|
||
Most worryingly, there are encoding errors in the abstracts for eleven items, for example:
|
||
68.15% <20> 9.45 instead of 68.15% ± 9.45
|
||
2003<EFBFBD>2013 instead of 2003–2013
|
||
|
||
I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs
|
||
"/>
|
||
<meta name="generator" content="Hugo 0.54.0" />
|
||
|
||
|
||
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "http://schema.org",
|
||
"@type": "BlogPosting",
|
||
"headline": "March, 2019",
|
||
"url": "https://alanorth.github.io/cgspace-notes/2019-03/",
|
||
"wordCount": "3715",
|
||
"datePublished": "2019-03-01T12:16:30+01:00",
|
||
"dateModified": "2019-03-21T00:36:18+02:00",
|
||
"author": {
|
||
"@type": "Person",
|
||
"name": "Alan Orth"
|
||
},
|
||
"keywords": "Notes"
|
||
}
|
||
</script>
|
||
|
||
|
||
|
||
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2019-03/">
|
||
|
||
<title>March, 2019 | CGSpace Notes</title>
|
||
|
||
<!-- combined, minified CSS -->
|
||
<link href="https://alanorth.github.io/cgspace-notes/css/style.css" rel="stylesheet" integrity="sha384-G5B34w7DFTumWTswxYzTX7NWfbvQEg1HbFFEg6ItN03uTAAoS2qkPS/fu3LhuuSA" crossorigin="anonymous">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</head>
|
||
|
||
<body>
|
||
|
||
|
||
<div class="blog-masthead">
|
||
<div class="container">
|
||
<nav class="nav blog-nav">
|
||
<a class="nav-link " href="https://alanorth.github.io/cgspace-notes/">Home</a>
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<header class="blog-header">
|
||
<div class="container">
|
||
<h1 class="blog-title"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||
<p class="lead blog-description">Documenting day-to-day work on the <a href="https://cgspace.cgiar.org">CGSpace</a> repository.</p>
|
||
</div>
|
||
</header>
|
||
|
||
|
||
|
||
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="col-sm-8 blog-main">
|
||
|
||
|
||
|
||
|
||
<article class="blog-post">
|
||
<header>
|
||
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2019-03/">March, 2019</a></h2>
|
||
<p class="blog-post-meta"><time datetime="2019-03-01T12:16:30+01:00">Fri Mar 01, 2019</time> by Alan Orth in
|
||
|
||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||
|
||
</p>
|
||
</header>
|
||
<h2 id="2019-03-01">2019-03-01</h2>
|
||
|
||
<ul>
|
||
<li>I checked IITA’s 259 Feb 14 records from last month for duplicates using Atmire’s Duplicate Checker on a fresh snapshot of CGSpace on my local machine and everything looks good</li>
|
||
<li>I am now only waiting to hear from her about where the items should go, though I assume Journal Articles go to IITA Journal Articles collection, etc…</li>
|
||
<li>Looking at the other half of Udana’s WLE records from 2018-11
|
||
|
||
<ul>
|
||
<li>I finished the ones for Restoring Degraded Landscapes (RDL), but these are for Variability, Risks and Competing Uses (VRC)</li>
|
||
<li>I did the usual cleanups for whitespace, added regions where they made sense for certain countries, cleaned up the DOI link formats, added rights information based on the publications page for a few items</li>
|
||
<li>Most worryingly, there are encoding errors in the abstracts for eleven items, for example:</li>
|
||
<li>68.15% <20> 9.45 instead of 68.15% ± 9.45</li>
|
||
<li>2003<EFBFBD>2013 instead of 2003–2013</li>
|
||
</ul></li>
|
||
<li>I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-03">2019-03-03</h2>
|
||
|
||
<ul>
|
||
<li>Trying to finally upload IITA’s 259 Feb 14 items to CGSpace so I exported them from DSpace Test:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ mkdir 2019-03-03-IITA-Feb14
|
||
$ dspace export -i 10568/108684 -t COLLECTION -m -n 0 -d 2019-03-03-IITA-Feb14
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>As I was inspecting the archive I noticed that there were some problems with the bitsreams:
|
||
|
||
<ul>
|
||
<li>First, Sisay didn’t include the bitstream descriptions</li>
|
||
<li>Second, only five items had bitstreams and I remember in the discussion with IITA that there should have been nine!</li>
|
||
<li>I had to refer to the original CSV from January to find the file names, then download and add them to the export contents manually!</li>
|
||
</ul></li>
|
||
<li>After adding the missing bitstreams and descriptions manually I tested them again locally, then imported them to a temporary collection on CGSpace:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ dspace import -a -c 10568/99832 -e aorth@stfu.com -m 2019-03-03-IITA-Feb14.map -s /tmp/2019-03-03-IITA-Feb14
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>DSpace’s export function doesn’t include the collections for some reason, so you need to import them somewhere first, then export the collection metadata and re-map the items to proper owning collections based on their types using OpenRefine or something</li>
|
||
<li>After re-importing to CGSpace to apply the mappings, I deleted the collection on DSpace Test and ran the <code>dspace cleanup</code> script</li>
|
||
<li>Merge the IITA research theme changes from last month to the <code>5_x-prod</code> branch (<a href="https://github.com/ilri/DSpace/pull/413">#413</a>)
|
||
|
||
<ul>
|
||
<li>I will deploy to CGSpace soon and then think about how to batch tag all IITA’s existing items with this metadata</li>
|
||
</ul></li>
|
||
<li>Deploy Tomcat 7.0.93 on CGSpace (linode18) after having tested it on DSpace Test (linode19) for a week</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-06">2019-03-06</h2>
|
||
|
||
<ul>
|
||
<li>Abenet was having problems with a CIP user account, I think that the user could not register</li>
|
||
<li>I suspect it’s related to the email issue that ICT hasn’t responded about since last week</li>
|
||
<li>As I thought, I still cannot send emails from CGSpace:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ dspace test-email
|
||
|
||
About to send test email:
|
||
- To: blah@stfu.com
|
||
- Subject: DSpace test email
|
||
- Server: smtp.office365.com
|
||
|
||
Error sending email:
|
||
- Error: javax.mail.AuthenticationFailedException
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I will send a follow-up to ICT to ask them to reset the password</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-07">2019-03-07</h2>
|
||
|
||
<ul>
|
||
<li>ICT reset the email password and I confirmed that it is working now</li>
|
||
<li>Generate a controlled vocabulary of 1187 AGROVOC subjects from the top 1500 that I checked last month, dumping the terms themselves using <code>csvcut</code> and then applying XML controlled vocabulary format in vim and then checking with tidy for good measure:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ csvcut -c name 2019-02-22-subjects.csv > dspace/config/controlled-vocabularies/dc-contributor-author.xml
|
||
$ # apply formatting in XML file
|
||
$ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/dc-subject.xml
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I tested the AGROVOC controlled vocabulary locally and will deploy it on DSpace Test soon so people can see it</li>
|
||
<li>Atmire noticed my message about the “solr_update_time_stamp” error on the dspace-tech mailing list and created an issue on their tracker to discuss it with me
|
||
|
||
<ul>
|
||
<li>They say the error is harmless, but has nevertheless been fixed in their newer module versions</li>
|
||
</ul></li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-08">2019-03-08</h2>
|
||
|
||
<ul>
|
||
<li>There’s an issue with CGSpace right now where all items are giving a blank page in the XMLUI
|
||
|
||
<ul>
|
||
<li><del>Interestingly, if I check an item in the REST API it is also mostly blank: only the title and the ID!</del> On second thought I realize I probably was just seeing the default view without any “expands”</li>
|
||
<li>I don’t see anything unusual in the Tomcat logs, though there are thousands of those <code>solr_update_time_stamp</code> errors:</li>
|
||
</ul></li>
|
||
</ul>
|
||
|
||
<pre><code># journalctl -u tomcat7 | grep -c 'Multiple update components target the same field:solr_update_time_stamp'
|
||
1076
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I restarted Tomcat and it’s OK now…</li>
|
||
<li>Skype meeting with Peter and Abenet and Sisay
|
||
|
||
<ul>
|
||
<li>We want to try to crowd source the correction of invalid AGROVOC terms starting with the ~313 invalid ones from our top 1500</li>
|
||
<li>We will share a Google Docs spreadsheet with the partners and ask them to mark the deletions and corrections</li>
|
||
<li>Abenet and Alan to spend some time identifying correct DCTERMS fields to move to, with preference over CG Core 2.0 as we want to be globally compliant (use information from SEO crosswalks)</li>
|
||
<li>I need to follow up on the privacy page that Sisay worked on</li>
|
||
<li>We want to try to migrate the 600 <a href="https://livestock.cgiar.org">Livestock CRP blog posts</a> to CGSpace, Peter will try to export the XML from WordPress so I can try to parse it with a script</li>
|
||
</ul></li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-09">2019-03-09</h2>
|
||
|
||
<ul>
|
||
<li>I shared a post on Yammer informing our editors to try to AGROVOC controlled list</li>
|
||
<li>The SPDX legal committee had a meeting and discussed the addition of CC-BY-ND-3.0-IGO and other IGO licenses to their list, but it seems unlikely (<a href="https://github.com/spdx/license-list-XML/issues/767#issuecomment-470709673">spdx/license-list-XML/issues/767</a>)</li>
|
||
<li>The FireOak report highlights the fact that several CGSpace collections have mixed-content errors due to the use of HTTP links in the Feedburner forms</li>
|
||
<li>I see 46 occurrences of these with this query:</li>
|
||
</ul>
|
||
|
||
<pre><code>dspace=# SELECT text_value FROM metadatavalue WHERE resource_type_id in (3,4) AND (text_value LIKE '%http://feedburner.%' OR text_value LIKE '%http://feeds.feedburner.%');
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I can replace these globally using the following SQL:</li>
|
||
</ul>
|
||
|
||
<pre><code>dspace=# UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://feedburner.','https//feedburner.', 'g') WHERE resource_type_id in (3,4) AND text_value LIKE '%http://feedburner.%';
|
||
UPDATE 43
|
||
dspace=# UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://feeds.feedburner.','https//feeds.feedburner.', 'g') WHERE resource_type_id in (3,4) AND text_value LIKE '%http://feeds.feedburner.%';
|
||
UPDATE 44
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I ran the corrections on CGSpace and DSpace Test</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-10">2019-03-10</h2>
|
||
|
||
<ul>
|
||
<li>Working on tagging IITA’s items with their new research theme (<code>cg.identifier.iitatheme</code>) based on their existing IITA subjects (see <a href="/cgspace-notes/2018-02/">notes from 2019-02</a>)</li>
|
||
<li>I exported the entire IITA community from CGSpace and then used <code>csvcut</code> to extract only the needed fields:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ csvcut -c 'id,cg.subject.iita,cg.subject.iita[],cg.subject.iita[en],cg.subject.iita[en_US]' ~/Downloads/10568-68616.csv > /tmp/iita.csv
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li><p>After importing to OpenRefine I realized that tagging items based on their subjects is tricky because of the row/record mode of OpenRefine when you split the multi-value cells as well as the fact that some items might need to be tagged twice (thus needing a <code>||</code>)</p></li>
|
||
|
||
<li><p>I think it might actually be easier to filter by IITA subject, then by IITA theme (if needed), and then do transformations with some conditional values in GREL expressions like:</p></li>
|
||
</ul>
|
||
|
||
<pre><code>if(isBlank(value), 'PLANT PRODUCTION & HEALTH', value + '||PLANT PRODUCTION & HEALTH')
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>Then it’s more annoying because there are four IITA subject columns…</li>
|
||
<li>In total this would add research themes to 1,755 items</li>
|
||
<li>I want to double check one last time with Bosede that they would like to do this, because I also see that this will tag a few hundred items from the 1970s and 1980s</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-11">2019-03-11</h2>
|
||
|
||
<ul>
|
||
<li>Bosede said that she would like the IITA research theme tagging only for items since 2015, which would be 256 items</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-12">2019-03-12</h2>
|
||
|
||
<ul>
|
||
<li>I imported the changes to 256 of IITA’s records on CGSpace</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-14">2019-03-14</h2>
|
||
|
||
<ul>
|
||
<li>CGSpace had the same issue with blank items like earlier this month and I restarted Tomcat to fix it</li>
|
||
<li>Create a pull request to change Swaziland to Eswatini and Macedonia to North Macedonia (<a href="https://github.com/ilri/DSpace/pull/414">#414</a>)
|
||
|
||
<ul>
|
||
<li>I see thirty-six items using Swaziland country metadata, and Peter says we should change only those from 2018 and 2019</li>
|
||
<li>I think that I could get the resource IDs from SQL and then export them using <code>dspace metadata-export</code>…</li>
|
||
</ul></li>
|
||
<li>This is a bit ugly, but it works (using the <a href="https://wiki.duraspace.org/display/DSPACE/Helper+SQL+functions+for+DSpace+5">DSpace 5 SQL helper function</a> to resolve ID to handle):</li>
|
||
</ul>
|
||
|
||
<pre><code>for id in $(psql -U postgres -d dspacetest -h localhost -c "SELECT resource_id FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id=228 AND text_value LIKE '%SWAZILAND%'" | grep -oE '[0-9]{3,}'); do
|
||
|
||
echo "Getting handle for id: ${id}"
|
||
|
||
handle=$(psql -U postgres -d dspacetest -h localhost -c "SELECT ds5_item2itemhandle($id)" | grep -oE '[0-9]{5}/[0-9]+')
|
||
|
||
~/dspace/bin/dspace metadata-export -f /tmp/${id}.csv -i $handle
|
||
|
||
done
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>Then I couldn’t figure out a clever way to join all the CSVs, so I just grepped them to find the IDs with dates from 2018 and 2019 and there are apparently only three:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ grep -oE '201[89]' /tmp/*.csv | sort -u
|
||
/tmp/94834.csv:2018
|
||
/tmp/95615.csv:2018
|
||
/tmp/96747.csv:2018
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>And looking at those items more closely, only one of them has an <em>issue date</em> of after 2018-04, so I will only update that one (as the countrie’s name only changed in 2018-04)</li>
|
||
<li>Run all system updates and reboot linode20</li>
|
||
<li>Follow up with Felix from Earlham to see if he’s done testing DSpace Test with COPO so I can re-sync the server from CGSpace</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-15">2019-03-15</h2>
|
||
|
||
<ul>
|
||
<li>CGSpace (linode18) has the blank page error again</li>
|
||
<li>I’m not sure if it’s related, but I see the following error in DSpace’s log:</li>
|
||
</ul>
|
||
|
||
<pre><code>2019-03-15 14:09:32,685 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL QueryTable Error -
|
||
java.sql.SQLException: Connection org.postgresql.jdbc.PgConnection@55ba10b5 is closed.
|
||
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.checkOpen(DelegatingConnection.java:398)
|
||
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:279)
|
||
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
|
||
at org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:220)
|
||
at org.dspace.authorize.AuthorizeManager.getPolicies(AuthorizeManager.java:612)
|
||
at org.dspace.content.crosswalk.METSRightsCrosswalk.disseminateElement(METSRightsCrosswalk.java:154)
|
||
at org.dspace.content.crosswalk.METSRightsCrosswalk.disseminateElement(METSRightsCrosswalk.java:300)
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>Interestingly, I see a pattern of these errors increasing, with single and double digit numbers over the past month, <del>but spikes of over 1,000 today</del>, yesterday, and on 2019-03-08, which was exactly the first time we saw this blank page error recently</li>
|
||
</ul>
|
||
|
||
<pre><code># grep -c 'SQL QueryTable Error' dspace.log.2019-0*
|
||
dspace.log.2019-02-01:6
|
||
dspace.log.2019-02-02:1
|
||
dspace.log.2019-02-03:0
|
||
dspace.log.2019-02-04:4
|
||
dspace.log.2019-02-05:4
|
||
dspace.log.2019-02-06:3
|
||
dspace.log.2019-02-07:0
|
||
dspace.log.2019-02-08:2
|
||
dspace.log.2019-02-09:0
|
||
dspace.log.2019-02-10:0
|
||
dspace.log.2019-02-11:1
|
||
dspace.log.2019-02-12:2
|
||
dspace.log.2019-02-13:1
|
||
dspace.log.2019-02-14:74
|
||
dspace.log.2019-02-15:47
|
||
dspace.log.2019-02-16:44
|
||
dspace.log.2019-02-17:37
|
||
dspace.log.2019-02-18:191
|
||
dspace.log.2019-02-19:51
|
||
dspace.log.2019-02-20:32
|
||
dspace.log.2019-02-21:64
|
||
dspace.log.2019-02-22:48
|
||
dspace.log.2019-02-23:32
|
||
dspace.log.2019-02-24:25
|
||
dspace.log.2019-02-25:53
|
||
dspace.log.2019-02-26:63
|
||
dspace.log.2019-02-27:28
|
||
dspace.log.2019-02-28:31
|
||
dspace.log.2019-03-01:29
|
||
dspace.log.2019-03-02:24
|
||
dspace.log.2019-03-03:41
|
||
dspace.log.2019-03-04:25
|
||
dspace.log.2019-03-05:48
|
||
dspace.log.2019-03-06:48
|
||
dspace.log.2019-03-07:42
|
||
dspace.log.2019-03-08:1781
|
||
dspace.log.2019-03-09:22
|
||
dspace.log.2019-03-10:23
|
||
dspace.log.2019-03-11:52
|
||
dspace.log.2019-03-12:474
|
||
dspace.log.2019-03-13:37
|
||
dspace.log.2019-03-14:924
|
||
dspace.log.2019-03-15:770
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>There are not too many connections currently in PostgreSQL:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c
|
||
6 dspaceApi
|
||
10 dspaceCli
|
||
15 dspaceWeb
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I didn’t see anything interesting in the PostgreSQL logs, though this stack trace from the Tomcat logs (in the systemd journal) from earlier today <em>might</em> be related?</li>
|
||
</ul>
|
||
|
||
<pre><code>SEVERE: Servlet.service() for servlet [spring] in context with path [] threw exception [org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.util.EmptyStackException] with root cause
|
||
java.util.EmptyStackException
|
||
at java.util.Stack.peek(Stack.java:102)
|
||
at java.util.Stack.pop(Stack.java:84)
|
||
at org.apache.cocoon.callstack.CallStack.leave(CallStack.java:54)
|
||
at org.apache.cocoon.servletservice.CallStackHelper.leaveServlet(CallStackHelper.java:85)
|
||
at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:484)
|
||
at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:443)
|
||
at org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:264)
|
||
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
|
||
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
|
||
at com.sun.proxy.$Proxy90.service(Unknown Source)
|
||
at org.dspace.springmvc.CocoonView.render(CocoonView.java:113)
|
||
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180)
|
||
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
|
||
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
|
||
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
|
||
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
|
||
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
|
||
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
|
||
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
|
||
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
|
||
at org.dspace.rdf.negotiation.NegotiationFilter.doFilter(NegotiationFilter.java:59)
|
||
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
|
||
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
|
||
at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
|
||
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
|
||
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
|
||
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
|
||
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
|
||
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
|
||
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
|
||
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
|
||
at org.apache.catalina.valves.CrawlerSessionManagerValve.invoke(CrawlerSessionManagerValve.java:234)
|
||
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
|
||
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
|
||
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
|
||
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
|
||
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
|
||
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:317)
|
||
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
||
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
||
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
||
at java.lang.Thread.run(Thread.java:748)
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>For now I will just restart Tomcat…</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-17">2019-03-17</h2>
|
||
|
||
<ul>
|
||
<li>Last week Felix from Earlham said that they finished testing on DSpace Test (linode19) so I made backups of some things there and re-deployed the system on Ubuntu 18.04
|
||
|
||
<ul>
|
||
<li>During re-deployment I hit a few issues with the <a href="https://github.com/ilri/rmg-ansible-public">Ansible playbooks</a> and made some minor improvements</li>
|
||
<li>There seems to be an <a href="https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/1794589">issue with nodejs’s dependencies now</a>, which causes npm to get uninstalled when installing the certbot dependencies (due to a conflict in libssl dependencies)</li>
|
||
<li>I re-worked the playbooks to use Node.js from the upstream official repository for now</li>
|
||
</ul></li>
|
||
<li>Create and merge pull request for the AGROVOC controlled list (<a href="https://github.com/ilri/DSpace/pull/415">#415</a>)
|
||
|
||
<ul>
|
||
<li>Run all system updates on CGSpace (linode18) and re-deploy the <code>5_x-prod</code> branch and reboot the server</li>
|
||
</ul></li>
|
||
<li>Re-sync DSpace Test with a fresh database snapshot and assetstore from CGSpace
|
||
|
||
<ul>
|
||
<li>After restarting Tomcat, Solr was giving the “Error opening new searcher” error for all cores</li>
|
||
<li>I stopped Tomcat, added <code>ulimit -v unlimited</code> to the <code>catalina.sh</code> script and deleted all old locks in the DSpace <code>solr</code> directory and then DSpace started up normally</li>
|
||
<li>I’m still not exactly sure why I see this error and if the <code>ulimit</code> trick actually helps, as the <code>tomcat7.service</code> has <code>LimitAS=infinity</code> anyways (and from checking the PID’s limits file in <code>/proc</code> it seems to be applied)</li>
|
||
<li>Then I noticed that the item displays were blank… so I checked the database info and saw there were some unfinished migrations</li>
|
||
<li>I’m not entirely sure if it’s related, but I tried to delete the old migrations and then force running the ignored ones like when we upgraded to <a href="/cgspace-notes/2018-06/">DSpace 5.8 in 2018-06</a> and then after restarting Tomcat I could see the item displays again</li>
|
||
</ul></li>
|
||
<li>I copied the 2019 Solr statistics core from CGSpace to DSpace Test and it works (and is only 5.5GB currently), so now we have some useful stats on DSpace Test for the CUA module and the dspace-statistics-api</li>
|
||
<li>I ran DSpace’s cleanup task on CGSpace (linode18) and there were errors:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ dspace cleanup -v
|
||
Error: ERROR: update or delete on table "bitstream" violates foreign key constraint "bundle_primary_bitstream_id_fkey" on table "bundle"
|
||
Detail: Key (bitstream_id)=(164496) is still referenced from table "bundle".
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>The solution is, as always:</li>
|
||
</ul>
|
||
|
||
<pre><code># su - postgres
|
||
$ psql dspacetest -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (164496);'
|
||
UPDATE 1
|
||
</code></pre>
|
||
|
||
<h2 id="2019-03-18">2019-03-18</h2>
|
||
|
||
<ul>
|
||
<li>I noticed that the regular expression for validating lines from input files in my <code>agrovoc-lookup.py</code> script was skipping characters with accents, etc, so I changed it to use the <code>\w</code> character class for words instead of trying to match <code>[A-Z]</code> etc…
|
||
|
||
<ul>
|
||
<li>We have a Spanish and French subjects so this is very important</li>
|
||
<li>Also there were some subjects with apostrophes, dashes, and periods… these are probably invalid AGROVOC subject terms, but we should save them to the rejects file instead of skipping them nevertheless</li>
|
||
</ul></li>
|
||
<li>Dump top 1500 subjects from CGSpace to try one more time to generate a list of invalid terms using my <code>agrovoc-lookup.py</code> script:</li>
|
||
</ul>
|
||
|
||
<pre><code>dspace=# \COPY (SELECT DISTINCT text_value, count(*) FROM metadatavalue WHERE metadata_field_id = 57 AND resource_type_id = 2 GROUP BY text_value ORDER BY count DESC LIMIT 1500) to /tmp/2019-03-18-top-1500-subject.csv WITH CSV HEADER;
|
||
COPY 1500
|
||
dspace=# \q
|
||
$ csvcut -c text_value /tmp/2019-03-18-top-1500-subject.csv > 2019-03-18-top-1500-subject.csv
|
||
$ ./agrovoc-lookup.py -l en -i 2019-03-18-top-1500-subject.csv -om /tmp/en-subjects-matched.txt -or /tmp/en-subjects-unmatched.txt
|
||
$ ./agrovoc-lookup.py -l es -i 2019-03-18-top-1500-subject.csv -om /tmp/es-subjects-matched.txt -or /tmp/es-subjects-unmatched.txt
|
||
$ ./agrovoc-lookup.py -l fr -i 2019-03-18-top-1500-subject.csv -om /tmp/fr-subjects-matched.txt -or /tmp/fr-subjects-unmatched.txt
|
||
$ cat /tmp/*-subjects-matched.txt | sort -u > /tmp/subjects-matched-sorted.txt
|
||
$ wc -l /tmp/subjects-matched-sorted.txt
|
||
1318 /tmp/subjects-matched-sorted.txt
|
||
$ sort -u 2019-03-18-top-1500-subject.csv > /tmp/1500-subjects-sorted.txt
|
||
$ comm -13 /tmp/subjects-matched-sorted.txt /tmp/1500-subjects-sorted.txt > 2019-03-18-subjects-unmatched.txt
|
||
$ wc -l 2019-03-18-subjects-unmatched.txt
|
||
182 2019-03-18-subjects-unmatched.txt
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>So the new total of matched terms with the updated regex is 1317 and unmatched is 183 (previous number of matched terms was 1187)</li>
|
||
<li>Create and merge a pull request to update the controlled vocabulary for AGROVOC terms (<a href="https://github.com/ilri/DSpace/pull/416">#416</a>)</li>
|
||
<li>We are getting the blank page issue on CGSpace again today and I see a <del>large number</del> of the “SQL QueryTable Error” in the DSpace log again (last time was 2019-03-15):</li>
|
||
</ul>
|
||
|
||
<pre><code>$ grep -c 'SQL QueryTable Error' dspace.log.2019-03-1[5678]
|
||
dspace.log.2019-03-15:929
|
||
dspace.log.2019-03-16:67
|
||
dspace.log.2019-03-17:72
|
||
dspace.log.2019-03-18:1038
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>Though WTF, this grep seems to be giving weird inaccurate results actually, and the real number of errors is much lower:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ grep -I 'SQL QueryTable Error' dspace.log.2019-03-18 | wc -l
|
||
8
|
||
$ grep -I 'SQL QueryTable Error' dspace.log.2019-03-{08,14,15,16,17,18} | awk -F: '{print $1}' | sort | uniq -c
|
||
9 dspace.log.2019-03-08
|
||
25 dspace.log.2019-03-14
|
||
12 dspace.log.2019-03-15
|
||
67 dspace.log.2019-03-16
|
||
72 dspace.log.2019-03-17
|
||
8 dspace.log.2019-03-18
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>It seems to be something with grep doing binary matching on some log files for some reason, so I guess I need to always use <code>-I</code> to say binary files don’t match</li>
|
||
<li>Anyways, the full error in DSpace’s log is:</li>
|
||
</ul>
|
||
|
||
<pre><code>2019-03-18 12:26:23,331 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL QueryTable Error -
|
||
java.sql.SQLException: Connection org.postgresql.jdbc.PgConnection@75eaa668 is closed.
|
||
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.checkOpen(DelegatingConnection.java:398)
|
||
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:279)
|
||
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)
|
||
at org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:220)
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>There is a low number of connections to PostgreSQL currently:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ psql -c 'select * from pg_stat_activity' | wc -l
|
||
33
|
||
$ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|dspaceCli)' | sort | uniq -c
|
||
6 dspaceApi
|
||
7 dspaceCli
|
||
15 dspaceWeb
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I looked in the PostgreSQL logs, but all I see are a bunch of these errors going back two months to January:</li>
|
||
</ul>
|
||
|
||
<pre><code>2019-01-13 06:25:13.062 CET [9157] postgres@template1 ERROR: column "waiting" does not exist at character 217
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>This is unrelated and apparently due to <a href="https://github.com/munin-monitoring/munin/issues/746">Munin checking a column that was changed in PostgreSQL 9.6</a></li>
|
||
<li>I suspect that this issue with the blank pages might not be PostgreSQL after all, perhaps it’s a Cocoon thing?</li>
|
||
<li>Looking in the cocoon logs I see a large number of warnings about “Can not load requested doc” around 11AM and 12PM:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ grep 'Can not load requested doc' cocoon.log.2019-03-18 | grep -oE '2019-03-18 [0-9]{2}:' | sort | uniq -c
|
||
2 2019-03-18 00:
|
||
6 2019-03-18 02:
|
||
3 2019-03-18 04:
|
||
1 2019-03-18 05:
|
||
1 2019-03-18 07:
|
||
2 2019-03-18 08:
|
||
4 2019-03-18 09:
|
||
5 2019-03-18 10:
|
||
863 2019-03-18 11:
|
||
203 2019-03-18 12:
|
||
14 2019-03-18 13:
|
||
1 2019-03-18 14:
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>And a few days ago on 2019-03-15 when I happened last it was in the afternoon when it happened and the same pattern occurs then around 1–2PM:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ xzgrep 'Can not load requested doc' cocoon.log.2019-03-15.xz | grep -oE '2019-03-15 [0-9]{2}:' | sort | uniq -c
|
||
4 2019-03-15 01:
|
||
3 2019-03-15 02:
|
||
1 2019-03-15 03:
|
||
13 2019-03-15 04:
|
||
1 2019-03-15 05:
|
||
2 2019-03-15 06:
|
||
3 2019-03-15 07:
|
||
27 2019-03-15 09:
|
||
9 2019-03-15 10:
|
||
3 2019-03-15 11:
|
||
2 2019-03-15 12:
|
||
531 2019-03-15 13:
|
||
274 2019-03-15 14:
|
||
4 2019-03-15 15:
|
||
75 2019-03-15 16:
|
||
5 2019-03-15 17:
|
||
5 2019-03-15 18:
|
||
6 2019-03-15 19:
|
||
2 2019-03-15 20:
|
||
4 2019-03-15 21:
|
||
3 2019-03-15 22:
|
||
1 2019-03-15 23:
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>And again on 2019-03-08, surprise surprise, it happened in the morning:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ xzgrep 'Can not load requested doc' cocoon.log.2019-03-08.xz | grep -oE '2019-03-08 [0-9]{2}:' | sort | uniq -c
|
||
11 2019-03-08 01:
|
||
3 2019-03-08 02:
|
||
1 2019-03-08 03:
|
||
2 2019-03-08 04:
|
||
1 2019-03-08 05:
|
||
1 2019-03-08 06:
|
||
1 2019-03-08 08:
|
||
425 2019-03-08 09:
|
||
432 2019-03-08 10:
|
||
717 2019-03-08 11:
|
||
59 2019-03-08 12:
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I’m not sure if it’s cocoon or that’s just a symptom of something else</li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-19">2019-03-19</h2>
|
||
|
||
<ul>
|
||
<li>I found a handful of AGROVOC subjects that use a non-breaking space (0x00a0) instead of a regular space, which makes for a pretty confusing debugging…</li>
|
||
<li>I will replace these in the database immediately to save myself the headache later:</li>
|
||
</ul>
|
||
|
||
<pre><code>dspace=# SELECT count(text_value) FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id = 57 AND text_value ~ '.+\u00a0.+';
|
||
count
|
||
-------
|
||
84
|
||
(1 row)
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>Perhaps my <code>agrovoc-lookup.py</code> script could notify if it finds these because they potentially give false negatives</li>
|
||
<li>CGSpace (linode18) is having problems with Solr again, I’m seeing “Error opening new searcher” in the Solr logs and there are no stats for previous years</li>
|
||
<li>Apparently the Solr statistics shards didn’t load properly when we restarted Tomcat <em>yesterday</em>:</li>
|
||
</ul>
|
||
|
||
<pre><code>2019-03-18 12:32:39,799 ERROR org.apache.solr.core.CoreContainer @ Error creating core [statistics-2018]: Error opening new searcher
|
||
...
|
||
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
|
||
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1565)
|
||
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1677)
|
||
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:845)
|
||
... 31 more
|
||
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/cgspace.cgiar.org/solr/statistics-2018/data/index/write.lock
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>For reference, I don’t see the <code>ulimit -v unlimited</code> in the <code>catalina.sh</code> script, though the <code>tomcat7</code> systemd service has <code>LimitAS=infinity</code></li>
|
||
<li>The limits of the current Tomcat java process are:</li>
|
||
</ul>
|
||
|
||
<pre><code># cat /proc/27182/limits
|
||
Limit Soft Limit Hard Limit Units
|
||
Max cpu time unlimited unlimited seconds
|
||
Max file size unlimited unlimited bytes
|
||
Max data size unlimited unlimited bytes
|
||
Max stack size 8388608 unlimited bytes
|
||
Max core file size 0 unlimited bytes
|
||
Max resident set unlimited unlimited bytes
|
||
Max processes 128589 128589 processes
|
||
Max open files 16384 16384 files
|
||
Max locked memory 65536 65536 bytes
|
||
Max address space unlimited unlimited bytes
|
||
Max file locks unlimited unlimited locks
|
||
Max pending signals 128589 128589 signals
|
||
Max msgqueue size 819200 819200 bytes
|
||
Max nice priority 0 0
|
||
Max realtime priority 0 0
|
||
Max realtime timeout unlimited unlimited us
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>I will try to add <code>ulimit -v unlimited</code> to the Catalina startup script and check the output of the limits to see if it’s different in practice, as some wisdom on Stack Overflow says this solves the Solr core issues and I’ve superstitiously tried it various times in the past
|
||
|
||
<ul>
|
||
<li>The result is the same before and after, so <em>adding the ulimit directly is unneccessary</em> (whether or not unlimited address space is useful or not is another question)</li>
|
||
</ul></li>
|
||
<li>For now I will just stop Tomcat, delete Solr locks, then start Tomcat again:</li>
|
||
</ul>
|
||
|
||
<pre><code># systemctl stop tomcat7
|
||
# find /home/cgspace.cgiar.org/solr/ -iname "*.lock" -delete
|
||
# systemctl start tomcat7
|
||
</code></pre>
|
||
|
||
<ul class="task-list">
|
||
<li>After restarting I confirmed that all Solr statistics cores were loaded successfully…</li>
|
||
<li>Another avenue might be to look at point releases in Solr 4.10.x, as we’re running 4.10.2 and they released 4.10.3 and 4.10.4 back in 2014 or 2015
|
||
|
||
<ul>
|
||
<li>I see several issues regarding locks and IndexWriter that were fixed in Solr and Lucene 4.10.3 and 4.10.4…</li>
|
||
</ul></li>
|
||
<li>I sent a mail to the dspace-tech mailing list to ask about Solr issues</li>
|
||
<li>Testing Solr 4.10.4 on DSpace 5.8:
|
||
|
||
<ul class="task-list">
|
||
<li><label><input type="checkbox" checked disabled class="task-list-item"> Discovery indexing</label></li>
|
||
<li><label><input type="checkbox" checked disabled class="task-list-item"> dspace-statistics-api indexer</label></li>
|
||
<li><label><input type="checkbox" checked disabled class="task-list-item"> /solr admin UI</label></li>
|
||
</ul></li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-20">2019-03-20</h2>
|
||
|
||
<ul>
|
||
<li>Create a branch for Solr 4.10.4 changes so I can test on DSpace Test (linode19)
|
||
|
||
<ul>
|
||
<li>Deployed Solr 4.10.4 on DSpace Test and will leave it there for a few weeks, as well as on my local environment</li>
|
||
</ul></li>
|
||
</ul>
|
||
|
||
<h2 id="2019-03-21">2019-03-21</h2>
|
||
|
||
<ul>
|
||
<li>It’s been two days since we had the blank page issue on CGSpace, and looking in the Cocoon logs I see very low numbers of the errors that we were seeing the last time the issue occurred:</li>
|
||
</ul>
|
||
|
||
<pre><code>$ grep 'Can not load requested doc' cocoon.log.2019-03-20 | grep -oE '2019-03-20 [0-9]{2}:' | sort | uniq -c
|
||
3 2019-03-20 00:
|
||
12 2019-03-20 02:
|
||
$ grep 'Can not load requested doc' cocoon.log.2019-03-21 | grep -oE '2019-03-21 [0-9]{2}:' | sort | uniq -c
|
||
4 2019-03-21 00:
|
||
1 2019-03-21 02:
|
||
4 2019-03-21 03:
|
||
1 2019-03-21 05:
|
||
4 2019-03-21 06:
|
||
11 2019-03-21 07:
|
||
14 2019-03-21 08:
|
||
3 2019-03-21 09:
|
||
4 2019-03-21 10:
|
||
5 2019-03-21 11:
|
||
4 2019-03-21 12:
|
||
3 2019-03-21 13:
|
||
6 2019-03-21 14:
|
||
2 2019-03-21 15:
|
||
3 2019-03-21 16:
|
||
3 2019-03-21 18:
|
||
1 2019-03-21 19:
|
||
6 2019-03-21 20:
|
||
</code></pre>
|
||
|
||
<ul>
|
||
<li>To investigate the Solr lock issue I added a <code>find</code> command to the Tomcat 7 service with <code>ExecStartPre</code> and <code>ExecStopPost</code> and noticed that the lock files are always there…
|
||
|
||
<ul>
|
||
<li>Perhaps the lock files are less of an issue than I thought?</li>
|
||
<li>I will share my thoughts with the dspace-tech community</li>
|
||
</ul></li>
|
||
<li>In other news, I notice that that systemd always thinks that Tomcat has failed when it stops because the JVM exits with code 143, which is apparently normal
|
||
|
||
<ul>
|
||
<li>We can add <code>SuccessExitStatus=143</code> to the systemd service so that it knows this is a successful exit</li>
|
||
</ul></li>
|
||
</ul>
|
||
|
||
<!-- vim: set sw=2 ts=2: -->
|
||
|
||
|
||
|
||
|
||
|
||
</article>
|
||
|
||
|
||
|
||
</div> <!-- /.blog-main -->
|
||
|
||
<aside class="col-sm-3 ml-auto blog-sidebar">
|
||
|
||
|
||
|
||
<section class="sidebar-module">
|
||
<h4>Recent Posts</h4>
|
||
<ol class="list-unstyled">
|
||
|
||
|
||
<li><a href="/cgspace-notes/2019-03/">March, 2019</a></li>
|
||
|
||
<li><a href="/cgspace-notes/2019-02/">February, 2019</a></li>
|
||
|
||
<li><a href="/cgspace-notes/2019-01/">January, 2019</a></li>
|
||
|
||
<li><a href="/cgspace-notes/2018-12/">December, 2018</a></li>
|
||
|
||
<li><a href="/cgspace-notes/2018-11/">November, 2018</a></li>
|
||
|
||
</ol>
|
||
</section>
|
||
|
||
|
||
|
||
|
||
<section class="sidebar-module">
|
||
<h4>Links</h4>
|
||
<ol class="list-unstyled">
|
||
|
||
<li><a href="https://cgspace.cgiar.org">CGSpace</a></li>
|
||
|
||
<li><a href="https://dspacetest.cgiar.org">DSpace Test</a></li>
|
||
|
||
<li><a href="https://github.com/ilri/DSpace">CGSpace @ GitHub</a></li>
|
||
|
||
</ol>
|
||
</section>
|
||
|
||
</aside>
|
||
|
||
|
||
</div> <!-- /.row -->
|
||
</div> <!-- /.container -->
|
||
|
||
|
||
|
||
<footer class="blog-footer">
|
||
<p>
|
||
|
||
Blog template created by <a href="https://twitter.com/mdo">@mdo</a>, ported to Hugo by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
|
||
|
||
</p>
|
||
<p>
|
||
<a href="#">Back to top</a>
|
||
</p>
|
||
</footer>
|
||
|
||
|
||
</body>
|
||
|
||
</html>
|