# Swift plugin is unavailable

**URL:** <https://community.sonarsource.com/t/swift-plugin-is-unavailable/19911>\
**Category:** SonarQube Server / Community Build\
**Created:** [February 10, 2020, 2:23pm UTC](https://community.sonarsource.com/t/swift-plugin-is-unavailable/19911 "2020-02-10T14:23:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gysel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/gysel/32/9341_2.png) [@gysel](https://community.sonarsource.com/u/gysel)\
**Post date:** [February 10, 2020, 2:23pm UTC](https://community.sonarsource.com/t/swift-plugin-is-unavailable/19911/1 "2020-02-10T14:23:20Z")

</div>

I upgraded from `7.9.2-community` to `8.1-developer-beta` with an evaluation license.

However I am not able to analyze Swift projects. The problem seems to be that the Swift plugin is not installed.

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/2/2ca21b6f13cbcb398e195d4fb45eadc7696702f5.png)

How can I resolve this issue?

The evaluation license is uploaded and I already deleted the plugins folder and reinstalled all other plugins.

---

<div class="post-metadata">

**Author:** ![gysel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/gysel/32/9341_2.png) [@gysel](https://community.sonarsource.com/u/gysel)\
**Post date:** [February 11, 2020, 8:23am UTC](https://community.sonarsource.com/t/swift-plugin-is-unavailable/19911/3 "2020-02-11T08:23:13Z")

</div>

I was able to find a workaround to this problem. The culprit seems to be that plugins that are part of the Developer Edition are not automatically added when you have an existing volume mount on `/opt/sonarqube/extensions`. This however is required when running in Docker/Kubernetes.

This is how manually added the missing plugins.

Run Sonarqube in a Docker container:

```bash
docker run --name sonar --rm -p 9000:9000 sonarqube:8.1-developer-beta

```

Copy all plugins from the running container: _(in a second bash)_

```bash
docker exec -it sonar ls /opt/sq/extensions/plugins
docker cp sonar:/opt/sq/extensions/plugins .

```

Then I compared the list of plugins, manually picked the missing plugins, and copied them into my Sonarqube running in Kubernetes:

```bash
kubectl cp sonar-xxx.jar sonar-pod:/opt/sq/extensions/plugins/

```
