While I cannot assist with your original issue, this is definitely not the problem at hand. Support for running on EL9 is considered experimental (read: not stable) with Foreman 3.10 and only became stable with 3.11. EL8 is expected to work until 3.12. See Drop support for running on EL8 with Foreman 3.13 for further info.