Bonjour,
When I upgrade from 2.6 to 3.0, I was getting an error for Enviroment Distribution and Class Distribution
(Request Failed With Status Code 500).
Now I am running 3.1.1, Class Distribution is working but a lot other statistics are missing
(OS, Architecture, Host Group, Compute Resource, Location, Organization and Environment)
I have the following warnings :
2022-02-04T09:33:59 [W|app|586efe23] undefined local variable or method
logger' for #<ForemanStatistics::Statistics::CountHosts:0x0000000012758b60> 2022-02-04T09:33:59 [W|app|2f053bbb] undefined local variable or method
logger’ for #ForemanStatistics::Statistics::CountHosts:0x0000000012608198
2022-02-04T09:33:59 [W|app|fdd964d9] undefined local variable or methodlogger' for #<ForemanStatistics::Statistics::CountHosts:0x00007ffb75aaa140> 2022-02-04T09:33:59 [W|app|4b7ef2ef] undefined local variable or method
logger’ for #ForemanStatistics::Statistics::CountHosts:0x00007ffb7481e7d8
2022-02-04T09:34:00 [W|app|f6204e22] undefined local variable or methodlogger' for #<ForemanStatistics::Statistics::CountHosts:0x000000000b2b8120> 2022-02-04T09:34:00 [W|app|27c37525] undefined local variable or method
logger’ for #ForemanStatistics::Statistics::CountHosts:0x000000000f1d1cf8
2022-02-04T09:34:00 [W|app|6c0406a9] undefined local variable or method `logger’ for #ForemanStatistics::Statistics::CountHosts:0x0000000014ad7398
Any idea ?
Thank you
Regards,
Frederic.
In the production.log