Hi,
I need the logs - from startup - of the server that says “Database is up-to-date”.
Ann
Hi,
I need the logs - from startup - of the server that says “Database is up-to-date”.
Ann
Hello
Its already up to date.
I don’t have any logs for this.
Its already updated in previous version.
Where can i get this logs ?
Regards,
Atib
Hi Atib,
I’m asking for your server logs for the instance that says “Database is up-to-date” from when you tell it to start up.
Ann
Hi Ann,
That logs i already provided you here in my previous post Upgraded SonarQube stopping automatically - #20 by atib_junaid
I also tried testing sonar version 9.9 with a new database , but there also the process stops automatically.
I also tried with sonarqube version 10, it also has the same issue.
I am stuck here and unable to proceed further.
please let me know if you need any other information
Thank You,
Atib
Hi Ann,
I also tried creating a new database and tried installing 9.9 version in my cluster.
Here i am using same sonarsource chart.
I got this logs, and it waits for my statrup probes time and once its reached the process stops automatically and pods gets restarted.
I also tried increasing liveness and readiness probes, still it waits for the mentioned time and it gets restarted.
$ kubectl logs -f sonarqube-sonarqube-0
2023.05.20 11:59:54 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2023.05.20 11:59:54 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:36101]
2023.05.20 11:59:54 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2023.05.20 11:59:54 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2023.05.20 11:59:55 INFO es[][o.e.n.Node] version[7.17.8], pid[27], build[default/tar/120eabe1c8a0cb2ae87cffc109a5b65d213e9df1/2022-12-02T17:33:09.727072865Z], OS[Linux/5.4.228-131.415.amzn2.x86_64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.6/17.0.6+10]
2023.05.20 11:59:55 INFO es[][o.e.n.Node] JVM home [/opt/java/openjdk]
2023.05.20 11:59:55 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=/opt/sonarqube/logs/es_hs_err_pid%p.log, -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, -Djna.tmpdir=/opt/sonarqube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Dcom.redhat.fips=false, -Xmx2G, -Xms2G, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2023.05.20 11:59:56 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2023.05.20 11:59:56 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2023.05.20 11:59:56 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2023.05.20 11:59:56 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2023.05.20 11:59:56 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2023.05.20 11:59:56 INFO es[][o.e.p.PluginsService] no plugins loaded
2023.05.20 11:59:56 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/nvme0n1p1)]], net usable_space [38.5gb], net total_space [49.9gb], types [xfs]
2023.05.20 11:59:56 INFO es[][o.e.e.NodeEnvironment] heap size [2gb], compressed ordinary object pointers [true]
2023.05.20 11:59:56 INFO es[][o.e.n.Node] node name [sonarqube], node ID [CfIn87QvSsOk-Ngs0EyWDw], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2023.05.20 11:59:58 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=256kb, suggested_max_allocation_size=256kb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=1mb}]
2023.05.20 11:59:58 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2023.05.20 11:59:58 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2023.05.20 11:59:58 INFO es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2023.05.20 11:59:58 INFO es[][o.e.n.Node] initialized
2023.05.20 11:59:58 INFO es[][o.e.n.Node] starting ...
2023.05.20 11:59:58 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:36101}, bound_addresses {127.0.0.1:36101}
2023.05.20 11:59:58 INFO es[][o.e.c.c.Coordinator] setting initial configuration to VotingConfiguration{CfIn87QvSsOk-Ngs0EyWDw}
2023.05.20 11:59:59 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{CfIn87QvSsOk-Ngs0EyWDw}{vPrReQ36SHejUOwfEoQZfQ}{127.0.0.1}{127.0.0.1:36101}{cdfhimrsw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 1, version: 1, delta: master node changed {previous [], current [{sonarqube}{CfIn87QvSsOk-Ngs0EyWDw}{vPrReQ36SHejUOwfEoQZfQ}{127.0.0.1}{127.0.0.1:36101}{cdfhimrsw}]}
2023.05.20 11:59:59 INFO es[][o.e.c.c.CoordinationState] cluster UUID set to [1OmjrhSfTImBELHdfffRYA]
2023.05.20 11:59:59 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{CfIn87QvSsOk-Ngs0EyWDw}{vPrReQ36SHejUOwfEoQZfQ}{127.0.0.1}{127.0.0.1:36101}{cdfhimrsw}]}, term: 1, version: 1, reason: Publication{term=1, version=1}
2023.05.20 11:59:59 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2023.05.20 11:59:59 INFO es[][o.e.n.Node] started
2023.05.20 11:59:59 INFO es[][o.e.g.GatewayService] recovered [0] indices into cluster_state
2023.05.20 11:59:59 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2023.05.20 11:59:59 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --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 --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx1G -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.9.0.65466.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.5.1.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process4677457990191992108properties
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-9.9.0.65466.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2023.05.20 11:59:59 INFO web[][o.s.p.ProcessEntryPoint] Starting Web Server
2023.05.20 12:00:00 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 9.9.0.65466 / ce743843018827cb30c05735e7971523de34bb48
2023.05.20 12:00:00 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://tf-postgres-to-sona-non-prod.c0ncfhw2snjq.eu-central-1.rds.amazonaws.com:5432/sonadb
2023.05.20 12:00:00 INFO web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2023.05.20 12:00:00 INFO web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@2a9bc08f
2023.05.20 12:00:00 INFO web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2023.05.20 12:00:01 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is enabled
2023.05.20 12:00:01 INFO web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: enterprise-edition, ce-workers, developer-scanner, developer-server, governance, license, securityreport, monitoring, scim
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy ABAP Code Quality and Security / 3.11.0.4030 / efe73c1da897a69d2545e79710bec0909326dcdb
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Apex Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 8.51.0.59060 / e14c642f118958f22fd08841dc42f9aae480366a
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy CFamily Code Quality and Security / 6.41.0.60884 / 6efcc8197e558ca2a78cada46494e8afe8c821ff
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy COBOL Code Quality / 5.2.0.5949 / e2e398ef68a9ee212c8b991cf05ee1fae28e5326
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Configuration detection fot Code Quality and Security / 1.2.0.267 / 4f37ba9ffb37a96d5883e52ad392ed32c5c6eaab
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection / 1.10.0.3046 / 0
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Java / 1.10.0.3046 / 0
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Python / 1.10.0.3046 / 0
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.8.0.3166 / 01f66bdddc678966c81a9064ed139156a6a89c97
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.7.1.3306 / d720acc6860c6d8b69ec4d17570a398a1e216da1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.11.0.2847 / 6892bd3a7320b3c110717acfdb18c4c7451069fd
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 7.16.0.30901 / 4b1436558dfd5fc00c8d9aae8bb0364ba122c73e
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 9.13.0.20537 / 68ff7657415044b86033814795ed95fc1f1558f1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 2.12.0.1956 / a6df1ae252bd62d63f8673c28f87ad14258a7904
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy OpenID Connect Authentication for SonarQube / 2.0.0 / null
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.27.1.9352 / 3ddc5a03e1a7e3729d41e7c1a30a37d5715958c7
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy PL/I Code Quality and Security / 1.12.0.3443 / e9d43136dec6eea6c0129c12d2a019d141fdcc39
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy PL/SQL Code Quality and Security / 3.8.0.4948 / ab46f4c11644e5c9b17f0a5a1612d4b7362e04f3
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Python Code Quality and Security / 3.24.0.10784 / 30aa413d983f6c37b4298eba00555c3050009b52
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy RPG Code Quality / 3.3.0.3147 / 9cb6a4566eb55cc6b874220ab95f0504a952b560
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Swift Code Quality and Security / 4.8.0.5759 / 3d5b95aaf19a398736a7f5eec314c3c05f7193d2
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy T-SQL Code Quality and Security / 1.7.0.5449 / 110c82f888b1f40e1c2a0d3165fcffd413af36a5
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.0.1.611 / 53bfe3a68ae3886520d6a5c1c21dfdb564821ea1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 8.51.0.59060 / e14c642f118958f22fd08841dc42f9aae480366a
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy VB6 Code Quality and Security / 2.9.0.3341 / 2066b6ff3d7c789fefa0b86c6f70e9c9eb08f852
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Analysis / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for C# / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for JS / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Java / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for PHP / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Python / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.05.20 12:00:01 INFO web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.7.0.3820 / 656bccc1910d50c8984536bd2dfd917066b858e6
2023.05.20 12:00:02 INFO web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2023.05.20 12:00:02 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2023.05.20 12:00:03 WARN web[][o.s.a.s.w.WebService$Action] Description is not set on action api/monitoring/metrics
2023.05.20 12:00:03 WARN web[][o.s.a.s.w.WebService$Action] Since is not set on action api/monitoring/metrics
2023.05.20 12:00:03 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/monitoring/metrics
2023.05.20 12:00:03 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2023.05.20 12:00:03 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@7f5ce33e [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2023.05.20 12:00:03 INFO web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2023.05.20 12:00:03 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2023.05.20 12:00:03 INFO web[][o.s.s.p.DetectPluginChange] No plugin change detected
2023.05.20 12:00:04 INFO web[][o.s.s.e.IndexCreator] Create index [metadatas]
2023.05.20 12:00:04 INFO es[][o.e.c.m.MetadataCreateIndexService] [metadatas] creating index, cause [api], templates [], shards [1]/[0]
2023.05.20 12:00:04 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[metadatas][0]]]).
2023.05.20 12:00:04 INFO web[][o.s.s.e.IndexCreator] Create type metadatas/metadata
2023.05.20 12:00:04 INFO es[][o.e.c.m.MetadataMappingService] [metadatas/IWaG45mjTzaiQrBJWDmxKA] create_mapping [metadata]
2023.05.20 12:00:04 INFO web[][o.s.s.e.IndexCreator] Create index [components]
2023.05.20 12:00:04 INFO es[][o.e.c.m.MetadataCreateIndexService] [components] creating index, cause [api], templates [], shards [5]/[0]
2023.05.20 12:00:04 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[components][4]]]).
2023.05.20 12:00:04 INFO web[][o.s.s.e.IndexCreator] Create type components/auth
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataMappingService] [components/1UruYd2tQEeZWtg32S9XOw] create_mapping [auth]
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create index [projectmeasures]
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataCreateIndexService] [projectmeasures] creating index, cause [api], templates [], shards [5]/[0]
2023.05.20 12:00:05 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[projectmeasures][4]]]).
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create type projectmeasures/auth
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataMappingService] [projectmeasures/KO8SrnQjQ2CCcVy-FeL4Cw] create_mapping [auth]
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create index [rules]
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataCreateIndexService] [rules] creating index, cause [api], templates [], shards [2]/[0]
2023.05.20 12:00:05 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[rules][0]]]).
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create type rules/rule
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataMappingService] [rules/zK9GYZMjSmOFz5cWTPG-mQ] create_mapping [rule]
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create index [issues]
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataCreateIndexService] [issues] creating index, cause [api], templates [], shards [5]/[0]
2023.05.20 12:00:05 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[issues][4]]]).
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create type issues/auth
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataMappingService] [issues/JDiIRFeATfWgghOkmIxAOQ] create_mapping [auth]
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create index [users]
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataCreateIndexService] [users] creating index, cause [api], templates [], shards [1]/[0]
2023.05.20 12:00:05 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[users][0]]]).
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create type users/user
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataMappingService] [users/nd9tCgeQTg6jMu0V1_-j3w] create_mapping [user]
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create index [views]
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataCreateIndexService] [views] creating index, cause [api], templates [], shards [5]/[0]
2023.05.20 12:00:05 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[views][4]]]).
2023.05.20 12:00:05 INFO web[][o.s.s.e.IndexCreator] Create type views/view
2023.05.20 12:00:05 INFO es[][o.e.c.m.MetadataMappingService] [views/sizeJoiFSGiPrZXaYA9pOg] create_mapping [view]
2023.05.20 12:00:05 INFO web[][o.s.s.s.LogServerId] Server ID: 5012A1E7-AYgteZcYmqEqbzVA8eFP
2023.05.20 12:00:06 INFO web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action saml/validation_init
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/analysis_cache/get
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/push/sonarlint_events
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/security_reports/download
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/views/definition
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/regulatory_reports/download
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/governance_reports/download
2023.05.20 12:00:06 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/support/info
2023.05.20 12:00:06 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2023.05.20 12:00:06 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2023.05.20 12:00:06 INFO web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2023.05.20 12:00:07 INFO web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2023.05.20 12:00:07 INFO web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2023.05.20 12:00:07 INFO web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2023.05.20 12:00:07 INFO web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2023.05.20 12:00:07 INFO web[][o.s.s.s.UpgradeSuggestionsCleaner] Dismissed messages cleanup
2023.05.20 12:00:07 INFO web[][o.s.s.s.RegisterPlugins] Register plugins
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.SonarLintConnectionFilter@6c9bdce2 [pattern=UrlPattern{inclusions=[/api/*], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@23a67126 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment.*, ...], exclusions=[/api/authentication/login.*, ...]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@2f9d97ca [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, ...], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.DefaultAdminCredentialsVerifierFilter@45b28a24 [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@77fc32bc [pattern=UrlPattern{inclusions=[/sessions/init/*], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.SamlValidationRedirectionFilter@67c35224 [pattern=UrlPattern{inclusions=[/oauth2/callback/saml], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@24a3bad1 [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ResetPasswordFilter@7591f7cb [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@7bb4b110 [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@cf0134f [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@102deb28 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.saml.ws.ValidationInitAction@1dc1c151 [pattern=UrlPattern{inclusions=[/saml/validation_init], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.saml.ws.ValidationAction@6fb19955 [pattern=UrlPattern{inclusions=[/saml/validation], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.user.ws.ChangePasswordAction@636e5217 [pattern=UrlPattern{inclusions=[/api/users/change_password], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.plugins.PluginsRiskConsentFilter@1e417e2c [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2023.05.20 12:00:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter com.A.C.A@270d3a07 [pattern=UrlPattern{inclusions=[/api/scim/v2/Users, ...], exclusions=[]}]
2023.05.20 12:00:07 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule]...
2023.05.20 12:00:10 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule] done | time=3371ms
2023.05.20 12:00:10 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule]...
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule] done | time=16865ms
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [users/user]...
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [users/user] done | time=195ms
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure]...
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure] done | time=38ms
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component]...
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component] done | time=62ms
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view]...
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]
2023.05.20 12:00:27 INFO es[][o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view] done | time=124ms
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue]...
2023.05.20 12:00:27 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 pending indexation task found to be deleted...
2023.05.20 12:00:27 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 completed indexation task found to be deleted...
2023.05.20 12:00:27 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Indexation task deletion complete.
2023.05.20 12:00:27 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Deleting tasks characteristics...
2023.05.20 12:00:27 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Tasks characteristics deletion complete.
2023.05.20 12:00:27 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 branch found in need of issue sync.
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue] done | time=26ms
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth]...
2023.05.20 12:00:27 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth] done | time=48ms
2023.05.20 12:00:27 INFO web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2023.05.20 12:00:27 INFO web[][o.s.s.e.CoreExtensionBootstraper] Bootstrapping Governance
2023.05.20 12:00:28 INFO web[][o.s.s.e.CoreExtensionBootstraper] Bootstrapping Governance (done) | time=11ms
2023.05.20 12:00:28 INFO web[][o.s.s.p.p.PlatformLevelStartup] Running Enterprise Edition
2023.05.20 12:00:28 INFO app[][o.s.a.SchedulerImpl] Process[web] is up
2023.05.20 12:00:28 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[COMPUTE_ENGINE] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx2G -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.9.0.65466.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.5.1.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process4596389396942649268properties
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-9.9.0.65466.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2023.05.20 12:00:28 INFO ce[][o.s.p.ProcessEntryPoint] Starting Compute Engine
2023.05.20 12:00:28 INFO ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2023.05.20 12:00:29 INFO ce[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://tf-postgres-to-sona-non-prod.c0ncfhw2snjq.eu-central-1.rds.amazonaws.com:5432/sonadb
2023.05.20 12:00:29 INFO ce[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2023.05.20 12:00:29 INFO ce[][c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@736a5d1f
2023.05.20 12:00:29 INFO ce[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2023.05.20 12:00:30 WARN app[][startup] ####################################################################################################################
2023.05.20 12:00:30 WARN app[][startup] Default Administrator credentials are still being used. Make sure to change the password or deactivate the account.
2023.05.20 12:00:30 WARN app[][startup] ####################################################################################################################
2023.05.20 12:00:30 INFO web[][o.s.s.p.Platform] Web Server is operational
2023.05.20 12:00:31 INFO ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2023.05.20 12:00:31 INFO ce[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: enterprise-edition, ce-workers, developer-scanner, developer-server, governance, license, securityreport, monitoring, scim
2023.05.20 12:00:31 INFO ce[][o.s.c.c.CePluginRepository] Load plugins
2023.05.20 12:00:33 INFO ce[][o.s.c.c.ComputeEngineContainerImpl] Running Enterprise edition
2023.05.20 12:00:33 INFO ce[][o.s.s.e.CoreExtensionBootstraper] Bootstrapping Governance
2023.05.20 12:00:33 INFO ce[][o.s.s.e.CoreExtensionBootstraper] Bootstrapping Governance (done) | time=4ms
2023.05.20 12:00:33 INFO ce[][o.s.ce.app.CeServer] Compute Engine is started
2023.05.20 12:00:33 INFO app[][o.s.a.SchedulerImpl] Process[ce] is up
2023.05.20 12:00:33 INFO app[][o.s.a.SchedulerImpl] SonarQube is operational
2023.05.20 12:06:50 INFO app[][o.s.a.SchedulerImpl] Stopping SonarQube
2023.05.20 12:06:50 INFO app[][o.s.a.SchedulerImpl] Sonarqube has been requested to stop
2023.05.20 12:06:50 INFO app[][o.s.a.SchedulerImpl] Stopping [Compute Engine] process...
2023.05.20 12:06:50 INFO ce[][o.s.p.ProcessEntryPoint] Gracefully stopping process
2023.05.20 12:06:50 INFO ce[][o.s.ce.app.CeServer] Compute Engine is stopping...
2023.05.20 12:06:50 INFO ce[][o.s.c.t.CeProcessingSchedulerImpl] Gracefully stopping workers...
2023.05.20 12:06:50 INFO ce[][o.s.s.e.CoreExtensionStopper] Stopping Governance
2023.05.20 12:06:50 INFO ce[][o.s.s.e.CoreExtensionStopper] Stopping Governance (done) | time=0ms
2023.05.20 12:06:50 INFO ce[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown initiated...
2023.05.20 12:06:50 INFO ce[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown completed.
2023.05.20 12:06:50 INFO ce[][o.s.ce.app.CeServer] Compute Engine is stopped
2023.05.20 12:06:51 INFO app[][o.s.a.SchedulerImpl] Process[Compute Engine] is stopped
2023.05.20 12:06:51 INFO app[][o.s.a.SchedulerImpl] Stopping [Web Server] process...
2023.05.20 12:06:51 INFO web[][o.s.p.ProcessEntryPoint] Gracefully stopping process
2023.05.20 12:06:51 INFO web[][o.s.s.e.CoreExtensionStopper] Stopping Governance
2023.05.20 12:06:51 INFO web[][o.s.s.e.CoreExtensionStopper] Stopping Governance (done) | time=0ms
2023.05.20 12:06:51 INFO web[][o.s.s.n.NotificationDaemon] Notification service stopped
2023.05.20 12:06:51 INFO web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown initiated...
2023.05.20 12:06:51 INFO web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown completed.
2023.05.20 12:06:51 INFO web[][o.s.s.app.WebServer] Web Server stopped
2023.05.20 12:06:52 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2023.05.20 12:06:52 INFO app[][o.s.a.SchedulerImpl] Stopping [ElasticSearch] process...
2023.05.20 12:06:52 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2023.05.20 12:06:52 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2023.05.20 12:06:52 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
Can any one see here any findings.
I just added this as a reply on top of above, because i want to show this try as well.
Thanks in advance
Regards,
Atib
Hello @atib_junaid
Have you made any progress on your issue? As Ann pointed out and as we can see in your logs:
[...]
2023.05.20 12:00:33 INFO app[][o.s.a.SchedulerImpl] SonarQube is operational
2023.05.20 12:06:50 INFO app[][o.s.a.SchedulerImpl] Stopping SonarQube
[...]
SonarQube receives a request to shut down (SIGTERM
). As already pointed out also SonarQube does not shut itself down, so you have to investigate what is killing it.
You’re running on K8s so most likely the K8s controller is responsible for stopping the container, this is where you have to look for. You can do this by checking at K8s events for example.
Cheers
Antoine
Hello @Antoine
Thank you so much for the response.
I am still struggling to fix this issue.
As you said it might be k8s issues, when I checked the k8s events i don’t see any strange there.
And there is no issue nodes memory.
I even tried giving sonarqube more time to start, may be 8 hours
So after 8 hours the sonarqube stops automatically, with exit code.
And the version 9.8 works fine for me.
Versions after 9.8 is not working for me.
So am I missing something? Which is very much needed to upgrade 9.9 or higher?
If so please help here, as i am stuck here
Thank you
Atib
Hi @atib_junaid,
Ok, but this is unnecessary, it just takes more time to fail. You should run the default Helm Chart while debugging this.
About that, please read 9.9 upgrade notes to know the meaningful updates. Are you using our official chart (--version ~8
as mentioned for the 9.9 LTS)?
Generally speaking, we are still not understanding why SonarQube is being killed. K8s events for the problematic pod should give you this information. Without it we are blind and it’s very surprising that you don’t find anything here. To be sure you are not missing anything, you can try to get all events for all K8s components: kubectl get events -A
Cheers
Hello @Antoine
Yes i am using offical sonarqube chart and the chart version in ~8
dependencies:
- name: sonarqube
version: ~8
repository: https://SonarSource.github.io/helm-chart-sonarqube
above is my chart file.
Defaulted container "sonarqube" out of: sonarqube, init-sysctl (init), concat-properties (init), install-plugins (init)
2023.06.06 15:08:16 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2023.06.06 15:08:16 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:40541]
2023.06.06 15:08:16 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2023.06.06 15:08:16 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2023.06.06 15:08:17 INFO es[][o.e.n.Node] version[7.17.8], pid[30], build[default/tar/120eabe1c8a0cb2ae87cffc109a5b65d213e9df1/2022-12-02T17:33:09.727072865Z], OS[Linux/5.4.228-131.415.amzn2.x86_64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.6/17.0.6+10]
2023.06.06 15:08:17 INFO es[][o.e.n.Node] JVM home [/opt/java/openjdk]
2023.06.06 15:08:17 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=/opt/sonarqube/logs/es_hs_err_pid%p.log, -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, -Djna.tmpdir=/opt/sonarqube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Dcom.redhat.fips=false, -Xmx2G, -Xms2G, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2023.06.06 15:08:17 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2023.06.06 15:08:17 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2023.06.06 15:08:17 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2023.06.06 15:08:17 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2023.06.06 15:08:17 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2023.06.06 15:08:17 INFO es[][o.e.p.PluginsService] no plugins loaded
2023.06.06 15:08:17 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/nvme0n1p1)]], net usable_space [37.8gb], net total_space [49.9gb], types [xfs]
2023.06.06 15:08:17 INFO es[][o.e.e.NodeEnvironment] heap size [2gb], compressed ordinary object pointers [true]
2023.06.06 15:08:17 INFO es[][o.e.n.Node] node name [sonarqube], node ID [EU12-k7yQNWhuZ3Vm9qaSQ], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2023.06.06 15:08:19 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=256kb, suggested_max_allocation_size=256kb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=1mb}]
2023.06.06 15:08:19 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2023.06.06 15:08:19 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2023.06.06 15:08:20 INFO es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2023.06.06 15:08:20 INFO es[][o.e.n.Node] initialized
2023.06.06 15:08:20 INFO es[][o.e.n.Node] starting ...
2023.06.06 15:08:20 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:40541}, bound_addresses {127.0.0.1:40541}
2023.06.06 15:08:20 INFO es[][o.e.c.c.Coordinator] setting initial configuration to VotingConfiguration{EU12-k7yQNWhuZ3Vm9qaSQ}
2023.06.06 15:08:20 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{EU12-k7yQNWhuZ3Vm9qaSQ}{bSmOfFRPQx2MiwMOvCvDWg}{127.0.0.1}{127.0.0.1:40541}{cdfhimrsw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 1, version: 1, delta: master node changed {previous [], current [{sonarqube}{EU12-k7yQNWhuZ3Vm9qaSQ}{bSmOfFRPQx2MiwMOvCvDWg}{127.0.0.1}{127.0.0.1:40541}{cdfhimrsw}]}
2023.06.06 15:08:20 INFO es[][o.e.c.c.CoordinationState] cluster UUID set to [Fsj6oDQPRHypVAzkr2g4CA]
2023.06.06 15:08:20 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{EU12-k7yQNWhuZ3Vm9qaSQ}{bSmOfFRPQx2MiwMOvCvDWg}{127.0.0.1}{127.0.0.1:40541}{cdfhimrsw}]}, term: 1, version: 1, reason: Publication{term=1, version=1}
2023.06.06 15:08:20 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2023.06.06 15:08:20 INFO es[][o.e.n.Node] started
2023.06.06 15:08:20 INFO es[][o.e.g.GatewayService] recovered [0] indices into cluster_state
2023.06.06 15:08:20 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2023.06.06 15:08:20 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --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 --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx1G -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.9.0.65466.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.5.1.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process8584123185704983553properties
**WARNING: A terminally deprecated method in java.lang.System has been called**
**WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-9.9.0.65466.jar)**
**WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager**
**WARNING: System::setSecurityManager will be removed in a future release**
2023.06.06 15:08:21 INFO web[][o.s.p.ProcessEntryPoint] Starting Web Server
2023.06.06 15:08:21 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 9.9.0.65466 / ce743843018827cb30c05735e7971523de34bb48
2023.06.06 15:08:21 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://tf-postgres-to-sonarqube-non-prod.c0ncfhw2snjq.eu-central-1.rds.amazonaws.com:5432/sonardb
2023.06.06 15:08:21 INFO web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2023.06.06 15:08:22 INFO web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@2a9bc08f
2023.06.06 15:08:22 INFO web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2023.06.06 15:08:22 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2023.06.06 15:08:22 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is enabled
2023.06.06 15:08:22 INFO web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: enterprise-edition, ce-workers, developer-scanner, developer-server, governance, license, securityreport, monitoring, scim
2023.06.06 15:08:22 WARN web[][o.s.s.p.DatabaseServerCompatibility] The database must be manually upgraded. Please backup the database and browse /setup. For more information: https://docs.sonarqube.org/latest/setup/upgrading
2023.06.06 15:08:22 WARN app[][startup] ################################################################################
2023.06.06 15:08:22 WARN app[][startup] The database must be manually upgraded. Please backup the database and browse /setup. For more information: https://docs.sonarqube.org/latest/setup/upgrading
2023.06.06 15:08:22 WARN app[][startup] ################################################################################
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy ABAP Code Quality and Security / 3.11.0.4030 / efe73c1da897a69d2545e79710bec0909326dcdb
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Apex Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 8.51.0.59060 / e14c642f118958f22fd08841dc42f9aae480366a
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy CFamily Code Quality and Security / 6.41.0.60884 / 6efcc8197e558ca2a78cada46494e8afe8c821ff
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy COBOL Code Quality / 5.2.0.5949 / e2e398ef68a9ee212c8b991cf05ee1fae28e5326
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Configuration detection fot Code Quality and Security / 1.2.0.267 / 4f37ba9ffb37a96d5883e52ad392ed32c5c6eaab
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection / 1.10.0.3046 / 0
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Java / 1.10.0.3046 / 0
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Python / 1.10.0.3046 / 0
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.8.0.3166 / 01f66bdddc678966c81a9064ed139156a6a89c97
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.7.1.3306 / d720acc6860c6d8b69ec4d17570a398a1e216da1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.11.0.2847 / 6892bd3a7320b3c110717acfdb18c4c7451069fd
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 7.16.0.30901 / 4b1436558dfd5fc00c8d9aae8bb0364ba122c73e
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 9.13.0.20537 / 68ff7657415044b86033814795ed95fc1f1558f1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 2.12.0.1956 / a6df1ae252bd62d63f8673c28f87ad14258a7904
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy OpenID Connect Authentication for SonarQube / 2.0.0 / null
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.27.1.9352 / 3ddc5a03e1a7e3729d41e7c1a30a37d5715958c7
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy PL/I Code Quality and Security / 1.12.0.3443 / e9d43136dec6eea6c0129c12d2a019d141fdcc39
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy PL/SQL Code Quality and Security / 3.8.0.4948 / ab46f4c11644e5c9b17f0a5a1612d4b7362e04f3
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Python Code Quality and Security / 3.24.0.10784 / 30aa413d983f6c37b4298eba00555c3050009b52
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy RPG Code Quality / 3.3.0.3147 / 9cb6a4566eb55cc6b874220ab95f0504a952b560
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.11.0.3905 / e1f28bc000e04ca01881e84218d01d464a17a36f
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Swift Code Quality and Security / 4.8.0.5759 / 3d5b95aaf19a398736a7f5eec314c3c05f7193d2
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy T-SQL Code Quality and Security / 1.7.0.5449 / 110c82f888b1f40e1c2a0d3165fcffd413af36a5
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.0.1.611 / 53bfe3a68ae3886520d6a5c1c21dfdb564821ea1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 8.51.0.59060 / e14c642f118958f22fd08841dc42f9aae480366a
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy VB6 Code Quality and Security / 2.9.0.3341 / 2066b6ff3d7c789fefa0b86c6f70e9c9eb08f852
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Analysis / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for C# / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for JS / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Java / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for PHP / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Python / 9.9.0.19083 / 6139a53ee01a475a60f6e2944fff40f3fc00dbe1
2023.06.06 15:08:23 INFO web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.7.0.3820 / 656bccc1910d50c8984536bd2dfd917066b858e6
2023.06.06 15:08:24 INFO web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2023.06.06 15:08:24 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2023.06.06 15:08:24 WARN web[][o.s.a.s.w.WebService$Action] Description is not set on action api/monitoring/metrics
2023.06.06 15:08:24 WARN web[][o.s.a.s.w.WebService$Action] Since is not set on action api/monitoring/metrics
2023.06.06 15:08:24 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/monitoring/metrics
2023.06.06 15:08:24 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2023.06.06 15:08:24 INFO web[][o.s.s.p.Platform] Database needs to be migrated. Please refer to https://docs.sonarqube.org/latest/setup/upgrading
2023.06.06 15:08:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@1753475d [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2023.06.06 15:08:24 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
So here are the logs i get all the time, I had set the bold for some warnings, i am thinking it might be some error ?
It just stucked at HTTP connector enabled on port 9000
no logs after that.
I have just used the official chart and custom values file, apart from that there is no change.
can you help me with more debug commands on application level ?
Thank You In Advance.
BR,
Atib