Hi Team,
I am Installing SonarQube 9.9.1 LTS latest version and Postgresql Database installing 15.3 LTS version, and I am trying to integrate with Postgresql.
I am using Java version 17 LTS
While starting by switching from sonar user I am getting Elastic Search issue:
INFO es[o.e.g.GatewayService] recovered [7] indices into cluster_state
I removed the /opt/sonar/data/es7 directory.
Have taken RAM(Memory) 16GB on my VM
Postgresql service is UP and running
DB User: sonar
DB PWD: sonar*xxxx
DB Name: sonar
Integrating with Sonar is /opt/sonar/conf/sonar.properties file
sonar.jdbc.username=sonar
sonar.jdbc.password=sonar*xxxxx
sonar.jdbc.url=jdbc:postgresql://localhost:5432/sonar
Have given Memory for ES as follows:
sonar.web.javaAdditionalOpts=-Xmx2G
sonar.ce.javaAdditionalOpts=-Xmx6G -XX:+HeapDumpOnOutOfMemoryError
sonar.search.javaAdditionalOpts=-Xmx6G -Xms6G -XX:+HeapDumpOnOutOfMemoryError -Dnode.store.allow_mmap=false
But still getting an issue.
I am using RHEL9 OS Version.
With H2 internal DB the Sonar 9.9.1 version is working as expected.
Can you please help me to make sonarqube as up and running.....
Best Regards,
Praveen.