Unable to run Elastic search in sonarqube 9.9

Hi Team,

I have upgraded enterprise edition form 8.9 to 9.9 i am facing error cannot run elasticsearch as root but i am not using root user i am using sonar user.

Thanks & Regards,
Vedanth Pulipati.

Hi Vendanth,

That error is coming straight from the Elasticsearch embedded in SonarQube. It’s detecting that root is being used. I’m not sure where it’s being switched from sonar to root, but Elasticsearch is telling you that’s what happened.