Docker-sonarqube: 6.7.6-community fails on kubernetes: mkdir: cannot create directory ‘/scripts’: Permission denied

Created on 3 Dec 2018  Â·  6Comments  Â·  Source: SonarSource/docker-sonarqube

Hi,

I tried to upgrade from 6.7.5 to 6.7.6-community but I have got this error in the logs:

mkdir: cannot create directory ‘/scripts’: Permission denied
and the pod fails to start

It seems related to https://github.com/SonarSource/docker-sonarqube/pull/222

Most helpful comment

I get the same problem in 7.4-community

All 6 comments

I get the same problem in 7.4-community

use the helm version they have fixed that already
https://github.com/helm/charts/tree/master/stable/sonarqube

the helm version is still having this error

use the helm version they have fixed that already
https://github.com/helm/charts/tree/master/stable/sonarqube

Nope they didnt.. the issue is still there.

Initially I had the same problem

First of all, update your repo

$ helm repo update

Than make sure you have the last version 0.10.3

$ helm search sonarqube -l

NAME                CHART VERSION   APP VERSION DESCRIPTION                                       
stable/sonarqube    0.10.3          6.7.6       Sonarqube is an open sourced code quality scann...
stable/sonarqube    0.10.2          6.7.6       Sonarqube is an open sourced code quality scann...
stable/sonarqube    0.10.1          6.7.3       Sonarqube is an open sourced code quality scann...
stable/sonarqube    0.9.1           6.7.3       Sonarqube is an open sourced code quality scann...
...

Now you can install or upgrade

$ helm upgrade --values my-values.yaml  sonarqube stable/sonarqube

Looks like this is related to Helm and not belongs here

Was this page helpful?
0 / 5 - 0 ratings

Related issues

avarf picture avarf  Â·  8Comments

vishalsvayam picture vishalsvayam  Â·  6Comments

jasonrhaas picture jasonrhaas  Â·  9Comments

michal-duda-sonarsource picture michal-duda-sonarsource  Â·  6Comments

davidlaughlin picture davidlaughlin  Â·  6Comments