Hello.
I am running SonarQube 7.2.1.14109 (Community Edition).
If I go to Administration > Adminstration, and If I look for a plugin in the Plugins box, my plugin search always ends up with “0 shown”.
Why?
Is this because I am using Community Edition?!
How can I install plugins from the marketplace?
EDIT: I’ve check and this maybe something with my internet connection. I have some blocked web access. SO maybe that is why this is not working. But with internet connection this should work even for Community edition?
I am using sonar qube enterprise version 7.6 and i have internet access and verified the url’s market place is trying to connect. I have also configured the right proxy and port in sonar properties. I would want to install pmd, checkstyple plugins in sonar qube portal but it is not showing up in the search list under market place tab, i am not even seeing any errors in the logs. Please suggest.
After using Sonarqube 6.7 version, i am able to view the checkstyle and pmd in the search list under marketplace. But while trying to install i get the below error. Please suggest.
java.lang.IllegalStateException: Unable to read plugin manifest from jar : D:\sonarqube-6.7.6\extensions\downloads\checkstyle-sonar-plugin-4.17.jar.
The Plugin Version Matrix clearly shows that Checkstyle and PMD aren’t compatible with the latest versions of SonarQube. That’s why you don’t see them in the Marketplace, and that incompatibility is the reason you get an error at startup when you install them anyway.
The only thing ‘clearly showed’ is that the aforementioned page is not available. You should be less rude when answering a user (and take better care of documentation, always absent)
So you know, the plugin version matrix corresponds directly to what shows up in the Marketplace. If you’re not seeing the plugin in the Marketplace, the matrix will “clearly show” that it’s not compatible. I.e. if you manually install a plugin the marketplace won’t give you, and the matrix shows it’s not compatible, it’s reasonable to expect an error.
Hi Campbell ,
I am currently using sonar qube 7.6 community edition. And cannot see any of the plugins.
My interest is for the pitest(or now mutation analysis plugin).
Even in the plugin matrix u shared, it gowes lowest to 8.9 version.
Can you please extend some help here? Is this behaviour intended and i need to update my sonar qube to access plugins or am is missing something here.
Hi Campbell To continue conversation of Debangshu , I have updated my java version to 17 and installed sonarqube 9.9 community version but post starting the script it is giving error with status code 143, below is the exact nohup log.
Can you please suggest what is missing!
Log:-
2023.03.13 18:27:01 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube-9.9.0.65466/temp
2023.03.13 18:27:01 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:10833]
2023.03.13 18:27:02 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube-9.9.0.65466/elasticsearch]: /opt/sonarqube-9.9.0.65466/elasticsearch/bin/elasticsearch
2023.03.13 18:27:02 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2023.03.13 18:27:08 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2023.03.13 18:27:08 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube-9.9.0.65466]: /usr/lib/jvm/jdk-17-oracle-x64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube-9.9.0.65466/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.9.0.65466.jar:/opt/sonarqube-9.9.0.65466/lib/jdbc/h2/h2-2.1.214.jar org.sonar.server.app.WebServer /opt/sonarqube-9.9.0.65466/temp/sq-process10322815267043224128properties
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube-9.9.0.65466/lib/sonar-application-9.9.0.65466.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2023.03.13 18:27:10 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2023.03.13 18:27:10 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2023.03.13 18:27:10 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2023.03.13 18:27:10 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
This is the same topic as I am doing the exact same thing, i have upgraded my sonarqube to 9.9 and java version to 17 as per documentation but still I am facing some issue, i have shared sample log above, please let me know where i went wrong.