-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container fails because ./logs/es.log #340
Comments
If we execute the following command: - docker run --rm library/sonarqube:latest id sonarqube We will see the following result uid=999(sonarqube) gid=999(sonarqube) groups=999(sonarqube) This means the To change the owner of chown -R 999:999 $SONARQUBE_HOME |
@charleech Thank you for your answer. I ended up installing the sonarqube natively but the official documentation for both the native installation and especially docker are not detailed and they ignore many small steps like this that make the installation a very slow process. |
mybe: 1.run command vi /etc/sysctl.conf |
@smrain I knew about the virtual memory and I executed all the required commands, the problem was clearly about the permission access and not the virtual memory. |
I am also getting the same error when trying to mount the volumes cannot open './logs/es.log' for reading: No such file or directory |
The current documentation is only for SQ 8 version. We are working on publishing as well the documentation for the 7.9 LTS version. Basically you need to use volume instead of binded-folder, and there is no |
The documentation is now up to date. Please follow the new instructions and reopen an issue if needed :) |
Hi @pierre-guillot-sonarsource .
If I only run the container with Thanks for your advice on this |
I am following the instructions of the docker hub to launch the sonarqube via docker. I am able to run the sonarqube without enviroment values and go to the web UI but when I run the command with the environment variables it fails.
What I did:
And the logs of sonarqube:
Can you please let me know how I can fix this problem?
The text was updated successfully, but these errors were encountered: