My weewx.conf does refer to /dev/ttyAMA0 and the file /dev/ttyAMA0 does exist on my RPi. The error that results refers to ttyUSAMA0 and I have no idea how that is happening.
-------
When I run "sudo dmesg | grep -i serial" I get the following":
[ 0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1600x900M<at>60 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=122a1e02-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.135509] Serial: AMBA PL011 UART driver
[ 3.354256] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.354317] usb usb1: SerialNumber: 20980000.usb
[ 3.396427] uart-pl011 20201000.serial: cts_event_workaround enabled
[ 3.396616] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 3.932516] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.382606] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.830868] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.830929] usb 1-1.2: SerialNumber: 1.0
[ 5.064101] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 5.542410] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.183704] uart-pl011 20201000.serial: no DMA platform data
[ 8.178296] systemd[1]: Created slice system-serial\x2dgetty.slice.
Obviously nothing in this output even refers to ttyAMAO.
-------
As far as the locale files I am not certain what you mean by build them with raspi-config. When installing the new OS I recall I was asked information about locale and I answered that I was in the US, used American English and was in the Mountain time zone. The configuration GUI accurately reflected what I input.
When I saw the errors about unknown locale I issued the commands export LC_CTYPE=en_US.UTF-8, export LC_MESSAGE=en_US.UTF-8, export LC_ALL=en_US.UTF-8. Not sure if this is "building" them localization files or not. Not really I understand why this is showing up at this point.
Also after your response I did run raspi-config and it was configured to populate all locales. I also recall that the installation process took an large amount of time during the localization step of the OS installation. Not sure if this is relevant or useful.
This is starting to seem like I do not have the serial port properly configured. I have not needed to do anything with previous OS updates so I it is not unreasonable to think that I may have forgotten something I did 10 years ago when I first built the RPi / weewx set up.
Unfortunately I am not "fluent" in the RPi and Raspbian. I am tempted to see if I can create an installation of Buster and see if it works. Assuming it works I can then wait a couple of months to upgrade to Bullseye. Of course if it does not, I guess I am simply right back here.
Uggh but thanks,
Chip