vgutorov
(Vladimir Gutorov)
November 7, 2019, 8:19am
1
Hi, there!
After we upgraded our SonarQube Server DEVELOPER edition from 7.7.0 to LTS 7.9 we do not see C/C++ Plugin available as part of DEVELOPER edition. It advices to go for some additional commercial license, please refer to the attached screenshot. Is that correct?
Kind regards,
Vlad
Hi @vgutorov ,
Welcome to our community forum!
Can you confirm that you followed that documentation to upgrade from 7.7 to 7.9 LTS version of SonarQube? or, if not the case, share the path you followed to upgrade?
C and C++ languages analysers are available in Developer Edition and above: https://www.sonarsource.com/products/codeanalyzers/sonarcfamilyforc.html
You should be able to analyse your C and C++ projects with your current Developer license.
Carine
vgutorov
(Vladimir Gutorov)
November 7, 2019, 8:58am
3
Yes we followed the documentation, we run SonarQube in Docker. The Sonar Developer edition docker image is taken from Sonar private repository. We have new Sonar service (Version 7.9.1.27448) up and running without any problems for a few weeks already with most of the plugins you have in your Market place. And just now we got a request from one of our team who was using this C/C++ plugin. Our System says we run Developer editions, see a screenshot
attached. and the system health is ok.
I also noticed we have similar problems with other plugins which we do not currently use, but shall be able to use as part of Developer edition, like ABAP, Swift, PL/SQL.
Please advise on how to troubleshoot this problem.
Not sure I catch your problem in that case: it seems that you should be able to analyse your C and C++ projects, with your Developer Edition (in your screenshot, C and C++ analysis are included in your features).
Have you tried to analyse your projects?
Which plugin (as you mentioned a C/C++ plugin) were you using before?
Thanks,
Carine
vgutorov
(Vladimir Gutorov)
November 7, 2019, 9:38am
5
We have tried to analyse our C/C++ projects and it did not fly, this is how we realised that this plugin is missing.
Please refer to the original message, it contains a screenshot of the C/C++ plugin we used before and now can’t install. The name of the plugin is SonarCFamily (Code Analyzer for C, C++, and Objective-C).
in the previous system we had:
build 25-Oct-2019 08:16:15 08:16:15.358 DEBUG: Available languages:
build 25-Oct-2019 08:16:15 08:16:15.358 DEBUG: * CSS => “css”
build 25-Oct-2019 08:16:15 08:16:15.358 DEBUG: * PL/SQL => “plsql”
build 25-Oct-2019 08:16:15 08:16:15.358 DEBUG: * Scala => “scala”
build 25-Oct-2019 08:16:15 08:16:15.358 DEBUG: * C# => “cs”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Java => “java”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * HTML => “web”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * JSP => “jsp”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Flex => “flex”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * XML => “xml”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * TypeScript => “ts”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * VB.NET => “vbnet”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Swift => “swift”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * YAML => “yaml”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * C => “c”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * C++ => “cpp”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Objective-C => “objc”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Python => “py”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Go => “go”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Kotlin => “kotlin”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Shell => “shell”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * T-SQL => “tsql”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * JavaScript => “js”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Ruby => “ruby”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * Groovy => “grvy”
build 25-Oct-2019 08:16:15 08:16:15.359 DEBUG: * PHP => “php”
now we have:
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: Available languages:
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * CSS => “css”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * Scala => “scala”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * C# => “cs”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * Java => “java”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * HTML => “web”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * JSP => “jsp”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * Flex => “flex”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * XML => “xml”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * TypeScript => “ts”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * YAML => “yaml”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * Python => “py”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * Go => “go”
build 01-Nov-2019 08:42:21 08:42:21.599 DEBUG: * Kotlin => “kotlin”
build 01-Nov-2019 08:42:21 08:42:21.600 DEBUG: * Shell => “shell”
build 01-Nov-2019 08:42:21 08:42:21.600 DEBUG: * JavaScript => “js”
build 01-Nov-2019 08:42:21 08:42:21.600 DEBUG: * Ruby => “ruby”
build 01-Nov-2019 08:42:21 08:42:21.600 DEBUG: * Groovy => “grvy”
build 01-Nov-2019 08:42:21 08:42:21.600 DEBUG: * PHP => “php”
Kind regards,
Vlad
OlivierK
(Olivier Korach)
November 7, 2019, 10:05am
6
Hello @vgutorov ,
The CFamily plugin (C/C++/Objective-C) is a built-in part of the Developer Edition. There may be some download corruption of the zip or unwanted manual deletion after unzip to end up in your situation.
After unzipping here’s what you should have in the extensions/plugins directory:
sonarqube-7.9.1 $ ll extensions/plugins
total 266896
-rw-r--r-- 1 Olivier staff 224 Jul 10 13:21 README.txt
-rw-r--r-- 1 Olivier staff 1443735 Jul 10 13:21 sonar-abap-plugin-3.8.0.2034.jar
-rw-r--r-- 1 Olivier staff 287504 Jul 10 13:21 sonar-auth-github-plugin-1.5.0.870.jar
-rw-r--r-- 1 Olivier staff 3388540 Jul 10 13:21 sonar-auth-saml-plugin-1.1.0.181.jar
-rw-r--r-- 1 Olivier staff 27792073 Jul 10 13:21 sonar-cfamily-plugin-6.3.0.11371.jar
-rw-r--r-- 1 Olivier staff 4094975 Jul 10 13:21 sonar-csharp-plugin-7.15.0.8572.jar
-rw-r--r-- 1 Olivier staff 7015434 Jul 10 13:21 sonar-css-plugin-1.1.1.1010.jar
-rw-r--r-- 1 Olivier staff 1544789 Jul 10 13:21 sonar-flex-plugin-2.5.1.1831.jar
-rw-r--r-- 1 Olivier staff 3903342 Jul 10 13:21 sonar-go-plugin-1.1.1.2000.jar
-rw-r--r-- 1 Olivier staff 1727846 Jul 10 13:21 sonar-html-plugin-3.1.0.1615.jar
-rw-r--r-- 1 Olivier staff 15098 Jul 10 13:21 sonar-jacoco-plugin-1.0.2.475.jar
-rw-r--r-- 1 Olivier staff 8302745 Jul 10 13:21 sonar-java-plugin-5.13.1.18282.jar
-rw-r--r-- 1 Olivier staff 6866969 Jul 10 13:21 sonar-javascript-plugin-5.2.1.7778.jar
-rw-r--r-- 1 Olivier staff 7595999 Jul 10 13:21 sonar-kotlin-plugin-1.5.0.315.jar
-rw-r--r-- 1 Olivier staff 300503 Jul 10 13:21 sonar-ldap-plugin-2.2.0.608.jar
-rw-r--r-- 1 Olivier staff 5105268 Jul 10 13:21 sonar-php-plugin-3.2.0.4868.jar
-rw-r--r-- 1 Olivier staff 2141963 Jul 10 13:21 sonar-plsql-plugin-3.4.1.2576.jar
-rw-r--r-- 1 Olivier staff 2752167 Jul 10 13:21 sonar-python-plugin-1.14.1.3143.jar
-rw-r--r-- 1 Olivier staff 10036210 Jul 10 13:21 sonar-ruby-plugin-1.5.0.315.jar
-rw-r--r-- 1 Olivier staff 9202024 Jul 10 13:21 sonar-scala-plugin-1.5.0.315.jar
-rw-r--r-- 1 Olivier staff 2622236 Jul 10 13:21 sonar-scm-git-plugin-1.8.0.1574.jar
-rw-r--r-- 1 Olivier staff 7229293 Jul 10 13:21 sonar-scm-svn-plugin-1.9.0.1295.jar
-rw-r--r-- 1 Olivier staff 3656030 Jul 10 13:21 sonar-security-csharp-frontend-plugin-7.9.0.5105.jar
-rw-r--r-- 1 Olivier staff 1792257 Jul 10 13:21 sonar-security-java-frontend-plugin-7.9.0.5105.jar
-rw-r--r-- 1 Olivier staff 2065324 Jul 10 13:21 sonar-security-php-frontend-plugin-7.9.0.5105.jar
-rw-r--r-- 1 Olivier staff 3084060 Jul 10 13:21 sonar-security-plugin-7.9.0.5105.jar
-rw-r--r-- 1 Olivier staff 2378823 Jul 10 13:21 sonar-swift-plugin-4.1.0.3087.jar
-rw-r--r-- 1 Olivier staff 2181075 Jul 10 13:21 sonar-tsql-plugin-1.4.0.3334.jar
-rw-r--r-- 1 Olivier staff 2239156 Jul 10 13:21 sonar-typescript-plugin-1.9.0.3766.jar
-rw-r--r-- 1 Olivier staff 3580236 Jul 10 13:21 sonar-vbnet-plugin-7.15.0.8572.jar
-rw-r--r-- 1 Olivier staff 2242738 Jul 10 13:21 sonar-xml-plugin-2.0.1.2020.jar
If this is not the case, download and unzip again the SonarQube Developer Edition 7.9.1
Regards
vgutorov
(Vladimir Gutorov)
November 14, 2019, 1:45pm
7
Thanks! We solved the problem and we can close the issue now.
Hi Vladimir, How did you solved your problem.
I am experiencing it with TSQL.