Multisite rebuild fails on AlmaLinux 9.2, works on AlmaLinux 8.8

Your host version should not be making any difference here.

I would start with going over your multisite.yml with a fine comb and ensuring it’s the same in both places.