Using stale statistics instead of current ones because stats collector is not responding

AI-generated summary

Two users, TheSahil and Kuldeep_Kumhar, are experiencing issues with their Discourse instances. After updating to the latest build, TheSahil encountered errors and rebuilt the app, but now sees repeated error messages stating “using stale statistics instead of current ones because stats collector is not responding” in their logs. Kuldeep_Kumhar is facing the same issue and both users are seeking help in resolving the problem with the stats collector.

Stuck at this point after updating to latest build and site was broken so i ssh into terminal and rebuild app acc to suggestion given by someone in this forum but now i am stuck here

[2022-03-25T16:54:48.178720 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile'
- Building
- Building
- building...
103:M 25 Mar 2022 16:59:45.063 * 100 changes in 300 seconds. Saving...
103:M 25 Mar 2022 16:59:45.067 * Background saving started by pid 1039
1039:C 25 Mar 2022 16:59:46.486 * DB saved on disk
1039:C 25 Mar 2022 16:59:46.488 * RDB: 0 MB of memory used by copy-on-write
103:M 25 Mar 2022 16:59:46.572 * Background saving terminated with success
2022-03-25 17:12:31.465 UTC [1071] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-03-25 17:12:32.693 UTC [49] LOG:  using stale statistics instead of current ones because stats collector              is not responding
2022-03-25 17:12:51.921 UTC [49] LOG:  using stale statistics instead of current ones because stats collector              is not responding
2022-03-25 17:12:52.743 UTC [1072] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-03-25 17:13:11.927 UTC [49] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-03-25 17:13:22.051 UTC [49] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-03-25 17:13:28.279 UTC [1073] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-03-25 17:14:03.057 UTC [1074] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-03-25 17:14:12.206 UTC [49] LOG:  using stale stat  2022-03-25 17:41:20.824 UTC [49] LOG:  using stale statistics instead of current ones because stats collector is not responding
2022-03-25 17:43:19.064 UTC [49] LOG:  using stale statistics instead of current ones because stats collector is not responding

I don’t know anything about this stats collector plz help

Im also facing the same issue can any one help me out in this plz