LTS Chart : Can't download any plugin

Hello,
When I use the Sonar’s chart with the LTS version 1.0.26, I can’t download any plugins.
Here’s a part of my helmfile (part about the plugins) :

plugins:
  install:
  - https://github.com/elegoff/sonar-rust/releases/download/v0.0.9/community-rust-plugin-0.0.9.jar
  - https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/download/1.8.1/sonarqube-community-branch-plugin-1.8.1.jar
  lib:
  - sonarqube-community-branch-plugin-1.8.1.jar
sonarProperties:
  jvmOpts: "-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.8.1.jar=web"
  jvmCeOpts: "-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.8.1.jar=ce"

When I do my helmfile apply, there are no installed plugins.
Thanks for your help

Hello @Yanis_Corselle
I was able to deploy an LTS version with your exact configuration, and the plugins where correctly installed.
Could you please check if the plugin are installed in Administration > Marketplace (They should be marked “Installed”)
Also provide the logs for the install-plugin container and sonarque container:

kubectl logs sonarqube-sonarqube-lts-0 install-plugins
kubectl logs sonarqube-sonarqube-lts-0

You can also check the download folder (it should be empty)

kubectl  exec sonarqube-sonarqube-lts-0 -- ls /opt/sonarqube/extensions/download

And check the plugins folder (there should be your plugins):

kubectl  exec sonarqube-sonarqube-lts-0 -- ls /opt/sonarqube/extensions/plugins

Hello,
Thanks for your answer,
There are no installed plugins on Administration > Marketplace and before creating the issue there, I cretaed it on github and someone answered that, he had the same issue, so i’m not the only one.
I’ll send you the logs in the next message.

yanis@debian-yanis:~$ kubectl logs sonarqube-sonarqube-lts-0 install-plugins
W0602 15:01:22.842466 101805 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
Error from server (NotFound): pods “sonarqube-sonarqube-lts-0” not found
yanis@debian-yanis:~$ kubectl logs sonarqube-lts-sonarqube-lts-0 install-pluginsW0602 15:01:45.638643 102091 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
Error from server (NotFound): pods “sonarqube-lts-sonarqube-lts-0” not found

So the pod in question doesn’t even exist

It doesn’t see any of these pods while I see them on the Google Cloud Console and can access it on the web UI.

Sorry, regarding the commands I provided, you need to adapt it so it targets the correct namespace/pod name

I just looked again at our UI and it looks that now, they are installed. Maybe a bug during the deployment and it installed while rebooting ?

Hello,

Did you restart the pod to see the plugins activated in the interface?

Yes, it activated itself after a restart but we already tried a few times to restart and nothing happened the other times so i don’t understand