Duplicate host entry

Problem:
After upgrading to 3.0, my foreman instance is duplicated, this is the host runnuing foreman. No other host is affected.

Everything works, however I cannot delete it using the API since it will delete the wrong instance. How can I get rid of it, maybe rake console?

I don’t want to remove/renew the certificate.

Expected outcome:

Foreman and Proxy versions:

  • 3.3.1

Foreman and Proxy plugin versions:

Distribution and version:

  • EL8.8 (rocky)