SQ crashes after upgrade to v9

Hi all

We recently tried to upgrade our dev environment. This is running is AWS ECS Fargate, backed by RDS (Postgres) and EFS.

We recently upgraded from 8.9LTS to the latest 9.x

We saw the maintenance page, then moved to /setup.

Almost immediately, the container crashes with no notable errors or warnings in the logs.

SQ version - 9.0.0.43356
Postgres version - 13.3

Any thoughts or advise to help troubleshoot this issue would be greatly appreciated.

Thanks in advance.

Hello @marc.teichtahl,

Thanks for reporting that.
First of all can you confirm which SonarQube Edition you’re working with ? DE or EE ?

Second, can you pass whatever logs you were able to capture ? Without that it will be really difficult to investigate.

Hi Olivier.

This is occurring with Developer edition. Logs to follow once I get back in front of a computer.

logs below

06/07/2021, 00:06:08	at java.base/java.lang.ClassLoader.defineClass(Unknown Source)	sonarqube
06/07/2021, 00:06:08	at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)	sonarqube
06/07/2021, 00:06:08	at java.base/java.net.URLClassLoader.defineClass(Unknown Source)	sonarqube
06/07/2021, 00:06:08	at java.base/java.net.URLClassLoader$1.run(Unknown Source)	sonarqube
06/07/2021, 00:06:08	at java.base/java.net.URLClassLoader$1.run(Unknown Source)	sonarqube
06/07/2021, 00:06:08	at java.base/java.security.AccessController.doPrivileged(Native Method)	sonarqube
06/07/2021, 00:06:08	at java.base/java.net.URLClassLoader.findClass(Unknown Source)	sonarqube
06/07/2021, 00:06:08	2021.07.05 14:06:08 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube	sonarqube
06/07/2021, 00:06:08	java.lang.IllegalStateException: Fail to load plugin JSON [JSON]	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:77)	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:575)	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:213)	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.platform.PlatformImpl.startLevel34Containers(PlatformImpl.java:187)	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.platform.PlatformImpl$1.lambda$doRun$0(PlatformImpl.java:120)	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:370)	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:120)	sonarqube
06/07/2021, 00:06:08	at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:354)	sonarqube
06/07/2021, 00:06:08	at java.base/java.lang.Thread.run(Unknown Source)	sonarqube
06/07/2021, 00:06:08	Caused by: java.lang.NoClassDefFoundError: org/sonar/api/profiles/ProfileDefinition	sonarqube
06/07/2021, 00:06:08	at java.base/java.lang.ClassLoader.defineClass1(Native Method)	sonarqube
06/07/2021, 00:06:07	2021.07.05 14:06:07 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000	sonarqube
06/07/2021, 00:06:07	2021.07.05 14:06:07 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@9731e3e [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]	sonarqube
06/07/2021, 00:06:07	2021.07.05 14:06:07 INFO web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for Java / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for PHP / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for Python / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin XML Code Quality and Security / 2.2.0.2973 / 16002945f0725643a7b42f090572795dd8b72a0f	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin YAML Analyzer / 1.5.2 / null	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin bitegarden Metrics Pack / 1.2 / 38f7670c613b58990e6ea831d6c38b0a62f87486	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin bitegarden Project Tag / 1.2 / 669a80e972ae06135ae67a6e6101c33b941e6694	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin bitegarden Report / 2.7.1 / e96ce923e78ed1647a6a1cb40b40b3e90f851c9b	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin T-SQL Code Quality and Security / 1.5.1.4340 / 11f3de5739b539749d6c2848bda8fc90135d91b6	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin VB.NET Code Quality and Security / 8.25.0.33663 / b0179674e9c2f72aae6c02a9a432a7b16b9dfef9	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Analysis / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for C# / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for JS / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin PL/SQL Code Quality and Security / 3.6.1.3873 / 342f7fcf17ecb7fbf827a2aacf630be1f4157625	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Python Code Quality and Security / 3.5.0.8244 / 7992d2ad600835c9c1a3533f2ede108288e1a1e5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Ruby Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Scala Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin SonarQube License Check Plugin / 4.0.2 / null	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Swift Code Quality and Security / 4.3.1.4892 / 2b249272bc4430519bdab769886b12c9a82084b5	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JSON / 2.3 / 0	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JaCoCo / 1.1.1.1157 / 83478572b9f23efac29de15e30c7758bbb0c0e47	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Java Code Quality and Security / 7.1.0.26670 / 443133205a173cc74f55c04cc3d5d8a25644538c	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JavaScript/TypeScript Code Quality and Security / 8.1.0.15788 / 5f6b8aa5acbb10db6a8852860755314fb1532449	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Kotlin Code Quality and Security / 2.0.1.110 / 484b3faa8cbcada38d017045d7faf5438e0b5395	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin PHP Code Quality and Security / 3.17.0.7439 / 44c7760147080c157fa0ff579772f92d3c8e1ebf	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Cloudformation / 2.0.10 / da34bb7981b5fa78c53eb098c1604d1378be24f6	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Dependency-Check / 2.0.8 / 94a8fe198f431b335d0a3fb3ef6fdb67c74c668e	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Flex Code Quality and Security / 2.6.2.2641 / 11f07506915923b3a0e39e4e34280644c035b925	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Go Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin HTML Code Quality and Security / 3.4.0.2754 / 38f7ff864ae15152c9f1efc3014594f7e7ca7b6e	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin ABAP Code Quality and Security / 3.9.1.3127 / a62ddf6ddd7379d398a58d32c9931a2feef61e24	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin C# Code Quality and Security / 8.25.0.33663 / b0179674e9c2f72aae6c02a9a432a7b16b9dfef9	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin CFamily Code Quality and Security / 6.23.0.34138 / 1e1f81ee1d99b07eb1d96168177783c2387cbcf8	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin CSS Code Quality and Security / 1.4.2.2002 / faa7d4f1407df67df7ada53caf677ab783721173	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 WARN web[][o.s.s.p.PluginJarLoader] Use of 'Plugin-Dependencies' mechanism is planned for removal. Update the plugin Cloudformation [cloudformation] to shade its dependencies instead.	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube	sonarqube
06/07/2021, 00:05:55	2021.07.05 14:05:55 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled	sonarqube
06/07/2021, 00:05:53	2021.07.05 14:05:53 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://db.dev.sonar.qube.aws-prototyping.cloud:5432/sonarqube	sonarqube
06/07/2021, 00:05:53	2021.07.05 14:05:53 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 9.0.0.45539 / b560c61de287500da666c2bab0d71cfe6bf95e4e	sonarqube
06/07/2021, 00:05:52	2021.07.05 14:05:52 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]	sonarqube
06/07/2021, 00:05:52	2021.07.05 14:05:52 INFO web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: developer-edition, developer-scanner, developer-server, license	sonarqube
06/07/2021, 00:05:52	2021.07.05 14:05:52 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read	sonarqube
06/07/2021, 00:05:51	2021.07.05 14:05:51 INFO web[][o.s.p.ProcessEntryPoint] Starting web	sonarqube
06/07/2021, 00:05:51	2021.07.05 14:05:51 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] 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 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dsonar.log.level=INFO -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.0.0.45539.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.19.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process18376488577111285057properties	sonarqube
06/07/2021, 00:05:51	2021.07.05 14:05:51 INFO app[][o.s.a.SchedulerImpl] Process[es] is up	sonarqube
06/07/2021, 00:05:50	2021.07.05 14:05:50 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]]).	sonarqube
06/07/2021, 00:05:40	2021.07.05 14:05:40 INFO es[][o.e.g.GatewayService] recovered [7] indices into cluster_state	sonarqube
06/07/2021, 00:05:40	2021.07.05 14:05:40 INFO es[][o.e.n.Node] started	sonarqube
06/07/2021, 00:05:40	2021.07.05 14:05:40 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}	sonarqube
06/07/2021, 00:05:40	2021.07.05 14:05:40 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{sSHdETgHQEG4musXfdCBkQ}{nb_PJKFrQrS_V2KOklPm4g}{127.0.0.1}{127.0.0.1:41391}{dimr}{rack_id=sonarqube}]}, term: 77, version: 1754, reason: Publication{term=77, version=1754}	sonarqube
06/07/2021, 00:05:40	2021.07.05 14:05:40 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{sSHdETgHQEG4musXfdCBkQ}{nb_PJKFrQrS_V2KOklPm4g}{127.0.0.1}{127.0.0.1:41391}{dimr}{rack_id=sonarqube} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 77, version: 1754, delta: master node changed {previous [], current [{sonarqube}{sSHdETgHQEG4musXfdCBkQ}{nb_PJKFrQrS_V2KOklPm4g}{127.0.0.1}{127.0.0.1:41391}{dimr}{rack_id=sonarqube}]}	sonarqube
06/07/2021, 00:05:39	2021.07.05 14:05:39 INFO es[][o.e.c.c.Coordinator] cluster UUID [K9Gn7gk-TwWrgZmqLd3FDA]	sonarqube
06/07/2021, 00:05:39	2021.07.05 14:05:39 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks	sonarqube
06/07/2021, 00:05:38	2021.07.05 14:05:38 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:41391}, bound_addresses {127.0.0.1:41391}	sonarqube
06/07/2021, 00:05:38	2021.07.05 14:05:38 INFO es[][o.e.n.Node] starting ...	sonarqube
06/07/2021, 00:05:38	2021.07.05 14:05:38 INFO es[][o.e.n.Node] initialized	sonarqube
06/07/2021, 00:05:38	2021.07.05 14:05:38 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	sonarqube
06/07/2021, 00:05:37	2021.07.05 14:05:37 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]	sonarqube
06/07/2021, 00:05:37	2021.07.05 14:05:37 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=false, g1gc_region_size=0b, heap_size=494.9mb}]	sonarqube
06/07/2021, 00:05:34	2021.07.05 14:05:34 INFO es[][o.e.n.Node] node name [sonarqube], node ID [sSHdETgHQEG4musXfdCBkQ], cluster name [sonarqube], roles [master, remote_cluster_client, data, ingest]	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/xvdcz)]], net usable_space [8191.9pb], net total_space [8191.9pb], types [ext4]	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.e.NodeEnvironment] heap size [494.9mb], compressed ordinary object pointers [true]	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.p.PluginsService] no plugins loaded	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.p.PluginsService] loaded module [percolator]	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]	sonarqube
06/07/2021, 00:05:32	2021.07.05 14:05:32 INFO es[][o.e.p.PluginsService] loaded module [parent-join]	sonarqube
06/07/2021, 00:05:31	2021.07.05 14:05:31 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=../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, -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, -Djava.locale.providers=COMPAT, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Dnode.store.allow_mmap=false, -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]	sonarqube
06/07/2021, 00:05:31	2021.07.05 14:05:31 INFO es[][o.e.n.Node] JVM home [/opt/java/openjdk]	sonarqube
06/07/2021, 00:05:31	2021.07.05 14:05:31 INFO es[][o.e.n.Node] version[7.12.1], pid[41], build[default/tar/3186837139b9c6b6d23c3200870651f10d3343b7/2021-04-20T20:56:39.040728659Z], OS[Linux/4.14.225-168.357.amzn2.x86_64/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/11.0.11/11.0.11+9]	sonarqube
06/07/2021, 00:05:29	OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.	sonarqube
06/07/2021, 00:05:29	warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release	sonarqube
06/07/2021, 00:05:28	2021.07.05 14:05:28 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running	sonarqube
06/07/2021, 00:05:28	2021.07.05 14:05:28 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch	sonarqube
06/07/2021, 00:05:28	2021.07.05 14:05:28 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:41391]	sonarqube
06/07/2021, 00:05:28	2021.07.05 14:05:28 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp	sonarqube

And other log after removing the “json” plugin

06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/bitegarden/report/pdf_issues_breakdown	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/support/info	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/count_binding	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/validate	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list_definitions	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/get_binding	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/validate_binding	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_repositories	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/get_github_client_id	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_bitbucketserver_repos	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_azure_repos	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_organizations	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_bitbucketserver_projects	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_bitbucketcloud_repos	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_azure_projects	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/permissions/search_templates	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download	sonarqube
06/07/2021, 00:44:50	2021.07.05 14:44:50 INFO web[][o.s.s.s.LogServerId] Server ID: 3AF855BB-AXpfI4onm4TD7cUMUooQ	sonarqube
06/07/2021, 00:44:48	2021.07.05 14:44:48 INFO web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)	sonarqube
06/07/2021, 00:44:46	2021.07.05 14:44:46 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000	sonarqube
06/07/2021, 00:44:46	2021.07.05 14:44:46 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@5e7cc46 [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]	sonarqube
06/07/2021, 00:44:46	2021.07.05 14:44:46 INFO web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for Python / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin XML Code Quality and Security / 2.2.0.2973 / 16002945f0725643a7b42f090572795dd8b72a0f	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin YAML Analyzer / 1.5.2 / null	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin bitegarden Metrics Pack / 1.2 / 38f7670c613b58990e6ea831d6c38b0a62f87486	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin bitegarden Project Tag / 1.2 / 669a80e972ae06135ae67a6e6101c33b941e6694	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin bitegarden Report / 2.7.1 / e96ce923e78ed1647a6a1cb40b40b3e90f851c9b	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin VB.NET Code Quality and Security / 8.25.0.33663 / b0179674e9c2f72aae6c02a9a432a7b16b9dfef9	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Analysis / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for C# / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for JS / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for Java / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Vulnerability Rules for PHP / 9.0.0.12669 / a44b9f332398eb9ab9154d60da447503fe32e0e5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Python Code Quality and Security / 3.5.0.8244 / 7992d2ad600835c9c1a3533f2ede108288e1a1e5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Ruby Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Scala Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin SonarQube License Check Plugin / 4.0.2 / null	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Swift Code Quality and Security / 4.3.1.4892 / 2b249272bc4430519bdab769886b12c9a82084b5	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin T-SQL Code Quality and Security / 1.5.1.4340 / 11f3de5739b539749d6c2848bda8fc90135d91b6	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JaCoCo / 1.1.1.1157 / 83478572b9f23efac29de15e30c7758bbb0c0e47	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Java Code Quality and Security / 7.1.0.26670 / 443133205a173cc74f55c04cc3d5d8a25644538c	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JavaScript/TypeScript Code Quality and Security / 8.1.0.15788 / 5f6b8aa5acbb10db6a8852860755314fb1532449	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Kotlin Code Quality and Security / 2.0.1.110 / 484b3faa8cbcada38d017045d7faf5438e0b5395	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin PHP Code Quality and Security / 3.17.0.7439 / 44c7760147080c157fa0ff579772f92d3c8e1ebf	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin PL/SQL Code Quality and Security / 3.6.1.3873 / 342f7fcf17ecb7fbf827a2aacf630be1f4157625	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Cloudformation / 2.0.10 / da34bb7981b5fa78c53eb098c1604d1378be24f6	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Dependency-Check / 2.0.8 / 94a8fe198f431b335d0a3fb3ef6fdb67c74c668e	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Flex Code Quality and Security / 2.6.2.2641 / 11f07506915923b3a0e39e4e34280644c035b925	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Go Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin HTML Code Quality and Security / 3.4.0.2754 / 38f7ff864ae15152c9f1efc3014594f7e7ca7b6e	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin ABAP Code Quality and Security / 3.9.1.3127 / a62ddf6ddd7379d398a58d32c9931a2feef61e24	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin C# Code Quality and Security / 8.25.0.33663 / b0179674e9c2f72aae6c02a9a432a7b16b9dfef9	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin CFamily Code Quality and Security / 6.23.0.34138 / 1e1f81ee1d99b07eb1d96168177783c2387cbcf8	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin CSS Code Quality and Security / 1.4.2.2002 / faa7d4f1407df67df7ada53caf677ab783721173	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 WARN web[][o.s.s.p.PluginJarLoader] Use of 'Plugin-Dependencies' mechanism is planned for removal. Update the plugin Cloudformation [cloudformation] to shade its dependencies instead.	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled	sonarqube
06/07/2021, 00:44:33	2021.07.05 14:44:33 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube	sonarqube
06/07/2021, 00:44:31	2021.07.05 14:44:31 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://db.dev.sonar.qube.aws-prototyping.cloud:5432/sonarqube	sonarqube
06/07/2021, 00:44:31	2021.07.05 14:44:31 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 9.0.0.45539 / b560c61de287500da666c2bab0d71cfe6bf95e4e	sonarqube
06/07/2021, 00:44:30	2021.07.05 14:44:30 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]	sonarqube
06/07/2021, 00:44:30	2021.07.05 14:44:30 INFO web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: developer-edition, developer-scanner, developer-server, license	sonarqube
06/07/2021, 00:44:30	2021.07.05 14:44:30 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read	sonarqube
06/07/2021, 00:44:27	2021.07.05 14:44:27 INFO web[][o.s.p.ProcessEntryPoint] Starting web	sonarqube
06/07/2021, 00:44:27	2021.07.05 14:44:27 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] 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 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dsonar.log.level=INFO -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.0.0.45539.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.19.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process1160950276023652478properties	sonarqube
06/07/2021, 00:44:26	2021.07.05 14:44:26 INFO app[][o.s.a.SchedulerImpl] Process[es] is up	sonarqube
06/07/2021, 00:44:26	2021.07.05 14:44:26 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]]).	sonarqube
06/07/2021, 00:44:16	2021.07.05 14:44:16 INFO es[][o.e.g.GatewayService] recovered [7] indices into cluster_state	sonarqube
06/07/2021, 00:44:16	2021.07.05 14:44:16 INFO es[][o.e.n.Node] started	sonarqube
06/07/2021, 00:44:16	2021.07.05 14:44:16 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}	sonarqube
06/07/2021, 00:44:16	2021.07.05 14:44:16 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{sSHdETgHQEG4musXfdCBkQ}{SSMRlBHhR6W4dp9u1T8ZYA}{127.0.0.1}{127.0.0.1:34401}{dimr}{rack_id=sonarqube}]}, term: 93, version: 2113, reason: Publication{term=93, version=2113}	sonarqube
06/07/2021, 00:44:15	2021.07.05 14:44:15 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{sSHdETgHQEG4musXfdCBkQ}{SSMRlBHhR6W4dp9u1T8ZYA}{127.0.0.1}{127.0.0.1:34401}{dimr}{rack_id=sonarqube} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 93, version: 2113, delta: master node changed {previous [], current [{sonarqube}{sSHdETgHQEG4musXfdCBkQ}{SSMRlBHhR6W4dp9u1T8ZYA}{127.0.0.1}{127.0.0.1:34401}{dimr}{rack_id=sonarqube}]}	sonarqube
06/07/2021, 00:44:15	2021.07.05 14:44:15 INFO es[][o.e.c.c.Coordinator] cluster UUID [K9Gn7gk-TwWrgZmqLd3FDA]	sonarqube
06/07/2021, 00:44:15	2021.07.05 14:44:15 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks	sonarqube
06/07/2021, 00:44:14	2021.07.05 14:44:14 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:34401}, bound_addresses {127.0.0.1:34401}	sonarqube
06/07/2021, 00:44:14	2021.07.05 14:44:14 INFO es[][o.e.n.Node] starting ...	sonarqube
06/07/2021, 00:44:14	2021.07.05 14:44:14 INFO es[][o.e.n.Node] initialized	sonarqube
06/07/2021, 00:44:13	2021.07.05 14:44:13 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	sonarqube
06/07/2021, 00:44:13	2021.07.05 14:44:13 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]	sonarqube
06/07/2021, 00:44:13	2021.07.05 14:44:13 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=false, g1gc_region_size=0b, heap_size=494.9mb}]	sonarqube
06/07/2021, 00:44:09	2021.07.05 14:44:09 INFO es[][o.e.n.Node] node name [sonarqube], node ID [sSHdETgHQEG4musXfdCBkQ], cluster name [sonarqube], roles [master, remote_cluster_client, data, ingest]	sonarqube
06/07/2021, 00:44:08	2021.07.05 14:44:08 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/xvdcz)]], net usable_space [8191.9pb], net total_space [8191.9pb], types [ext4]	sonarqube
06/07/2021, 00:44:08	2021.07.05 14:44:08 INFO es[][o.e.e.NodeEnvironment] heap size [494.9mb], compressed ordinary object pointers [true]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.p.PluginsService] no plugins loaded	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.p.PluginsService] loaded module [parent-join]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.p.PluginsService] loaded module [percolator]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=../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, -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, -Djava.locale.providers=COMPAT, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Dnode.store.allow_mmap=false, -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]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.n.Node] JVM home [/opt/java/openjdk]	sonarqube
06/07/2021, 00:44:07	2021.07.05 14:44:07 INFO es[][o.e.n.Node] version[7.12.1], pid[40], build[default/tar/3186837139b9c6b6d23c3200870651f10d3343b7/2021-04-20T20:56:39.040728659Z], OS[Linux/4.14.225-168.357.amzn2.x86_64/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/11.0.11/11.0.11+9]	sonarqube
06/07/2021, 00:44:04	OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.	sonarqube
06/07/2021, 00:44:04	warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release	sonarqube
06/07/2021, 00:44:04	2021.07.05 14:44:04 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running	sonarqube
06/07/2021, 00:44:04	2021.07.05 14:44:04 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch	sonarqube
06/07/2021, 00:44:04	2021.07.05 14:44:04 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:34401]	sonarqube
06/07/2021, 00:44:04	2021.07.05 14:44:04 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp	sonarqube

Hello @marc.teichtahl,

I believe that you installed on your platform a JSON plugin that’s incompatible with SonarQube 9.0.
Indeed between 8.9 and 9.0 we dropped several plugin API endpoints that were deprecated since a long time (see https://jira.sonarsource.com/browse/SONAR-14925) and my guess is that the JSON plugin uses them (in particular ProfileDefinition)

You must remove that JSON plugin until it’s ported to 9.0… and it may not be quick given the banner on the repo GitHub - racodond/sonar-json-plugin: SonarQube JSON Analyzer

Olivier

1 Like

We have done that as per https://community.sonarsource.com/t/sq-crashes-after-upgrade-to-v9/45928/6?u=marc.teichtahl

The behaviour is the same – Sonarqube silently fails

Hi,

I have the same kind of issue but with FindBugs plugin:

2021.07.06 04:05:07 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.IllegalStateException: Fail to load plugin Findbugs [findbugs]
        at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:77)
        at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:575)
        at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:213)
        at org.sonar.server.platform.PlatformImpl.startLevel34Containers(PlatformImpl.java:187)
        at org.sonar.server.platform.PlatformImpl$1.lambda$doRun$0(PlatformImpl.java:120)
        at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.runIfNotAborted(PlatformImpl.java:370)
        at org.sonar.server.platform.PlatformImpl$1.doRun(PlatformImpl.java:120)
        at org.sonar.server.platform.PlatformImpl$AutoStarterRunnable.run(PlatformImpl.java:354)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NoClassDefFoundError: org/sonar/api/profiles/ProfileDefinition
        at java.base/java.lang.ClassLoader.defineClass1(Native Method)
        at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
        at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
        at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:550)
        at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458)
        at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451)
        at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
        at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
        at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
        at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
        at org.sonar.plugins.findbugs.FindbugsPlugin.define(FindbugsPlugin.java:60)
        at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:67)
        ... 8 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.sonar.api.profiles.ProfileDefinition
        at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)
        at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
        at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
        ... 22 common frames omitted

Following Plugin Version Matrix | SonarQube Docs the plugin seems to be compatible with Sonarqube 9, but maybe there is the same API issue

@nbegorre,
The problem is indeed similar. Simply remove findbugs until it’s ported to 9.x.
If the problem persists, can you open another topic please to not mix up everything.
Thank you

@marc.teichtahl,
Sorry for missing your 2nd post. OK so you removed the JSON plugin and retried and it still silently fails.
I can see from your logs that you have a fair number of 3rd party plugins. I would bet one of these cause the crash. So I would recommend to first start SonarQube only with the bundled plugins, verify that it works and the add the other plugins one by one until you find the culprit (if my guess is correct). So for now remove yaml, bitegarden (all), cloudformation and dependencyCheck.

Olivier

2 Likes

About FindBugs : Issue #368 Replaced references to API removed in Sonar 9 by gtoison · Pull Request #369 · spotbugs/sonar-findbugs · GitHub