Saturday, March 13, 2021

SVL: Upgrade Orgy

I spent most of the day today at Silicon Valley Lines tending to deferred computer maintenance. I upgraded the computer running DecoderPro at the programming track, and the layout computer to Catalina which is the latest version of MacOS X that will run on these somewhat old machines. Downloading OS versions, installing them, and applying point updates took a loooong time. Once the OS was updated, I double-checked the JMRI installation. I needed updated drivers for the USB to serial converters built into the NCE USB interface and the LCCBuffer USB, but that was easily accomplished, once I figured out which exact drivers I needed. I upgraded JMRI to version 4.22 on both computers through a couple intermediate steps at 4.12, 4.18, and 4.20 as recommended in the release notes. The upgrade process itself -- while boring -- went off mostly without problems. 

JMRI changed behavior in the JSON interface with regards to notifications around version 4.15, which breaks the integration of the custom web panels we use for controlling the layout. We'll need to dig a bit deeper to understand how to fix that. This problem was the main reason the layout computer was still running JMRI 4.14 so we have known about this problem for a while. It's time for a fix.

While the computers were downloading and updating stuff, I filled out the submission paperwork for inspection of the cars I built, decaled, and weathered over the last year. I also measured wifi signal quality around the layout room to help with investigations to improve quality of our cab cams.

Overall, a productive day, even though it doesn't feel like it.

Update 2021/03/14:
We've traced the change in behavior to JMRI being more strict about JSON requests and requiring a method field in the JSON data our panels send to the server.

No comments: