Development log: 2022-04-15

2022 April 15

Made a mirror backup to Juno.

Made a backup AMI:
    Scanalyst Backup 2022-04-15  ami-0c171eac0bd6ef29d
        /           snap-07040b6b386d6acb2
        /server     snap-0286ef83451f54f8a

The system had been up for 21 days.

Installed 23 update packages, 20 for security. including
a new kernel.
    super
    yum update

Stopped Discourse.
    cd ~/discourse/image
    ./launcher stop app
You have less than 5GB of free space on the disk where /var/lib/docker is located. You will need more space to continue
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/nvme0n1p1   32G   28G  4.7G  86% /
Would you like to attempt to recover space by cleaning docker images and containers in the system? (y/N)y
After the clean:
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/nvme0n1p1   32G   13G   20G  40% /
2.0.20220128-1817: Pulling from discourse/base
Digest: sha256:dcb4eb8e41a2e84f776f80587f308d167a54ad7ff4ba616199891828bbd4ddae
Status: Downloaded newer image for discourse/base:2.0.20220128-1817
docker.io/discourse/base:2.0.20220128-1817
+ /usr/bin/docker stop -t 30 app
app

Rebooted.

The system came up promptly after the reboot.  We are running on
kernel 4.14.273-207.502.amzn2.x86_64.

The Discourse Docker container started automatically after the reboot
and serves HTTP requests normally.

On the Discourse Upgrade manager page:
    https://scanalyst.fourmilab.ch/admin/upgrade
I upgraded:
    docker_manager      (This upgrade must be run first:
                        the other upgrade buttons are
                        disabled until it has been updated.)

I could not proceed further with update until rebuilding the
Docker image.

Stopped Discourse.
    cd ~/discourse/image
    ./launcher stop app

Rebuilt image.
    cd ~/discourse/image
    git pull
    ./launcher rebuild app

This updates everything pending update.  There is no need to go
back to the update page and update manually.  The application
is automatically restarted.

The Admin page now reports we're running on 2.9.0.beta4.

Verified that spoilers and MathJax are working after being updated.