Thank you Randy. that was very easy, updated through rpm to elasticsearch 7.16.9, updated the forum.
But now elastic related functions are broken on the website. For instance, this is the error I see in the activity stream page. Can someone help me fix the problem please.