mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-01-27
This commit is contained in:
@ -31,7 +31,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
|
||||
# awk '{print $1}' /var/log/nginx/rest.log | uniq | wc -l
|
||||
3168
|
||||
"/>
|
||||
<meta name="generator" content="Hugo 0.62.2" />
|
||||
<meta name="generator" content="Hugo 0.63.1" />
|
||||
|
||||
|
||||
|
||||
@ -61,7 +61,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
|
||||
|
||||
<!-- combined, minified CSS -->
|
||||
|
||||
<link href="https://alanorth.github.io/cgspace-notes/css/style.a20c1a4367639632cdb341d23c27ca44fedcc75b0f8b3cbea6203010da153d3c.css" rel="stylesheet" integrity="sha256-ogwaQ2djljLNs0HSPCfKRP7cx1sPizy+piAwENoVPTw=" crossorigin="anonymous">
|
||||
<link href="https://alanorth.github.io/cgspace-notes/css/style.23e2c3298bcc8c1136c19aba330c211ec94c36f7c4454ea15cf4d3548370042a.css" rel="stylesheet" integrity="sha256-I+LDKYvMjBE2wZq6MwwhHslMNvfERU6hXPTTVINwBCo=" crossorigin="anonymous">
|
||||
|
||||
|
||||
<!-- RSS 2.0 feed -->
|
||||
@ -109,7 +109,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
|
||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-05/">May, 2016</a></h2>
|
||||
<p class="blog-post-meta"><time datetime="2016-05-01T23:06:00+03:00">Sun May 01, 2016</time> by Alan Orth in
|
||||
|
||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||
<span class="fas fa-tag" aria-hidden="true"></span> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||
|
||||
</p>
|
||||
</header>
|
||||
@ -127,8 +127,8 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
|
||||
</ul>
|
||||
<pre><code>GET /rest/handle/10568/NaN?expand=parentCommunityList,metadata HTTP/1.1
|
||||
</code></pre><ul>
|
||||
<li>For now I'll block just the Ethiopian IP</li>
|
||||
<li>The owner of that application has said that the <code>NaN</code> (not a number) is an error in his code and he'll fix it</li>
|
||||
<li>For now I’ll block just the Ethiopian IP</li>
|
||||
<li>The owner of that application has said that the <code>NaN</code> (not a number) is an error in his code and he’ll fix it</li>
|
||||
</ul>
|
||||
<h2 id="2016-05-03">2016-05-03</h2>
|
||||
<ul>
|
||||
@ -141,7 +141,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
|
||||
<li>DSpace Test is down, <code>catalina.out</code> has lots of messages about heap space from some time yesterday (!)</li>
|
||||
<li>It looks like Sisay was doing some batch imports</li>
|
||||
<li>Hmm, also disk space is full</li>
|
||||
<li>I decided to blow away the solr indexes, since they are 50GB and we don't really need all the Atmire stuff there right now</li>
|
||||
<li>I decided to blow away the solr indexes, since they are 50GB and we don’t really need all the Atmire stuff there right now</li>
|
||||
<li>I will re-generate the Discovery indexes after re-deploying</li>
|
||||
<li>Testing <code>renew-letsencrypt.sh</code> script for nginx</li>
|
||||
</ul>
|
||||
@ -180,7 +180,7 @@ fi
|
||||
</li>
|
||||
<li>Not sure what <code>dcterms</code> is…</li>
|
||||
<li>Looks like these were <a href="https://wiki.duraspace.org/display/DSDOC5x/Metadata+and+Bitstream+Format+Registries#MetadataandBitstreamFormatRegistries-DublinCoreTermsRegistry(DCTERMS)">added in DSpace 4</a> to allow for future work to make DSpace more flexible</li>
|
||||
<li>CGSpace's <code>dc</code> registry has 96 items, and the default DSpace one has 73.</li>
|
||||
<li>CGSpace’s <code>dc</code> registry has 96 items, and the default DSpace one has 73.</li>
|
||||
</ul>
|
||||
<h2 id="2016-05-11">2016-05-11</h2>
|
||||
<ul>
|
||||
@ -201,7 +201,7 @@ fi
|
||||
<p>Start a test rebase of the <code>5_x-prod</code> branch on top of the <code>dspace-5.5</code> tag</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>There were a handful of conflicts that I didn't understand</p>
|
||||
<p>There were a handful of conflicts that I didn’t understand</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>After completing the rebase I tried to build with the module versions Atmire had indicated as being 5.5 ready but I got this error:</p>
|
||||
@ -209,10 +209,10 @@ fi
|
||||
</ul>
|
||||
<pre><code>[ERROR] Failed to execute goal on project additions: Could not resolve dependencies for project org.dspace.modules:additions:jar:5.5: Could not find artifact com.atmire:atmire-metadata-quality-api:jar:5.5-2.10.1-0 in sonatype-releases (https://oss.sonatype.org/content/repositories/releases/) -> [Help 1]
|
||||
</code></pre><ul>
|
||||
<li>I've sent them a question about it</li>
|
||||
<li>I’ve sent them a question about it</li>
|
||||
<li>A user mentioned having problems with uploading a 33 MB PDF</li>
|
||||
<li>I told her I would increase the limit temporarily tomorrow morning</li>
|
||||
<li>Turns out she was able to decrease the size of the PDF so we didn't have to do anything</li>
|
||||
<li>Turns out she was able to decrease the size of the PDF so we didn’t have to do anything</li>
|
||||
</ul>
|
||||
<h2 id="2016-05-12">2016-05-12</h2>
|
||||
<ul>
|
||||
@ -227,7 +227,7 @@ fi
|
||||
<ul>
|
||||
<li>Our <code>dc.place</code> and <code>dc.srplace.subregion</code> could both map to <code>cg.coverage.admin-unit</code>?</li>
|
||||
<li>Should we use <code>dc.contributor.crp</code> or <code>cg.contributor.crp</code> for the CRP (ours is <code>dc.crsubject.crpsubject</code>)?</li>
|
||||
<li>Our <code>dc.contributor.affiliation</code> and <code>dc.contributor.corporate</code> could both map to <code>dc.contributor</code> and possibly <code>dc.contributor.center</code> depending on if it's a CG center or not</li>
|
||||
<li>Our <code>dc.contributor.affiliation</code> and <code>dc.contributor.corporate</code> could both map to <code>dc.contributor</code> and possibly <code>dc.contributor.center</code> depending on if it’s a CG center or not</li>
|
||||
<li><code>dc.title.jtitle</code> could either map to <code>dc.publisher</code> or <code>dc.source</code> depending on how you read things</li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -243,8 +243,8 @@ fi
|
||||
<li>dc.place → cg.place</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>dc.place</code> is our own field, so it's easy to move</li>
|
||||
<li>I've removed <code>dc.title.jtitle</code> from the list for now because there's no use moving it out of DC until we know where it will go (see discussion yesterday)</li>
|
||||
<li><code>dc.place</code> is our own field, so it’s easy to move</li>
|
||||
<li>I’ve removed <code>dc.title.jtitle</code> from the list for now because there’s no use moving it out of DC until we know where it will go (see discussion yesterday)</li>
|
||||
</ul>
|
||||
<h2 id="2016-05-18">2016-05-18</h2>
|
||||
<ul>
|
||||
@ -269,8 +269,8 @@ fi
|
||||
<ul>
|
||||
<li>We should move PN*, SG*, CBA, IA, and PHASE* values to <code>cg.identifier.cpwfproject</code></li>
|
||||
<li>The rest, like BMGF and USAID etc, might have to go to either <code>dc.description.sponsorship</code> or <code>cg.identifier.fund</code> (not sure yet)</li>
|
||||
<li>There are also some mistakes in CPWF's things, like “PN 47”</li>
|
||||
<li>This ought to catch all the CPWF values (there don't appear to be and SG* values):</li>
|
||||
<li>There are also some mistakes in CPWF’s things, like “PN 47”</li>
|
||||
<li>This ought to catch all the CPWF values (there don’t appear to be and SG* values):</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -282,7 +282,7 @@ fi
|
||||
</ul>
|
||||
<pre><code>value + "__bundle:THUMBNAIL"
|
||||
</code></pre><ul>
|
||||
<li>Also, I fixed some weird characters using OpenRefine's transform with the following GREL:</li>
|
||||
<li>Also, I fixed some weird characters using OpenRefine’s transform with the following GREL:</li>
|
||||
</ul>
|
||||
<pre><code>value.replace(/\u0081/,'')
|
||||
</code></pre><ul>
|
||||
@ -295,7 +295,7 @@ fi
|
||||
<ul>
|
||||
<li>Try to import the CCAFS Images and Videos to CGSpace but had some issues with LibreOffice and OpenRefine</li>
|
||||
<li>LibreOffice excludes empty cells when it exports and all the fields shift over to the left and cause URLs to go to Subjects, etc.</li>
|
||||
<li>Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don't match!</li>
|
||||
<li>Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don’t match!</li>
|
||||
<li>I will have to try later</li>
|
||||
</ul>
|
||||
<h2 id="2016-05-30">2016-05-30</h2>
|
||||
@ -310,8 +310,8 @@ $ /home/dspacetest.cgiar.org/bin/dspace export -t COLLECTION -i 10568/79355 -d ~
|
||||
<pre><code>$ JAVA_OPTS="-Xmx512m -Dfile.encoding=UTF-8" /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/70974 --source /tmp/ccafs-images --mapfile=/tmp/ccafs-images-may30.map &> /tmp/ccafs-images-may30.log
|
||||
</code></pre><ul>
|
||||
<li>But now we have double authors for “CGIAR Research Program on Climate Change, Agriculture and Food Security” in the authority</li>
|
||||
<li>I'm trying to do a Discovery index before messing with the authority index</li>
|
||||
<li>Looks like we are missing the <code>index-authority</code> cron job, so who knows what's up with our authority index</li>
|
||||
<li>I’m trying to do a Discovery index before messing with the authority index</li>
|
||||
<li>Looks like we are missing the <code>index-authority</code> cron job, so who knows what’s up with our authority index</li>
|
||||
<li>Run system updates on DSpace Test, re-deploy code, and reboot the server</li>
|
||||
<li>Clean up and import ~200 CTA records to CGSpace via CSV like:</li>
|
||||
</ul>
|
||||
@ -324,7 +324,7 @@ $ /home/cgspace.cgiar.org/bin/dspace metadata-import -e aorth@mjanja.ch -f ~/CTA
|
||||
</code></pre><h2 id="2016-05-31">2016-05-31</h2>
|
||||
<ul>
|
||||
<li>The <code>index-authority</code> script ran over night and was finished in the morning</li>
|
||||
<li>Hopefully this was because we haven't been running it regularly and it will speed up next time</li>
|
||||
<li>Hopefully this was because we haven’t been running it regularly and it will speed up next time</li>
|
||||
<li>I am running it again with a timer to see:</li>
|
||||
</ul>
|
||||
<pre><code>$ time /home/cgspace.cgiar.org/bin/dspace index-authority
|
||||
|
Reference in New Issue
Block a user