Epel 8 rhel 8 public repo for use for a foreman server "product"

Check this out, could it be just similar
"Fatal parser error" when syncing from Epel 8

As a safety measure i would suggest warmly to run to shutdown services

foreman-maintain service stop

Take snapshot if you just can and then

foreman-maintain service start

to restart services before doing anything.

This will enable you possibility revert back if changes done would hit the fan. Same thing if you decide to upgrade the version.