# Help in regards to sonarqube 8.9 extension plugins

**URL:** <https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886>\
**Category:** SonarQube Server / Community Build\
**Tags:** 8-9-lts-upgrade\
**Created:** [May 27, 2021, 1:30pm UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886 "2021-05-27T13:30:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattymcn95](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mattymcn95](https://community.sonarsource.com/u/mattymcn95)\
**Post date:** [May 27, 2021, 1:30pm UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886/1 "2021-05-27T13:30:10Z")

</div>

Hi All,

I have now upgraded by Sonarqube instance in DEV test environment from 7.9 to 8.9 LTS and was wondering why there is no plugins installed in conf/extensions/plugins and when i tried to copy across from old version Sonarqube was unable to start up. Attached upload shows current plugins in 7.9

Is

 ![plugins](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/b/f/bfc3e65014a96de14ce7641eb79c9a7863919739.png)

Thanks,  
Matthew

---

<div class="post-metadata">

**Author:** ![Tobias\_Trabelsi](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tobias_trabelsi/32/31755_2.png) [@Tobias\_Trabelsi](https://community.sonarsource.com/u/Tobias_Trabelsi)\
**Post date:** [May 27, 2021, 1:57pm UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886/2 "2021-05-27T13:57:13Z")

</div>

Hi @mattymcn95 ,

take a look at the post [here](https://community.sonarsource.com/t/sonarqube-v8-5-and-beyond-where-did-all-the-plugins-go/32792) for explanation.  
the language analyzers from sonarsource are now shipped with each release and the directory in question is only for 3rd party plugins. This change was introduced with sonarqube 8.5

hope that helps 🙂

---

<div class="post-metadata">

**Author:** ![ianw](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@ianw](https://community.sonarsource.com/u/ianw)\
**Post date:** [May 28, 2021, 10:22am UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886/3 "2021-05-28T10:22:28Z")

</div>

I encountered the same problem when we went from LTS to LTS. No all of us are “eagle-eyed SonarQube operators” or have the time to read all the Community postings.

Years of habit; you copy over your existing plugins into the new version’s extensions/plugins directory. Yet this time we saw no UI, and this in the logs:

```
 ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: The following plugins are no longer compatible with this version of SonarQube: 'authgithub', 'authsaml', 'ldap', 'scmgit', 'scmsvn'
 ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Found a plugin 'SonarJS' in the directory 'extensions/plugins' with the same key [javascript] as a built-in feature 'JavaScript/TypeScript Code Quality and Security'. Please remove 'extensions/plugins/sonar-javascript-plugin-6.2.2.13315.jar'.

```

The first error was clear, but the second only triggered for [javascript], even though I had 5 language plugins (Java, typescript, XML, HTML); weird.

So, I started up with an empty directory and reinstalled from the UI, to then also curse wondering "Where did all the language plugins in the Marketplace go? My concern with approach is any custom settings may disappear if the plugin were not present.

Even in retrospect, reading the [8.5 Release Notes](https://docs.sonarqube.org/latest/setup/upgrade-notes/#header-5),

> [@](#):
>
> **Upgrade simplified: Languages, GIT and SVN support now built-in**  
> Languages provided with your edition and support for GIT and SVN version control are now built-in and don’t require plugins. If you were using these plugins, you need to remove them from SonarQube before upgrading

is not clear what “_don’t require plugins_” means (hint: copy them and your app will gracefully crash on startup).

I’ll also note the blog Post : [SonarQube 8.9 LTS: 3 steps to a smooth upgrade](https://blog.sonarsource.com/sonarqube-lts-89-upgrade) only mentions to evaluate third-party plugins, so no smooth upgrade experience here.

It should be clearly stated in the documentation to not copy over any plugins, except third-party plugins, or to not copy any over, then install via the UI after startup (assuming plugin settings are preserved). ie:  
“[Install a Plugin](https://docs.sonarqube.org/latest/setup/install-plugin/)”  
“[Upgrade the Server](https://docs.sonarqube.org/latest/setup/upgrading/)”  
"[LTS to LTS Release Upgrade Notes](https://docs.sonarqube.org/latest/setup/lts-to-lts-upgrade-notes/)"

Slightly related (but a separate question)… If:

> [@](#):
>
> **If there are no plugins, how do I upgrade my analyzers?**
> 
> Each minor release of SonarQube will contain all the cumulative language analysis upgrades made since the previous release.

Does that mean we can only expect plugin updates and rules updates as part of an incremental LTS release and does that imply there will be MORE minor LTS releases just to get updated (Non-) language plugins and rules ? Seem like overkill.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [May 31, 2021, 3:32pm UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886/4 "2021-05-31T15:32:32Z")

</div>

Hey there.

To respond to this point:

> [@ianw](#):
>
> Does that mean we can only expect plugin updates and rules updates as part of an incremental LTS release and does that imply there will be MORE minor LTS releases just to get updated (Non-) language plugins and rules ? Seem like overkill.

You can read more about this here:

> [@New language features now available exclusively in latest SonarQube versions](https://community.sonarsource.com/t/new-language-features-now-available-exclusively-in-latest-sonarqube-versions/30488):
>
> Hello SonarQube sonarqube Community, Version after version, SonarQube offers new features and improvements for 27 languages. From now on, the future additions to languages will be available only in new releases of SonarQube. In practice, previous SonarQube versions, including the 7.9 LTS, will stop offering the ability to upgrade language analysis to benefit from features added in the future versions of the product. Why? We thought hard about this and, in the end, it came down to the choice …

---

<div class="post-metadata">

**Author:** ![ianw](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@ianw](https://community.sonarsource.com/u/ianw)\
**Post date:** [May 31, 2021, 10:39pm UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886/5 "2021-05-31T22:39:43Z")

</div>

Colin,

Your reference answers the related (but separate) question. The key point should be addressed:

> [@ianw](#):
>
> It should be clearly stated in the documentation to not copy over any plugins, except third-party plugins, or to not copy any over, then install via the UI after startup (assuming plugin settings are preserved). ie:  
> “[Install a Plugin](https://docs.sonarqube.org/latest/setup/install-plugin/)”  
> “[Upgrade the Server](https://docs.sonarqube.org/latest/setup/upgrading/)”  
> “[LTS to LTS Release Upgrade Notes](https://docs.sonarqube.org/latest/setup/lts-to-lts-upgrade-notes/)”

---

<div class="post-metadata">

**Author:** ![hetal\_rathod](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/hetal_rathod/32/35887_2.png) [@hetal\_rathod](https://community.sonarsource.com/u/hetal_rathod)\
**Post date:** [August 10, 2022, 8:58am UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886/6 "2022-08-10T08:58:24Z")

</div>

> [@ianw](#):
>
> ```auto
> ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Found a plugin 'SonarJS' in the directory 'extensions/plugins' with the same key [javascript] as a built-in feature 'JavaScript/TypeScript Code Quality and Security'. Please remove 'extensions/plugins/sonar-javascript-plugin-6.2.2.13315.jar'.
> 
> ```

Hi Ian,

I am stuck with the same error. Can you help me resolve the same?

Regards,  
Hetal

---

<div class="post-metadata">

**Author:** ![ianw](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@ianw](https://community.sonarsource.com/u/ianw)\
**Post date:** [August 10, 2022, 6:28pm UTC](https://community.sonarsource.com/t/help-in-regards-to-sonarqube-8-9-extension-plugins/43886/7 "2022-08-10T18:28:14Z")

</div>

IIRC  
, the guidance was to NOT copy the extensions when doing an upgrade. following the upgrade, reapply the plugins from the UI. Delete: `extensions/plugins/*`.
