Shelter-in-Place Journal, Day 289

We made another new recipe from the Mercury News tonight, Pomegranate Chicken. I was afraid we were making far too much food, but it looks like we hit our goal of having just enough leftovers for one meal. We may try boneless, skinless thighs next time in the hope that the glaze will actually penetrate the meat.

Other than that, I spent the entire day working on the Toastmasters handover, in particular the scripts I mentioned yesterday to make it easy for people to build their own copy of the website and tooling. There were, of course, a few glitches along the way.

The biggest mistake I made was making the virtual machine’s disk too small and filling it up several hours into the process. I should have just deleted that virtual machine and started again, but I didn’t – instead, I enlarged the disk but somehow didn’t enlarge the filesystem, so it filled up again after several more hours of work. I learned my lesson and rebuilt the machine from scratch (it really didn’t take very long!).

I’m also having a strange problem with networking on the virtual machine – Ubuntu assigns a private IPv6 address to the machine, causing it to be unable to get to pypi.org to install Python software. If I take the interface down and up, the private address goes away and all is well. I can’t figure out how to keep the private address from being created in the first place, but at least I’ve got an easy workaround.

Shelter-in-Place Journal, Day 288

I spent a few hours working with the person who’s volunteering to take over the back end of the District 101 website; he is primarily a Windows user, so he has had to set up a Linux environment from scratch.

Today, we wanted to get the actual website and development environment onto his machine; fortunately, I’d written scripts to do that the last time I got some help, two years ago. Unfortunately, I hadn’t looked at the scripts since then, and Things Have Changed.

Most of the changes were easy to fix (I’d hard-coded “Python3.7” in several places, which was a bad idea), but one threw me for a loop. As part of the install, I clone the actual WordPress directory from d101tm.org; I decided that it was unnecessary and possibly harmful to bring over the cache directory, so I added –exclude ‘cache/”˜ to the rsync command I use to do the cloning. That worked fine two years ago, but in the meantime, the theme we use on the site (Divi) added a cache directory to its codebase; when I cloned the site, that directory didn’t get brought over.

There’s more to be done…tomorrow.