Docker-sonarqube: SonarQube crashed when start docker-compose with sonarqube:7.9-community

Created on 8 Jul 2019  路  13Comments  路  Source: SonarSource/docker-sonarqube

Error Logs

[root@hello word]# docker logs sonarqube -f
2019.07.08 06:23:42 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.07.08 06:23:42 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.08 06:23:43 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.07.08 06:23:43 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.08 06:23:43 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.08 06:23:43 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007faf54628537, pid=33, tid=257
#
# JRE version: OpenJDK Runtime Environment (11.0.3+7) (build 11.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+7, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# J 5073 c2 com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.calcHash([II)I (115 bytes) @ 0x00007faf54628537 [0x00007faf54628420+0x0000000000000117]
#
# Core dump will be written. Default location: /opt/sonarqube/elasticsearch/core.33
#
[thread 262 also had an error]
[thread 219 also had an error]
[thread 260 also had an error]
[thread 258 also had an error]
# An error report file with more information is saved as:
# ../logs/es_hs_err_pid33.log
[thread 259 also had an error]
Compiled method (c1)   17957 4003       3       com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer::findName (198 bytes)
 total in heap  [0x00007faf4d9cc110,0x00007faf4d9cd040] = 3888
 relocation     [0x00007faf4d9cc288,0x00007faf4d9cc370] = 232
 main code      [0x00007faf4d9cc380,0x00007faf4d9ccb40] = 1984
 stub code      [0x00007faf4d9ccb40,0x00007faf4d9ccc48] = 264
 oops           [0x00007faf4d9ccc48,0x00007faf4d9ccc50] = 8
 metadata       [0x00007faf4d9ccc50,0x00007faf4d9ccc60] = 16
 scopes data    [0x00007faf4d9ccc60,0x00007faf4d9ccd80] = 288
 scopes pcs     [0x00007faf4d9ccd80,0x00007faf4d9ccfd0] = 592
 dependencies   [0x00007faf4d9ccfd0,0x00007faf4d9ccfd8] = 8
 nul chk table  [0x00007faf4d9ccfd8,0x00007faf4d9cd040] = 104
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
2019.07.08 06:24:03 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 134
2019.07.08 06:24:03 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.07.08 06:24:03 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

docker-compose.yml

version: "3"

services:
  sonarqube:
    image: sonarqube:7.9-community
    command: -Dsonar.ce.javaOpts=-Xmx8192m -Dsonar.web.javaOpts=-Xmx8192m
    restart: unless-stopped
    container_name: sonarqube
    depends_on:
      - sonarqube_db
    ports:
      - "9000:9000"
    networks:
      - sonar-net
    environment:
      - SONARQUBE_JDBC_URL=jdbc:postgresql://sonarqube_db:5432/sonar
      - SONARQUBE_JDBC_USERNAME=sonar
      - SONARQUBE_JDBC_PASSWORD=sonar
    volumes:
      - sonarqube_conf:/opt/sonarqube/conf
      - sonarqube_data:/opt/sonarqube/data
      - sonarqube_extensions:/opt/sonarqube/extensions
      - sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins

  sonarqube_db:
    image: postgres
    container_name: sonarqube_db
    restart: unless-stopped
    networks:
      - sonar-net
    environment:
      - POSTGRES_USER=sonar
      - POSTGRES_PASSWORD=sonar
    volumes:
      - "/data/sonarqube/postgresql:/var/lib/postgresql"
      - "/data/sonarqube/postgresql_data:/var/lib/postgresql/data"

networks:
  sonar-net:
    external: true

volumes:
  sonarqube_conf:
  sonarqube_data:
  sonarqube_extensions:
  sonarqube_bundled-plugins:

docker info

Containers: 27
 Running: 27
 Paused: 0
 Stopped: 0
Images: 207
Server Version: 18.09.7
Storage Driver: overlay2
 Backing Filesystem: xfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 5.0.2-1.el7.elrepo.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 48
Total Memory: 377.9GiB
Name: xia01-i01-dck02.lab.rcch.ringcentral.com
ID: BAMX:AP3R:KWCW:RAJ6:JIZY:HMGJ:5LEL:UV6R:C5LM:OPA6:GUGT:72P3
Docker Root Dir: /opt/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 236
 Goroutines: 206
 System Time: 2019-07-08T02:32:22.582442535-04:00
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 127.0.0.0/8
Registry Mirrors:
 https://registry.docker-cn.com/
Live Restore Enabled: false
Product License: Community Engine

Most helpful comment

Reproduce Step

  1. execute docker volume prune to make sure no any volumes, everything is new.

  2. execute docker-compose -f docker-compose.yml up -d to start the sonarqube, wait for it start complete.

2019.07.10 07:58:44 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube]: /usr/local/openjdk-11/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED -Xmx1192m -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process3546502064102778970properties
2019.07.10 07:58:46 INFO  ce[][o.s.p.ProcessEntryPoint] Starting ce
2019.07.10 07:58:46 INFO  ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] no modules loaded
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.10 07:58:52 INFO  ce[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2019.07.10 07:58:52 INFO  ce[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarqube_db:5432/sonar
2019.07.10 07:58:55 INFO  ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2019.07.10 07:58:56 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
2019.07.10 07:58:58 INFO  ce[][o.s.c.c.ComputeEngineContainerImpl] Running Developer edition
2019.07.10 07:58:59 INFO  ce[][o.s.ce.app.CeServer] Compute Engine is operational
2019.07.10 07:58:59 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.07.10 07:58:59 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
  1. stop the sonarqube docker-compose -f docker-compose.yml down
Stopping sonarqube    ... done
Stopping sonarqube_db ... done
Removing sonarqube    ... done
Removing sonarqube_db ... done
Network snoar-net is external, skipping
  1. start the sonar again docker-compose -f docker-compose.yml up -d
[root@helloworld]# docker-compose -f docker-compose.yml up -d
Creating sonarqube_db ... done
Creating sonarqube    ... done
[root@helloworld]# docker logs sonarqube -f
2019.07.10 08:14:49 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.07.10 08:14:49 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.10 08:14:49 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.07.10 08:14:49 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.10 08:14:50 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.10 08:14:50 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
^[[A#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f9afc655237, pid=31, tid=256
#
# JRE version: OpenJDK Runtime Environment (11.0.3+7) (build 11.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+7, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# J 5060 c2 com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.calcHash([II)I (115 bytes) @ 0x00007f9afc655237 [0x00007f9afc655120+0x0000000000000117]
#
# Core dump will be written. Default location: /opt/sonarqube/elasticsearch/core.31
#
# An error report file with more information is saved as:
# ../logs/es_hs_err_pid31.log
Compiled method (c1)   19773 4627       3       sun.nio.ch.Util::offerFirstTemporaryDirectBuffer (53 bytes)
 total in heap  [0x00007f9af51abe10,0x00007f9af51acce8] = 3800
 relocation     [0x00007f9af51abf88,0x00007f9af51ac070] = 232
 main code      [0x00007f9af51ac080,0x00007f9af51ac960] = 2272
 stub code      [0x00007f9af51ac960,0x00007f9af51aca58] = 248
 metadata       [0x00007f9af51aca58,0x00007f9af51aca90] = 56
 scopes data    [0x00007f9af51aca90,0x00007f9af51acb30] = 160
 scopes pcs     [0x00007f9af51acb30,0x00007f9af51acca0] = 368
 dependencies   [0x00007f9af51acca0,0x00007f9af51acca8] = 8
 nul chk table  [0x00007f9af51acca8,0x00007f9af51acce8] = 64
Compiled method (c1)   19773 3973       3       com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer::findName (198 bytes)
 total in heap  [0x00007f9af59c3510,0x00007f9af59c4440] = 3888
 relocation     [0x00007f9af59c3688,0x00007f9af59c3770] = 232
 main code      [0x00007f9af59c3780,0x00007f9af59c3f40] = 1984
 stub code      [0x00007f9af59c3f40,0x00007f9af59c4048] = 264
 oops           [0x00007f9af59c4048,0x00007f9af59c4050] = 8
 metadata       [0x00007f9af59c4050,0x00007f9af59c4060] = 16
 scopes data    [0x00007f9af59c4060,0x00007f9af59c4180] = 288
 scopes pcs     [0x00007f9af59c4180,0x00007f9af59c43d0] = 592
 dependencies   [0x00007f9af59c43d0,0x00007f9af59c43d8] = 8
 nul chk table  [0x00007f9af59c43d8,0x00007f9af59c4440] = 104
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
2019.07.10 08:15:12 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 134
2019.07.10 08:15:12 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.07.10 08:15:12 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

here is my docker-compose.yml

version: "3"

services:
  sonarqube:
    image: sonarqube:7.9-community
    command: -Dsonar.ce.javaOpts=-Xmx1192m -Dsonar.web.javaOpts=-Xmx1192m
    restart: unless-stopped
    container_name: sonarqube
    depends_on:
      - sonarqube_db
    ports:
      - "9000:9000"
    networks:
      - sonar-net
    environment:
      - SONARQUBE_JDBC_URL=jdbc:postgresql://sonarqube_db:5432/sonar
      - SONARQUBE_JDBC_USERNAME=sonar
      - SONARQUBE_JDBC_PASSWORD=sonar
    volumes:
      - sonarqube_conf:/opt/sonarqube/conf
      - sonarqube_data:/opt/sonarqube/data
      - sonarqube_extensions:/opt/sonarqube/extensions
      - sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins

  sonarqube_db:
    image: postgres
    container_name: sonarqube_db
    restart: unless-stopped
    networks:
      - sonar-net
    environment:
      - POSTGRES_USER=sonar
      - POSTGRES_PASSWORD=sonar
    volumes:
      - postgresql:/var/lib/postgresql
      - postgresql_data:/var/lib/postgresql/data

networks:
  sonar-net:
    external: true

volumes:
  sonarqube_conf:
  sonarqube_data:
  sonarqube_extensions:
  sonarqube_bundled-plugins:
  postgresql:
  postgresql_data:

All 13 comments

Hello,

Your docker-compose work for me with few modification :

  • using less memory -Dsonar.ce.javaOpts=-Xmx1192m -Dsonar.web.javaOpts=-Xmx1192m
  • using named volume instead of direct binding :
    volumes:
      - postgresql:/var/lib/postgresql
      - postgresql_data:/var/lib/postgresql/data

With the declaration of theses in the volume list at the end :

volumes:
  sonarqube_conf:
  sonarqube_data:
  sonarqube_extensions:
  sonarqube_bundled-plugins:
  postgresql:
  postgresql_data:

Could you please try this, starting with an empty db ?

Hello,

Your docker-compose work for me with few modification :

  • using less memory -Dsonar.ce.javaOpts=-Xmx1192m -Dsonar.web.javaOpts=-Xmx1192m
  • using named volume instead of direct binding :
    volumes:
      - postgresql:/var/lib/postgresql
      - postgresql_data:/var/lib/postgresql/data

With the declaration of theses in the volume list at the end :

volumes:
  sonarqube_conf:
  sonarqube_data:
  sonarqube_extensions:
  sonarqube_bundled-plugins:
  postgresql:
  postgresql_data:

Could you please try this, starting with an empty db ?

Hi Pierre
It's OK when I start new sonarqube from docker-compose without any data(I had removed all volumes and start.)
but It will failed when I upgrade from 7.8.

The issue looks elasticsearch related. Have you tried to start with your db, but with a clean sonarqube_data volume ? (specifically the es6 folder). This will make SonarQube repopulate the elasticsearch indexes from the db.

Reproduce Step

  1. execute docker volume prune to make sure no any volumes, everything is new.

  2. execute docker-compose -f docker-compose.yml up -d to start the sonarqube, wait for it start complete.

2019.07.10 07:58:44 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube]: /usr/local/openjdk-11/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED -Xmx1192m -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process3546502064102778970properties
2019.07.10 07:58:46 INFO  ce[][o.s.p.ProcessEntryPoint] Starting ce
2019.07.10 07:58:46 INFO  ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] no modules loaded
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2019.07.10 07:58:47 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.10 07:58:52 INFO  ce[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2019.07.10 07:58:52 INFO  ce[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarqube_db:5432/sonar
2019.07.10 07:58:55 INFO  ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2019.07.10 07:58:56 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
2019.07.10 07:58:58 INFO  ce[][o.s.c.c.ComputeEngineContainerImpl] Running Developer edition
2019.07.10 07:58:59 INFO  ce[][o.s.ce.app.CeServer] Compute Engine is operational
2019.07.10 07:58:59 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.07.10 07:58:59 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
  1. stop the sonarqube docker-compose -f docker-compose.yml down
Stopping sonarqube    ... done
Stopping sonarqube_db ... done
Removing sonarqube    ... done
Removing sonarqube_db ... done
Network snoar-net is external, skipping
  1. start the sonar again docker-compose -f docker-compose.yml up -d
[root@helloworld]# docker-compose -f docker-compose.yml up -d
Creating sonarqube_db ... done
Creating sonarqube    ... done
[root@helloworld]# docker logs sonarqube -f
2019.07.10 08:14:49 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.07.10 08:14:49 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.10 08:14:49 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.07.10 08:14:49 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.10 08:14:50 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.10 08:14:50 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
^[[A#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f9afc655237, pid=31, tid=256
#
# JRE version: OpenJDK Runtime Environment (11.0.3+7) (build 11.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+7, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# J 5060 c2 com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.calcHash([II)I (115 bytes) @ 0x00007f9afc655237 [0x00007f9afc655120+0x0000000000000117]
#
# Core dump will be written. Default location: /opt/sonarqube/elasticsearch/core.31
#
# An error report file with more information is saved as:
# ../logs/es_hs_err_pid31.log
Compiled method (c1)   19773 4627       3       sun.nio.ch.Util::offerFirstTemporaryDirectBuffer (53 bytes)
 total in heap  [0x00007f9af51abe10,0x00007f9af51acce8] = 3800
 relocation     [0x00007f9af51abf88,0x00007f9af51ac070] = 232
 main code      [0x00007f9af51ac080,0x00007f9af51ac960] = 2272
 stub code      [0x00007f9af51ac960,0x00007f9af51aca58] = 248
 metadata       [0x00007f9af51aca58,0x00007f9af51aca90] = 56
 scopes data    [0x00007f9af51aca90,0x00007f9af51acb30] = 160
 scopes pcs     [0x00007f9af51acb30,0x00007f9af51acca0] = 368
 dependencies   [0x00007f9af51acca0,0x00007f9af51acca8] = 8
 nul chk table  [0x00007f9af51acca8,0x00007f9af51acce8] = 64
Compiled method (c1)   19773 3973       3       com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer::findName (198 bytes)
 total in heap  [0x00007f9af59c3510,0x00007f9af59c4440] = 3888
 relocation     [0x00007f9af59c3688,0x00007f9af59c3770] = 232
 main code      [0x00007f9af59c3780,0x00007f9af59c3f40] = 1984
 stub code      [0x00007f9af59c3f40,0x00007f9af59c4048] = 264
 oops           [0x00007f9af59c4048,0x00007f9af59c4050] = 8
 metadata       [0x00007f9af59c4050,0x00007f9af59c4060] = 16
 scopes data    [0x00007f9af59c4060,0x00007f9af59c4180] = 288
 scopes pcs     [0x00007f9af59c4180,0x00007f9af59c43d0] = 592
 dependencies   [0x00007f9af59c43d0,0x00007f9af59c43d8] = 8
 nul chk table  [0x00007f9af59c43d8,0x00007f9af59c4440] = 104
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
2019.07.10 08:15:12 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 134
2019.07.10 08:15:12 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.07.10 08:15:12 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

here is my docker-compose.yml

version: "3"

services:
  sonarqube:
    image: sonarqube:7.9-community
    command: -Dsonar.ce.javaOpts=-Xmx1192m -Dsonar.web.javaOpts=-Xmx1192m
    restart: unless-stopped
    container_name: sonarqube
    depends_on:
      - sonarqube_db
    ports:
      - "9000:9000"
    networks:
      - sonar-net
    environment:
      - SONARQUBE_JDBC_URL=jdbc:postgresql://sonarqube_db:5432/sonar
      - SONARQUBE_JDBC_USERNAME=sonar
      - SONARQUBE_JDBC_PASSWORD=sonar
    volumes:
      - sonarqube_conf:/opt/sonarqube/conf
      - sonarqube_data:/opt/sonarqube/data
      - sonarqube_extensions:/opt/sonarqube/extensions
      - sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins

  sonarqube_db:
    image: postgres
    container_name: sonarqube_db
    restart: unless-stopped
    networks:
      - sonar-net
    environment:
      - POSTGRES_USER=sonar
      - POSTGRES_PASSWORD=sonar
    volumes:
      - postgresql:/var/lib/postgresql
      - postgresql_data:/var/lib/postgresql/data

networks:
  sonar-net:
    external: true

volumes:
  sonarqube_conf:
  sonarqube_data:
  sonarqube_extensions:
  sonarqube_bundled-plugins:
  postgresql:
  postgresql_data:

I followed theses steps and cannot reproduce ( I had to manually create the sonar-net network as it is declared as external, but i don't thing thats an issue). What happen if you delete the es6 folder from the sonarqube_data between the 2 starts ?

Hi
If I delete the es6 folder from the sonarqube_data It will start success.
here is detail

2019.07.10 09:01:56 INFO  ce[][o.s.p.ProcessEntryPoint] Starting ce
2019.07.10 09:01:56 INFO  ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2019.07.10 09:01:58 INFO  ce[][o.e.p.PluginsService] no modules loaded
2019.07.10 09:01:58 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2019.07.10 09:01:58 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2019.07.10 09:01:58 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.10 09:02:02 INFO  ce[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2019.07.10 09:02:02 INFO  ce[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarqube_db:5432/sonar
2019.07.10 09:02:06 INFO  ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2019.07.10 09:02:06 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
2019.07.10 09:02:09 INFO  ce[][o.s.c.c.ComputeEngineContainerImpl] Running Developer edition
2019.07.10 09:02:09 INFO  ce[][o.s.ce.app.CeServer] Compute Engine is operational
2019.07.10 09:02:09 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.07.10 09:02:09 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
^C
[root@helloworld]# docker-compose -f ./docker-compose.yml down
Stopping sonarqube    ... done
Stopping sonarqube_db ... done
Removing sonarqube    ... done
Removing sonarqube_db ... done
Network sdet-net is external, skipping
[root@helloworld]# docker-compose -f ./docker-compose.yml up -d
Creating sonarqube_db ... done
Creating sonarqube    ... done
[root@helloworld]# lo^C
[root@helloworld]# docker logs sonarqube -f
2019.07.10 09:02:57 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.07.10 09:02:57 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.10 09:02:58 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.07.10 09:02:58 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.10 09:02:59 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.10 09:02:59 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007fa2bc234137, pid=32, tid=267
#
# JRE version: OpenJDK Runtime Environment (11.0.3+7) (build 11.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+7, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# J 5023 c2 com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.calcHash([II)I (115 bytes) @ 0x00007fa2bc234137 [0x00007fa2bc234020+0x0000000000000117]
#
# Core dump will be written. Default location: /opt/sonarqube/elasticsearch/core.32
#
# An error report file with more information is saved as:
# ../logs/es_hs_err_pid32.log
[thread 271 also had an error]
[thread 255 also had an error]
Compiled method (c1)   21702 4658   !   3       sun.nio.ch.FileChannelImpl::read (266 bytes)
 total in heap  [0x00007fa2b4d90790,0x00007fa2b4d92348] = 7096
 relocation     [0x00007fa2b4d90908,0x00007fa2b4d90aa0] = 408
 main code      [0x00007fa2b4d90aa0,0x00007fa2b4d91a40] = 4000
 stub code      [0x00007fa2b4d91a40,0x00007fa2b4d91ba8] = 360
 metadata       [0x00007fa2b4d91ba8,0x00007fa2b4d91be8] = 64
 scopes data    [0x00007fa2b4d91be8,0x00007fa2b4d91f30] = 840
 scopes pcs     [0x00007fa2b4d91f30,0x00007fa2b4d92190] = 608
 dependencies   [0x00007fa2b4d92190,0x00007fa2b4d92198] = 8
 handler table  [0x00007fa2b4d92198,0x00007fa2b4d92318] = 384
 nul chk table  [0x00007fa2b4d92318,0x00007fa2b4d92348] = 48
Compiled method (c1)   21703 3988       3       com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer::findName (198 bytes)
 total in heap  [0x00007fa2b55a1790,0x00007fa2b55a26c0] = 3888
 relocation     [0x00007fa2b55a1908,0x00007fa2b55a19f0] = 232
 main code      [0x00007fa2b55a1a00,0x00007fa2b55a21c0] = 1984
 stub code      [0x00007fa2b55a21c0,0x00007fa2b55a22c8] = 264
 oops           [0x00007fa2b55a22c8,0x00007fa2b55a22d0] = 8
 metadata       [0x00007fa2b55a22d0,0x00007fa2b55a22e0] = 16
 scopes data    [0x00007fa2b55a22e0,0x00007fa2b55a2400] = 288
 scopes pcs     [0x00007fa2b55a2400,0x00007fa2b55a2650] = 592
 dependencies   [0x00007fa2b55a2650,0x00007fa2b55a2658] = 8
 nul chk table  [0x00007fa2b55a2658,0x00007fa2b55a26c0] = 104
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
2019.07.10 09:03:22 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 134
2019.07.10 09:03:22 ERROR app[][o.s.a.p.EsManagedProcess] Failed to check status
java.lang.IllegalStateException: Future got interrupted
    at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:60)
    at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:34)
    at org.sonar.application.es.EsConnectorImpl.getClusterHealthStatus(EsConnectorImpl.java:63)
    at org.sonar.application.process.EsManagedProcess.checkStatus(EsManagedProcess.java:88)
    at org.sonar.application.process.EsManagedProcess.checkOperational(EsManagedProcess.java:80)
    at org.sonar.application.process.EsManagedProcess.isOperational(EsManagedProcess.java:58)
    at org.sonar.application.process.ManagedProcessHandler.refreshState(ManagedProcessHandler.java:201)
    at org.sonar.application.process.ManagedProcessHandler$EventWatcher.run(ManagedProcessHandler.java:258)
Caused by: java.lang.InterruptedException: null
    at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1040)
    at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345)
    at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:251)
    at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:94)
    at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:57)
    ... 7 common frames omitted
2019.07.10 09:03:22 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.07.10 09:03:22 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
[root@helloworld]# rm -rf /opt/docker/volumes/sonarqube_sonarqube_data/_data/es6
[root@helloworld]# docker-compose -f ./docker-compose.yml down && docker-compose -f ./docker-compose.yml up -d
Stopping sonarqube    ... done
Stopping sonarqube_db ... done
Removing sonarqube    ... done
Removing sonarqube_db ... done
Network sdet-net is external, skipping
Creating sonarqube_db ... done
Creating sonarqube    ... done
[root@helloworld]# docker logs sonarqube -f
2019.07.10 09:04:50 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.07.10 09:04:50 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.10 09:04:51 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.07.10 09:04:51 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.10 09:04:52 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.10 09:04:52 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.07.10 09:05:17 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.07.10 09:05:17 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube]: /usr/local/openjdk-11/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Xmx1192m -Djava.security.egd=file:/dev/./urandom -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process1260663236545943054properties
2019.07.10 09:05:19 INFO  web[][o.s.p.ProcessEntryPoint] Starting web
2019.07.10 09:05:22 INFO  web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2019.07.10 09:05:25 INFO  web[][o.e.p.PluginsService] no modules loaded
2019.07.10 09:05:25 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2019.07.10 09:05:25 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2019.07.10 09:05:25 INFO  web[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.10 09:05:29 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2019.07.10 09:05:29 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 7.9.0.26994 / 687d8007c0f62bfaaa44a890d93397de0a588119
2019.07.10 09:05:29 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarqube_db:5432/sonar
2019.07.10 09:05:32 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2019.07.10 09:05:32 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Community Branch Plugin / 1.1.1
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.8.0.1574 / aec3dc8f5228aabd218e1cd31ac6e6515a43715d
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin GitHub Authentication for SonarQube / 1.5.0.870 / 153f7c7af7a264adb0fcbe5fee87bdd140a6a3a1
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin JaCoCo / 1.0.2.475 / b79a4724f3a9af1051266b4f8ca0460977295ead
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin LDAP / 2.2.0.608 / 79dc3fa4393a29667673c70182f3016288b548b7
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SAML 2.0 Authentication for SonarQube / 1.1.0.181 / 16fcb5be2d3bcfee8920b29cd758d8b957a18acb
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarC# / 7.15.0.8572 / e0ad49e38a28a8fc333ba746fc998e48678f6a8b
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarCSS / 1.1.1.1010 / 365e21fd0cb9035669fc59f6fec7c8fd28a7303b
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarFlex / 2.5.1.1831 / a0c44437f6abb0feec76edd073f91fec64db2a6c
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarGo / 1.1.1.2000 / 40d55921c7a63b67386a053490d17b6723a46cd5
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarHTML / 3.1.0.1615 / 4181edb5eff5605bec82dc0aa15ecd70eaa5857f
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarJS / 5.2.1.7778 / 49f34eaeaad59868d4353d89b1fc5c02bbe51976
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarJava / 5.13.1.18282 / 568f8ed2349f48e250a9329895b9a870100dfbeb
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarKotlin / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarPHP / 3.2.0.4868 / ec66bd5f8490677eb0ebae82aa17c2a5d9c0e5e7
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarPython / 1.14.0.3086 / a6ac95b01b57bfb5f4ca604b4234595bb9f04b7e
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarRuby / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarScala / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarTS / 1.9.0.3766 / 4a4080b78001a78d758d1d0fa0190fb9496b6f57
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarVB / 7.15.0.8572 / e0ad49e38a28a8fc333ba746fc998e48678f6a8b
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin SonarXML / 2.0.1.2020 / c5b84004face582d56f110e24c29bf9c6a679e69
2019.07.10 09:05:34 INFO  web[][o.s.s.p.ServerPluginRepository] Deploy plugin Svn / 1.9.0.1295 / 942e075773975354e32691a60bfd968065703e04
2019.07.10 09:05:36 INFO  web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2019.07.10 09:05:36 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter@5b4b13cb [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/properties*, ...]}]
2019.07.10 09:05:37 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2019.07.10 09:05:41 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2019.07.10 09:05:43 INFO  web[][o.s.s.e.IndexCreator] Create index [metadatas]
2019.07.10 09:05:45 INFO  web[][o.s.s.e.IndexCreator] Create type metadatas/metadata
2019.07.10 09:05:46 INFO  web[][o.s.s.e.IndexCreator] Create index [components]
2019.07.10 09:05:47 INFO  web[][o.s.s.e.IndexCreator] Create type components/auth
2019.07.10 09:05:48 INFO  web[][o.s.s.e.IndexCreator] Create index [projectmeasures]
2019.07.10 09:05:50 INFO  web[][o.s.s.e.IndexCreator] Create type projectmeasures/auth
2019.07.10 09:05:50 INFO  web[][o.s.s.e.IndexCreator] Create index [rules]
2019.07.10 09:05:52 INFO  web[][o.s.s.e.IndexCreator] Create type rules/rule
2019.07.10 09:05:52 INFO  web[][o.s.s.e.IndexCreator] Create index [issues]
2019.07.10 09:05:53 INFO  web[][o.s.s.e.IndexCreator] Create type issues/auth
2019.07.10 09:05:54 INFO  web[][o.s.s.e.IndexCreator] Create index [users]
2019.07.10 09:05:54 INFO  web[][o.s.s.e.IndexCreator] Create type users/user
2019.07.10 09:05:55 INFO  web[][o.s.s.e.IndexCreator] Create index [views]
2019.07.10 09:05:58 INFO  web[][o.s.s.e.IndexCreator] Create type views/view
2019.07.10 09:05:58 INFO  web[][o.s.s.s.LogServerId] Server ID: 9077047E-AWvbHM6lziExfCrjYeNW
2019.07.10 09:05:58 WARN  web[][o.s.s.a.LogOAuthWarning] For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to a HTTPS URL.
2019.07.10 09:05:59 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2019.07.10 09:05:59 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/permissions/search_templates
2019.07.10 09:05:59 INFO  web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2019.07.10 09:05:59 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2019.07.10 09:05:59 INFO  web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2019.07.10 09:05:59 INFO  web[][o.s.s.s.RegisterPlugins] Register plugins
2019.07.10 09:05:59 INFO  web[][o.s.s.s.RegisterMetrics] Register metrics
2019.07.10 09:05:59 INFO  web[][o.s.s.r.RegisterRules] Register rules
2019.07.10 09:06:12 INFO  web[][o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile css/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile scala/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile jsp/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile kotlin/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile go/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way Recommended
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile py/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile ruby/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile cs/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile java/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile web/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile xml/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile flex/Sonar way
2019.07.10 09:06:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Sonar way
2019.07.10 09:06:14 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/PSR-2
2019.07.10 09:06:14 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Drupal
2019.07.10 09:06:14 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile vbnet/Sonar way
2019.07.10 09:06:14 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way
2019.07.10 09:06:14 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way recommended
2019.07.10 09:06:14 INFO  web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2019.07.10 09:06:14 INFO  web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter@31fa748c [pattern=UrlPattern{inclusions=[/api/issues/delete_comment.*, ...], exclusions=[/api/properties*, ...]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.DeprecatedPropertiesWsFilter@2369f504 [pattern=UrlPattern{inclusions=[/api/properties/*], exclusions=[]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceReroutingFilter@4ce8a338 [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, ...], exclusions=[]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@4bcc926 [pattern=UrlPattern{inclusions=[/sessions/init/*], exclusions=[]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@29052c9a [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=[]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@46a90988 [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@b2eec46 [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@5121ebca [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2019.07.10 09:06:14 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule] ...
2019.07.10 09:06:20 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule] done | time=6576ms
2019.07.10 09:06:21 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of types [rules/rule],[rules/rule/ruleExtension] ...
2019.07.10 09:06:37 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of types [rules/rule],[rules/rule/ruleExtension] done | time=16738ms
2019.07.10 09:06:37 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [users/user] ...
2019.07.10 09:06:38 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [users/user] done | time=786ms
2019.07.10 09:06:38 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component] ...
2019.07.10 09:06:39 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component] done | time=577ms
2019.07.10 09:06:39 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view] ...
2019.07.10 09:06:39 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view] done | time=463ms
2019.07.10 09:06:39 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [issues/auth/issue] ...
2019.07.10 09:06:40 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [issues/auth/issue] done | time=424ms
2019.07.10 09:06:40 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth] ...
2019.07.10 09:06:41 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth] done | time=911ms
2019.07.10 09:06:41 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure] ...
2019.07.10 09:06:41 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure] done | time=678ms
2019.07.10 09:06:41 INFO  web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2019.07.10 09:06:41 INFO  web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2019.07.10 09:06:41 INFO  web[][o.s.s.p.Platform] WebServer is operational
2019.07.10 09:06:42 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2019.07.10 09:06:42 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube]: /usr/local/openjdk-11/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED -Xmx1192m -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process3368937252463957231properties
2019.07.10 09:06:44 INFO  ce[][o.s.p.ProcessEntryPoint] Starting ce
2019.07.10 09:06:44 INFO  ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2019.07.10 09:06:46 INFO  ce[][o.e.p.PluginsService] no modules loaded
2019.07.10 09:06:46 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2019.07.10 09:06:46 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2019.07.10 09:06:46 INFO  ce[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.10 09:06:51 INFO  ce[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2019.07.10 09:06:51 INFO  ce[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarqube_db:5432/sonar
2019.07.10 09:06:54 INFO  ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2019.07.10 09:06:55 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
2019.07.10 09:06:59 INFO  ce[][o.s.c.c.ComputeEngineContainerImpl] Running Developer edition
2019.07.10 09:06:59 INFO  ce[][o.s.ce.app.CeServer] Compute Engine is operational
2019.07.10 09:06:59 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.07.10 09:06:59 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up

Yeah so looks like the es6 folder got corrupted. can you try to start with your db & a clean es6 folder please ?

Yeah so looks like the es6 folder got corrupted. can you try to start with your db & a clean es6 folder please ?

It works after I delete es6, but if have es6 folder, I will fail again.

I'm not sure you understand my request :

  • start SQ with your 7.8 DB, and an empty sonarqube_data volume
    It should migrate your DB, populate the es6 folder, then be up and running

Without any restarting, is this step working ?

I'm not sure you understand my request :

  • start SQ with your 7.8 DB, and an empty sonarqube_data volume
    It should migrate your DB, populate the es6 folder, then be up and running

Without any restarting, is this step working ?

not work. for now, only delete es6 can work. I had tried the 7.9.1 version also have this problem.

What do you mean by "only delete es6 can work" ? I'm talking about starting with an empty sonarqube_data volume, which include the es6 folder.

It works after I change another machine

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bhavyalatha26 picture bhavyalatha26  路  4Comments

JoeyHoutenbos picture JoeyHoutenbos  路  3Comments

davidlaughlin picture davidlaughlin  路  6Comments

jasonrhaas picture jasonrhaas  路  9Comments

magnus919 picture magnus919  路  6Comments