Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) : Upgraded Sonarqube-6.7.6 to Sonarqube-8.0
- what are you trying to achieve: Trying to integrate AWS RDS Postgresql DB in sonarqube
- what have you tried so far to achieve this
Connection Details: sonar.properties
sonar.jdbc.username=xxxx
sonar.jdbc.password=xxxx
sonar.jdbc.url=jdbc:postgresql://sonarpostgres.ccix2qp0lqjg.eu-west-1.rds.amazonaws.com:5432/sonardb
sonar.log ::::
ā> Wrapper Started as Daemon
Launching a JVMā¦
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2019.12.02 12:55:04 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonar/sonarqube-8.0/temp
2019.12.02 12:55:04 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.12.02 12:55:04 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=āesā, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonar/sonarqube-8.0/elasticsearch]: /opt/sonar/sonarqube-8.0/elasticsearch/bin/elasticsearch
2019.12.02 12:55:04 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Java HotSpotā¢ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.12.02 12:55:05 INFO app[o.e.p.PluginsService] no modules loaded
2019.12.02 12:55:05 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.12.02 12:55:19 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2019.12.02 12:55:19 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=āwebā, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonar/sonarqube-8.0]: /usr/java/jdk-12.0.2/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonar/sonarqube-8.0/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 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonar/sonarqube-8.0/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonar/sonarqube-8.0/temp/sq-process3138926842772280881properties
2019.12.02 12:55:26 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2019.12.02 12:55:27 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2019.12.02 12:55:27 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2019.12.02 12:55:27 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
es.log :::
2019.12.02 12:55:09 INFO es[o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/nvme0n1p1)]], net usable_space [4.9gb], net total_space [7.9gb], types [xfs]
2019.12.02 12:55:09 INFO es[o.e.e.NodeEnvironment] heap size [495.3mb], compressed ordinary object pointers [true]
2019.12.02 12:55:09 INFO es[o.e.n.Node] node name [sonarqube], node ID [Mx98bokRTPSNSw3Pr8y0yg]
2019.12.02 12:55:09 INFO es[o.e.n.Node] version[6.8.0], pid[8523], build[default/tar/65b6179/2019-05-15T20:06:13.172855Z], OS[Linux/4.14.138-114.102.amzn2.x86_64/amd64], JVM[Oracle Corporation/Java HotSpotā¢ 64-Bit Server VM/12.0.2/12.0.2+10]
2019.12.02 12:55:09 INFO es[o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/opt/sonar/sonarqube-8.0/temp, -XX:ErrorFile=ā¦/logs/es_hs_err_pid%p.log, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonar/sonarqube-8.0/elasticsearch, -Des.path.conf=/opt/sonar/sonarqube-8.0/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [analysis-common]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [lang-painless]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [mapper-extras]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [parent-join]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [percolator]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [reindex]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [repository-url]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] loaded module [transport-netty4]
2019.12.02 12:55:10 INFO es[o.e.p.PluginsService] no plugins loaded
2019.12.02 12:55:14 WARN es[o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2019.12.02 12:55:15 INFO es[o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2019.12.02 12:55:16 INFO es[o.e.n.Node] initialized
2019.12.02 12:55:16 INFO es[o.e.n.Node] starting ā¦
2019.12.02 12:55:16 INFO es[o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2019.12.02 12:55:16 INFO es[o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2019.12.02 12:55:19 INFO es[o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{Mx98bokRTPSNSw3Pr8y0yg}{5hZCYswRTnSqCaBjlWCIBQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}
2019.12.02 12:55:19 INFO es[o.e.c.s.ClusterApplierService] new_master {sonarqube}{Mx98bokRTPSNSw3Pr8y0yg}{5hZCYswRTnSqCaBjlWCIBQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{Mx98bokRTPSNSw3Pr8y0yg}{5hZCYswRTnSqCaBjlWCIBQ}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
2019.12.02 12:55:19 INFO es[o.e.n.Node] started
2019.12.02 12:55:19 INFO es[o.e.g.GatewayService] recovered [0] indices into cluster_state
2019.12.02 12:55:26 INFO es[o.e.n.Node] stopping ā¦
2019.12.02 12:55:26 INFO es[o.e.n.Node] stopped
2019.12.02 12:55:26 INFO es[o.e.n.Node] closing ā¦
2019.12.02 12:55:26 INFO es[o.e.n.Node] closed
~
web.log :::
2019.12.02 12:55:20 INFO web[o.s.p.ProcessEntryPoint] Starting web
2019.12.02 12:55:21 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2019.12.02 12:55:22 INFO web[o.e.p.PluginsService] no modules loaded
2019.12.02 12:55:22 INFO web[o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2019.12.02 12:55:22 INFO web[o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2019.12.02 12:55:22 INFO web[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.12.02 12:55:24 INFO web[o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2019.12.02 12:55:24 INFO web[o.s.s.p.LogServerVersion] SonarQube Server / 8.0.0.29455 / f869d840f12a4dfa69533e17d3b27558617a7f82
2019.12.02 12:55:24 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarpostgres.ccix2qp0lqjg.eu-west-1.rds.amazonaws.com:5432/sonardb
2019.12.02 12:55:26 INFO web[o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonar/sonarqube-8.0
2019.12.02 12:55:26 INFO web[o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2019.12.02 12:55:26 ERROR web[o.s.s.p.PlatformImpl] Web server startup failed: Current version is too old. Please upgrade to Long Term Support version firstly.
2019.12.02 12:55:26 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2019.12.02 12:55:26 INFO web[o.s.p.ProcessEntryPoint] Hard stopping process