Add notes for 2021-08-01

This commit is contained in:
2021-08-01 16:19:05 +03:00
parent 5ec86a88dc
commit 4005b536c9
109 changed files with 1331 additions and 881 deletions

View File

@ -558,3 +558,19 @@ $ cat AS* /tmp/ddos-networks-to-block.txt | sed -e '/^$/d' -e '/^#/d' -e '/^{/d'
- The last time we changed this was in 2020 (XMLUI's `Navigation.java`), and I think it makes a lot of sense so I moved it up, under the account block:
![CGSpace XMLUI navigation](/cgspace-notes/2021/07/context-navigation-menu.png)
## 2021-07-23
- Spend some time reviewing patches for the upcoming DSpace 6.4 release
## 2021-07-24
- Spend some time reviewing patches for the upcoming DSpace 6.4 release
- Run all system updates on DSpace Test (linode26) and reboot it
## 2021-07-29
- I figured out why [come communities / collections were seemingly missing from AReS](https://github.com/ilri/OpenRXV/issues/62)
- It was not related to harvesting, but rather to our value mappings replacing values like "CGIAR Research Program on Livestock" with "Livestock"
<!-- vim: set sw=2 ts=2: -->

56
content/posts/2021-08.md Normal file
View File

@ -0,0 +1,56 @@
---
title: "August, 2021"
date: 2021-08-01T09:01:07+03:00
author: "Alan Orth"
categories: ["Notes"]
---
## 2021-08-01
- Update Docker images on AReS server (linode20) and reboot the server:
```console
# docker images | grep -v ^REPO | sed 's/ \+/:/g' | cut -d: -f1,2 | grep -v none | xargs -L1 docker pull
```
- I decided to upgrade linode20 from Ubuntu 18.04 to 20.04
<!--more-->
- First running all existing updates, taking some backups, checking for broken packages, and then rebooting:
```console
# apt update && apt dist-upgrade
# apt autoremove && apt autoclean
# check for any packages with residual configs we can purge
# dpkg -l | grep -E '^rc' | awk '{print $2}'
# dpkg -l | grep -E '^rc' | awk '{print $2}' | xargs dpkg -P
# dpkg -C
# dpkg -l > 2021-08-01-linode20-dpkg.txt
# tar -I zstd -cvf 2021-08-01-etc.tar.zst /etc
# reboot
# sed -i 's/bionic/focal/' /etc/apt/sources.list.d/*.list
# do-release-upgrade
```
- ... but of course it hit [the libxcrypt bug](https://bugs.launchpad.net/ubuntu/+source/libxcrypt/+bug/1903838)
- I had to get a copy of libcrypt.so.1.1.0 from a working Ubuntu 20.04 system and finish the upgrade manually
```console
# apt install -f
# apt dist-upgrade
# reboot
```
- After rebooting I purged all packages with residual configs and cleaned up again:
```console
# dpkg -l | grep -E '^rc' | awk '{print $2}' | xargs dpkg -P
# apt autoremove && apt autoclean
```
- Then I cleared my local Ansible fact cache and re-ran the [infrastructure playbooks](https://github.com/ilri/rmg-ansible-public)
- Open [an issue for the value mappings global replacement bug in OpenRXV](https://github.com/ilri/OpenRXV/issues/111)
- Advise Peter and Abenet on expected CGSpace budget for 2022
- Start a fresh harvesting on AReS (linode20)
<!-- vim: set sw=2 ts=2: -->