Closed Guimove closed 3 years ago
Go to the sonarqube-sonarqube-install-plugins config-map and remove the line rm /opt/sonarqube/extensions/downloads/*
from it. Then it should work. After it booted up you can add the line again.
We should add the -f
flag to this line. Then this would not fail when it does not find any files in the downloads directory.
rm -f /opt/sonarqube/extensions/downloads/*
I'll create a PR for this
I discovered that this should already be fixed in version 9.1.2 of the chart. Somehow Helm still pulls 9.1.1 and it does not find 9.1.2.
user@computer ~ $ helm show chart oteemocharts/sonarqube
apiVersion: v1
appVersion: 8.5.1-community
dependencies:
- condition: postgresql.enabled
name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 8.6.4
description: SonarQube is an open sourced code quality scanning tool
home: https://www.sonarqube.org/
icon: https://www.sonarqube.org/assets/logo-31ad3115b1b4b120f3d1efd63e6b13ac9f1f89437f0cf6881cc4d8b5603a52b4.svg
keywords:
- coverage
- security
- code
- quality
maintainers:
- email: rjkernick@gmail.com
name: rjkernick
- email: tsiddique@live.com
name: tsiddique
name: sonarqube
sources:
- https://github.com/SonarSource/docker-sonarqube
version: 9.1.1
You might have to run "helm repo update" before you run "helm show chart"
Thanks @rjkernick I think this issue is fixed in 9.1.2 and can be closed now
I confirm, for me it's resolved.
The other issue I get is that now built in plugins generate an error when installing the plugin with the same key.
So I was mandatory to remove some plugins from the list in my values.yml
to be able to start sonar.
The error was not clear because we've deployed Sonar on a Google Kubernetes Cluster using Terraform and all logs were not exported in stackdriver (the GCP log management tool) but after looking on the file web.log (after opening a bash session on my container), I was able to find errors like : Web server startup failed: Fail to update plugin: <XXX> Code Quality and Security. Built-in feature with same key already exists: <XXX>. Move or delete plugin from extensions/downloads directory
So now it's working fine. Thanks
Hello,
Since we have updated to helm chart 9.xx, Sonarqube is unable to start and stuck in crashloop.
Here is the list of plugins we try to install :
Cloud you please provide some help ?