Sonar server is not coming up - sonarqube

I have installed Sonar on a windows machine and when I am trying to run it am getting the below error and the sonar is not coming up.
Could someone help on this.
Sonar start up log (below) -
*Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
D:\Agile\NewSonarQube\sonarqube-5.6.6\bin\windows-x86-64>StartSonar.bat
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2019.06.24 16:30:05 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory D:\Agile\NewSonarQube\sonarqube-5.6.6\temp
jvm 1 | 2019.06.24 16:30:26 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+
UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\
sq-process5784289335367032457properties
jvm 1 | 2019.06.24 16:32:29 INFO app[o.s.p.m.Monitor] Process[es] is up
jvm 1 | 2019.06.24 16:32:29 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError
-Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.ser
ver.app.WebServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process7712868170609596655properties
jvm 1 | 2019.06.24 16:34:52 INFO app[o.s.p.m.Monitor] Process[web] is up
jvm 1 | 2019.06.24 16:34:52 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQub
e\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;./lib/ce/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.ce.app.CeServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-
process6453747015728432890properties
jvm 1 | 2019.06.24 16:35:21 INFO app[o.s.p.m.Monitor] Process[ce] is up
jvm 1 | 2019.06.24 16:35:21 INFO app[o.s.p.m.Monitor] Process[web] is stopping
jvm 1 | 2019.06.24 16:35:30 INFO app[o.s.p.m.Monitor] Process[web] is stopped
jvm 1 | 2019.06.24 16:35:30 INFO app[o.s.p.m.Monitor] Process[es] is stopping
jvm 1 | 2019.06.24 16:35:33 INFO app[o.s.p.m.Monitor] Process[es] is stopped
wrapper | <-- Wrapper Stopped*
Also attaching the 'sonar.log' here below -
--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2019.07.03 11:24:28 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory D:\Agile\NewSonarQube\sonarqube-5.6.6\temp
2019.07.03 11:24:30 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process7809422627146396746properties
2019.07.03 11:24:30 INFO es[o.s.p.ProcessEntryPoint] Starting es
2019.07.03 11:24:30 INFO es[o.s.s.EsSettings] Elasticsearch listening on 127.0.0.1:9001
2019.07.03 11:24:31 INFO es[o.elasticsearch.node] [sonar-1562133268619] version[1.7.5], pid[8484], build[00f95f4/2016-02-02T09:55:30Z]
2019.07.03 11:24:31 INFO es[o.elasticsearch.node] [sonar-1562133268619] initializing ...
2019.07.03 11:24:31 INFO es[o.e.plugins] [sonar-1562133268619] loaded [], sites []
2019.07.03 11:24:31 INFO es[o.elasticsearch.env] [sonar-1562133268619] using [1] data paths, mounts [[(D:)]], net usable_space [79.6gb], net total_space [131.9gb], types [NTFS]
2019.07.03 11:24:32 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2019.07.03 11:24:33 INFO es[o.elasticsearch.node] [sonar-1562133268619] initialized
2019.07.03 11:24:33 INFO es[o.elasticsearch.node] [sonar-1562133268619] starting ...
2019.07.03 11:24:33 INFO es[o.e.transport] [sonar-1562133268619] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]}
2019.07.03 11:24:33 INFO es[o.e.discovery] [sonar-1562133268619] sonarqube/XGZJsELLSXuNlBZ4G449tw
2019.07.03 11:24:36 INFO es[o.e.cluster.service] [sonar-1562133268619] new_master [sonar-1562133268619][XGZJsELLSXuNlBZ4G449tw][CLBBLR-5070][inet[/127.0.0.1:9001]]{rack_id=sonar-1562133268619}, reason: zen-disco-join (elected_as_master)
2019.07.03 11:24:36 INFO es[o.elasticsearch.node] [sonar-1562133268619] started
2019.07.03 11:24:36 INFO es[o.e.gateway] [sonar-1562133268619] recovered [6] indices into cluster_state
2019.07.03 11:24:39 INFO app[o.s.p.m.Monitor] Process[es] is up
2019.07.03 11:24:39 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.server.app.WebServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process6230173931576405711properties
2019.07.03 11:24:40 INFO web[o.s.p.ProcessEntryPoint] Starting web
2019.07.03 11:24:41 INFO web[o.s.s.a.TomcatContexts] Webapp directory: D:\Agile\NewSonarQube\sonarqube-5.6.6\web
2019.07.03 11:24:41 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:24:41 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2019.07.03 11:24:42 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.6.6 / e8e13145497bb920921ae4fe11b09f0903f1d298
2019.07.03 11:24:42 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://localhost/sonar
2019.07.03 11:24:43 INFO web[o.s.s.p.DefaultServerFileSystem] SonarQube home: D:\Agile\NewSonarQube\sonarqube-5.6.6
2019.07.03 11:24:43 INFO web[o.e.plugins] [sonar-1562133268619] loaded [], sites []
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Android / 1.1 / 9ab2bbcc83177e67c74d365f009bfe05bf38c7e3
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin C# / 6.3.0.2862 / 1600df4ea68defd03b270da8e2935cfbf342cd8e
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin CSS / SCSS / Less / 3.1 / 58a0a86a53f82a8486a5ee93681257e1ae0a10c8
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Checkstyle / 3.7 /
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Cobertura / 1.7 / d14b7978322d19a2795286ebfed225a57b13c3af
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin CodeCracker for C# / 1.0.1
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin ESLint / 0.1.1
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin PL/SQL (Community) / 2.0.0-SNAPSHOT /
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin PMD / 2.6 / f419f834b4bea51f9b6da33517b7f6186db5c066
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.3 / aff503d48bc77b07c2b62abf93249d0a20bd355c
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarJS / 3.1.1.5128 / 564d130c281685fde03e85964417158e32a17b2b
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarJava / 4.12.0.11033 / fa9fe66b0cb1b6ab8d7f341cc1f7908897a9cf33
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarPHP / 2.11.0.2485 / 741861a29e5f9a26c6c99c06268facb6c4f4a882
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SonarXML / 1.4.3.1027 / 39588245cecf538bb27be4e496ff303b0143d20b
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Sonargraph / 3.5
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Timeline / 1.5 / a9cae1328fd455a128b5d7d603381f47398c6e2a
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin TypeScript / 1.2.0-rc1
2019.07.03 11:24:44 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Web / 2.5.0.476 / 636872f5d37fa7a440fe07d08d504e1a881225e5
2019.07.03 11:24:47 INFO web[o.s.s.p.RailsAppsDeployer] Deploying Ruby on Rails applications
2019.07.03 11:24:49 INFO web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2019.07.03 11:24:49 INFO web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.)
2019.07.03 11:24:49 INFO web[o.s.s.s.RegisterMetrics] Register metrics
2019.07.03 11:24:50 INFO web[o.s.s.r.RegisterRules] Register rules
2019.07.03 11:24:53 INFO web[o.s.s.q.RegisterQualityProfiles] Register quality profiles
2019.07.03 11:24:56 INFO web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters
2019.07.03 11:24:56 INFO web[o.s.s.s.RegisterDashboards] Register dashboards
2019.07.03 11:24:56 INFO web[o.s.s.s.RegisterPermissionTemplates] Register permission templates
2019.07.03 11:24:56 INFO web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2019.07.03 11:24:56 INFO web[o.s.s.e.IndexerStartupTask] Index activities
2019.07.03 11:24:56 INFO web[o.s.s.e.IndexerStartupTask] Index issues
2019.07.03 11:24:57 INFO web[o.s.s.e.IndexerStartupTask] Index tests
2019.07.03 11:24:57 INFO web[o.s.s.e.IndexerStartupTask] Index users
2019.07.03 11:24:57 INFO web[o.s.s.e.IndexerStartupTask] Index views
2019.07.03 11:24:57 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_65-b17 [Windows 7-amd64]
2019.07.03 11:24:57 INFO web[jruby.rack] using a shared (threadsafe!) runtime
2019.07.03 11:25:09 INFO web[jruby.rack] keeping custom (config.logger) Rails logger instance
2019.07.03 11:25:09 INFO web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter#649f4774 [pattern=/sessions/init/*]
2019.07.03 11:25:09 INFO web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter#18a75007 [pattern=/oauth2/callback/*]
2019.07.03 11:25:09 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:09 INFO web[o.s.s.a.TomcatAccessLog] Web server is started
2019.07.03 11:25:09 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2019.07.03 11:25:09 INFO app[o.s.p.m.Monitor] Process[web] is up
2019.07.03 11:25:09 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: D:\Agile\Java\jdk1.8.0_65\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\Agile\NewSonarQube\sonarqube-5.6.6\temp -javaagent:D:\Agile\Java\jdk1.8.0_65\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;./lib/ce/*;D:\Agile\NewSonarQube\sonarqube-5.6.6\lib\jdbc\postgresql\postgresql-9.3-1102-jdbc41.jar org.sonar.ce.app.CeServer D:\Agile\NewSonarQube\sonarqube-5.6.6\temp\sq-process9172021716354276652properties
2019.07.03 11:25:10 INFO ce[o.s.p.ProcessEntryPoint] Starting ce
2019.07.03 11:25:10 INFO ce[o.s.ce.app.CeServer] Compute Engine starting up...
2019.07.03 11:25:10 INFO ce[o.s.s.p.ServerImpl] SonarQube Server / 5.6.6 / e8e13145497bb920921ae4fe11b09f0903f1d298
2019.07.03 11:25:10 INFO ce[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://localhost/sonar
2019.07.03 11:25:11 INFO ce[o.s.s.p.DefaultServerFileSystem] SonarQube home: D:\Agile\NewSonarQube\sonarqube-5.6.6
2019.07.03 11:25:11 INFO ce[o.e.plugins] [sonar-1562133268619] loaded [], sites []
2019.07.03 11:25:12 INFO ce[o.s.c.c.CePluginRepository] Load plugins
2019.07.03 11:25:17 ERROR ce[o.s.ce.app.CeServer] Compute Engine startup failed
org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ce_activity_uuid"
Detail: Key (uuid)=(AWpKhMdKhBAmaVnZ4vza) already exists.
### The error may involve org.sonar.db.ce.CeActivityMapper.insert-Inline
### The error occurred while setting parameters
### SQL: insert into ce_activity (uuid, component_uuid, snapshot_id, status, task_type, is_last, is_last_key, submitter_login, submitted_at, started_at, executed_at, created_at, updated_at, execution_time_ms) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ce_activity_uuid"
Detail: Key (uuid)=(AWpKhMdKhBAmaVnZ4vza) already exists.
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:154) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:141) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:51) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52) ~[mybatis-3.2.7.jar:3.2.7]
at com.sun.proxy.$Proxy39.insert(Unknown Source) ~[na:na]
at org.sonar.db.ce.CeActivityDao.insert(CeActivityDao.java:51) ~[sonar-db-5.6.6.jar:na]
at org.sonar.ce.queue.CeQueueImpl.remove(CeQueueImpl.java:181) ~[sonar-server-5.6.6.jar:na]
at org.sonar.ce.queue.CeQueueImpl.cancelImpl(CeQueueImpl.java:156) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.InternalCeQueueImpl.cancel(InternalCeQueueImpl.java:128) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueCleaner.verifyConsistency(CeQueueCleaner.java:81) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueCleaner.clean(CeQueueCleaner.java:59) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueInitializer.initCe(CeQueueInitializer.java:59) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.computation.queue.CeQueueInitializer.onServerStart(CeQueueInitializer.java:51) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.platform.ServerLifecycleNotifier.notifyStart(ServerLifecycleNotifier.java:67) ~[sonar-server-5.6.6.jar:na]
at org.sonar.ce.container.ComputeEngineContainerImpl.startupTasks(ComputeEngineContainerImpl.java:631) ~[sonar-ce-5.6.6.jar:na]
at org.sonar.ce.container.ComputeEngineContainerImpl.start(ComputeEngineContainerImpl.java:619) ~[sonar-ce-5.6.6.jar:na]
at org.sonar.ce.ComputeEngineImpl.startup(ComputeEngineImpl.java:43) ~[sonar-ce-5.6.6.jar:na]
at org.sonar.ce.app.CeServer$CeMainThread.startup(CeServer.java:175) [sonar-ce-5.6.6.jar:na]
at org.sonar.ce.app.CeServer$CeMainThread.attemptStartup(CeServer.java:165) [sonar-ce-5.6.6.jar:na]
at org.sonar.ce.app.CeServer$CeMainThread.run(CeServer.java:153) [sonar-ce-5.6.6.jar:na]
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ce_activity_uuid"
Detail: Key (uuid)=(AWpKhMdKhBAmaVnZ4vza) already exists.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:412) ~[postgresql-9.3-1102-jdbc41.jar:na]
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) ~[commons-dbcp-1.4.jar:1.4]
at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:44) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:69) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.ReuseExecutor.doUpdate(ReuseExecutor.java:50) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:105) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:71) ~[mybatis-3.2.7.jar:3.2.7]
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:152) ~[mybatis-3.2.7.jar:3.2.7]
... 19 common frames omitted
2019.07.03 11:25:17 INFO app[o.s.p.m.Monitor] Process[ce] is up
2019.07.03 11:25:17 INFO app[o.s.p.m.Monitor] Process[web] is stopping
2019.07.03 11:25:17 INFO web[o.s.p.StopWatcher] Stopping process
2019.07.03 11:25:17 INFO web[o.a.c.h.Http11NioProtocol] Pausing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:18 INFO web[o.s.s.n.NotificationService] Notification service stopped
2019.07.03 11:25:18 INFO web[o.a.c.h.Http11NioProtocol] Stopping ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:19 INFO web[o.a.c.h.Http11NioProtocol] Destroying ProtocolHandler ["http-nio-0.0.0.0-9000"]
2019.07.03 11:25:19 INFO web[o.s.s.a.TomcatAccessLog] Web server is stopped
2019.07.03 11:25:20 INFO app[o.s.p.m.Monitor] Process[web] is stopped
2019.07.03 11:25:20 INFO app[o.s.p.m.Monitor] Process[es] is stopping
2019.07.03 11:25:20 INFO es[o.s.p.StopWatcher] Stopping process
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] stopping ...
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] stopped
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] closing ...
2019.07.03 11:25:20 INFO es[o.elasticsearch.node] [sonar-1562133268619] closed
2019.07.03 11:25:21 INFO app[o.s.p.m.Monitor] Process[es] is stopped
<-- Wrapper Stopped
From the above log ERROR is
ERROR: duplicate key value violates unique constraint "ce_activity_uuid".
Any leads for the error..??

Related

Error in accessing SonarQube dashboard on localhost:9000

I was configuring SonarQube 6.1 on my PC and initially i was able to view sonarqube dashboard on localhost:9000. But after doing required changes in configuration files(sonar and wrapper) ,after creating db in sql server i am NOT ABLE to see sonar dashboard on localhost:9000 ,its giving network error(tcp_error).
Sql server connection :
sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true.
Any hint will be appreciated.
i am attaching the logs here :
--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2018.02.14 19:22:49 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Sonarqube 6.1\temp
2018.02.14 19:22:49 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[es]: C:\Program Files\Java\jdk1.8.0_152\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\Sonarqube 6.1\temp -javaagent:C:\Program Files\Java\jdk1.8.0_152\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Sonarqube 6.1\temp\sq-process2295132313122351201properties
2018.02.14 19:22:51 INFO es[][o.s.p.ProcessEntryPoint] Starting es
2018.02.14 19:22:51 INFO es[][o.s.s.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2018.02.14 19:22:51 INFO es[][o.elasticsearch.node] [sonarqube] version[2.3.3], pid[69296], build[218bdf1/2016-05-17T15:40:04Z]
2018.02.14 19:22:51 INFO es[][o.elasticsearch.node] [sonarqube] initializing ...
2018.02.14 19:22:51 INFO es[][o.e.plugins] [sonarqube] modules [], plugins [], sites []
2018.02.14 19:22:51 INFO es[][o.elasticsearch.env] [sonarqube] using [1] data paths, mounts [[C (C:)]], net usable_space [17.2gb], net total_space [97.6gb], spins? [unknown], types [NTFS]
2018.02.14 19:22:51 INFO es[][o.elasticsearch.env] [sonarqube] heap size [990.7mb], compressed ordinary object pointers [true]
2018.02.14 19:23:10 INFO es[][o.elasticsearch.node] [sonarqube] initialized
2018.02.14 19:23:10 INFO es[][o.elasticsearch.node] [sonarqube] starting ...
2018.02.14 19:23:10 INFO es[][o.e.transport] [sonarqube] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2018.02.14 19:23:10 INFO es[][o.e.discovery] [sonarqube] sonarqube/SiLqQ7h5TnqOmun2zWvO_w
2018.02.14 19:23:14 INFO es[][o.e.cluster.service] [sonarqube] new_master {sonarqube}{SiLqQ7h5TnqOmun2zWvO_w}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube, master=true}, reason: zen-disco-join(elected_as_master, [0] joins received)
2018.02.14 19:23:14 INFO es[][o.elasticsearch.node] [sonarqube] started
2018.02.14 19:23:15 INFO es[][o.e.gateway] [sonarqube] recovered [5] indices into cluster_state
2018.02.14 19:23:19 INFO es[][o.e.c.r.allocation] [sonarqube] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[tests][4]] ...]).
2018.02.14 19:23:19 INFO app[][o.s.p.m.Monitor] Process[es] is up
2018.02.14 19:23:19 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jdk1.8.0_152\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx1024m -Xms512m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\Sonarqube 6.1\temp -javaagent:C:\Program Files\Java\jdk1.8.0_152\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;C:\Sonarqube 6.1\lib\jdbc\mssql\sqljdbc42.jar org.sonar.server.app.WebServer C:\Sonarqube 6.1\temp\sq-process6566518313829106923properties
2018.02.14 19:23:20 INFO web[][o.s.p.ProcessEntryPoint] Starting web
2018.02.14 19:23:21 INFO web[][o.s.s.a.TomcatContexts] Webapp directory: C:\Sonarqube 6.1\web
2018.02.14 19:23:21 INFO web[][o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2018.02.14 19:23:22 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2018.02.14 19:23:24 INFO web[][o.e.plugins] [The Stepford Cuckoos] modules [], plugins [], sites []
2018.02.14 19:23:25 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2018.02.14 19:23:25 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 6.1 / dc148a71a1c184ccad588b66251980c994879dff
2018.02.14 19:23:25 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: C:\Sonarqube 6.1
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin C# / 5.3.1 / 829e9f5ce2582c2e45f2db2130d2fbaa509fbc64
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Java / 4.0 / b653c6c8640ab3d6015d036a060f58e027a653af
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin JavaScript / 2.14 / 8e37a262d72dd863345f9c6e87421e2d1853a2e6
2018.02.14 19:23:28 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.3 / aff503d48bc77b07c2b62abf93249d0a20bd355c
2018.02.14 19:23:30 INFO web[][o.s.s.p.w.RailsAppsDeployer] Deploying Ruby on Rails applications
2018.02.14 19:23:31 INFO web[][o.s.d.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2018.02.14 19:23:33 INFO web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2018.02.14 19:23:38 INFO web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2018.02.14 19:23:39 INFO web[][o.s.s.s.RegisterMetrics] Register metrics
2018.02.14 19:23:41 INFO web[][o.s.s.r.RegisterRules] Register rules
2018.02.14 19:23:45 INFO web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2018.02.14 19:23:47 INFO web[][o.s.s.s.RegisterNewMeasureFilters] Register measure filters
2018.02.14 19:23:47 INFO web[][o.s.s.s.RegisterDashboards] Register dashboards
2018.02.14 19:23:47 INFO web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2018.02.14 19:23:47 INFO web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index issues
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index tests
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index users
2018.02.14 19:23:47 INFO web[][o.s.s.e.IndexerStartupTask] Index views
2018.02.14 19:23:48 INFO web[][jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_152-b16 [Windows 10-amd64]
2018.02.14 19:23:48 INFO web[][jruby.rack] using a shared (threadsafe!) runtime
2018.02.14 19:25:23 INFO web[][jruby.rack] keeping custom (config.logger) Rails logger instance
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter#4dbb34d2 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#d28af38]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter#65316401 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#7138d1d1]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter#70eb9145 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#1e14f235]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction#33c29508 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#afe5c1f]
2018.02.14 19:25:24 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction#6e03c549 [pattern=org.sonar.api.web.ServletFilter$UrlPattern#49ce7754]
2018.02.14 19:25:24 INFO web[][o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-0.0.0.0-9000"]
2018.02.14 19:25:24 INFO web[][o.s.s.a.TomcatAccessLog] Web server is started
2018.02.14 19:25:24 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2018.02.14 19:25:24 INFO app[][o.s.p.m.Monitor] Process[web] is up
2018.02.14 19:25:24 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[ce]: C:\Program Files\Java\jdk1.8.0_152\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\Sonarqube 6.1\temp -javaagent:C:\Program Files\Java\jdk1.8.0_152\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;./lib/ce/*;C:\Sonarqube 6.1\lib\jdbc\mssql\sqljdbc42.jar org.sonar.ce.app.CeServer C:\Sonarqube 6.1\temp\sq-process3506711799158227159properties
2018.02.14 19:25:27 INFO ce[][o.s.p.ProcessEntryPoint] Starting ce
2018.02.14 19:25:27 INFO ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2018.02.14 19:25:29 INFO ce[][o.e.plugins] [Gorgon] modules [], plugins [], sites []
2018.02.14 19:25:31 INFO ce[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [127.0.0.1:9001]
2018.02.14 19:25:32 INFO ce[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true
2018.02.14 19:25:34 INFO ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: C:\Sonarqube 6.1
2018.02.14 19:25:34 INFO ce[][o.s.c.c.CePluginRepository] Load plugins
2018.02.14 19:25:40 INFO ce[][o.s.s.c.q.PurgeCeActivities] Delete the Compute Engine tasks created before Fri Aug 18 19:25:40 IST 2017
2018.02.14 19:25:40 INFO ce[][o.s.ce.app.CeServer] Compute Engine is up
2018.02.14 19:25:40 INFO app[][o.s.p.m.Monitor] Process[ce] is up

Sonar Web Page is not displayed

I'm unable to get the issue with my Sonar Configuration, in log I did't find any ERROR all tables are also created in database but my sonar home page is not loaded.
Here is log:
--> Wrapper Started as Daemon Launching a JVM... Wrapper (Version
3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2016.12.30 17:10:32 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube-5.6.4/temp
2016.12.30 17:10:33 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: /usr/local/java/jdk1.8.0_102/jre/bin/java
-Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonarqube-5.6.4/temp -javaagent:/usr/local/java/jdk1.8.0_102/jre/lib/management-agent.jar -cp ./lib/common/:./lib/search/ org.sonar.search.SearchServer /opt/sonarqube-5.6.4/temp/sq-process2942922181507412713properties
2016.12.30 17:10:33 INFO es[o.s.p.ProcessEntryPoint] Starting es
2016.12.30 17:10:33 INFO es[o.s.s.EsSettings] Elasticsearch listening on 127.0.0.1:9001
2016.12.30 17:10:33 INFO es[o.elasticsearch.node] [sonar-1483098032772] version[1.7.5], pid[4647],
build[00f95f4/2016-02-02T09:55:30Z]
2016.12.30 17:10:33 INFO es[o.elasticsearch.node] [sonar-1483098032772] initializing ...
2016.12.30 17:10:33 INFO es[o.e.plugins] [sonar-1483098032772] loaded [], sites []
2016.12.30 17:10:33 INFO es[o.elasticsearch.env] [sonar-1483098032772] using [1] data paths, mounts [[/ (/dev/sda1)]],
net usable_space [167.1gb], net total_space [187.6gb], types [ext4]
2016.12.30 17:10:34 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2016.12.30 17:10:35 INFO es[o.elasticsearch.node] [sonar-1483098032772] initialized
2016.12.30 17:10:35 INFO es[o.elasticsearch.node] [sonar-1483098032772] starting ...
2016.12.30 17:10:35 INFO es[o.e.transport] [sonar-1483098032772] bound_address {inet[/127.0.0.1:9001]}, publish_address
{inet[/127.0.0.1:9001]}
2016.12.30 17:10:35 INFO es[o.e.discovery] [sonar-1483098032772] sonarqube/LeFjRSLmQCm1hf-L51yDmg
2016.12.30 17:10:39 INFO es[o.e.cluster.service] [sonar-1483098032772] new_master
[sonar-1483098032772][LeFjRSLmQCm1hf-L51yDmg][NDL][inet[/127.0.0.1:9001]]{rack_id=sonar-1483098032772},
reason: zen-disco-join (elected_as_master)
2016.12.30 17:10:39 INFO es[o.elasticsearch.node] [sonar-1483098032772] started
2016.12.30 17:10:39 INFO es[o.e.gateway] [sonar-1483098032772] recovered [6] indices into cluster_state
2016.12.30 17:10:42 INFO app[o.s.p.m.Monitor] Process[es] is up
2016.12.30 17:10:42 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: /usr/local/java/jdk1.8.0_102/jre/bin/java
-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/opt/sonarqube-5.6.4/temp -javaagent:/usr/local/java/jdk1.8.0_102/jre/lib/management-agent.jar -cp ./lib/common/:./lib/server/:/opt/sonarqube-5.6.4/lib/jdbc/mysql/mysql-connector-java-5.1.35.jar
org.sonar.server.app.WebServer
/opt/sonarqube-5.6.4/temp/sq-process7860854799235034542properties
2016.12.30 17:10:43 INFO web[o.s.p.ProcessEntryPoint] Starting web
2016.12.30 17:10:43 INFO web[o.s.s.a.TomcatContexts] Webapp directory: /opt/sonarqube-5.6.4/web
2016.12.30 17:10:43 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-127.0.0.1-9000"]
2016.12.30 17:10:43 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2016.12.30 17:10:44 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.6.4 / 52298794f1a34a4fd713ff8d441a0c13432e40a9
2016.12.30 17:10:44 INFO web[o.sonar.db.Database] Create JDBC data source for
jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
2016.12.30 17:10:45 INFO web[o.s.s.p.DefaultServerFileSystem] SonarQube home: /opt/sonarqube-5.6.4
2016.12.30 17:10:46 INFO web[o.e.plugins] [sonar-1483098032772] loaded [], sites []
2016.12.30 17:10:46 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin C# / 5.0 / 17ddb09047940791828dcb70c9e225f006ab11aa
2016.12.30 17:10:46 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17
2016.12.30 17:10:46 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Java / 3.13.1 / cf0f0c950ba3e83a87c7fe11c6ff7e63f4864bd9
2016.12.30 17:10:46 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin JavaScript / 2.11 / a9b1afa9ceef7079811779d9efc5f8026acb1400
2016.12.30 17:10:46 INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.3 / aff503d48bc77b07c2b62abf93249d0a20bd355c
2016.12.30 17:10:47 INFO web[o.s.d.c.MysqlCharsetHandler] Verify that database collation is case-sensitive
2016.12.30 17:10:47 INFO web[o.s.s.p.RailsAppsDeployer] Deploying Ruby on Rails applications
2016.12.30 17:10:48 INFO web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no
proxy)
2016.12.30 17:10:48 INFO web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.)
2016.12.30 17:10:48 INFO web[o.s.s.s.RegisterMetrics] Register metrics
2016.12.30 17:10:48 INFO web[o.s.s.r.RegisterRules] Register rules
2016.12.30 17:10:50 INFO web[o.s.s.q.RegisterQualityProfiles] Register quality profiles
2016.12.30 17:10:52 INFO web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters
2016.12.30 17:10:52 INFO web[o.s.s.s.RegisterDashboards] Register dashboards
2016.12.30 17:10:52 INFO web[o.s.s.s.RegisterPermissionTemplates] Register permission templates
2016.12.30 17:10:52 INFO web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2016.12.30 17:10:52 INFO web[o.s.s.e.IndexerStartupTask] Index activities
2016.12.30 17:10:52 INFO web[o.s.s.e.IndexerStartupTask] Index issues
2016.12.30 17:10:52 INFO web[o.s.s.e.IndexerStartupTask] Index tests
2016.12.30 17:10:52 INFO web[o.s.s.e.IndexerStartupTask] Index users
2016.12.30 17:10:52 INFO web[o.s.s.e.IndexerStartupTask] Index views
2016.12.30 17:10:52 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_102-b14
[linux-amd64]
2016.12.30 17:10:52 INFO web[jruby.rack] using a shared (threadsafe!) runtime
2016.12.30 17:11:02 INFO web[jruby.rack] keeping custom (config.logger) Rails logger instance
2016.12.30 17:11:02 INFO web[o.s.s.p.MasterServletFilter] Initializing servlet filter
org.sonar.server.authentication.InitFilter#4be6bfd2
[pattern=/sessions/init/]
2016.12.30 17:11:02 INFO web[o.s.s.p.MasterServletFilter] Initializing servlet filter
org.sonar.server.authentication.OAuth2CallbackFilter#7b458d9d
[pattern=/oauth2/callback/]
2016.12.30 17:11:02 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-127.0.0.1-9000"]
2016.12.30 17:11:02 INFO web[o.s.s.a.TomcatAccessLog] Web server is started
2016.12.30 17:11:02 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2016.12.30 17:11:02 INFO app[o.s.p.m.Monitor] Process[web] is up
2016.12.30 17:11:02 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: /usr/local/java/jdk1.8.0_102/jre/bin/java
-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/opt/sonarqube-5.6.4/temp -javaagent:/usr/local/java/jdk1.8.0_102/jre/lib/management-agent.jar -cp ./lib/common/:./lib/server/:./lib/ce/*:/opt/sonarqube-5.6.4/lib/jdbc/mysql/mysql-connector-java-5.1.35.jar
org.sonar.ce.app.CeServer
/opt/sonarqube-5.6.4/temp/sq-process2065685327087970886properties
2016.12.30 17:11:03 INFO ce[o.s.p.ProcessEntryPoint] Starting ce
2016.12.30 17:11:03 INFO ce[o.s.ce.app.CeServer] Compute Engine starting up...
2016.12.30 17:11:03 INFO ce[o.s.s.p.ServerImpl] SonarQube Server / 5.6.4 / 52298794f1a34a4fd713ff8d441a0c13432e40a9
2016.12.30 17:11:03 INFO ce[o.sonar.db.Database] Create JDBC data source for
jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
2016.12.30 17:11:05 INFO ce[o.s.s.p.DefaultServerFileSystem] SonarQube home: /opt/sonarqube-5.6.4
2016.12.30 17:11:05 INFO ce[o.e.plugins] [sonar-1483098032772] loaded [], sites []
2016.12.30 17:11:05 INFO ce[o.s.c.c.CePluginRepository] Load plugins
2016.12.30 17:11:07 INFO ce[o.s.s.c.q.PurgeCeActivities] Delete the Compute Engine tasks created before Sun Jul 03 17:11:07 IST 2016
2016.12.30 17:11:07 INFO ce[o.s.ce.app.CeServer] Compute Engine is up
2016.12.30 17:11:07 INFO app[o.s.p.m.Monitor] Process[ce] is up

SonarQube update 5.3 to 5.6.3 not working

I'm trying to update a SonarQube 5.3 instance to 5.6.3 LTS. To update the database schema I browse to "http://mysonarqube/setup", but when I click on the "Upgrade" button I get just redirected to the "http://mysonarqube/maintanance" page and according to the server log not much is happening.
I would have expected to get some sort of progress indication in the browser.
When I click "Upgrade" the log on the server (sonar.log) doesn't show any activity at all. So I'm guessing it simply doesn't trigger the actual schema migration.
Has anyone an idea what's going on or how I can further debug why nothing is happening?
Update 2016-11-15:
Here's the log when starting the SonarQube server. When I click on "Upgrade" on the setup page, not one single line is added to this log
--> Wrapper Started as Service
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2016.11.15 08:41:34 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory C:\tools\sonarqube_playground\temp
2016.11.15 08:41:35 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: c:\tools\java\jdk1.8.0_66\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\tools\sonarqube_playground\temp -javaagent:c:\tools\java\jdk1.8.0_66\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\tools\sonarqube_playground\temp\sq-process934155640727080349properties
2016.11.15 08:41:37 INFO es[o.s.p.ProcessEntryPoint] Starting es
2016.11.15 08:41:37 INFO es[o.s.s.EsSettings] Elasticsearch listening on 127.0.0.1:9003
2016.11.15 08:41:38 INFO es[o.elasticsearch.node] [sonar-1479195694200] version[1.7.5], pid[4920], build[00f95f4/2016-02-02T09:55:30Z]
2016.11.15 08:41:38 INFO es[o.elasticsearch.node] [sonar-1479195694200] initializing ...
2016.11.15 08:41:38 INFO es[o.e.plugins] [sonar-1479195694200] loaded [], sites []
2016.11.15 08:41:38 INFO es[o.elasticsearch.env] [sonar-1479195694200] using [1] data paths, mounts [[(C:)]], net usable_space [47.6gb], net total_space [69.4gb], types [NTFS]
2016.11.15 08:41:42 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2016.11.15 08:41:43 INFO es[o.elasticsearch.node] [sonar-1479195694200] initialized
2016.11.15 08:41:43 INFO es[o.elasticsearch.node] [sonar-1479195694200] starting ...
2016.11.15 08:41:43 INFO es[o.e.transport] [sonar-1479195694200] bound_address {inet[/127.0.0.1:9003]}, publish_address {inet[/127.0.0.1:9003]}
2016.11.15 08:41:43 INFO es[o.e.discovery] [sonar-1479195694200] sonarqube/uESU6pKmQN2-u4e3ITgQRQ
2016.11.15 08:41:46 INFO es[o.e.cluster.service] [sonar-1479195694200] new_master [sonar-1479195694200][uESU6pKmQN2-u4e3ITgQRQ][sonarqube][inet[/127.0.0.1:9003]]{rack_id=sonar-1479195694200}, reason: zen-disco-join (elected_as_master)
2016.11.15 08:41:46 INFO es[o.elasticsearch.node] [sonar-1479195694200] started
2016.11.15 08:41:47 INFO es[o.e.gateway] [sonar-1479195694200] recovered [0] indices into cluster_state
2016.11.15 08:41:47 INFO app[o.s.p.m.Monitor] Process[es] is up
2016.11.15 08:41:47 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: c:\tools\java\jdk1.8.0_66\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx2G -Xms512m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -server -Djava.io.tmpdir=C:\tools\sonarqube_playground\temp -javaagent:c:\tools\java\jdk1.8.0_66\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;C:\tools\sonarqube_playground\extensions\jdbc-driver\oracle\ojdbc7.jar org.sonar.server.app.WebServer C:\tools\sonarqube_playground\temp\sq-process4855516278340356405properties
2016.11.15 08:41:48 INFO web[o.s.p.ProcessEntryPoint] Starting web
2016.11.15 08:41:49 INFO web[o.s.s.a.TomcatContexts] Webapp directory: C:\tools\sonarqube_playground\web
2016.11.15 08:41:50 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9001"]
2016.11.15 08:41:50 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2016.11.15 08:41:55 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.6.3 / 3fcc98a73d6afb99388e39f46272909a6d6600b2
2016.11.15 08:41:55 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:oracle:thin:[dbconnectionargumentsommittedforsecurity]
2016.11.15 08:41:59 WARN web[o.s.s.p.DatabaseServerCompatibility] Database must be upgraded. Please backup database and browse /setup
2016.11.15 08:41:59 INFO web[o.s.s.p.DefaultServerFileSystem] SonarQube home: C:\tools\sonarqube_playground
2016.11.15 08:42:00 INFO web[o.e.plugins] [sonar-1479195694200] loaded [], sites []
2016.11.15 08:42:01 INFO web[o.s.s.p.RailsAppsDeployer] Deploying Ruby on Rails applications
2016.11.15 08:42:02 INFO web[o.s.s.p.Platform] DB needs migration, entering safe mode
2016.11.15 08:42:02 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_66-b17 [Windows Server 2012 R2-amd64]
2016.11.15 08:42:02 INFO web[jruby.rack] using a shared (threadsafe!) runtime
2016.11.15 08:42:25 INFO web[jruby.rack] keeping custom (config.logger) Rails logger instance
2016.11.15 08:42:25 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-0.0.0.0-9001"]
2016.11.15 08:42:25 INFO web[o.s.s.a.TomcatAccessLog] Web server is started
2016.11.15 08:42:25 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9001
2016.11.15 08:42:25 INFO app[o.s.p.m.Monitor] Process[web] is up
2016.11.15 08:42:25 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: c:\tools\java\jdk1.8.0_66\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx2G -Xms512m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -server -Djava.io.tmpdir=C:\tools\sonarqube_playground\temp -javaagent:c:\tools\java\jdk1.8.0_66\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;./lib/ce/*;C:\tools\sonarqube_playground\extensions\jdbc-driver\oracle\ojdbc7.jar org.sonar.ce.app.CeServer C:\tools\sonarqube_playground\temp\sq-process8088446918777658625properties
2016.11.15 08:42:27 INFO ce[o.s.p.ProcessEntryPoint] Starting ce
2016.11.15 08:42:27 INFO ce[o.s.c.a.WebServerWatcherImpl] Waiting for Web Server to be operational...
2016.11.15 08:42:28 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 08:42:30 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 08:42:35 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 08:42:48 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 08:43:23 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 08:44:58 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 08:49:17 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 09:01:01 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
2016.11.15 09:32:55 INFO ce[o.s.c.a.WebServerWatcherImpl] Still waiting for WebServer...
I inspected the HTML of the setup page, extracted the URL the button would call and tried to use it manually. I got a "Not authorized" response. This got me thinking about authorization.
Long story short: in my sonar.properties file the option sonar.forceAuthentication" was set to "true" because I don't want anonymous access. Everybody should be logged-in when using Sonarqube. But the setup page doesn't have any "login" option. So apparently to start the schema update I needed to be logged-in, but the page did not support to log-in.
After setting sonar.forceAuthentication to "false" in the sonar.properties file and restarting the service I was finally able to start the schema update.

Sonarqube 5.0 install error

When installing sonarqube 5.0, I got following error messages while starting SonarQube on windows7 with mysql 5.6.22:
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2015.01.19 11:18:57 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[search]: C:\Tools\jdk1.7.0_71\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\Tools\sonarqube-5.0\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Users\li2\AppData\Local\Temp\sq-process2755720839215931323properties
2015.01.19 11:19:09 INFO sea[o.s.p.ProcessEntryPoint] Starting search
2015.01.19 11:19:09 INFO sea[o.s.s.SearchServer] Starting Elasticsearch[sonarqube] on port 9001
2015.01.19 11:19:09 WARN sea[o.s.s.SearchSettings] Elasticsearch HTTP connector is enabled on port 9010. MUST NOT BE USED INTO PRODUCTION
2015.01.19 11:19:09 INFO sea[o.elasticsearch.node] [sonar-1421662737113] version[1.1.2], pid[8464], build[e511f7b/2014-05-22T12:27:39Z]
2015.01.19 11:19:09 INFO sea[o.elasticsearch.node] [sonar-1421662737113] initializing ...
2015.01.19 11:19:09 INFO sea[o.e.plugins] [sonar-1421662737113] loaded [], sites []
2015.01.19 11:19:11 INFO sea[o.elasticsearch.node] [sonar-1421662737113] initialized
2015.01.19 11:19:11 INFO sea[o.elasticsearch.node] [sonar-1421662737113] starting ...
2015.01.19 11:19:27 INFO sea[o.e.transport] [sonar-1421662737113] bound_address {inet[/0.0.0.0:9001]}, publish_address {inet[/192.168.0.107:9001]}
2015.01.19 11:19:30 INFO sea[o.e.cluster.service] [sonar-1421662737113] new_master [sonar-1421662737113][RB8i_Ar8Rv-Do_15hhhWtQ][LI21][inet[/192.168.0.107:9001]]{rack_id=sonar-1421662737113}, reason: zen-disco-join (elected_as_master)
2015.01.19 11:19:51 WARN sea[o.e.cluster.service] [sonar-1421662737113] failed to connect to node [[sonar-1421662737113][RB8i_Ar8Rv-Do_15hhhWtQ][LI21][inet[/192.168.0.107:9001]]{rack_id=sonar-1421662737113}]
org.elasticsearch.transport.ConnectTransportException: [sonar-1421662737113][inet[/192.168.0.107:9001]] connect_timeout[30s]
at org.elasticsearch.transport.netty.NettyTransport.connectToChannels(NettyTransport.java:719) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:648) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:616) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:129) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:405) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:134) [elasticsearch-1.1.2.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
Caused by: java.net.ConnectException: Connection timed out: no further information: /192.168.0.107:9001
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.7.0_71]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) ~[na:1.7.0_71]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) ~[elasticsearch-1.1.2.jar:na]
... 3 common frames omitted
2015.01.19 11:19:51 INFO sea[o.e.discovery] [sonar-1421662737113] sonarqube/RB8i_Ar8Rv-Do_15hhhWtQ
2015.01.19 11:19:51 INFO sea[o.elasticsearch.http] [sonar-1421662737113] bound_address {inet[/127.0.0.1:9010]}, publish_address {inet[/127.0.0.1:9010]}
2015.01.19 11:19:52 INFO sea[o.e.gateway] [sonar-1421662737113] recovered [4] indices into cluster_state
2015.01.19 11:19:52 INFO sea[o.elasticsearch.node] [sonar-1421662737113] started
2015.01.19 11:19:53 INFO app[o.s.p.m.Monitor] Process[search] is up
2015.01.19 11:19:53 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Tools\jdk1.7.0_71\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=C:\Tools\sonarqube-5.0\temp -cp ./lib/common/*;./lib/server/*;C:\Tools\sonarqube-5.0\lib\jdbc\mysql\mysql-connector-java-5.1.27.jar org.sonar.server.app.WebServer C:\Users\li2\AppData\Local\Temp\sq-process1889452272417488373properties
2015.01.19 11:20:06 INFO web[o.s.p.ProcessEntryPoint] Starting web
2015.01.19 11:20:06 INFO web[o.s.s.app.Connectors] HTTP connector is enabled on port 9000
2015.01.19 11:20:06 INFO web[o.s.s.app.Webapp] Webapp directory: C:\Tools\sonarqube-5.0\web
2015.01.19 11:20:07 INFO web[o.e.plugins] [sonar-1421662737113] loaded [], sites []
2015.01.19 11:20:19 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.0 / dc62506bf3b331ec19c053e225e415d164ee60b0
2015.01.19 11:20:19 INFO web[o.s.c.p.Database] Create JDBC datasource for jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
2015.01.19 11:20:20 INFO web[o.s.s.p.DefaultServerFileSystem] SonarQube home: C:\Tools\sonarqube-5.0
2015.01.19 11:20:20 INFO web[o.s.a.u.TimeProfiler] Install plugins...
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Findbugs / 3.1 / adc09c989cebc856d44239116a00ab0b602b0851
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Duplications / 5.0 / dc62506bf3b331ec19c053e225e415d164ee60b0
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Git / 5.0 / dc62506bf3b331ec19c053e225e415d164ee60b0
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Core / 5.0 / dc62506bf3b331ec19c053e225e415d164ee60b0
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Java / 2.8 / 20a3d682b1334eb1857e7bc8a40e11f04fed9528
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin SVN / 5.0 / dc62506bf3b331ec19c053e225e415d164ee60b0
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin English Pack / 5.0 / dc62506bf3b331ec19c053e225e415d164ee60b0
2015.01.19 11:20:20 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Email notifications / 5.0 / dc62506bf3b331ec19c053e225e415d164ee60b0
2015.01.19 11:20:20 INFO web[o.s.a.u.TimeProfiler] Install plugins done: 234 ms
2015.01.19 11:20:21 INFO web[o.s.s.p.RailsAppsDeployer] Deploy Ruby on Rails applications
2015.01.19 11:20:21 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.7.0_71-b14 [Windows 7-amd64]
2015.01.19 11:20:21 INFO web[jruby.rack] using a shared (threadsafe!) runtime
2015.01.19 11:20:29 INFO web[DbMigration] == InitialSchema: migrating ==================================================
2015.01.19 11:20:29 INFO web[DbMigration] -- create_table(:projects, {})
2015.01.19 11:20:29 INFO web[DbMigration] -> 0.0310s
2015.01.19 11:20:29 INFO web[DbMigration] -> 0 rows
........
........
2015.01.19 11:20:50 INFO web[o.s.j.s.AbstractDatabaseConnector] Initializing Hibernate
2015.01.19 11:20:51 INFO web[o.s.s.p.UpdateCenterClient] Update center: http://update.sonarsource.org/update-center.properties (HTTP proxy: xxx)
2015.01.19 11:20:52 INFO web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.)
2015.01.19 11:20:52 INFO web[o.s.s.s.IndexSynchronizer] Index rules for updates after Sun Jan 18 20:37:25 CET 2015
2015.01.19 11:20:52 INFO web[o.s.s.s.IndexSynchronizer] Index activeRules for updates after Sun Jan 18 20:37:27 CET 2015
2015.01.19 11:20:52 INFO web[o.s.s.s.IndexSynchronizer] Index sonarLogs for updates after null
2015.01.19 11:20:52 INFO web[o.s.s.s.IndexSynchronizer] Index issues
2015.01.19 11:20:52 INFO web[o.s.s.s.IndexSynchronizer] Index source files
2015.01.19 11:20:52 INFO web[o.s.a.u.TimeProfiler] Load metrics...
2015.01.19 11:20:52 INFO web[o.s.s.s.RegisterMetrics] Cleaning quality gate conditions
2015.01.19 11:20:52 INFO web[o.s.a.u.TimeProfiler] Load metrics done: 234 ms
2015.01.19 11:20:52 INFO web[o.s.s.s.RegisterDebtModel] Register technical debt model...
2015.01.19 11:20:52 INFO web[o.s.s.s.RegisterDebtModel] Register technical debt model done: 78 ms
2015.01.19 11:20:52 INFO web[o.s.a.u.TimeProfiler] Register rules...
2015.01.19 11:22:57 WARN sea[o.e.cluster.service] [sonar-1421662737113] failed to reconnect to node [sonar-1421662737113][RB8i_Ar8Rv-Do_15hhhWtQ][LI21][inet[/192.168.0.107:9001]]{rack_id=sonar-1421662737113}
org.elasticsearch.transport.ConnectTransportException: [sonar-1421662737113][inet[/192.168.0.107:9001]] connect_timeout[30s]
at org.elasticsearch.transport.netty.NettyTransport.connectToChannels(NettyTransport.java:719) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:648) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:616) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:129) ~[elasticsearch-1.1.2.jar:na]
at org.elasticsearch.cluster.service.InternalClusterService$ReconnectToNodes.run(InternalClusterService.java:516) ~[elasticsearch-1.1.2.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
Caused by: java.net.ConnectException: Connection timed out: no further information: /192.168.0.107:9001
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.7.0_71]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) ~[na:1.7.0_71]
I have searched for similar questions but with no success.
Does someone have an idea how to fix that?
Thanks!
I got the same problem. It could be resolved by a possibility to not only specify sonar.search.port but also something like sonar.search.host. The reason in my setting is that the default IP which sonar search uses is only accessible from outside hosts. It must not be used from localhost.
I worked around it by adding the following line to sonar.properties as described here:
sonar.search.javaAdditionalOpts=-Des.network.host=127.0.0.1

Sonar installed & started but not accessible

Summary:
Installed standalone sonar
Started through /etc/init.d/sonar start
sonar.log doesn't show any error
unable to open http://mymachine.ipaddress:9000/sonar
GET http://mymachine.ipaddress:9000/sonar net::ERR_CONNECTION_TIMED_OUT
I am trying to run a standalone sonar on a remote machine running CentOS 6.5.
Following: http://sonar-pkg.sourceforge.net/ - installed through:
yum install sonar
I've set up a remote database connection to MySQL instance, already set up with the 'sonar' database and user as described in: http://docs.sonarqube.org/display/SONAR/Installing
Modified sonar.properties configuration:
sonar.jdbc.url=jdbc:mysql://<mysql.ipaddress>:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
Initially - I only changed the jdbc connection, sonar started fine but I am unable to open sonar web http://mymachine.ipaddress:9000/
Based on:
Sonar can be accessed locally but not accessed elsewhere
Unable to open remotely installed sonar on a browser
I updated more properties:
sonar.web.host=<mymachine.ipaddress>
sonar.web.context=/sonar
sonar.web.port=9000
and run sonar again
/etc/init.d/sonar start
Sonar started fine, but still unable to access it through browser.
Going to http://mymachine.ipaddress:9000/sonar gives: "This webpage is not available"
GET http://mymachine.ipaddress:9000/sonar net::ERR_CONNECTION_TIMED_OUT
sonar.log:
--> Wrapper Started as Daemon Launching a JVM... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2014.10.01 14:30:18 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[search]:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/bin/java -Xmx256m
-Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Djava.io.tmpdir=/opt/sonar/temp -cp ./lib/common/:./lib/search/ org.sonar.search.SearchServer
/tmp/sq-process2719628111769939329properties
2014.10.01 14:30:18 WARN sea[o.s.p.ProcessEntryPoint] Starting search
2014.10.01 14:30:18 INFO sea[o.s.s.SearchServer] Starting ES[sonarqube] on port: 9001
2014.10.01 14:30:18 INFO sea[o.elasticsearch.node] [sonar-1412188217506] version[1.1.2], pid[329],
build[e511f7b/2014-05-22T12:27:39Z]
2014.10.01 14:30:18 INFO sea[o.elasticsearch.node] [sonar-1412188217506] initializing ...
2014.10.01 14:30:18 INFO sea[o.e.plugins] [sonar-1412188217506] loaded [], sites []
2014.10.01 14:30:20 INFO sea[o.elasticsearch.node] [sonar-1412188217506] initialized
2014.10.01 14:30:20 INFO sea[o.elasticsearch.node] [sonar-1412188217506] starting ...
2014.10.01 14:30:20 INFO sea[o.e.transport] [sonar-1412188217506] bound_address {inet[/0.0.0.0:9001]}, publish_address
{inet[/:9001]}
2014.10.01 14:30:23 INFO sea[o.e.cluster.service] [sonar-1412188217506] new_master
[sonar-1412188217506][k85f1MFxQgSy_aXegApX1g][CORPSTGCI01][inet[/:9001]]{rack_id=sonar-1412188217506},
reason: zen-disco-join (elected_as_master)
2014.10.01 14:30:23 INFO sea[o.e.discovery] [sonar-1412188217506] sonarqube/k85f1MFxQgSy_aXegApX1g
2014.10.01 14:30:25 INFO sea[o.e.gateway] [sonar-1412188217506] recovered [2] indices into cluster_state
2014.10.01 14:30:25 INFO sea[o.elasticsearch.node] [sonar-1412188217506] started
2014.10.01 14:30:31 INFO app[o.s.p.m.Monitor] Process[search] is up
2014.10.01 14:30:31 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/bin/java -Xmx768m
-XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djava.io.tmpdir=/opt/sonar/temp -cp ./lib/common/:./lib/server/:/opt/sonar/lib/jdbc/mysql/mysql-connector-java-5.1.27.jar
org.sonar.server.app.WebServer
/tmp/sq-process7956510077635803069properties
2014.10.01 14:30:32 WARN web[o.s.p.ProcessEntryPoint] Starting web
2014.10.01 14:30:32 INFO web[o.s.s.app.Connectors] HTTP connector is enabled on port 9000
2014.10.01 14:30:32 INFO web[o.s.s.app.Webapp] Webapp directory: /opt/sonar/web
2014.10.01 14:30:33 INFO web[o.e.plugins] [sonar-1412188217506] loaded [], sites []
2014.10.01 14:30:34 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 4.5 / c8bb686cbee8e1dce3312ef253db76e7c0e3c0c7
2014.10.01 14:30:34 INFO web[o.s.c.p.Database] Create JDBC datasource for
jdbc:mysql://10.0.30.204:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
2014.10.01 14:30:36 INFO web[o.s.s.p.DefaultServerFileSystem] SonarQube home: /opt/sonar
2014.10.01 14:30:36 INFO web[org.sonar.INFO] Install plugins...
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Findbugs / 2.4 /
a334be36ba4374bb779255272c53fb08675ac2c2
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Duplications / 4.5 /
c8bb686cbee8e1dce3312ef253db76e7c0e3c0c7
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Core / 4.5 / c8bb686cbee8e1dce3312ef253db76e7c0e3c0c7
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Java / 2.4 / 7e7e6335211bb9c0ff9727065f43e7010cc3df91
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Database Cleaner / 4.5 /
c8bb686cbee8e1dce3312ef253db76e7c0e3c0c7
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin English Pack / 4.5 /
c8bb686cbee8e1dce3312ef253db76e7c0e3c0c7
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Email notifications / 4.5 /
c8bb686cbee8e1dce3312ef253db76e7c0e3c0c7
2014.10.01 14:30:36 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Design / 4.5 / c8bb686cbee8e1dce3312ef253db76e7c0e3c0c7
2014.10.01 14:30:36 INFO web[org.sonar.INFO] Install plugins done: 88 ms
2014.10.01 14:30:36 INFO web[o.s.s.p.RailsAppsDeployer] Deploy Ruby on Rails applications
2014.10.01 14:30:36 INFO web[o.s.j.s.AbstractDatabaseConnector] Initializing Hibernate
2014.10.01 14:30:38 INFO web[o.s.s.p.UpdateCenterClient] Update center: http://update.sonarsource.org/update-center.properties (no
proxy)
2014.10.01 14:30:38 INFO web[org.sonar.INFO] Code colorizer, supported languages: java
2014.10.01 14:30:39 INFO web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.)
2014.10.01 14:30:39 INFO web[o.s.s.s.IndexSynchronizer] Starting DB to Index synchronization
2014.10.01 14:30:39 INFO web[o.s.s.s.BaseIndex] Index rules:rules has last update of Wed Oct 01 13:39:50 EDT 2014
2014.10.01 14:30:42 INFO web[o.s.s.s.BaseIndex] Index rules:activeRules has last update of Wed Oct 01 13:40:01 EDT 2014
2014.10.01 14:30:42 INFO web[o.s.s.s.BaseIndex] Index logs:sonarLogs has last update of Wed Dec 31 19:00:00 EST 1969
2014.10.01 14:30:44 INFO web[o.s.s.s.IndexSynchronizer] Synchronization done in 5413ms...
2014.10.01 14:30:44 INFO web[org.sonar.INFO] Deploy GWT plugins...
2014.10.01 14:30:44 INFO web[org.sonar.INFO] Deploy GWT plugins done: 0 ms
2014.10.01 14:30:44 INFO web[org.sonar.INFO] Load metrics...
2014.10.01 14:30:45 INFO web[o.s.s.s.RegisterMetrics] Cleaning quality gate conditions
2014.10.01 14:30:45 INFO web[org.sonar.INFO] Load metrics done: 441 ms
2014.10.01 14:30:45 INFO web[o.s.s.s.RegisterDebtModel] Register technical debt model...
2014.10.01 14:30:45 INFO web[o.s.s.s.RegisterDebtModel] Register technical debt model done: 31 ms
2014.10.01 14:30:45 INFO web[org.sonar.INFO] Register rules...
2014.10.01 14:30:47 INFO web[org.sonar.INFO] Register rules done: 2256 ms
2014.10.01 14:30:47 INFO web[o.s.s.q.RegisterQualityProfiles] Register Quality Profiles...
2014.10.01 14:30:49 INFO web[o.s.s.q.RegisterQualityProfiles] Register Quality Profiles done: 2235 ms
2014.10.01 14:30:49 INFO web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters...
2014.10.01 14:30:49 INFO web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters done: 4 ms
2014.10.01 14:30:49 INFO web[o.s.s.s.RegisterDashboards] Register dashboards...
2014.10.01 14:30:49 INFO web[o.s.s.s.RegisterDashboards] Register dashboards done: 9 ms
2014.10.01 14:30:49 INFO web[o.s.s.s.RegisterPermissionTemplates] Register permission templates...
2014.10.01 14:30:49 INFO web[o.s.s.s.RegisterPermissionTemplates] Register permission templates done: 2 ms
2014.10.01 14:30:49 INFO web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2014.10.01 14:30:50 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on OpenJDK 64-Bit Server VM
1.7.0_55-mockbuild_2014_04_16_12_11-b00 [linux-amd64]
2014.10.01 14:30:50 INFO web[jruby.rack] using a shared (threadsafe!) runtime
2014.10.01 14:31:09 INFO web[jruby.rack] keeping custom (config.logger) Rails logger instance
2014.10.01 14:31:32 INFO web[o.a.c.u.SessionIdGenerator] Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took
[22,433] milliseconds.
2014.10.01 14:31:32 INFO web[o.s.s.app.Logging] Web server is started
2014.10.01 14:31:32 INFO app[o.s.p.m.Monitor] Process[web] is up
I got the exact same problem for 4.5. I even downgraded to 4.4 and got the same issue.
As far as I can tell, the newer versions use elastic search and that part is totally broken.
I downgraded to version 4.3.3 and it started OK (and I didn't have to do anything special to not lose the existing data in my mysql db - from 4.3.2)
I reviewed the logs in /logs and read connect refused to localhost:9092,
therefore I changed (first you must stop (Ctrl+C) Sonar Server) sonar.jdbc.url property in /conf/sonar.properties:
Before:
sonar.jdbc.url: jdbc:h2:tcp://localhost:9092/sonar
Modified:
sonar.jdbc.url: jdbc:h2:tcp://127.0.0.1:9092/sonar
If you have other problems, you should deactivate Java 8 in Windows (Control Panel > Java > user tab and system tab) and close all windows of control panel, then restart Windows.
Other additional steps if it's necessary:
edit sonar-runner\conf\sonar-runner.properties
modified property:
sonar.host.url=http://127.0.0.1:9000

Resources