Page 1 of 1

Sonarqube failing to start.

Posted: Wed Jul 11, 2018 6:04 pm
by Kel Solaar
Hi,

I'm trying to run Sonarqube, the container is created successfully but upon running I get a ton of `chown` errors:
[...]
chown: changing ownership of '/opt/sonarqube/web/js': Operation not permitted
chown: changing ownership of '/opt/sonarqube/web/mstile-512x512.png': Operation not permitted
chown: changing ownership of '/opt/sonarqube/web/robots.txt': Operation not permitted
chown: changing ownership of '/opt/sonarqube/web': Operation not permitted
chown: changing ownership of '/opt/sonarqube': Operation not permitted
Those are happening when the following line is executed: https://github.com/SonarSource/docker-s ... /run.sh#L9

I'm a bit unclear why it does that though.

Obviously, spawning a bash shell in the container (docker run -it --rm sonarqube bash) and running the chown command (chown -R sonarqube:sonarqube $SONARQUBE_HOME) yields the same result.

The container works fine on my laptop.

Re: Sonarqube failing to start.

Posted: Fri Jul 20, 2018 10:10 pm
by grantlittle
Did you get an answer to this. I've had similar issues installing a number of containers. The out of the box official elasticsearch container for example fails to start with a similar thing when starting it

chown: changing ownership of '/usr/share/elasticsearch/logs': Operation not permitted

I have no problems with these containers on a typical docker-ce installation so it sounds very similar to your issue