ElasticSearch Exited Unexpectedly Error

Hi SonarQube team,
thank you for your continuous support…!
whenever i am trying to start SonarQube server by executing startsonar.bat command then SonarQube is starting but stopping immediately because of some Elasticsearch issue.
i am attaching img for your information.
MicrosoftTeams-image (13)|690x317

Looking forward to hearing from you.

Regards,
Ankush.

What do the server logs say?

Please find the logs in zip file and suggest the appropriate options.
sonarqube.zip (379.1 KB)

Thanks,
Ankush

Hey there.

It looks like another process is holding onto the Elasticsearch index.

I would suggest:

  • Killing all running Java proceses on your machine
  • Deleting the /data/es8 folder from your SonarQube installation directory
  • Restarting