mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 14:45:03 +01:00
Add notes for 2019-11-04
This commit is contained in:
parent
d883f80a98
commit
ab5934b153
81
content/posts/2019-11.md
Normal file
81
content/posts/2019-11.md
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
---
|
||||||
|
title: "November, 2019"
|
||||||
|
date: 2019-11-04T12:20:30+02:00
|
||||||
|
author: "Alan Orth"
|
||||||
|
categories: ["Notes"]
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2019-11-04
|
||||||
|
|
||||||
|
- Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics
|
||||||
|
- I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:
|
||||||
|
|
||||||
|
```
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
```
|
||||||
|
|
||||||
|
- So 4.6 million from XMLUI and another 1.2 million from API requests
|
||||||
|
- Let's see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):
|
||||||
|
|
||||||
|
```
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
```
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
- The types of requests in the access logs are (by lazily extracting the sixth field in the nginx log)
|
||||||
|
|
||||||
|
```
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | awk '{print $6}' | sed 's/"//' | sort | uniq -c | sort -n
|
||||||
|
1 PUT
|
||||||
|
8 PROPFIND
|
||||||
|
283 OPTIONS
|
||||||
|
30102 POST
|
||||||
|
46581 HEAD
|
||||||
|
4594967 GET
|
||||||
|
```
|
||||||
|
|
||||||
|
- Two very active IPs are 34.224.4.16 and 34.234.204.152, which made over 360,000 requests in October:
|
||||||
|
|
||||||
|
```
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E '(34\.224\.4\.16|34\.234\.204\.152)'
|
||||||
|
365288
|
||||||
|
```
|
||||||
|
|
||||||
|
- Their user agent is one I've never seen before:
|
||||||
|
|
||||||
|
```
|
||||||
|
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)
|
||||||
|
```
|
||||||
|
|
||||||
|
- Most of them seem to be to community or collection discover and browse results pages like `/handle/10568/103/discover`:
|
||||||
|
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep Amazonbot | grep -o -E "GET /(bitstream|discover|handle)" | sort | uniq -c
|
||||||
|
6566 GET /bitstream
|
||||||
|
351928 GET /handle
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep Amazonbot | grep -E "GET /(bitstream|discover|handle)" | grep -c discover
|
||||||
|
214209
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep Amazonbot | grep -E "GET /(bitstream|discover|handle)" | grep -c browse
|
||||||
|
86874
|
||||||
|
```
|
||||||
|
|
||||||
|
- As far as I can tell, none of their requests are counted in the Solr statistics:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ http --print b 'http://localhost:8081/solr/statistics/select?q=(ip%3A34.224.4.16+OR+ip%3A34.234.204.152)&rows=0&wt=json&indent=true'
|
||||||
|
```
|
||||||
|
|
||||||
|
- Still, those requests are CPU intensive so I will add their user agent to the "badbots" rate limiting in nginx to reduce the impact on server load
|
||||||
|
- After deploying it I checked by setting my user agent to Amazonbot and making a few requests (which were denied with HTTP 503):
|
||||||
|
|
||||||
|
```
|
||||||
|
$ http --print Hh 'https://dspacetest.cgiar.org/handle/10568/1/discover' User-Agent:"Amazonbot/0.1"
|
||||||
|
```
|
||||||
|
|
||||||
|
<!-- vim: set sw=2 ts=2: -->
|
@ -37,7 +37,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac
|
|||||||
78
|
78
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -280,6 +280,8 @@ db.statementpool = true
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -288,8 +290,6 @@ db.statementpool = true
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less
|
|||||||
-rw-rw-r-- 1 tomcat7 tomcat7 169K Nov 18 23:59 dspace.log.2015-11-18.xz
|
-rw-rw-r-- 1 tomcat7 tomcat7 169K Nov 18 23:59 dspace.log.2015-11-18.xz
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -296,6 +296,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -304,8 +306,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Move ILRI collection 10568/12503 from 10568/27869 to 10568/27629 using the move_
|
|||||||
I realized it is only necessary to clear the Cocoon cache after moving collections—rather than reindexing—as no metadata has changed, and therefore no search or browse indexes need to be updated.
|
I realized it is only necessary to clear the Cocoon cache after moving collections—rather than reindexing—as no metadata has changed, and therefore no search or browse indexes need to be updated.
|
||||||
Update GitHub wiki for documentation of maintenance tasks.
|
Update GitHub wiki for documentation of maintenance tasks.
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -212,6 +212,8 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -220,8 +222,6 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ I noticed we have a very interesting list of countries on CGSpace:
|
|||||||
Not only are there 49,000 countries, we have some blanks (25)…
|
Not only are there 49,000 countries, we have some blanks (25)…
|
||||||
Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”
|
Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE”
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -457,6 +457,8 @@ Bitstream: tést señora alimentación.pdf
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -465,8 +467,6 @@ Bitstream: tést señora alimentación.pdf
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Looking at issues with author authorities on CGSpace
|
|||||||
For some reason we still have the index-lucene-update cron job active on CGSpace, but I’m pretty sure we don’t need it as of the latest few versions of Atmire’s Listings and Reports module
|
For some reason we still have the index-lucene-update cron job active on CGSpace, but I’m pretty sure we don’t need it as of the latest few versions of Atmire’s Listings and Reports module
|
||||||
Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Java JDK 1.7 to match environment on CGSpace server
|
Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Java JDK 1.7 to match environment on CGSpace server
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -363,6 +363,8 @@ metadata_value_id | resource_id | metadata_field_id | text_value | text_lang | p
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -371,8 +373,6 @@ metadata_value_id | resource_id | metadata_field_id | text_value | text_lang | p
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ After running DSpace for over five years I’ve never needed to look in any
|
|||||||
This will save us a few gigs of backup space we’re paying for on S3
|
This will save us a few gigs of backup space we’re paying for on S3
|
||||||
Also, I noticed the checker log has some errors we should pay attention to:
|
Also, I noticed the checker log has some errors we should pay attention to:
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -579,6 +579,8 @@ dspace.log.2016-04-27:7271
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -587,8 +589,6 @@ dspace.log.2016-04-27:7271
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
|
|||||||
3168
|
3168
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -437,6 +437,8 @@ sys 0m20.540s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -445,8 +447,6 @@ sys 0m20.540s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ This is their publications set: http://ebrary.ifpri.org/oai/oai.php?verb=ListRec
|
|||||||
You can see the others by using the OAI ListSets verb: http://ebrary.ifpri.org/oai/oai.php?verb=ListSets
|
You can see the others by using the OAI ListSets verb: http://ebrary.ifpri.org/oai/oai.php?verb=ListSets
|
||||||
Working on second phase of metadata migration, looks like this will work for moving CPWF-specific data in dc.identifier.fund to cg.identifier.cpwfproject and then the rest to dc.description.sponsorship
|
Working on second phase of metadata migration, looks like this will work for moving CPWF-specific data in dc.identifier.fund to cg.identifier.cpwfproject and then the rest to dc.description.sponsorship
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -472,6 +472,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -480,8 +482,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ text_value
|
|||||||
|
|
||||||
In this case the select query was showing 95 results before the update
|
In this case the select query was showing 95 results before the update
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -383,6 +383,8 @@ discovery.index.authority.ignore-variants=true
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -391,8 +393,6 @@ discovery.index.authority.ignore-variants=true
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ $ git reset --hard ilri/5_x-prod
|
|||||||
$ git rebase -i dspace-5.5
|
$ git rebase -i dspace-5.5
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -462,6 +462,8 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -470,8 +472,6 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ It looks like we might be able to use OUs now, instead of DCs:
|
|||||||
$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -736,6 +736,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -744,8 +746,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id
|
|||||||
0000-0002-6115-0956||0000-0002-3812-8793||0000-0001-7462-405X
|
0000-0002-6115-0956||0000-0002-3812-8793||0000-0001-7462-405X
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -441,6 +441,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -449,8 +451,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module
|
|||||||
|
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -642,6 +642,8 @@ org.dspace.discovery.SearchServiceException: Error executing query
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -650,8 +652,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ I’ve raised a ticket with Atmire to ask
|
|||||||
|
|
||||||
Another worrying error from dspace.log is:
|
Another worrying error from dspace.log is:
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -909,6 +909,8 @@ $ exit
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -917,8 +919,6 @@ $ exit
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ I checked to see if the Solr sharding task that is supposed to run on January 1s
|
|||||||
I tested on DSpace Test as well and it doesn’t work there either
|
I tested on DSpace Test as well and it doesn’t work there either
|
||||||
I asked on the dspace-tech mailing list because it seems to be broken, and actually now I’m not sure if we’ve ever had the sharding task run successfully over all these years
|
I asked on the dspace-tech mailing list because it seems to be broken, and actually now I’m not sure if we’ve ever had the sharding task run successfully over all these years
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -434,6 +434,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -442,8 +444,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ Create issue on GitHub to track the addition of CCAFS Phase II project tags (#30
|
|||||||
|
|
||||||
Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name
|
Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -499,6 +499,8 @@ COPY 1968
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -507,8 +509,6 @@ COPY 1968
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
|
|||||||
/Users/aorth/Desktop/alc_contrastes_desafios.jpg JPEG 464x600 464x600+0+0 8-bit CMYK 168KB 0.000u 0:00.000
|
/Users/aorth/Desktop/alc_contrastes_desafios.jpg JPEG 464x600 464x600+0+0 8-bit CMYK 168KB 0.000u 0:00.000
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -436,6 +436,8 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -444,8 +446,6 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Testing the CMYK patch on a collection with 650 items:
|
|||||||
$ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Thumbnail" -v >& /tmp/filter-media-cmyk.txt
|
$ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Thumbnail" -v >& /tmp/filter-media-cmyk.txt
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -704,6 +704,8 @@ $ gem install compass -v 1.0.3
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -712,8 +714,6 @@ $ gem install compass -v 1.0.3
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="May, 2017"/>
|
<meta name="twitter:title" content="May, 2017"/>
|
||||||
<meta name="twitter:description" content="2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace."/>
|
<meta name="twitter:description" content="2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -464,6 +464,8 @@ UPDATE 187
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -472,8 +474,6 @@ UPDATE 187
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="June, 2017"/>
|
<meta name="twitter:title" content="June, 2017"/>
|
||||||
<meta name="twitter:description" content="2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg."/>
|
<meta name="twitter:description" content="2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -297,6 +297,8 @@ text_value
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -305,8 +307,6 @@ text_value
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Merge changes for WLE Phase II theme rename (#329)
|
|||||||
Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace
|
Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace
|
||||||
We can use PostgreSQL’s extended output format (-x) plus sed to format the output into quasi XML:
|
We can use PostgreSQL’s extended output format (-x) plus sed to format the output into quasi XML:
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -317,6 +317,8 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -325,8 +327,6 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ This was due to newline characters in the dc.description.abstract column, which
|
|||||||
I exported a new CSV from the collection on DSpace Test and then manually removed the characters in vim using g/^$/d
|
I exported a new CSV from the collection on DSpace Test and then manually removed the characters in vim using g/^$/d
|
||||||
Then I cleaned up the author authorities and HTML characters in OpenRefine and sent the file back to Abenet
|
Then I cleaned up the author authorities and HTML characters in OpenRefine and sent the file back to Abenet
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -613,6 +613,8 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -621,8 +623,6 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Linode sent an alert that CGSpace (linode18) was using 261% CPU for the past two
|
|||||||
|
|
||||||
Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account is both in the approvers step as well as the group
|
Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account is both in the approvers step as well as the group
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -783,6 +783,8 @@ Cert Status: good
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -791,8 +793,6 @@ Cert Status: good
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ There appears to be a pattern but I’ll have to look a bit closer and try t
|
|||||||
|
|
||||||
Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections
|
Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -549,6 +549,8 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -557,8 +559,6 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue
|
|||||||
COPY 54701
|
COPY 54701
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1159,6 +1159,8 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -1167,8 +1169,6 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ The logs say “Timeout waiting for idle object”
|
|||||||
PostgreSQL activity says there are 115 connections currently
|
PostgreSQL activity says there are 115 connections currently
|
||||||
The list of connections to XMLUI and REST API for today:
|
The list of connections to XMLUI and REST API for today:
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -940,6 +940,8 @@ DELETE 20
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -948,8 +950,6 @@ DELETE 20
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ dspace.log.2018-01-02:34
|
|||||||
|
|
||||||
Danny wrote to ask for help renewing the wildcard ilri.org certificate and I advised that we should probably use Let’s Encrypt if it’s just a handful of domains
|
Danny wrote to ask for help renewing the wildcard ilri.org certificate and I advised that we should probably use Let’s Encrypt if it’s just a handful of domains
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1734,6 +1734,8 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -1742,8 +1744,6 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ We don’t need to distinguish between internal and external works, so that
|
|||||||
Yesterday I figured out how to monitor DSpace sessions using JMX
|
Yesterday I figured out how to monitor DSpace sessions using JMX
|
||||||
I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-plugins-java package and used the stuff I discovered about JMX in 2018-01
|
I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-plugins-java package and used the stuff I discovered about JMX in 2018-01
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1288,6 +1288,8 @@ UPDATE 3
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -1296,8 +1298,6 @@ UPDATE 3
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Export a CSV of the IITA community metadata for Martin Mueller
|
|||||||
|
|
||||||
Export a CSV of the IITA community metadata for Martin Mueller
|
Export a CSV of the IITA community metadata for Martin Mueller
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -714,6 +714,8 @@ Fixed 5 occurences of: GENEBANKS
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -722,8 +724,6 @@ Fixed 5 occurences of: GENEBANKS
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Catalina logs at least show some memory errors yesterday:
|
|||||||
I tried to test something on DSpace Test but noticed that it’s down since god knows when
|
I tried to test something on DSpace Test but noticed that it’s down since god knows when
|
||||||
Catalina logs at least show some memory errors yesterday:
|
Catalina logs at least show some memory errors yesterday:
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -722,6 +722,8 @@ java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -730,8 +732,6 @@ java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ http://localhost:3000/solr/statistics/update?stream.body=%3Ccommit/%3E
|
|||||||
Then I reduced the JVM heap size from 6144 back to 5120m
|
Then I reduced the JVM heap size from 6144 back to 5120m
|
||||||
Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked the Ansible infrastructure scripts to support hosts choosing which distribution they want to use
|
Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked the Ansible infrastructure scripts to support hosts choosing which distribution they want to use
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -617,6 +617,8 @@ $ psql -h localhost -U postgres dspacetest
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -625,8 +627,6 @@ $ psql -h localhost -U postgres dspacetest
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ user 8m5.056s
|
|||||||
sys 2m7.289s
|
sys 2m7.289s
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -585,6 +585,8 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -593,8 +595,6 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ During the mvn package stage on the 5.8 branch I kept getting issues with java r
|
|||||||
There is insufficient memory for the Java Runtime Environment to continue.
|
There is insufficient memory for the Java Runtime Environment to continue.
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -676,6 +676,8 @@ count
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -684,8 +686,6 @@ count
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ The server only has 8GB of RAM so we’ll eventually need to upgrade to a la
|
|||||||
|
|
||||||
I ran all system updates on DSpace Test and rebooted it
|
I ran all system updates on DSpace Test and rebooted it
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -549,6 +549,8 @@ $ dspace database migrate ignored
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -557,8 +559,6 @@ $ dspace database migrate ignored
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ I’ll update the DSpace role in our Ansible infrastructure playbooks and ru
|
|||||||
Also, I’ll re-run the postgresql tasks because the custom PostgreSQL variables are dynamic according to the system’s RAM, and we never re-ran them after migrating to larger Linodes last month
|
Also, I’ll re-run the postgresql tasks because the custom PostgreSQL variables are dynamic according to the system’s RAM, and we never re-ran them after migrating to larger Linodes last month
|
||||||
I’m testing the new DSpace 5.8 branch in my Ubuntu 18.04 environment and I’m getting those autowire errors in Tomcat 8.5.30 again:
|
I’m testing the new DSpace 5.8 branch in my Ubuntu 18.04 environment and I’m getting those autowire errors in Tomcat 8.5.30 again:
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -911,6 +911,8 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -919,8 +921,6 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ I created a GitHub issue to track this #389, because I’m super busy in Nai
|
|||||||
Phil Thornton got an ORCID identifier so we need to add it to the list on CGSpace and tag his existing items
|
Phil Thornton got an ORCID identifier so we need to add it to the list on CGSpace and tag his existing items
|
||||||
I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now
|
I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -798,6 +798,8 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -806,8 +808,6 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Send a note about my dspace-statistics-api to the dspace-tech mailing list
|
|||||||
Linode has been sending mails a few times a day recently that CGSpace (linode18) has had high CPU usage
|
Linode has been sending mails a few times a day recently that CGSpace (linode18) has had high CPU usage
|
||||||
Today these are the top 10 IPs:
|
Today these are the top 10 IPs:
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -653,6 +653,8 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -661,8 +663,6 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Then I ran all system updates and restarted the server
|
|||||||
|
|
||||||
I noticed that there is another issue with PDF thumbnails on CGSpace, and I see there was another Ghostscript vulnerability last week
|
I noticed that there is another issue with PDF thumbnails on CGSpace, and I see there was another Ghostscript vulnerability last week
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -686,6 +686,8 @@ UPDATE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -694,8 +696,6 @@ UPDATE 1
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ I don’t see anything interesting in the web server logs around that time t
|
|||||||
903 54.70.40.11
|
903 54.70.40.11
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1399,6 +1399,8 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -1407,8 +1409,6 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ user 0m22.203s
|
|||||||
sys 0m1.979s
|
sys 0m1.979s
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1590,6 +1590,8 @@ Please see the DSpace documentation for assistance.
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -1598,8 +1600,6 @@ Please see the DSpace documentation for assistance.
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ Most worryingly, there are encoding errors in the abstracts for eleven items, fo
|
|||||||
|
|
||||||
I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs
|
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.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1382,6 +1382,8 @@ sys 0m2.551s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -1390,8 +1392,6 @@ sys 0m2.551s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-2-countries.csv -db dspa
|
|||||||
$ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace -u dspace -p 'fuuu' -m 231 -f cg.coverage.region -d
|
$ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace -u dspace -p 'fuuu' -m 231 -f cg.coverage.region -d
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1441,6 +1441,8 @@ UPDATE 14
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -1449,8 +1451,6 @@ UPDATE 14
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ DELETE 1
|
|||||||
|
|
||||||
But after this I tried to delete the item from the XMLUI and it is still present…
|
But after this I tried to delete the item from the XMLUI and it is still present…
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -730,6 +730,8 @@ COPY 64871
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -738,8 +740,6 @@ COPY 64871
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Run system updates on CGSpace (linode18) and reboot it
|
|||||||
|
|
||||||
Skype with Marie-Angélique and Abenet about CG Core v2
|
Skype with Marie-Angélique and Abenet about CG Core v2
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -343,6 +343,8 @@ UPDATE 2
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -351,8 +353,6 @@ UPDATE 2
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ CGSpace
|
|||||||
|
|
||||||
Abenet had another similar issue a few days ago when trying to find the stats for 2018 in the RTB community
|
Abenet had another similar issue a few days ago when trying to find the stats for 2018 in the RTB community
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -626,6 +626,8 @@ issn.validate('1020-3362')
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -634,8 +636,6 @@ issn.validate('1020-3362')
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ After rebooting, all statistics cores were loaded… wow, that’s luck
|
|||||||
|
|
||||||
Run system updates on DSpace Test (linode19) and reboot it
|
Run system updates on DSpace Test (linode19) and reboot it
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -628,6 +628,8 @@ sys 2m27.496s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -636,8 +638,6 @@ sys 2m27.496s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ Here are the top ten IPs in the nginx XMLUI and REST/OAI logs this morning:
|
|||||||
9124 45.5.186.2
|
9124 45.5.186.2
|
||||||
|
|
||||||
"/>
|
"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -636,6 +636,8 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -644,8 +646,6 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-10/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-10/" />
|
||||||
<meta property="article:published_time" content="2019-10-01T13:20:51+03:00" />
|
<meta property="article:published_time" content="2019-10-01T13:20:51+03:00" />
|
||||||
<meta property="article:modified_time" content="2019-10-29T16:23:43+02:00" />
|
<meta property="article:modified_time" content="2019-10-29T17:41:17+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="October, 2019"/>
|
<meta name="twitter:title" content="October, 2019"/>
|
||||||
<meta name="twitter:description" content="2019-10-01 Udana from IWMI asked me for a CSV export of their community on CGSpace
|
<meta name="twitter:description" content="2019-10-01 Udana from IWMI asked me for a CSV export of their community on CGSpace
|
||||||
I exported it, but a quick run through the csv-metadata-quality tool shows that there are some low-hanging fruits we can fix before I send him the data I will limit the scope to the titles, regions, subregions, and river basins for now to manually fix some non-breaking spaces (U+00A0) there that would otherwise be removed by the csv-metadata-quality script’s “unneccesary Unicode” fix:"/>
|
I exported it, but a quick run through the csv-metadata-quality tool shows that there are some low-hanging fruits we can fix before I send him the data I will limit the scope to the titles, regions, subregions, and river basins for now to manually fix some non-breaking spaces (U+00A0) there that would otherwise be removed by the csv-metadata-quality script’s “unneccesary Unicode” fix:"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-10\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-10\/",
|
||||||
"wordCount": "1800",
|
"wordCount": "1800",
|
||||||
"datePublished": "2019-10-01T13:20:51+03:00",
|
"datePublished": "2019-10-01T13:20:51+03:00",
|
||||||
"dateModified": "2019-10-29T16:23:43+02:00",
|
"dateModified": "2019-10-29T17:41:17+02:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -444,6 +444,8 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -452,8 +454,6 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
300
docs/2019-11/index.html
Normal file
300
docs/2019-11/index.html
Normal file
@ -0,0 +1,300 @@
|
|||||||
|
<!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="November, 2019" />
|
||||||
|
<meta property="og:description" content="2019-11-04
|
||||||
|
|
||||||
|
|
||||||
|
Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics
|
||||||
|
|
||||||
|
|
||||||
|
I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:
|
||||||
|
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
So 4.6 million from XMLUI and another 1.2 million from API requests
|
||||||
|
|
||||||
|
Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):
|
||||||
|
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
|
||||||
|
" />
|
||||||
|
<meta property="og:type" content="article" />
|
||||||
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-11/" />
|
||||||
|
<meta property="article:published_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
<meta property="article:modified_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary"/>
|
||||||
|
<meta name="twitter:title" content="November, 2019"/>
|
||||||
|
<meta name="twitter:description" content="2019-11-04
|
||||||
|
|
||||||
|
|
||||||
|
Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics
|
||||||
|
|
||||||
|
|
||||||
|
I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:
|
||||||
|
|
||||||
|
# zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
So 4.6 million from XMLUI and another 1.2 million from API requests
|
||||||
|
|
||||||
|
Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):
|
||||||
|
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
|
||||||
|
"/>
|
||||||
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "http://schema.org",
|
||||||
|
"@type": "BlogPosting",
|
||||||
|
"headline": "November, 2019",
|
||||||
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-11\/",
|
||||||
|
"wordCount": "385",
|
||||||
|
"datePublished": "2019-11-04T12:20:30+02:00",
|
||||||
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "Alan Orth"
|
||||||
|
},
|
||||||
|
"keywords": "Notes"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2019-11/">
|
||||||
|
|
||||||
|
<title>November, 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">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- RSS 2.0 feed -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||||
|
<p class="lead blog-description" dir="auto">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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-11/">November, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-11-04T12:20:30+02:00">Mon Nov 04, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>The types of requests in the access logs are (by lazily extracting the sixth field in the nginx log)</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | awk '{print $6}' | sed 's/"//' | sort | uniq -c | sort -n
|
||||||
|
1 PUT
|
||||||
|
8 PROPFIND
|
||||||
|
283 OPTIONS
|
||||||
|
30102 POST
|
||||||
|
46581 HEAD
|
||||||
|
4594967 GET
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p>Two very active IPs are 34.224.4.16 and 34.234.204.152, which made over 360,000 requests in October:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E '(34\.224\.4\.16|34\.234\.204\.152)'
|
||||||
|
365288
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p>Their user agent is one I’ve never seen before:</p>
|
||||||
|
|
||||||
|
<pre><code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p>Most of them seem to be to community or collection discover and browse results pages like <code>/handle/10568/103/discover</code>:</p></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1 id="zcat-force-var-log-nginx-access-log-gz-grep-e-0-9-1-2-oct-2019-grep-amazonbot-grep-o-e-get-bitstream-discover-handle-sort-uniq-c">zcat –force /var/log/nginx/<em>access.log.</em>.gz | grep -E “[0-9]{1,2}/Oct/2019” | grep Amazonbot | grep -o -E “GET /(bitstream|discover|handle)” | sort | uniq -c</h1>
|
||||||
|
|
||||||
|
<p>6566 GET /bitstream
|
||||||
|
351928 GET /handle</p>
|
||||||
|
|
||||||
|
<h1 id="zcat-force-var-log-nginx-access-log-gz-grep-e-0-9-1-2-oct-2019-grep-amazonbot-grep-e-get-bitstream-discover-handle-grep-c-discover">zcat –force /var/log/nginx/<em>access.log.</em>.gz | grep -E “[0-9]{1,2}/Oct/2019” | grep Amazonbot | grep -E “GET /(bitstream|discover|handle)” | grep -c discover</h1>
|
||||||
|
|
||||||
|
<p>214209</p>
|
||||||
|
|
||||||
|
<h1 id="zcat-force-var-log-nginx-access-log-gz-grep-e-0-9-1-2-oct-2019-grep-amazonbot-grep-e-get-bitstream-discover-handle-grep-c-browse">zcat –force /var/log/nginx/<em>access.log.</em>.gz | grep -E “[0-9]{1,2}/Oct/2019” | grep Amazonbot | grep -E “GET /(bitstream|discover|handle)” | grep -c browse</h1>
|
||||||
|
|
||||||
|
<p>86874</p>
|
||||||
|
|
||||||
|
<pre><code>
|
||||||
|
- As far as I can tell, none of their requests are counted in the Solr statistics:
|
||||||
|
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>$ http –print b ‘<a href="http://localhost:8081/solr/statistics/select?q=(ip%3A34.224.4.16+OR+ip%3A34.234.204.152)&rows=0&wt=json&indent=true'">http://localhost:8081/solr/statistics/select?q=(ip%3A34.224.4.16+OR+ip%3A34.234.204.152)&rows=0&wt=json&indent=true'</a></p>
|
||||||
|
|
||||||
|
<pre><code>
|
||||||
|
- Still, those requests are CPU intensive so I will add their user agent to the "badbots" rate limiting in nginx to reduce the impact on server load
|
||||||
|
- After deploying it I checked by setting my user agent to Amazonbot and making a few requests (which were denied with HTTP 503):
|
||||||
|
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>$ http –print Hh ‘<a href="https://dspacetest.cgiar.org/handle/10568/1/discover'">https://dspacetest.cgiar.org/handle/10568/1/discover'</a> User-Agent:“Amazonbot/0.1”
|
||||||
|
```</p>
|
||||||
|
|
||||||
|
<!-- 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-11/">November, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-09/">September, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</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 dir="auto">
|
||||||
|
|
||||||
|
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>
|
@ -14,7 +14,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="404 Page not found"/>
|
<meta name="twitter:title" content="404 Page not found"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -89,6 +89,8 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -97,8 +99,6 @@
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Categories"/>
|
<meta name="twitter:title" content="Categories"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,48 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-11/">November, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-11-04T12:20:30+02:00">Mon Nov 04, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
||||||
@ -387,57 +429,6 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2019-02-01">2019-02-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
|
||||||
|
|
||||||
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
|
||||||
|
|
||||||
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
|
||||||
245 207.46.13.5
|
|
||||||
332 54.70.40.11
|
|
||||||
385 5.143.231.38
|
|
||||||
405 207.46.13.173
|
|
||||||
405 207.46.13.75
|
|
||||||
1117 66.249.66.219
|
|
||||||
1121 35.237.175.180
|
|
||||||
1546 5.9.6.51
|
|
||||||
2474 45.5.186.2
|
|
||||||
5490 85.25.237.71
|
|
||||||
</code></pre></li>
|
|
||||||
|
|
||||||
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
|
||||||
|
|
||||||
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
|
||||||
|
|
||||||
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
|
||||||
|
|
||||||
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
|
||||||
3018243
|
|
||||||
|
|
||||||
real 0m19.873s
|
|
||||||
user 0m22.203s
|
|
||||||
sys 0m1.979s
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -462,6 +453,8 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -470,8 +463,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<description>Recent content in Categories on CGSpace Notes</description>
|
<description>Recent content in Categories on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 28 Oct 2019 13:27:35 +0200</lastBuildDate>
|
<lastBuildDate>Mon, 04 Nov 2019 12:20:30 +0200</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/categories/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
@ -14,7 +14,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<title>Notes</title>
|
<title>Notes</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/categories/notes/</link>
|
<link>https://alanorth.github.io/cgspace-notes/categories/notes/</link>
|
||||||
<pubDate>Mon, 28 Oct 2019 13:27:35 +0200</pubDate>
|
<pubDate>Mon, 04 Nov 2019 12:20:30 +0200</pubDate>
|
||||||
|
|
||||||
<guid>https://alanorth.github.io/cgspace-notes/categories/notes/</guid>
|
<guid>https://alanorth.github.io/cgspace-notes/categories/notes/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -76,6 +76,48 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-11/">November, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-11-04T12:20:30+02:00">Mon Nov 04, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
||||||
@ -372,57 +414,6 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2019-02-01">2019-02-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
|
||||||
|
|
||||||
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
|
||||||
|
|
||||||
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
|
||||||
245 207.46.13.5
|
|
||||||
332 54.70.40.11
|
|
||||||
385 5.143.231.38
|
|
||||||
405 207.46.13.173
|
|
||||||
405 207.46.13.75
|
|
||||||
1117 66.249.66.219
|
|
||||||
1121 35.237.175.180
|
|
||||||
1546 5.9.6.51
|
|
||||||
2474 45.5.186.2
|
|
||||||
5490 85.25.237.71
|
|
||||||
</code></pre></li>
|
|
||||||
|
|
||||||
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
|
||||||
|
|
||||||
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
|
||||||
|
|
||||||
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
|
||||||
|
|
||||||
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
|
||||||
3018243
|
|
||||||
|
|
||||||
real 0m19.873s
|
|
||||||
user 0m22.203s
|
|
||||||
sys 0m1.979s
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -447,6 +438,8 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -455,8 +448,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,11 +6,44 @@
|
|||||||
<description>Recent content in Notes on CGSpace Notes</description>
|
<description>Recent content in Notes on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 28 Oct 2019 13:27:35 +0200</lastBuildDate>
|
<lastBuildDate>Mon, 04 Nov 2019 12:20:30 +0200</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/categories/notes/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/categories/notes/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>November, 2019</title>
|
||||||
|
<link>https://alanorth.github.io/cgspace-notes/2019-11/</link>
|
||||||
|
<pubDate>Mon, 04 Nov 2019 12:20:30 +0200</pubDate>
|
||||||
|
|
||||||
|
<guid>https://alanorth.github.io/cgspace-notes/2019-11/</guid>
|
||||||
|
<description><h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let&rsquo;s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E &quot;[0-9]{1,2}/Oct/2019&quot; | grep -c -E &quot;/rest/bitstreams&quot;
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>CGSpace CG Core v2 Migration</title>
|
<title>CGSpace CG Core v2 Migration</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</link>
|
<link>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</link>
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -76,6 +76,57 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-02-01">2019-02-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
||||||
|
|
||||||
|
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
||||||
|
245 207.46.13.5
|
||||||
|
332 54.70.40.11
|
||||||
|
385 5.143.231.38
|
||||||
|
405 207.46.13.173
|
||||||
|
405 207.46.13.75
|
||||||
|
1117 66.249.66.219
|
||||||
|
1121 35.237.175.180
|
||||||
|
1546 5.9.6.51
|
||||||
|
2474 45.5.186.2
|
||||||
|
5490 85.25.237.71
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
||||||
|
|
||||||
|
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
||||||
|
|
||||||
|
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
||||||
|
|
||||||
|
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
||||||
|
3018243
|
||||||
|
|
||||||
|
real 0m19.873s
|
||||||
|
user 0m22.203s
|
||||||
|
sys 0m1.979s
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
||||||
@ -361,29 +412,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-04-01">2018-04-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
|
||||||
<li>Catalina logs at least show some memory errors yesterday:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/notes/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/notes/" rel="prev" role="button">Previous page</a>
|
||||||
@ -408,6 +436,8 @@ sys 2m7.289s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -416,8 +446,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -76,6 +76,29 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-04-01">2018-04-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
||||||
|
<li>Catalina logs at least show some memory errors yesterday:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
||||||
@ -350,6 +373,8 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -358,8 +383,6 @@ COPY 54701
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Categories"/>
|
<meta name="twitter:title" content="Categories"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,57 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-02-01">2019-02-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
||||||
|
|
||||||
|
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
||||||
|
245 207.46.13.5
|
||||||
|
332 54.70.40.11
|
||||||
|
385 5.143.231.38
|
||||||
|
405 207.46.13.173
|
||||||
|
405 207.46.13.75
|
||||||
|
1117 66.249.66.219
|
||||||
|
1121 35.237.175.180
|
||||||
|
1546 5.9.6.51
|
||||||
|
2474 45.5.186.2
|
||||||
|
5490 85.25.237.71
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
||||||
|
|
||||||
|
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
||||||
|
|
||||||
|
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
||||||
|
|
||||||
|
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
||||||
|
3018243
|
||||||
|
|
||||||
|
real 0m19.873s
|
||||||
|
user 0m22.203s
|
||||||
|
sys 0m1.979s
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
||||||
@ -376,29 +427,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-04-01">2018-04-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
|
||||||
<li>Catalina logs at least show some memory errors yesterday:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/" rel="prev" role="button">Previous page</a>
|
||||||
@ -423,6 +451,8 @@ sys 2m7.289s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -431,8 +461,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Categories"/>
|
<meta name="twitter:title" content="Categories"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,29 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-04-01">2018-04-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
||||||
|
<li>Catalina logs at least show some memory errors yesterday:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
||||||
@ -409,36 +432,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Run system updates and reboot DSpace Test</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2 id="2017-07-04">2017-07-04</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
|
||||||
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
|
||||||
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -463,6 +456,8 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -471,8 +466,6 @@ COPY 54701
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Categories"/>
|
<meta name="twitter:title" content="Categories"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,36 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Run system updates and reboot DSpace Test</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-07-04">2017-07-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
||||||
|
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
||||||
|
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
||||||
@ -356,35 +386,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-09-01">2016-09-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
|
||||||
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
|
||||||
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
|
||||||
|
|
||||||
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
|
||||||
|
|
||||||
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -409,6 +410,8 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -417,8 +420,6 @@ DELETE 1
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Categories"/>
|
<meta name="twitter:title" content="Categories"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,35 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-09-01">2016-09-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
||||||
|
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
||||||
|
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
||||||
|
|
||||||
|
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
||||||
|
|
||||||
|
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
||||||
@ -347,40 +376,11 @@ text_value
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace went down</li>
|
|
||||||
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
|
||||||
|
|
||||||
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
|
||||||
|
|
||||||
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
|
||||||
78
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/4/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/4/" rel="prev" role="button">Previous page</a>
|
||||||
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/6/" rel="next" role="button">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
@ -400,6 +400,8 @@ text_value
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -408,8 +410,6 @@ text_value
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
197
docs/categories/page/6/index.html
Normal file
197
docs/categories/page/6/index.html
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
<!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="Categories" />
|
||||||
|
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||||
|
|
||||||
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary"/>
|
||||||
|
<meta name="twitter:title" content="Categories"/>
|
||||||
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "http://schema.org",
|
||||||
|
"@type": "Blog",
|
||||||
|
"headline": "CGSpace Notes",
|
||||||
|
"url" : "https:\/\/alanorth.github.io\/cgspace-notes\/categories\/",
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "Alan Orth"
|
||||||
|
},
|
||||||
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
|
"keywords": "notes,migration,notes,",
|
||||||
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/categories/">
|
||||||
|
|
||||||
|
<title>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">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- RSS 2.0 feed -->
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="https://alanorth.github.io/cgspace-notes/categories/index.xml" title="CGSpace Notes" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||||
|
<p class="lead blog-description" dir="auto">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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace went down</li>
|
||||||
|
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
||||||
|
|
||||||
|
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
||||||
|
|
||||||
|
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
||||||
|
78
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
|
<a class="btn btn-outline-primary" href="/cgspace-notes/categories/page/5/" rel="prev" role="button">Previous page</a>
|
||||||
|
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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-11/">November, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-09/">September, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</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 dir="auto">
|
||||||
|
|
||||||
|
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>
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGIAR Library Migration"/>
|
<meta name="twitter:title" content="CGIAR Library Migration"/>
|
||||||
<meta name="twitter:description" content="Notes on the migration of the CGIAR Library to CGSpace"/>
|
<meta name="twitter:description" content="Notes on the migration of the CGIAR Library to CGSpace"/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -329,6 +329,8 @@ dspace=# select setval('handle_seq',86873);
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -337,8 +339,6 @@ dspace=# select setval('handle_seq',86873);
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace CG Core v2 Migration"/>
|
<meta name="twitter:title" content="CGSpace CG Core v2 Migration"/>
|
||||||
<meta name="twitter:description" content="Possible changes to CGSpace metadata fields to align more with DC, QDC, and DCTERMS as well as CG Core v2."/>
|
<meta name="twitter:description" content="Possible changes to CGSpace metadata fields to align more with DC, QDC, and DCTERMS as well as CG Core v2."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -489,6 +489,8 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -497,8 +499,6 @@
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
103
docs/index.html
103
docs/index.html
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,48 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-11/">November, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-11-04T12:20:30+02:00">Mon Nov 04, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
||||||
@ -387,57 +429,6 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2019-02-01">2019-02-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
|
||||||
|
|
||||||
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
|
||||||
|
|
||||||
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
|
||||||
245 207.46.13.5
|
|
||||||
332 54.70.40.11
|
|
||||||
385 5.143.231.38
|
|
||||||
405 207.46.13.173
|
|
||||||
405 207.46.13.75
|
|
||||||
1117 66.249.66.219
|
|
||||||
1121 35.237.175.180
|
|
||||||
1546 5.9.6.51
|
|
||||||
2474 45.5.186.2
|
|
||||||
5490 85.25.237.71
|
|
||||||
</code></pre></li>
|
|
||||||
|
|
||||||
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
|
||||||
|
|
||||||
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
|
||||||
|
|
||||||
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
|
||||||
|
|
||||||
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
|
||||||
3018243
|
|
||||||
|
|
||||||
real 0m19.873s
|
|
||||||
user 0m22.203s
|
|
||||||
sys 0m1.979s
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -462,6 +453,8 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -470,8 +463,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,11 +6,44 @@
|
|||||||
<description>Recent content on CGSpace Notes</description>
|
<description>Recent content on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 28 Oct 2019 13:27:35 +0200</lastBuildDate>
|
<lastBuildDate>Mon, 04 Nov 2019 12:20:30 +0200</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>November, 2019</title>
|
||||||
|
<link>https://alanorth.github.io/cgspace-notes/2019-11/</link>
|
||||||
|
<pubDate>Mon, 04 Nov 2019 12:20:30 +0200</pubDate>
|
||||||
|
|
||||||
|
<guid>https://alanorth.github.io/cgspace-notes/2019-11/</guid>
|
||||||
|
<description><h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let&rsquo;s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E &quot;[0-9]{1,2}/Oct/2019&quot; | grep -c -E &quot;/rest/bitstreams&quot;
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>CGSpace CG Core v2 Migration</title>
|
<title>CGSpace CG Core v2 Migration</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</link>
|
<link>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</link>
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,57 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-02-01">2019-02-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
||||||
|
|
||||||
|
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
||||||
|
245 207.46.13.5
|
||||||
|
332 54.70.40.11
|
||||||
|
385 5.143.231.38
|
||||||
|
405 207.46.13.173
|
||||||
|
405 207.46.13.75
|
||||||
|
1117 66.249.66.219
|
||||||
|
1121 35.237.175.180
|
||||||
|
1546 5.9.6.51
|
||||||
|
2474 45.5.186.2
|
||||||
|
5490 85.25.237.71
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
||||||
|
|
||||||
|
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
||||||
|
|
||||||
|
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
||||||
|
|
||||||
|
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
||||||
|
3018243
|
||||||
|
|
||||||
|
real 0m19.873s
|
||||||
|
user 0m22.203s
|
||||||
|
sys 0m1.979s
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
||||||
@ -376,29 +427,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-04-01">2018-04-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
|
||||||
<li>Catalina logs at least show some memory errors yesterday:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/" rel="prev" role="button">Previous page</a>
|
||||||
@ -423,6 +451,8 @@ sys 2m7.289s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -431,8 +461,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,29 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-04-01">2018-04-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
||||||
|
<li>Catalina logs at least show some memory errors yesterday:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
||||||
@ -409,36 +432,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Run system updates and reboot DSpace Test</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2 id="2017-07-04">2017-07-04</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
|
||||||
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
|
||||||
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -463,6 +456,8 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -471,8 +466,6 @@ COPY 54701
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,36 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Run system updates and reboot DSpace Test</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-07-04">2017-07-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
||||||
|
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
||||||
|
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
||||||
@ -356,35 +386,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-09-01">2016-09-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
|
||||||
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
|
||||||
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
|
||||||
|
|
||||||
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
|
||||||
|
|
||||||
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -409,6 +410,8 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -417,8 +420,6 @@ DELETE 1
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace Notes"/>
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,35 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-09-01">2016-09-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
||||||
|
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
||||||
|
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
||||||
|
|
||||||
|
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
||||||
|
|
||||||
|
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
||||||
@ -347,40 +376,11 @@ text_value
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace went down</li>
|
|
||||||
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
|
||||||
|
|
||||||
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
|
||||||
|
|
||||||
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
|
||||||
78
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/page/4/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/page/4/" rel="prev" role="button">Previous page</a>
|
||||||
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/page/6/" rel="next" role="button">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
@ -400,6 +400,8 @@ text_value
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -408,8 +410,6 @@ text_value
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
197
docs/page/6/index.html
Normal file
197
docs/page/6/index.html
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
<!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="CGSpace Notes" />
|
||||||
|
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||||
|
|
||||||
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary"/>
|
||||||
|
<meta name="twitter:title" content="CGSpace Notes"/>
|
||||||
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "http://schema.org",
|
||||||
|
"@type": "Blog",
|
||||||
|
"headline": "CGSpace Notes",
|
||||||
|
"url" : "https:\/\/alanorth.github.io\/cgspace-notes\/",
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "Alan Orth"
|
||||||
|
},
|
||||||
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
|
"keywords": "notes,migration,notes,",
|
||||||
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/">
|
||||||
|
|
||||||
|
<title>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">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- RSS 2.0 feed -->
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="https://alanorth.github.io/cgspace-notes/index.xml" title="CGSpace Notes" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="blog-masthead">
|
||||||
|
<div class="container">
|
||||||
|
<nav class="nav blog-nav">
|
||||||
|
<a class="nav-link active" href="https://alanorth.github.io/cgspace-notes/">Home</a>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<header class="blog-header">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="blog-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||||
|
<p class="lead blog-description" dir="auto">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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace went down</li>
|
||||||
|
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
||||||
|
|
||||||
|
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
||||||
|
|
||||||
|
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
||||||
|
78
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
|
<a class="btn btn-outline-primary" href="/cgspace-notes/page/5/" rel="prev" role="button">Previous page</a>
|
||||||
|
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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-11/">November, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-09/">September, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</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 dir="auto">
|
||||||
|
|
||||||
|
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>
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,48 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-11/">November, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-11-04T12:20:30+02:00">Mon Nov 04, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
||||||
@ -387,57 +429,6 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2019-02-01">2019-02-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
|
||||||
|
|
||||||
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
|
||||||
|
|
||||||
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
|
||||||
245 207.46.13.5
|
|
||||||
332 54.70.40.11
|
|
||||||
385 5.143.231.38
|
|
||||||
405 207.46.13.173
|
|
||||||
405 207.46.13.75
|
|
||||||
1117 66.249.66.219
|
|
||||||
1121 35.237.175.180
|
|
||||||
1546 5.9.6.51
|
|
||||||
2474 45.5.186.2
|
|
||||||
5490 85.25.237.71
|
|
||||||
</code></pre></li>
|
|
||||||
|
|
||||||
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
|
||||||
|
|
||||||
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
|
||||||
|
|
||||||
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
|
||||||
|
|
||||||
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
|
||||||
3018243
|
|
||||||
|
|
||||||
real 0m19.873s
|
|
||||||
user 0m22.203s
|
|
||||||
sys 0m1.979s
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -462,6 +453,8 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -470,8 +463,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -6,11 +6,44 @@
|
|||||||
<description>Recent content in Posts on CGSpace Notes</description>
|
<description>Recent content in Posts on CGSpace Notes</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<lastBuildDate>Mon, 28 Oct 2019 13:27:35 +0200</lastBuildDate>
|
<lastBuildDate>Mon, 04 Nov 2019 12:20:30 +0200</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://alanorth.github.io/cgspace-notes/posts/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://alanorth.github.io/cgspace-notes/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>November, 2019</title>
|
||||||
|
<link>https://alanorth.github.io/cgspace-notes/2019-11/</link>
|
||||||
|
<pubDate>Mon, 04 Nov 2019 12:20:30 +0200</pubDate>
|
||||||
|
|
||||||
|
<guid>https://alanorth.github.io/cgspace-notes/2019-11/</guid>
|
||||||
|
<description><h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let&rsquo;s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E &quot;[0-9]{1,2}/Oct/2019&quot;
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E &quot;[0-9]{1,2}/Oct/2019&quot; | grep -c -E &quot;/rest/bitstreams&quot;
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>CGSpace CG Core v2 Migration</title>
|
<title>CGSpace CG Core v2 Migration</title>
|
||||||
<link>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</link>
|
<link>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</link>
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,57 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-02-01">2019-02-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
||||||
|
|
||||||
|
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
||||||
|
245 207.46.13.5
|
||||||
|
332 54.70.40.11
|
||||||
|
385 5.143.231.38
|
||||||
|
405 207.46.13.173
|
||||||
|
405 207.46.13.75
|
||||||
|
1117 66.249.66.219
|
||||||
|
1121 35.237.175.180
|
||||||
|
1546 5.9.6.51
|
||||||
|
2474 45.5.186.2
|
||||||
|
5490 85.25.237.71
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
||||||
|
|
||||||
|
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
||||||
|
|
||||||
|
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
||||||
|
|
||||||
|
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
||||||
|
3018243
|
||||||
|
|
||||||
|
real 0m19.873s
|
||||||
|
user 0m22.203s
|
||||||
|
sys 0m1.979s
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
||||||
@ -376,29 +427,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-04-01">2018-04-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
|
||||||
<li>Catalina logs at least show some memory errors yesterday:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/" rel="prev" role="button">Previous page</a>
|
||||||
@ -423,6 +451,8 @@ sys 2m7.289s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -431,8 +461,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,29 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-04-01">2018-04-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
||||||
|
<li>Catalina logs at least show some memory errors yesterday:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
||||||
@ -409,36 +432,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Run system updates and reboot DSpace Test</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2 id="2017-07-04">2017-07-04</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
|
||||||
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
|
||||||
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -463,6 +456,8 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -471,8 +466,6 @@ COPY 54701
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,36 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Run system updates and reboot DSpace Test</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-07-04">2017-07-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
||||||
|
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
||||||
|
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
||||||
@ -356,35 +386,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-09-01">2016-09-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
|
||||||
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
|
||||||
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
|
||||||
|
|
||||||
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
|
||||||
|
|
||||||
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -409,6 +410,8 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -417,8 +420,6 @@ DELETE 1
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Posts"/>
|
<meta name="twitter:title" content="Posts"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
},
|
},
|
||||||
"dateModified": "2019-10-28T13:27:35+02:00",
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
"keywords": "notes,migration,notes,",
|
"keywords": "notes,migration,notes,",
|
||||||
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
}
|
}
|
||||||
@ -91,6 +91,35 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-09-01">2016-09-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
||||||
|
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
||||||
|
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
||||||
|
|
||||||
|
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
||||||
|
|
||||||
|
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
||||||
@ -347,40 +376,11 @@ text_value
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace went down</li>
|
|
||||||
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
|
||||||
|
|
||||||
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
|
||||||
|
|
||||||
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
|
||||||
78
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/4/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/4/" rel="prev" role="button">Previous page</a>
|
||||||
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/6/" rel="next" role="button">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
@ -400,6 +400,8 @@ text_value
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -408,8 +410,6 @@ text_value
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
197
docs/posts/page/6/index.html
Normal file
197
docs/posts/page/6/index.html
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
<!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="Posts" />
|
||||||
|
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||||
|
|
||||||
|
<meta property="og:updated_time" content="2019-11-04T12:20:30+02:00" />
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary"/>
|
||||||
|
<meta name="twitter:title" content="Posts"/>
|
||||||
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "http://schema.org",
|
||||||
|
"@type": "Blog",
|
||||||
|
"headline": "CGSpace Notes",
|
||||||
|
"url" : "https:\/\/alanorth.github.io\/cgspace-notes\/posts\/",
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "Alan Orth"
|
||||||
|
},
|
||||||
|
"dateModified": "2019-11-04T12:20:30+02:00",
|
||||||
|
"keywords": "notes,migration,notes,",
|
||||||
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/posts/">
|
||||||
|
|
||||||
|
<title>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">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- RSS 2.0 feed -->
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="https://alanorth.github.io/cgspace-notes/posts/index.xml" title="CGSpace Notes" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||||
|
<p class="lead blog-description" dir="auto">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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace went down</li>
|
||||||
|
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
||||||
|
|
||||||
|
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
||||||
|
|
||||||
|
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
||||||
|
78
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
|
<a class="btn btn-outline-primary" href="/cgspace-notes/posts/page/5/" rel="prev" role="button">Previous page</a>
|
||||||
|
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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-11/">November, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-09/">September, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</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 dir="auto">
|
||||||
|
|
||||||
|
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>
|
@ -2,11 +2,12 @@ User-agent: *
|
|||||||
|
|
||||||
|
|
||||||
Disallow: /cgspace-notes/categories/
|
Disallow: /cgspace-notes/categories/
|
||||||
Disallow: /cgspace-notes/cgspace-cgcorev2-migration/
|
|
||||||
Disallow: /cgspace-notes/
|
Disallow: /cgspace-notes/
|
||||||
Disallow: /cgspace-notes/tags/migration/
|
|
||||||
Disallow: /cgspace-notes/categories/notes/
|
Disallow: /cgspace-notes/categories/notes/
|
||||||
|
Disallow: /cgspace-notes/2019-11/
|
||||||
Disallow: /cgspace-notes/posts/
|
Disallow: /cgspace-notes/posts/
|
||||||
|
Disallow: /cgspace-notes/cgspace-cgcorev2-migration/
|
||||||
|
Disallow: /cgspace-notes/tags/migration/
|
||||||
Disallow: /cgspace-notes/tags/
|
Disallow: /cgspace-notes/tags/
|
||||||
Disallow: /cgspace-notes/2019-10/
|
Disallow: /cgspace-notes/2019-10/
|
||||||
Disallow: /cgspace-notes/2019-09/
|
Disallow: /cgspace-notes/2019-09/
|
||||||
|
@ -4,7 +4,27 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
<lastmod>2019-11-04T12:20:30+02:00</lastmod>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
|
<lastmod>2019-11-04T12:20:30+02:00</lastmod>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||||
|
<lastmod>2019-11-04T12:20:30+02:00</lastmod>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://alanorth.github.io/cgspace-notes/2019-11/</loc>
|
||||||
|
<lastmod>2019-11-04T12:20:30+02:00</lastmod>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
|
<lastmod>2019-11-04T12:20:30+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -12,26 +32,11 @@
|
|||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
|
||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/migration/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/migration/</loc>
|
||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
|
||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
|
||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
||||||
@ -39,7 +44,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-10/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2019-10/</loc>
|
||||||
<lastmod>2019-10-29T16:23:43+02:00</lastmod>
|
<lastmod>2019-10-29T17:41:17+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -91,6 +91,48 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-11/">November, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-11-04T12:20:30+02:00">Mon Nov 04, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-11-04">2019-11-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>Peter noticed that there were 5.2 million hits on CGSpace in 2019-10 according to the Atmire usage statistics</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><p>I looked in the nginx logs and see 4.6 million in the access logs, and 1.2 million in the API logs:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*access.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
4671942
|
||||||
|
# zcat --force /var/log/nginx/{rest,oai,statistics}.log.*.gz | grep -cE "[0-9]{1,2}/Oct/2019"
|
||||||
|
1277694
|
||||||
|
</code></pre></li>
|
||||||
|
</ul></li>
|
||||||
|
|
||||||
|
<li><p>So 4.6 million from XMLUI and another 1.2 million from API requests</p></li>
|
||||||
|
|
||||||
|
<li><p>Let’s see how many of the REST API requests were for bitstreams (because they are counted in Solr stats):</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/rest.log.*.gz | grep -c -E "[0-9]{1,2}/Oct/2019"
|
||||||
|
1183456
|
||||||
|
# zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams"
|
||||||
|
106781
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></h2>
|
||||||
@ -387,57 +429,6 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2019-02-01">2019-02-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
|
||||||
|
|
||||||
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
|
||||||
|
|
||||||
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
|
||||||
245 207.46.13.5
|
|
||||||
332 54.70.40.11
|
|
||||||
385 5.143.231.38
|
|
||||||
405 207.46.13.173
|
|
||||||
405 207.46.13.75
|
|
||||||
1117 66.249.66.219
|
|
||||||
1121 35.237.175.180
|
|
||||||
1546 5.9.6.51
|
|
||||||
2474 45.5.186.2
|
|
||||||
5490 85.25.237.71
|
|
||||||
</code></pre></li>
|
|
||||||
|
|
||||||
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
|
||||||
|
|
||||||
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
|
||||||
|
|
||||||
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
|
||||||
|
|
||||||
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
|
||||||
3018243
|
|
||||||
|
|
||||||
real 0m19.873s
|
|
||||||
user 0m22.203s
|
|
||||||
sys 0m1.979s
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
@ -462,6 +453,8 @@ sys 0m1.979s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -470,8 +463,6 @@ sys 0m1.979s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Migration"/>
|
<meta name="twitter:title" content="Migration"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -131,6 +131,8 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -139,8 +141,6 @@
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -406,6 +406,8 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -414,8 +416,6 @@ DELETE 1
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -389,6 +389,8 @@ text_value
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -397,8 +399,6 @@ text_value
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Notes"/>
|
<meta name="twitter:title" content="Notes"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -181,6 +181,8 @@
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -189,8 +191,6 @@
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -91,6 +91,57 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-02/">February, 2019</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2019-02-01T21:37:30+02:00">Fri Feb 01, 2019</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2019-02-01">2019-02-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Linode has alerted a few times since last night that the CPU usage on CGSpace (linode18) was high despite me increasing the alert threshold last week from 250% to 275%—I might need to increase it again!</li>
|
||||||
|
|
||||||
|
<li><p>The top IPs before, during, and after this latest alert tonight were:</p>
|
||||||
|
|
||||||
|
<pre><code># zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "01/Feb/2019:(17|18|19|20|21)" | awk '{print $1}' | sort | uniq -c | sort -n | tail -n 10
|
||||||
|
245 207.46.13.5
|
||||||
|
332 54.70.40.11
|
||||||
|
385 5.143.231.38
|
||||||
|
405 207.46.13.173
|
||||||
|
405 207.46.13.75
|
||||||
|
1117 66.249.66.219
|
||||||
|
1121 35.237.175.180
|
||||||
|
1546 5.9.6.51
|
||||||
|
2474 45.5.186.2
|
||||||
|
5490 85.25.237.71
|
||||||
|
</code></pre></li>
|
||||||
|
|
||||||
|
<li><p><code>85.25.237.71</code> is the “Linguee Bot” that I first saw last month</p></li>
|
||||||
|
|
||||||
|
<li><p>The Solr statistics the past few months have been very high and I was wondering if the web server logs also showed an increase</p></li>
|
||||||
|
|
||||||
|
<li><p>There were just over 3 million accesses in the nginx logs last month:</p>
|
||||||
|
|
||||||
|
<pre><code># time zcat --force /var/log/nginx/* | grep -cE "[0-9]{1,2}/Jan/2019"
|
||||||
|
3018243
|
||||||
|
|
||||||
|
real 0m19.873s
|
||||||
|
user 0m22.203s
|
||||||
|
sys 0m1.979s
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2019-02/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-01/">January, 2019</a></h2>
|
||||||
@ -376,29 +427,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
|
||||||
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2018-04-01">2018-04-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
|
||||||
<li>Catalina logs at least show some memory errors yesterday:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/" rel="prev" role="button">Previous page</a>
|
||||||
@ -423,6 +451,8 @@ sys 2m7.289s
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -431,8 +461,6 @@ sys 2m7.289s
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -91,6 +91,29 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-04/">April, 2018</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2018-04-01T16:13:54+02:00">Sun Apr 01, 2018</time> by Alan Orth in
|
||||||
|
<i class="fa fa-folder" aria-hidden="true"></i> <a href="/cgspace-notes/categories/notes" rel="category tag">Notes</a>
|
||||||
|
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2018-04-01">2018-04-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>I tried to test something on DSpace Test but noticed that it’s down since god knows when</li>
|
||||||
|
<li>Catalina logs at least show some memory errors yesterday:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2018-04/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2018-03/">March, 2018</a></h2>
|
||||||
@ -409,36 +432,6 @@ COPY 54701
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Run system updates and reboot DSpace Test</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2 id="2017-07-04">2017-07-04</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
|
||||||
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
|
||||||
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/2/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/2/" rel="prev" role="button">Previous page</a>
|
||||||
@ -463,6 +456,8 @@ COPY 54701
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -471,8 +466,6 @@ COPY 54701
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -91,6 +91,36 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-07/">July, 2017</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2017-07-01T18:03:52+03:00">Sat Jul 01, 2017</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="2017-07-01">2017-07-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Run system updates and reboot DSpace Test</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-07-04">2017-07-04</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Merge changes for WLE Phase II theme rename (<a href="https://github.com/ilri/DSpace/pull/329">#329</a>)</li>
|
||||||
|
<li>Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace</li>
|
||||||
|
<li>We can use PostgreSQL’s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2017-07/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
||||||
@ -356,35 +386,6 @@ DELETE 1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
<h2 id="2016-09-01">2016-09-01</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
|
||||||
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
|
||||||
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
|
||||||
|
|
||||||
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
|
||||||
|
|
||||||
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/3/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/3/" rel="prev" role="button">Previous page</a>
|
||||||
@ -409,6 +410,8 @@ DELETE 1
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -417,8 +420,6 @@ DELETE 1
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="Tags"/>
|
<meta name="twitter:title" content="Tags"/>
|
||||||
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
<meta name="generator" content="Hugo 0.59.0" />
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -91,6 +91,35 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="blog-post">
|
||||||
|
<header>
|
||||||
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-09/">September, 2016</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00+03:00">Thu Sep 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>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<h2 id="2016-09-01">2016-09-01</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Discuss helping CCAFS with some batch tagging of ORCID IDs for their authors</li>
|
||||||
|
<li>Discuss how the migration of CGIAR’s Active Directory to a flat structure will break our LDAP groups in DSpace</li>
|
||||||
|
<li>We had been using <code>DC=ILRI</code> to determine whether a user was ILRI or not</li>
|
||||||
|
|
||||||
|
<li><p>It looks like we might be able to use OUs now, instead of DCs:</p>
|
||||||
|
|
||||||
|
<pre><code>$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2016-09/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
<article class="blog-post">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2016-08/">August, 2016</a></h2>
|
||||||
@ -347,40 +376,11 @@ text_value
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<article class="blog-post">
|
|
||||||
<header>
|
|
||||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
|
||||||
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>CGSpace went down</li>
|
|
||||||
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
|
||||||
|
|
||||||
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
|
||||||
|
|
||||||
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
|
||||||
78
|
|
||||||
</code></pre></li>
|
|
||||||
</ul>
|
|
||||||
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="blog-pagination">
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/4/" rel="prev" role="button">Previous page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/4/" rel="prev" role="button">Previous page</a>
|
||||||
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/6/" rel="next" role="button">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
@ -400,6 +400,8 @@ text_value
|
|||||||
<ol class="list-unstyled">
|
<ol class="list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-11/">November, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
@ -408,8 +410,6 @@ text_value
|
|||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</a></li>
|
||||||
|
|
||||||
<li><a href="/cgspace-notes/2019-07/">July, 2019</a></li>
|
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
197
docs/tags/page/6/index.html
Normal file
197
docs/tags/page/6/index.html
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
<!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="Tags" />
|
||||||
|
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/tags/" />
|
||||||
|
|
||||||
|
<meta property="og:updated_time" content="2019-10-28T13:27:35+02:00" />
|
||||||
|
|
||||||
|
<meta name="twitter:card" content="summary"/>
|
||||||
|
<meta name="twitter:title" content="Tags"/>
|
||||||
|
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
|
||||||
|
<meta name="generator" content="Hugo 0.59.1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "http://schema.org",
|
||||||
|
"@type": "Blog",
|
||||||
|
"headline": "CGSpace Notes",
|
||||||
|
"url" : "https:\/\/alanorth.github.io\/cgspace-notes\/tags\/",
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "Alan Orth"
|
||||||
|
},
|
||||||
|
"dateModified": "2019-10-28T13:27:35+02:00",
|
||||||
|
"keywords": "notes,migration,notes,",
|
||||||
|
"description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository."
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/tags/">
|
||||||
|
|
||||||
|
<title>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">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- RSS 2.0 feed -->
|
||||||
|
<link rel="alternate" type="application/rss+xml" href="https://alanorth.github.io/cgspace-notes/tags/index.xml" title="CGSpace Notes" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
|
||||||
|
<p class="lead blog-description" dir="auto">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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2015-11/">November, 2015</a></h2>
|
||||||
|
<p class="blog-post-meta"><time datetime="2015-11-23T17:00:57+03:00">Mon Nov 23, 2015</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="2015-11-22">2015-11-22</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>CGSpace went down</li>
|
||||||
|
<li>Looks like DSpace exhausted its PostgreSQL connection pool</li>
|
||||||
|
|
||||||
|
<li><p>Last week I had increased the limit from 30 to 60, which seemed to help, but now there are many more idle connections:</p>
|
||||||
|
|
||||||
|
<pre><code>$ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace
|
||||||
|
78
|
||||||
|
</code></pre></li>
|
||||||
|
</ul>
|
||||||
|
<a href='https://alanorth.github.io/cgspace-notes/2015-11/'>Read more →</a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="blog-pagination">
|
||||||
|
|
||||||
|
|
||||||
|
<a class="btn btn-outline-primary" href="/cgspace-notes/tags/page/5/" rel="prev" role="button">Previous page</a>
|
||||||
|
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Next page</a>
|
||||||
|
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</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-11/">November, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/cgspace-cgcorev2-migration/">CGSpace CG Core v2 Migration</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-10/">October, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-09/">September, 2019</a></li>
|
||||||
|
|
||||||
|
<li><a href="/cgspace-notes/2019-08/">August, 2019</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 dir="auto">
|
||||||
|
|
||||||
|
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>
|
Loading…
Reference in New Issue
Block a user