2022/11/16

From Mew
Jump to navigation Jump to search

Wednesday, November 16, 2022 (#320)

Tuesday Wednesday Thursday

prev .. today .. next

2024-11-29 (Fri) 11:19 EST Everything seems to be working ok... (details of last incident.)
There are no known issues.

Upgrade Plan

There's a bit of time-pressure to get the upgrade working because of a security vulnerability in the RC version that just happened to be what we upgraded to, but I also don't want to crash the server again (as happened yesterday).

The team agrees that we need a test-deployment process. The broad outlines I've worked out:

  • live image the TC server
  • spin up a copy, and reconfig it to be dev.toot.cat
  • make sure it's running ok as-is (data might have gotten munged by being live-imaged; if so, can do a pg data export/import)
  • reconfig Nix to target dev.TC
  • run the upgrade
  • look at dev.TC and see if everything runs ok

Preparation needed before this can work:

  • modify Nix scripts so they can switch target servers easily
  • figure out what changes need to be made to the server image in order to run properly as dev.TC instead of TC
  • write a subscript to automate those changes

Meanwhile, I need to do a little research to figure out how to nicely ask Git to compare two existing commits for me. (All of the relevant commits are tagged, fortunately.)