Make sure to tell us:
-
What version are you upgrading from? 9.7.0.61562
-
System information (Operating system, Java version, Database provider/version): RHEL 7.9
Java versions:
openjdk version “18.0.2” 2022-07-10
openJDK Runtime Environment 21.9 (build 18.0.2+9)
openJDK 64bit server vm 21.9 (build 18.0.2+9, mixed mode, sharing) -
What’s the issue you’re facing?
We followed the upgrade instructions to unzip /sonarqube/sonarqube-9.9.0.65466 and edit the sonar.properties using the same inputs as in the previous version. We are unable to get the service to start and remain running. We are not getting a se.log in our log folder. We are only getting a sonar.log and nohup.log either of which are really helping us with the problem.
In the sonar.log file we are seeing:
[o.s.a.p.AbstractManagedProcess] Process exited with exit rule [ElasticSearch]:1
In our journalctl we are seeing:
Exception in thread “main” java.lang.unsupposrtedoperationException: The security Manager is deprecated and will be removed at a future release at java.base/java.lang.system.SetsecurityManager(system.java:416)
We have tried numerous fixes and none of the threads we’ve found have this exact issue. We are not trying to run the sonar.sh script as root and we’ve done several reboots.