Issue after upgrading to foreman 3.9.3

Hi,

We’re performing our annual foreman upgrades.
Started at 3.6.2 and went to 3.7 and 3.8 without any issues.

Now after going to 3.9.3 the foreman-installer run provides errors;

No such errors appeared after going to 3.7 and 3.8
We did not modify anything going moving forward to 3.9

We checked production.log and found this:
Not sure if this is related to the issue.

2f82a115 | NoMethodError (undefined method `with_locale’ for FastGettext:Module

  • 2f82a115 | Did you mean? set_locale):*

2024-12-12T07:34:15 [W|app|] unknown class ForemanOpenscap::ArfReport, ignoring
2024-12-12T07:34:15 [I|app|] Backtrace for ‘unknown class ForemanOpenscap::ArfReport, ignoring’ error (NameError): uninitialized constant ForemanOpenscap

  • | Did you mean? ForemanPuppet*

I don’t see anything more regarding errors or warnings in the log.
At one point we did install the openscap plugin but removed it afterwards.

What could be wrong at this point ?

Btw we are running with following specs:

Rocky 8
Ruby 2.7
PostgreSQL 12
Puppet 7

In the meantime I tried to mess around with the version of fast_gettext.
We seem to have fast_gettext (1.1.2)
This one was also there in 3.8.0 and provides no issue.
Same version in 3.9.3.
I tried installing some newer version but all the ones I tried do not fix the issue or cause more.

Can anyone comment on their version ?

Or is this just bugged in 3.9.3 and should I move forward to 3.10 ?

Ok so I decided to ignore the issue in 3.9, upgrade to 3.10 same issue, ignore it again.
And now I’m running 3.11.5 and the foreman-installer command doesn’t post errors anymore.

I noticed 3.11 installer changed my fast_gettext gem to 2.3.0.
I manually removed 1.1.2 since the installed tried to remove 1.8.0 and failed to do so.

Seems the issue is solved now.