From 31880725539178edab70702a442fb80d54546c12 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 1 Dec 2019 11:29:49 +0200 Subject: [PATCH] Add notes for 2019-12-01 --- content/posts/2019-12.md | 58 +++++ docs/2015-11/index.html | 4 +- docs/2015-12/index.html | 4 +- docs/2016-01/index.html | 4 +- docs/2016-02/index.html | 4 +- docs/2016-03/index.html | 4 +- docs/2016-04/index.html | 4 +- docs/2016-05/index.html | 4 +- docs/2016-06/index.html | 4 +- docs/2016-07/index.html | 4 +- docs/2016-08/index.html | 4 +- docs/2016-09/index.html | 4 +- docs/2016-10/index.html | 4 +- docs/2016-11/index.html | 4 +- docs/2016-12/index.html | 4 +- docs/2017-01/index.html | 4 +- docs/2017-02/index.html | 4 +- docs/2017-03/index.html | 4 +- docs/2017-04/index.html | 4 +- docs/2017-05/index.html | 4 +- docs/2017-06/index.html | 4 +- docs/2017-07/index.html | 4 +- docs/2017-08/index.html | 4 +- docs/2017-09/index.html | 4 +- docs/2017-10/index.html | 4 +- docs/2017-11/index.html | 4 +- docs/2017-12/index.html | 4 +- docs/2018-01/index.html | 4 +- docs/2018-02/index.html | 4 +- docs/2018-03/index.html | 4 +- docs/2018-04/index.html | 4 +- docs/2018-05/index.html | 4 +- docs/2018-06/index.html | 4 +- docs/2018-07/index.html | 4 +- docs/2018-08/index.html | 4 +- docs/2018-09/index.html | 4 +- docs/2018-10/index.html | 4 +- docs/2018-11/index.html | 4 +- docs/2018-12/index.html | 4 +- docs/2019-01/index.html | 4 +- docs/2019-02/index.html | 4 +- docs/2019-03/index.html | 4 +- docs/2019-04/index.html | 4 +- docs/2019-05/index.html | 4 +- docs/2019-06/index.html | 4 +- docs/2019-07/index.html | 4 +- docs/2019-08/index.html | 4 +- docs/2019-09/index.html | 4 +- docs/2019-10/index.html | 4 +- docs/2019-11/index.html | 8 +- docs/2019-12/index.html | 241 +++++++++++++++++++++ docs/404.html | 4 +- docs/categories/index.html | 72 +++--- docs/categories/index.xml | 4 +- docs/categories/notes/index.html | 70 +++--- docs/categories/notes/index.xml | 25 ++- docs/categories/notes/page/2/index.html | 66 +++--- docs/categories/notes/page/3/index.html | 34 ++- docs/categories/page/2/index.html | 68 +++--- docs/categories/page/3/index.html | 75 +++---- docs/categories/page/4/index.html | 77 ++++--- docs/categories/page/5/index.html | 65 +++--- docs/categories/page/6/index.html | 35 ++- docs/cgiar-library-migration/index.html | 4 +- docs/cgspace-cgcorev2-migration/index.html | 4 +- docs/index.html | 72 +++--- docs/index.xml | 25 ++- docs/page/2/index.html | 68 +++--- docs/page/3/index.html | 75 +++---- docs/page/4/index.html | 77 ++++--- docs/page/5/index.html | 65 +++--- docs/page/6/index.html | 35 ++- docs/posts/index.html | 72 +++--- docs/posts/index.xml | 25 ++- docs/posts/page/2/index.html | 68 +++--- docs/posts/page/3/index.html | 75 +++---- docs/posts/page/4/index.html | 77 ++++--- docs/posts/page/5/index.html | 65 +++--- docs/posts/page/6/index.html | 35 ++- docs/robots.txt | 3 +- docs/sitemap.xml | 23 +- docs/tags/index.html | 68 +++--- docs/tags/migration/index.html | 4 +- docs/tags/notes/index.html | 4 +- docs/tags/notes/page/2/index.html | 4 +- docs/tags/notes/page/3/index.html | 4 +- docs/tags/page/2/index.html | 64 +++--- docs/tags/page/3/index.html | 71 +++--- docs/tags/page/4/index.html | 73 ++++--- docs/tags/page/5/index.html | 61 +++--- docs/tags/page/6/index.html | 31 ++- 91 files changed, 1440 insertions(+), 906 deletions(-) create mode 100644 content/posts/2019-12.md create mode 100644 docs/2019-12/index.html diff --git a/content/posts/2019-12.md b/content/posts/2019-12.md new file mode 100644 index 000000000..1d0bb360b --- /dev/null +++ b/content/posts/2019-12.md @@ -0,0 +1,58 @@ +--- +title: "December, 2019" +date: 2019-12-01T11:22:30+02:00 +author: "Alan Orth" +categories: ["Notes"] +--- + +## 2019-12-01 + +- Upgrade CGSpace (linode18) to Ubuntu 18.04: + - Check any packages that have residual configs and purge them: + - # dpkg -l | grep -E '^rc' | awk '{print $2}' | xargs dpkg -P + - Make sure all packages are up to date and the package manager is up to date, then reboot: + +``` +# apt update && apt full-upgrade +# apt-get autoremove && apt-get autoclean +# dpkg -C +# reboot +``` + + + + - Take some backups: + +``` +# dpkg -l > 2019-12-01-linode18-dpkg.txt +# tar czf 2019-12-01-linode18-etc.tar.gz /etc +``` + - Then check all third-party repositories in /etc/apt to see if everything using "xenial" has packages available for "bionic" and then update the sources: + - # sed -i 's/xenial/bionic/' /etc/apt/sources.list.d/*.list + - Pause the Uptime Robot monitoring for CGSpace + - Make sure the update manager is installed and do the upgrade: + +``` +# apt install update-manager-core +# do-release-upgrade +``` + + - After the upgrade finishes, remove Java 11, force the installation of bionic nginx, and reboot the server: + +``` +# apt purge openjdk-11-jre-headless +# apt install 'nginx=1.16.1-1~bionic' +# reboot +``` + + - After the server comes back up, remove Python virtualenvs that were created with Python 3.5 and re-run certbot to make sure it's working: + +``` +# rm -rf /opt/eff.org/certbot/venv/bin/letsencrypt +# rm -rf /opt/ilri/dspace-statistics-api/venv +# /opt/certbot-auto +``` + + - Clear Ansible's fact cache and re-run the playbooks to update the system's firewalls, SSH config, etc + + diff --git a/docs/2015-11/index.html b/docs/2015-11/index.html index b00eeecd0..7dab448ad 100644 --- a/docs/2015-11/index.html +++ b/docs/2015-11/index.html @@ -234,6 +234,8 @@ db.statementpool = true
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -242,8 +244,6 @@ db.statementpool = true
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2015-12/index.html b/docs/2015-12/index.html index bdcb97667..7e3d83115 100644 --- a/docs/2015-12/index.html +++ b/docs/2015-12/index.html @@ -256,6 +256,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -264,8 +266,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-01/index.html b/docs/2016-01/index.html index 534af441c..ea5d8288a 100644 --- a/docs/2016-01/index.html +++ b/docs/2016-01/index.html @@ -192,6 +192,8 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} ; | sor
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -200,8 +202,6 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} ; | sor
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-02/index.html b/docs/2016-02/index.html index d01748aae..4d26a351f 100644 --- a/docs/2016-02/index.html +++ b/docs/2016-02/index.html @@ -370,6 +370,8 @@ Bitstream: tést señora alimentación.pdf
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -378,8 +380,6 @@ Bitstream: tést señora alimentación.pdf
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-03/index.html b/docs/2016-03/index.html index 708809b51..a07880c1f 100644 --- a/docs/2016-03/index.html +++ b/docs/2016-03/index.html @@ -308,6 +308,8 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -316,8 +318,6 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-04/index.html b/docs/2016-04/index.html index 3c6fd9f7e..8130fed07 100644 --- a/docs/2016-04/index.html +++ b/docs/2016-04/index.html @@ -487,6 +487,8 @@ dspace.log.2016-04-27:7271
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -495,8 +497,6 @@ dspace.log.2016-04-27:7271
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-05/index.html b/docs/2016-05/index.html index 1f51b8e45..614959023 100644 --- a/docs/2016-05/index.html +++ b/docs/2016-05/index.html @@ -363,6 +363,8 @@ sys 0m20.540s
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -371,8 +373,6 @@ sys 0m20.540s
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-06/index.html b/docs/2016-06/index.html index 22cdb51cb..276681ef4 100644 --- a/docs/2016-06/index.html +++ b/docs/2016-06/index.html @@ -401,6 +401,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -409,8 +411,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-07/index.html b/docs/2016-07/index.html index 990cafa19..8b76bae60 100644 --- a/docs/2016-07/index.html +++ b/docs/2016-07/index.html @@ -317,6 +317,8 @@ discovery.index.authority.ignore-variants=true
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -325,8 +327,6 @@ discovery.index.authority.ignore-variants=true
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-08/index.html b/docs/2016-08/index.html index 632086152..01bf323ef 100644 --- a/docs/2016-08/index.html +++ b/docs/2016-08/index.html @@ -381,6 +381,8 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -389,8 +391,6 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-09/index.html b/docs/2016-09/index.html index f8a3b63fa..69509f124 100644 --- a/docs/2016-09/index.html +++ b/docs/2016-09/index.html @@ -598,6 +598,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -606,8 +608,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-10/index.html b/docs/2016-10/index.html index 69b58b0f0..5d52cc032 100644 --- a/docs/2016-10/index.html +++ b/docs/2016-10/index.html @@ -364,6 +364,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -372,8 +374,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-11/index.html b/docs/2016-11/index.html index b79696d04..b8acb0abc 100644 --- a/docs/2016-11/index.html +++ b/docs/2016-11/index.html @@ -540,6 +540,8 @@ org.dspace.discovery.SearchServiceException: Error executing query
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -548,8 +550,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2016-12/index.html b/docs/2016-12/index.html index 760aa49e6..be51fbec7 100644 --- a/docs/2016-12/index.html +++ b/docs/2016-12/index.html @@ -776,6 +776,8 @@ $ exit
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -784,8 +786,6 @@ $ exit
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-01/index.html b/docs/2017-01/index.html index a4851cf20..3bcd74aec 100644 --- a/docs/2017-01/index.html +++ b/docs/2017-01/index.html @@ -361,6 +361,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -369,8 +371,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-02/index.html b/docs/2017-02/index.html index 3441e2f87..1da9f5ebd 100644 --- a/docs/2017-02/index.html +++ b/docs/2017-02/index.html @@ -416,6 +416,8 @@ COPY 1968
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -424,8 +426,6 @@ COPY 1968
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-03/index.html b/docs/2017-03/index.html index 59a3b232d..cdfb20090 100644 --- a/docs/2017-03/index.html +++ b/docs/2017-03/index.html @@ -347,6 +347,8 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -355,8 +357,6 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-04/index.html b/docs/2017-04/index.html index 6c05d92ae..680efc5b0 100644 --- a/docs/2017-04/index.html +++ b/docs/2017-04/index.html @@ -577,6 +577,8 @@ $ gem install compass -v 1.0.3
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -585,8 +587,6 @@ $ gem install compass -v 1.0.3
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-05/index.html b/docs/2017-05/index.html index ead480916..08d747809 100644 --- a/docs/2017-05/index.html +++ b/docs/2017-05/index.html @@ -383,6 +383,8 @@ UPDATE 187
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -391,8 +393,6 @@ UPDATE 187
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-06/index.html b/docs/2017-06/index.html index 91ab69d36..96e42409f 100644 --- a/docs/2017-06/index.html +++ b/docs/2017-06/index.html @@ -262,6 +262,8 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -270,8 +272,6 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-07/index.html b/docs/2017-07/index.html index 0a8f229c0..ee6ef1dec 100644 --- a/docs/2017-07/index.html +++ b/docs/2017-07/index.html @@ -267,6 +267,8 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -275,8 +277,6 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-08/index.html b/docs/2017-08/index.html index 58efe028f..b26d725c0 100644 --- a/docs/2017-08/index.html +++ b/docs/2017-08/index.html @@ -509,6 +509,8 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -517,8 +519,6 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-09/index.html b/docs/2017-09/index.html index 2a8e9d259..789427e8b 100644 --- a/docs/2017-09/index.html +++ b/docs/2017-09/index.html @@ -651,6 +651,8 @@ Cert Status: good
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -659,8 +661,6 @@ Cert Status: good
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-10/index.html b/docs/2017-10/index.html index 8f826a684..802065803 100644 --- a/docs/2017-10/index.html +++ b/docs/2017-10/index.html @@ -435,6 +435,8 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -443,8 +445,6 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-11/index.html b/docs/2017-11/index.html index 5fd9859e8..523bd8bb5 100644 --- a/docs/2017-11/index.html +++ b/docs/2017-11/index.html @@ -936,6 +936,8 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -944,8 +946,6 @@ $ cat dspace.log.2017-11-28 | grep -o -E 'session_id=[A-Z0-9]{32}' | sort -n | u
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2017-12/index.html b/docs/2017-12/index.html index efc83b4f6..aab12152a 100644 --- a/docs/2017-12/index.html +++ b/docs/2017-12/index.html @@ -775,6 +775,8 @@ DELETE 20
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -783,8 +785,6 @@ DELETE 20
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-01/index.html b/docs/2018-01/index.html index 0b704657c..a1f01cad2 100644 --- a/docs/2018-01/index.html +++ b/docs/2018-01/index.html @@ -1444,6 +1444,8 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -1452,8 +1454,6 @@ Catalina:type=Manager,context=/,host=localhost activeSessions 8
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index 9b44ca1b2..9e553bcd5 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -1031,6 +1031,8 @@ UPDATE 3
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -1039,8 +1041,6 @@ UPDATE 3
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-03/index.html b/docs/2018-03/index.html index 9d290101c..55d1f5a4b 100644 --- a/docs/2018-03/index.html +++ b/docs/2018-03/index.html @@ -577,6 +577,8 @@ Fixed 5 occurences of: GENEBANKS
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -585,8 +587,6 @@ Fixed 5 occurences of: GENEBANKS
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-04/index.html b/docs/2018-04/index.html index 1b438add5..97f9de1e9 100644 --- a/docs/2018-04/index.html +++ b/docs/2018-04/index.html @@ -586,6 +586,8 @@ $ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -594,8 +596,6 @@ $ pg_restore -O -U dspacetest -d dspacetest -W -h localhost /tmp/dspace_2018-04-
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-05/index.html b/docs/2018-05/index.html index fc87b0d70..08d10e3c0 100644 --- a/docs/2018-05/index.html +++ b/docs/2018-05/index.html @@ -515,6 +515,8 @@ $ psql -h localhost -U postgres dspacetest
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -523,8 +525,6 @@ $ psql -h localhost -U postgres dspacetest
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-06/index.html b/docs/2018-06/index.html index 4c391ce99..b7fbedc50 100644 --- a/docs/2018-06/index.html +++ b/docs/2018-06/index.html @@ -506,6 +506,8 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -514,8 +516,6 @@ $ sed '/^id/d' 10568-*.csv | csvcut -c 1,2 > map-to-cifor-archive.csv
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-07/index.html b/docs/2018-07/index.html index 2a4d1526c..7b1dbd058 100644 --- a/docs/2018-07/index.html +++ b/docs/2018-07/index.html @@ -561,6 +561,8 @@ dspace=# select count(text_value) from metadatavalue where resource_type_id=2 an
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -569,8 +571,6 @@ dspace=# select count(text_value) from metadatavalue where resource_type_id=2 an
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-08/index.html b/docs/2018-08/index.html index a836b60cd..cc1c8399f 100644 --- a/docs/2018-08/index.html +++ b/docs/2018-08/index.html @@ -434,6 +434,8 @@ $ dspace database migrate ignored
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -442,8 +444,6 @@ $ dspace database migrate ignored
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-09/index.html b/docs/2018-09/index.html index f8ce191ed..02a13c357 100644 --- a/docs/2018-09/index.html +++ b/docs/2018-09/index.html @@ -740,6 +740,8 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -748,8 +750,6 @@ UPDATE metadatavalue SET text_value='ja' WHERE resource_type_id=2 AND metadata_f
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index 1b89de688..db84fb0d3 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -649,6 +649,8 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -657,8 +659,6 @@ $ curl -X GET -H "Content-Type: application/json" -H "Accept: app
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-11/index.html b/docs/2018-11/index.html index 63c12dbba..8438a0233 100644 --- a/docs/2018-11/index.html +++ b/docs/2018-11/index.html @@ -545,6 +545,8 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -553,8 +555,6 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 11/27/2016 -d
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2018-12/index.html b/docs/2018-12/index.html index 8eb854092..fa60b1e02 100644 --- a/docs/2018-12/index.html +++ b/docs/2018-12/index.html @@ -586,6 +586,8 @@ UPDATE 1
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -594,8 +596,6 @@ UPDATE 1
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-01/index.html b/docs/2019-01/index.html index cbabd0741..7429b609e 100644 --- a/docs/2019-01/index.html +++ b/docs/2019-01/index.html @@ -1256,6 +1256,8 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -1264,8 +1266,6 @@ identify: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index c94b0b74c..998ea79fb 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -1336,6 +1336,8 @@ Please see the DSpace documentation for assistance.
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -1344,8 +1346,6 @@ Please see the DSpace documentation for assistance.
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index 0447a1533..6acc6a550 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -1200,6 +1200,8 @@ sys 0m2.551s
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -1208,8 +1210,6 @@ sys 0m2.551s
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index fded445ed..95c41ce32 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -1291,6 +1291,8 @@ UPDATE 14
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -1299,8 +1301,6 @@ UPDATE 14
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-05/index.html b/docs/2019-05/index.html index cde4a7fe1..f69a94a49 100644 --- a/docs/2019-05/index.html +++ b/docs/2019-05/index.html @@ -623,6 +623,8 @@ COPY 64871
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -631,8 +633,6 @@ COPY 64871
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-06/index.html b/docs/2019-06/index.html index 1f1c336ef..5bd663ed2 100644 --- a/docs/2019-06/index.html +++ b/docs/2019-06/index.html @@ -309,6 +309,8 @@ UPDATE 2
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -317,8 +319,6 @@ UPDATE 2
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-07/index.html b/docs/2019-07/index.html index 4450b6f75..7a890bb48 100644 --- a/docs/2019-07/index.html +++ b/docs/2019-07/index.html @@ -546,6 +546,8 @@ issn.validate('1020-3362')
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -554,8 +556,6 @@ issn.validate('1020-3362')
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-08/index.html b/docs/2019-08/index.html index 255373483..c383e7ef4 100644 --- a/docs/2019-08/index.html +++ b/docs/2019-08/index.html @@ -565,6 +565,8 @@ sys 2m27.496s
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -573,8 +575,6 @@ sys 2m27.496s
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-09/index.html b/docs/2019-09/index.html index df009550f..b2c97a24a 100644 --- a/docs/2019-09/index.html +++ b/docs/2019-09/index.html @@ -573,6 +573,8 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -581,8 +583,6 @@ $ csv-metadata-quality -i /tmp/clarisa-institutions.csv -o /tmp/clarisa-institut
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-10/index.html b/docs/2019-10/index.html index c0a512321..129777f73 100644 --- a/docs/2019-10/index.html +++ b/docs/2019-10/index.html @@ -377,6 +377,8 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -385,8 +387,6 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-11/index.html b/docs/2019-11/index.html index 52a042052..7465763a1 100644 --- a/docs/2019-11/index.html +++ b/docs/2019-11/index.html @@ -30,7 +30,7 @@ Let's see how many of the REST API requests were for bitstreams (because the - + @@ -67,7 +67,7 @@ Let's see how many of the REST API requests were for bitstreams (because the "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-11\/", "wordCount": "3457", "datePublished": "2019-11-04T12:20:30+02:00", - "dateModified": "2019-11-27T14:56:00+02:00", + "dateModified": "2019-11-28T17:30:45+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -684,6 +684,8 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -692,8 +694,6 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-i
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/2019-12/index.html b/docs/2019-12/index.html new file mode 100644 index 000000000..b7e120140 --- /dev/null +++ b/docs/2019-12/index.html @@ -0,0 +1,241 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + December, 2019 | CGSpace Notes + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + + +
+
+

CGSpace Notes

+

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

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

December, 2019

+ +
+

2019-12-01

+
    +
  • Upgrade CGSpace (linode18) to Ubuntu 18.04: +
      +
    • Check any packages that have residual configs and purge them:
    • +
    • # dpkg -l | grep -E ‘^rc’ | awk ‘{print $2}’ | xargs dpkg -P
    • +
    • Make sure all packages are up to date and the package manager is up to date, then reboot:
    • +
    +
  • +
+
# apt update && apt full-upgrade
+# apt-get autoremove && apt-get autoclean
+# dpkg -C
+# reboot
+
    +
  • Take some backups:
  • +
+
# dpkg -l > 2019-12-01-linode18-dpkg.txt
+# tar czf 2019-12-01-linode18-etc.tar.gz /etc
+
    +
  • Then check all third-party repositories in /etc/apt to see if everything using “xenial” has packages available for “bionic” and then update the sources:
  • +
  • # sed -i ‘s/xenial/bionic/’ /etc/apt/sources.list.d/*.list
  • +
  • Pause the Uptime Robot monitoring for CGSpace
  • +
  • Make sure the update manager is installed and do the upgrade:
  • +
+
# apt install update-manager-core
+# do-release-upgrade
+
    +
  • After the upgrade finishes, remove Java 11, force the installation of bionic nginx, and reboot the server:
  • +
+
# apt purge openjdk-11-jre-headless
+# apt install 'nginx=1.16.1-1~bionic'
+# reboot
+
    +
  • After the server comes back up, remove Python virtualenvs that were created with Python 3.5 and re-run certbot to make sure it's working:
  • +
+
# rm -rf /opt/eff.org/certbot/venv/bin/letsencrypt
+# rm -rf /opt/ilri/dspace-statistics-api/venv
+# /opt/certbot-auto
+
    +
  • Clear Ansible's fact cache and re-run the playbooks to update the system's firewalls, SSH config, etc
  • +
+ + + + + + +
+ + + +
+ + + + +
+
+ + + + + + + + + diff --git a/docs/404.html b/docs/404.html index 838aa12be..97dae9882 100644 --- a/docs/404.html +++ b/docs/404.html @@ -89,6 +89,8 @@
    +
  1. December, 2019
  2. +
  3. November, 2019
  4. CGSpace CG Core v2 Migration
  5. @@ -97,8 +99,6 @@
  6. September, 2019
  7. -
  8. August, 2019
  9. -
diff --git a/docs/categories/index.html b/docs/categories/index.html index d7c955723..a23492402 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -9,7 +9,7 @@ - + @@ -28,7 +28,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2019-11-04T12:20:30+02:00", + "dateModified": "2019-12-01T11:22:30+02:00", "keywords": "notes,migration,notes,", "description": "Documenting day-to-day work on the [CGSpace](https:\/\/cgspace.cgiar.org) repository." } @@ -90,6 +90,38 @@ +
+
+

December, 2019

+ +
+

2019-12-01

+ +
# apt update && apt full-upgrade
+# apt-get autoremove && apt-get autoclean
+# dpkg -C
+# reboot
+
+ Read more → +
+ + + + + +

November, 2019

@@ -371,38 +403,6 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace - -
-
-

March, 2019

- -
-

2019-03-01

-
    -
  • I checked IITA's 259 Feb 14 records from last month for duplicates using Atmire's Duplicate Checker on a fresh snapshot of CGSpace on my local machine and everything looks good
  • -
  • I am now only waiting to hear from her about where the items should go, though I assume Journal Articles go to IITA Journal Articles collection, etc…
  • -
  • Looking at the other half of Udana's WLE records from 2018-11 -
      -
    • I finished the ones for Restoring Degraded Landscapes (RDL), but these are for Variability, Risks and Competing Uses (VRC)
    • -
    • I did the usual cleanups for whitespace, added regions where they made sense for certain countries, cleaned up the DOI link formats, added rights information based on the publications page for a few items
    • -
    • Most worryingly, there are encoding errors in the abstracts for eleven items, for example:
    • -
    • 68.15% � 9.45 instead of 68.15% ± 9.45
    • -
    • 2003�2013 instead of 2003–2013
    • -
    -
  • -
  • I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs
  • -
- Read more → -
- - - - -