I configured sonarqube on Centos 7 using postgresql. Completed all configuration but page is not loading. I looked in the logs but I can’t see an errors.
I’ll post logs from last restart of sonarqube service here:
web.log:
2019.12.17 13:27:11 INFO web[o.s.s.app.WebServer] WebServer stopped
2019.12.17 13:27:37 INFO web[o.s.p.ProcessEntryPoint] Starting web
2019.12.17 13:27:38 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2019.12.17 13:27:40 INFO web[o.e.p.PluginsService] no modules loaded
2019.12.17 13:27:40 INFO web[o.e.p.PluginsService] loaded plugin [org.elasticsearch.join.ParentJoinPlugin]
2019.12.17 13:27:40 INFO web[o.e.p.PluginsService] loaded plugin [org.elasticsearch.percolator.PercolatorPlugin]
2019.12.17 13:27:40 INFO web[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.12.17 13:27:42 INFO web[o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2019.12.17 13:27:42 INFO web[o.s.s.p.LogServerVersion] SonarQube Server / 8.0.0.29455 / f869d840f12a4dfa69533e17d3b27558617a7f82
2019.12.17 13:27:42 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://localhost/sonarqubedb
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2019.12.17 13:27:44 INFO web[o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.9.1.1834 / 178899f274b2e5340ea158ab885608a8ea228b61
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin JaCoCo / 1.0.2.475 / b79a4724f3a9af1051266b4f8ca0460977295ead
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarC# / 7.17.0.9346 / aeef94f80e6b0ed7f7b0ddf6602677ab72e3fe5d
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarCSS / 1.1.1.1010 / 365e21fd0cb9035669fc59f6fec7c8fd28a7303b
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarFlex / 2.5.1.1831 / a0c44437f6abb0feec76edd073f91fec64db2a6c
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarGo / 1.6.0.719 / edcc6a9e42fcdd30bb6f84a779c6cd7009ec72fd
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarHTML / 3.2.0.2082 / 997a51b39c4d0a5399c73a8fb729030a69eb392b
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarJS / 5.2.1.7778 / 49f34eaeaad59868d4353d89b1fc5c02bbe51976
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarJava / 5.14.0.18788 / 5722010157fd66ae9f3141184891501b4165f75a
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarKotlin / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarPHP / 3.2.0.4868 / ec66bd5f8490677eb0ebae82aa17c2a5d9c0e5e7
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarPython / 1.16.0.4432 / 9ad07a4f1351a5f9d3ef6da6d060926f01379d90
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarRuby / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarScala / 1.5.0.315 / 4ff3a145a58f3f84f1b39846a205a129d742e993
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarTS / 1.9.0.3766 / 4a4080b78001a78d758d1d0fa0190fb9496b6f57
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarVB / 7.17.0.9346 / aeef94f80e6b0ed7f7b0ddf6602677ab72e3fe5d
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarXML / 2.0.1.2020 / c5b84004face582d56f110e24c29bf9c6a679e69
2019.12.17 13:27:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Svn / 1.9.0.1295 / 942e075773975354e32691a60bfd968065703e04
2019.12.17 13:27:45 INFO web[o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2019.12.17 13:27:45 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@16c92981 [pattern=UrlPattern{inclusions=[/api/system/migrate_db., …], exclusions=[/api/properties, …]}]
2019.12.17 13:27:45 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2019.12.17 13:27:47 INFO web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2019.12.17 13:27:49 INFO web[o.s.s.s.LogServerId] Server ID: FB4B1083-AW7sQHvc3vqfpKDEZhhP
2019.12.17 13:27:49 WARN web[o.s.s.a.LogOAuthWarning] For security reasons, OAuth authentication should use HTTPS. You should set the property ‘Administration > Configuration > Server base URL’ to a HTTPS URL.
2019.12.17 13:27:49 WARN web[o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2019.12.17 13:27:49 WARN web[o.s.a.s.w.WebService$Action] The response example is not set on action api/permissions/search_templates
2019.12.17 13:27:50 INFO web[o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2019.12.17 13:27:50 INFO web[o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2019.12.17 13:27:50 INFO web[o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2019.12.17 13:27:50 INFO web[o.s.s.s.RegisterPlugins] Register plugins
2019.12.17 13:27:50 INFO web[o.s.s.s.RegisterMetrics] Register metrics
2019.12.17 13:27:50 INFO web[o.s.s.r.RegisterRules] Register rules
2019.12.17 13:27:57 INFO web[o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Register quality profiles
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile css/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile scala/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile jsp/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile kotlin/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile go/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way Recommended
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile py/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile ruby/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile cs/Sonar way
2019.12.17 13:27:58 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile java/Sonar way
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile web/Sonar way
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile xml/Sonar way
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile flex/Sonar way
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile php/Sonar way
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile php/PSR-2
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile php/Drupal
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile vbnet/Sonar way
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way
2019.12.17 13:27:59 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way recommended
2019.12.17 13:27:59 INFO web[o.s.s.s.RegisterPermissionTemplates] Register permission templates
2019.12.17 13:27:59 INFO web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2019.12.17 13:27:59 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@79d83df8 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment., …], exclusions=[/api/properties, …]}]
2019.12.17 13:27:59 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.DeprecatedPropertiesWsFilter@68e94c94 [pattern=UrlPattern{inclusions=[/api/properties/], exclusions=[]}]
2019.12.17 13:27:59 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@2437398d [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, …], exclusions=[]}]
2019.12.17 13:27:59 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@56ab9200 [pattern=UrlPattern{inclusions=[/sessions/init/], exclusions=}]
2019.12.17 13:27:59 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@5de99edf [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=}]
2019.12.17 13:27:59 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@1367906d [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=}]
2019.12.17 13:27:59 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@3b3fad50 [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=}]
2019.12.17 13:27:59 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@3c5c3697 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=}]
2019.12.17 13:27:59 INFO web[o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2019.12.17 13:27:59 INFO web[o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2019.12.17 13:27:59 INFO web[o.s.s.p.Platform] WebServer is operational
sonar.log
<-- Wrapper Stopped
–> Wrapper Started as Daemon
Launching a JVM…
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2019.12.17 13:27:14 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /var/sonarqube/temp
2019.12.17 13:27:14 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.12.17 13:27:14 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.12.17 13:27:14 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.12.17 13:27:15 INFO app[o.e.p.PluginsService] no modules loaded
2019.12.17 13:27:15 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.12.17 13:27:36 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2019.12.17 13:27:36 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube]: /usr/lib/jvm/java-11-openjdk-11.0.5.10-0.el7_7.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/var/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -server -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /var/sonarqube/temp/sq-process1499850632715199638properties
2019.12.17 13:27:59 INFO app[o.s.a.SchedulerImpl] Process[web] is up
2019.12.17 13:27:59 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘ce’, ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube]: /usr/lib/jvm/java-11-openjdk-11.0.5.10-0.el7_7.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/var/sonarqube/temp --add-opens=java.base/java.util=ALL-UNNAMED -server -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /var/sonarqube/temp/sq-process13434755306947157494properties
2019.12.17 13:28:08 INFO app[o.s.a.SchedulerImpl] Process[ce] is up
2019.12.17 13:28:08 INFO app[o.s.a.SchedulerImpl] SonarQube is up
I even installed lynx so see if I can load the page in lynx. It just says loading…
Please let me know which other logs I should past here to help uncover the problem
Thanks for your help.access.2019-12-17.log.txt (239.6 KB)