{"action":"created","issue":{"url":"https://api.github.com/repos/SonarSource/docker-sonarqube/issues/62","repository_url":"https://api.github.com/repos/SonarSource/docker-sonarqube","labels_url":"https://api.github.com/repos/SonarSource/docker-sonarqube/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/SonarSource/docker-sonarqube/issues/62/comments","events_url":"https://api.github.com/repos/SonarSource/docker-sonarqube/issues/62/events","html_url":"https://github.com/SonarSource/docker-sonarqube/issues/62","id":197868593,"number":62,"title":"java.nio.file.NoSuchFileException: /opt/sonarqube/temp/README.txt","user":{"login":"LazGit","id":12957893,"avatar_url":"https://avatars1.githubusercontent.com/u/12957893?v=4","gravatar_id":"","url":"https://api.github.com/users/LazGit","html_url":"https://github.com/LazGit","followers_url":"https://api.github.com/users/LazGit/followers","following_url":"https://api.github.com/users/LazGit/following{/other_user}","gists_url":"https://api.github.com/users/LazGit/gists{/gist_id}","starred_url":"https://api.github.com/users/LazGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LazGit/subscriptions","organizations_url":"https://api.github.com/users/LazGit/orgs","repos_url":"https://api.github.com/users/LazGit/repos","events_url":"https://api.github.com/users/LazGit/events{/privacy}","received_events_url":"https://api.github.com/users/LazGit/received_events","type":"User","site_admin":false},"labels":[{"id":208240762,"url":"https://api.github.com/repos/SonarSource/docker-sonarqube/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-12-28T15:16:05Z","updated_at":"2017-09-29T07:43:17Z","closed_at":"2017-08-13T21:18:26Z","author_association":"NONE","body":"Hello,\r\n\r\nI'm using sonarqube:alpine with docker. I always get an error during a restart :\r\n```\r\n2016.12.28 07:00:34 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp\r\nException in thread \"main\" java.lang.RuntimeException: Failed to reset file system\r\n        at org.sonar.process.monitor.Monitor.resetFileSystem(Monitor.java:133)\r\n        at org.sonar.process.monitor.Monitor.startProcesses(Monitor.java:113)\r\n        at org.sonar.process.monitor.Monitor.start(Monitor.java:107)\r\n        at org.sonar.application.App.start(App.java:73)\r\n        at org.sonar.application.App.main(App.java:184)\r\nCaused by: java.nio.file.NoSuchFileException: /opt/sonarqube/temp/README.txt\r\n```\r\nBut the file '/opt/sonarqube/temp/README.txt' does not exist. Everything works fine if I create the file manually.\r\nThe problem occurs during a docker restart or sonarqube restart after installing plugins."},"comment":{"url":"https://api.github.com/repos/SonarSource/docker-sonarqube/issues/comments/333055494","html_url":"https://github.com/SonarSource/docker-sonarqube/issues/62#issuecomment-333055494","issue_url":"https://api.github.com/repos/SonarSource/docker-sonarqube/issues/62","id":333055494,"user":{"login":"thienan93","id":10244759,"avatar_url":"https://avatars0.githubusercontent.com/u/10244759?v=4","gravatar_id":"","url":"https://api.github.com/users/thienan93","html_url":"https://github.com/thienan93","followers_url":"https://api.github.com/users/thienan93/followers","following_url":"https://api.github.com/users/thienan93/following{/other_user}","gists_url":"https://api.github.com/users/thienan93/gists{/gist_id}","starred_url":"https://api.github.com/users/thienan93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thienan93/subscriptions","organizations_url":"https://api.github.com/users/thienan93/orgs","repos_url":"https://api.github.com/users/thienan93/repos","events_url":"https://api.github.com/users/thienan93/events{/privacy}","received_events_url":"https://api.github.com/users/thienan93/received_events","type":"User","site_admin":false},"created_at":"2017-09-29T07:43:17Z","updated_at":"2017-09-29T07:43:17Z","author_association":"NONE","body":"I used docker-compose and volumes:\r\n```\r\nversion: '2'\r\nservices:\r\n  sonarqube:\r\n    restart: always\r\n    image: sonarqube\r\n    ports:\r\n      - \"9000:9000\"\r\n    networks:\r\n      - sonarnet\r\n    environment:\r\n      - SONARQUBE_JDBC_URL=jdbc:postgresql://postgre:5432/sonar\r\n    volumes:\r\n      - /opt/sonarqube/conf:/opt/sonarqube/conf\r\n      - /opt/sonarqube/data:/opt/sonarqube/data\r\n      - /opt/sonarqube/extensions:/opt/sonarqube/extensions\r\n      - /opt/sonarqube/bundled-plugins:/opt/sonarqube/lib/bundled-plugins\r\n      - /opt/sonarqube/temp:/opt/sonarqube/temp\r\n    command: -Dhttps.proxyHost=192.168.1.100 -Dhttps.proxyPort=8080 -Dhttp.proxyHost=192.168.1.100 -Dhttp.proxyPort=8080\r\n  postgre:\r\n    restart: always\r\n    image: postgres\r\n    networks:\r\n      - sonarnet\r\n    environment:\r\n      - POSTGRES_USER=sonar\r\n      - POSTGRES_PASSWORD=sonar\r\n    volumes:\r\n      - /opt/sonarqube/postgresql:/var/lib/postgresql\r\n      - /opt/sonarqube/postgresql/data:/var/lib/postgresql/data\r\nnetworks:\r\n  sonarnet:\r\n    driver: bridge\r\n```"}}
{"actor":{"display_login":"thienan93"}}