-
Notifications
You must be signed in to change notification settings - Fork 205
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
Sonarqube startup problem #8
Comments
Same here. Start up issue in openshift. 2018.04.19 01:05:51 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp | 2018.04.19 01:05:51 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001 |
Any workaround for this issue, facing the same in SonarQube 7.0 |
Looks like the /opt/sonarqube/data volume is owned by root which is preventing the services to start.
java.lang.IllegalStateException: Failed to created node environment
at org.elasticsearch.node.Node.(Node.java:167)
at org.elasticsearch.node.Node.(Node.java:140)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
at org.sonar.search.SearchServer.start(SearchServer.java:62)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:111)
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:98)
at org.sonar.search.SearchServer.main(SearchServer.java:109)
Caused by: java.nio.file.AccessDeniedException: /opt/sonarqube/data/es
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:169)
at org.elasticsearch.node.Node.(Node.java:165)
... 6 common frames omitted
The text was updated successfully, but these errors were encountered: