[sonar-dev] Upgrade from 4.5 to 4.5.1 failed because of Ruby?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[sonar-dev] Upgrade from 4.5 to 4.5.1 failed because of Ruby?

Thomas Bores-2
Dear SonarQube Users,

I'm using SonarQube since version 3.7 and until now the upgrade always went successfully.

Nevertheless the upgrade from 4.5 to 4.5.1 failed. I did all the upgrade steps without problem but SonarQube doesn't start. Here the message displayed in my Web-browser:

org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `controllers' for nil:NilClass
at org.jruby.RubyKernel.method_missing(org/jruby/RubyKernel.java:255)
at RUBY.method_missing(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/whiny_nil.rb:52)
at RUBY.add_java_ws_routes(C:/opt/sonarqube-4.5.1/web/WEB-INF/config/../lib/java_ws_routing.rb:34)
at RUBY.reload(C:/opt/sonarqube-4.5.1/web/WEB-INF/config/../lib/java_ws_routing.rb:55)
at RUBY.reload_application(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:58)
at RUBY.run(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/reloader.rb:42)
at RUBY.call(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:108)
at RUBY.serve_rails(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:34)
at RUBY.call(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:39)
at RUBY.call(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22)

In the logs everything looks ok:
 
--> 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.

13:34:18.366 [WrapperSimpleAppMain] WARN  org.sonar.application.JdbcSettings - JDBC URL is recommended to have the property 'useConfigs=maxPerformance'
2015.01.05 13:34:18 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[search]: c:\Program Files\Java\jdk1.7.0_72\jre\bin\java -Djava.awt.headless=true -Xmx256m -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\opt\sonarqube-4.5.1\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Windows\system32\config\systemprofile\AppData\Local\Temp\sq-process3336938694554132852properties
2015.01.05 13:34:19 WARN  sea[o.s.p.ProcessEntryPoint]  Starting search
2015.01.05 13:34:19 INFO  sea[o.s.s.SearchServer]  Starting ES[sonarqube] on port: 9001
2015.01.05 13:34:19 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] version[1.1.2], pid[9760], build[e511f7b/2014-05-22T12:27:39Z]
2015.01.05 13:34:19 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] initializing ...
2015.01.05 13:34:19 INFO  sea[o.e.plugins]  [sonar-1420461258067] loaded [], sites []
2015.01.05 13:34:21 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] initialized
2015.01.05 13:34:21 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] starting ...
2015.01.05 13:34:22 INFO  sea[o.e.transport]  [sonar-1420461258067] bound_address {inet[/0.0.0.0:9001]}, publish_address {inet[/172.18.153.207:9001]}
2015.01.05 13:34:25 INFO  sea[o.e.cluster.service]  [sonar-1420461258067] new_master [sonar-1420461258067][OYo5hjiiRVGWidIMU8M1VA][BLN-APP-018][inet[/172.18.153.207:9001]]{rack_id=sonar-1420461258067}, reason: zen-disco-join (elected_as_master)
2015.01.05 13:34:25 INFO  sea[o.e.discovery]  [sonar-1420461258067] sonarqube/OYo5hjiiRVGWidIMU8M1VA
2015.01.05 13:34:26 INFO  sea[o.e.gateway]  [sonar-1420461258067] recovered [2] indices into cluster_state
2015.01.05 13:34:26 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] started
2015.01.05 13:34:27 INFO  app[o.s.p.m.Monitor] Process[search] is up
2015.01.05 13:34:27 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: c:\Program Files\Java\jdk1.7.0_72\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\opt\sonarqube-4.5.1\temp -cp ./lib/common/*;./lib/server/*;C:\opt\sonarqube-4.5.1\lib\jdbc\mysql\mysql-connector-java-5.1.27.jar org.sonar.server.app.WebServer C:\Windows\system32\config\systemprofile\AppData\Local\Temp\sq-process8953340769847983216properties
2015.01.05 13:34:28 WARN  web[o.s.p.ProcessEntryPoint]  Starting web
2015.01.05 13:34:28 INFO  web[o.s.s.app.Connectors]  HTTP connector is enabled on port 9000
2015.01.05 13:34:28 INFO  web[o.s.s.app.Webapp]  Webapp directory: C:\opt\sonarqube-4.5.1\web
2015.01.05 13:34:28 WARN  web[o.s.s.app.Webapp]  WEB DEVELOPMENT MODE IS ENABLED - DO NOT USE FOR PRODUCTION USAGE
2015.01.05 13:34:29 INFO  web[o.e.plugins]  [sonar-1420461258067] loaded [], sites []
2015.01.05 13:34:31 INFO  web[o.s.s.p.ServerImpl]  SonarQube Server / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:31 INFO  web[o.s.c.p.Database]  Create JDBC datasource for jdbc:mysql://localhost:3306/sonardb?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
2015.01.05 13:34:33 WARN  web[o.s.s.p.DatabaseServerCompatibility]  Database must be upgraded. Please browse /setup
2015.01.05 13:34:33 INFO  web[o.s.s.p.DefaultServerFileSystem]  SonarQube home: C:\opt\sonarqube-4.5.1
2015.01.05 13:34:33 INFO  web[org.sonar.INFO]  Install plugins...
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Duplications / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Core / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Database Cleaner / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin English Pack / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Email notifications / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Design / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[org.sonar.INFO]  Install plugins done: 63 ms
2015.01.05 13:34:33 INFO  web[o.s.s.p.RailsAppsDeployer]  Deploy Ruby on Rails applications
2015.01.05 13:34:34 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_72-b14 [Windows Server 2008 R2-amd64]
2015.01.05 13:34:34 INFO  web[jruby.rack]  using 1:3 runtime pool with acquire timeout of 10.0 seconds
2015.01.05 13:34:45 INFO  web[jruby.rack]  keeping custom (config.logger) Rails logger instance
2015.01.05 13:34:45 INFO  web[jruby.rack]  added application to pool, size now = 1
2015.01.05 13:34:45 INFO  web[o.s.s.app.Logging]  Web server is started
2015.01.05 13:34:46 INFO  app[o.s.p.m.Monitor] Process[web] is up

Any idea? 

Thomas Bores

Read my blog: http://blog.bores.fr !
Follow me on Twitter.

Phone: <a href="tel:%2B49%20176%208797%200079" value="+4917687970079" target="_blank">+49 176 8797 0079
Reply | Threaded
Open this post in threaded view
|

Re: [sonar-dev] Upgrade from 4.5 to 4.5.1 failed because of Ruby?

Simon Brandhof
Hi,

You should check with clean settings, I mean without the dev mode :
2015.01.05 13:34:28 WARN  web[o.s.s.app.Webapp]  WEB DEVELOPMENT MODE IS ENABLED - DO NOT USE FOR PRODUCTION USAGE

Regards


Simon BRANDHOF | SonarSource
http://twitter.com/SimonBrandhof

On 5 January 2015 at 14:02, Thomas Bores <[hidden email]> wrote:
Dear SonarQube Users,

I'm using SonarQube since version 3.7 and until now the upgrade always went successfully.

Nevertheless the upgrade from 4.5 to 4.5.1 failed. I did all the upgrade steps without problem but SonarQube doesn't start. Here the message displayed in my Web-browser:

org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `controllers' for nil:NilClass
at org.jruby.RubyKernel.method_missing(org/jruby/RubyKernel.java:255)
at RUBY.method_missing(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/whiny_nil.rb:52)
at RUBY.add_java_ws_routes(C:/opt/sonarqube-4.5.1/web/WEB-INF/config/../lib/java_ws_routing.rb:34)
at RUBY.reload(C:/opt/sonarqube-4.5.1/web/WEB-INF/config/../lib/java_ws_routing.rb:55)
at RUBY.reload_application(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:58)
at RUBY.run(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/reloader.rb:42)
at RUBY.call(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:108)
at RUBY.serve_rails(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:34)
at RUBY.call(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:39)
at RUBY.call(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22)

In the logs everything looks ok:
 
--> 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.

13:34:18.366 [WrapperSimpleAppMain] WARN  org.sonar.application.JdbcSettings - JDBC URL is recommended to have the property 'useConfigs=maxPerformance'
2015.01.05 13:34:18 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[search]: c:\Program Files\Java\jdk1.7.0_72\jre\bin\java -Djava.awt.headless=true -Xmx256m -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\opt\sonarqube-4.5.1\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Windows\system32\config\systemprofile\AppData\Local\Temp\sq-process3336938694554132852properties
2015.01.05 13:34:19 WARN  sea[o.s.p.ProcessEntryPoint]  Starting search
2015.01.05 13:34:19 INFO  sea[o.s.s.SearchServer]  Starting ES[sonarqube] on port: 9001
2015.01.05 13:34:19 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] version[1.1.2], pid[9760], build[e511f7b/2014-05-22T12:27:39Z]
2015.01.05 13:34:19 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] initializing ...
2015.01.05 13:34:19 INFO  sea[o.e.plugins]  [sonar-1420461258067] loaded [], sites []
2015.01.05 13:34:21 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] initialized
2015.01.05 13:34:21 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] starting ...
2015.01.05 13:34:22 INFO  sea[o.e.transport]  [sonar-1420461258067] bound_address {inet[/0.0.0.0:9001]}, publish_address {inet[/172.18.153.207:9001]}
2015.01.05 13:34:25 INFO  sea[o.e.cluster.service]  [sonar-1420461258067] new_master [sonar-1420461258067][OYo5hjiiRVGWidIMU8M1VA][BLN-APP-018][inet[/172.18.153.207:9001]]{rack_id=sonar-1420461258067}, reason: zen-disco-join (elected_as_master)
2015.01.05 13:34:25 INFO  sea[o.e.discovery]  [sonar-1420461258067] sonarqube/OYo5hjiiRVGWidIMU8M1VA
2015.01.05 13:34:26 INFO  sea[o.e.gateway]  [sonar-1420461258067] recovered [2] indices into cluster_state
2015.01.05 13:34:26 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] started
2015.01.05 13:34:27 INFO  app[o.s.p.m.Monitor] Process[search] is up
2015.01.05 13:34:27 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: c:\Program Files\Java\jdk1.7.0_72\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\opt\sonarqube-4.5.1\temp -cp ./lib/common/*;./lib/server/*;C:\opt\sonarqube-4.5.1\lib\jdbc\mysql\mysql-connector-java-5.1.27.jar org.sonar.server.app.WebServer C:\Windows\system32\config\systemprofile\AppData\Local\Temp\sq-process8953340769847983216properties
2015.01.05 13:34:28 WARN  web[o.s.p.ProcessEntryPoint]  Starting web
2015.01.05 13:34:28 INFO  web[o.s.s.app.Connectors]  HTTP connector is enabled on port 9000
2015.01.05 13:34:28 INFO  web[o.s.s.app.Webapp]  Webapp directory: C:\opt\sonarqube-4.5.1\web
2015.01.05 13:34:28 WARN  web[o.s.s.app.Webapp]  WEB DEVELOPMENT MODE IS ENABLED - DO NOT USE FOR PRODUCTION USAGE
2015.01.05 13:34:29 INFO  web[o.e.plugins]  [sonar-1420461258067] loaded [], sites []
2015.01.05 13:34:31 INFO  web[o.s.s.p.ServerImpl]  SonarQube Server / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:31 INFO  web[o.s.c.p.Database]  Create JDBC datasource for jdbc:mysql://localhost:3306/sonardb?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
2015.01.05 13:34:33 WARN  web[o.s.s.p.DatabaseServerCompatibility]  Database must be upgraded. Please browse /setup
2015.01.05 13:34:33 INFO  web[o.s.s.p.DefaultServerFileSystem]  SonarQube home: C:\opt\sonarqube-4.5.1
2015.01.05 13:34:33 INFO  web[org.sonar.INFO]  Install plugins...
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Duplications / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Core / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Database Cleaner / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin English Pack / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Email notifications / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Design / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[org.sonar.INFO]  Install plugins done: 63 ms
2015.01.05 13:34:33 INFO  web[o.s.s.p.RailsAppsDeployer]  Deploy Ruby on Rails applications
2015.01.05 13:34:34 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_72-b14 [Windows Server 2008 R2-amd64]
2015.01.05 13:34:34 INFO  web[jruby.rack]  using 1:3 runtime pool with acquire timeout of 10.0 seconds
2015.01.05 13:34:45 INFO  web[jruby.rack]  keeping custom (config.logger) Rails logger instance
2015.01.05 13:34:45 INFO  web[jruby.rack]  added application to pool, size now = 1
2015.01.05 13:34:45 INFO  web[o.s.s.app.Logging]  Web server is started
2015.01.05 13:34:46 INFO  app[o.s.p.m.Monitor] Process[web] is up

Any idea? 

Thomas Bores

Read my blog: http://blog.bores.fr !
Follow me on Twitter.

Phone: <a href="tel:%2B49%20176%208797%200079" value="+4917687970079" target="_blank">+49 176 8797 0079

Reply | Threaded
Open this post in threaded view
|

Re: [sonar-dev] Upgrade from 4.5 to 4.5.1 failed because of Ruby?

Thomas Bores-2

yes. It worked!

Thanks

Le 5 janv. 2015 15:46, "Simon Brandhof" <[hidden email]> a écrit :
Hi,

You should check with clean settings, I mean without the dev mode :
2015.01.05 13:34:28 WARN  web[o.s.s.app.Webapp]  WEB DEVELOPMENT MODE IS ENABLED - DO NOT USE FOR PRODUCTION USAGE

Regards


Simon BRANDHOF | SonarSource
http://twitter.com/SimonBrandhof

On 5 January 2015 at 14:02, Thomas Bores <[hidden email]> wrote:
Dear SonarQube Users,

I'm using SonarQube since version 3.7 and until now the upgrade always went successfully.

Nevertheless the upgrade from 4.5 to 4.5.1 failed. I did all the upgrade steps without problem but SonarQube doesn't start. Here the message displayed in my Web-browser:

org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `controllers' for nil:NilClass
at org.jruby.RubyKernel.method_missing(org/jruby/RubyKernel.java:255)
at RUBY.method_missing(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/whiny_nil.rb:52)
at RUBY.add_java_ws_routes(C:/opt/sonarqube-4.5.1/web/WEB-INF/config/../lib/java_ws_routing.rb:34)
at RUBY.reload(C:/opt/sonarqube-4.5.1/web/WEB-INF/config/../lib/java_ws_routing.rb:55)
at RUBY.reload_application(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:58)
at RUBY.run(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/reloader.rb:42)
at RUBY.call(C:/opt/sonarqube-4.5.1/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:108)
at RUBY.serve_rails(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:34)
at RUBY.call(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:39)
at RUBY.call(file:/C:/opt/sonarqube-4.5.1/lib/server/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22)

In the logs everything looks ok:
 
--> 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.

13:34:18.366 [WrapperSimpleAppMain] WARN  org.sonar.application.JdbcSettings - JDBC URL is recommended to have the property 'useConfigs=maxPerformance'
2015.01.05 13:34:18 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[search]: c:\Program Files\Java\jdk1.7.0_72\jre\bin\java -Djava.awt.headless=true -Xmx256m -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\opt\sonarqube-4.5.1\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Windows\system32\config\systemprofile\AppData\Local\Temp\sq-process3336938694554132852properties
2015.01.05 13:34:19 WARN  sea[o.s.p.ProcessEntryPoint]  Starting search
2015.01.05 13:34:19 INFO  sea[o.s.s.SearchServer]  Starting ES[sonarqube] on port: 9001
2015.01.05 13:34:19 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] version[1.1.2], pid[9760], build[e511f7b/2014-05-22T12:27:39Z]
2015.01.05 13:34:19 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] initializing ...
2015.01.05 13:34:19 INFO  sea[o.e.plugins]  [sonar-1420461258067] loaded [], sites []
2015.01.05 13:34:21 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] initialized
2015.01.05 13:34:21 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] starting ...
2015.01.05 13:34:22 INFO  sea[o.e.transport]  [sonar-1420461258067] bound_address {inet[/0.0.0.0:9001]}, publish_address {inet[/172.18.153.207:9001]}
2015.01.05 13:34:25 INFO  sea[o.e.cluster.service]  [sonar-1420461258067] new_master [sonar-1420461258067][OYo5hjiiRVGWidIMU8M1VA][BLN-APP-018][inet[/172.18.153.207:9001]]{rack_id=sonar-1420461258067}, reason: zen-disco-join (elected_as_master)
2015.01.05 13:34:25 INFO  sea[o.e.discovery]  [sonar-1420461258067] sonarqube/OYo5hjiiRVGWidIMU8M1VA
2015.01.05 13:34:26 INFO  sea[o.e.gateway]  [sonar-1420461258067] recovered [2] indices into cluster_state
2015.01.05 13:34:26 INFO  sea[o.elasticsearch.node]  [sonar-1420461258067] started
2015.01.05 13:34:27 INFO  app[o.s.p.m.Monitor] Process[search] is up
2015.01.05 13:34:27 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: c:\Program Files\Java\jdk1.7.0_72\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\opt\sonarqube-4.5.1\temp -cp ./lib/common/*;./lib/server/*;C:\opt\sonarqube-4.5.1\lib\jdbc\mysql\mysql-connector-java-5.1.27.jar org.sonar.server.app.WebServer C:\Windows\system32\config\systemprofile\AppData\Local\Temp\sq-process8953340769847983216properties
2015.01.05 13:34:28 WARN  web[o.s.p.ProcessEntryPoint]  Starting web
2015.01.05 13:34:28 INFO  web[o.s.s.app.Connectors]  HTTP connector is enabled on port 9000
2015.01.05 13:34:28 INFO  web[o.s.s.app.Webapp]  Webapp directory: C:\opt\sonarqube-4.5.1\web
2015.01.05 13:34:28 WARN  web[o.s.s.app.Webapp]  WEB DEVELOPMENT MODE IS ENABLED - DO NOT USE FOR PRODUCTION USAGE
2015.01.05 13:34:29 INFO  web[o.e.plugins]  [sonar-1420461258067] loaded [], sites []
2015.01.05 13:34:31 INFO  web[o.s.s.p.ServerImpl]  SonarQube Server / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:31 INFO  web[o.s.c.p.Database]  Create JDBC datasource for jdbc:mysql://localhost:3306/sonardb?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
2015.01.05 13:34:33 WARN  web[o.s.s.p.DatabaseServerCompatibility]  Database must be upgraded. Please browse /setup
2015.01.05 13:34:33 INFO  web[o.s.s.p.DefaultServerFileSystem]  SonarQube home: C:\opt\sonarqube-4.5.1
2015.01.05 13:34:33 INFO  web[org.sonar.INFO]  Install plugins...
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Duplications / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Core / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Database Cleaner / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin English Pack / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Email notifications / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Design / 4.5.1 / 0c5e3bad51d43c05de47187d16831067bea16a3f
2015.01.05 13:34:33 INFO  web[org.sonar.INFO]  Install plugins done: 63 ms
2015.01.05 13:34:33 INFO  web[o.s.s.p.RailsAppsDeployer]  Deploy Ruby on Rails applications
2015.01.05 13:34:34 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_72-b14 [Windows Server 2008 R2-amd64]
2015.01.05 13:34:34 INFO  web[jruby.rack]  using 1:3 runtime pool with acquire timeout of 10.0 seconds
2015.01.05 13:34:45 INFO  web[jruby.rack]  keeping custom (config.logger) Rails logger instance
2015.01.05 13:34:45 INFO  web[jruby.rack]  added application to pool, size now = 1
2015.01.05 13:34:45 INFO  web[o.s.s.app.Logging]  Web server is started
2015.01.05 13:34:46 INFO  app[o.s.p.m.Monitor] Process[web] is up

Any idea? 

Thomas Bores

Read my blog: http://blog.bores.fr !
Follow me on Twitter.

Phone: <a href="tel:%2B49%20176%208797%200079" value="+4917687970079" target="_blank">+49 176 8797 0079

Reply | Threaded
Open this post in threaded view
|

Re: [sonar-dev] Upgrade from 4.5 to 4.5.1 failed because of Ruby?

yfzsj
This post has NOT been accepted by the mailing list yet.
In reply to this post by Thomas Bores-2
i have the same question.
i setting like this:
sonar.web.dev=false.

no exception ,but access to http://localhost:9000 like this
Reply | Threaded
Open this post in threaded view
|

Re: [sonar-dev] Upgrade from 4.5 to 4.5.1 failed because of Ruby?

yfzsj
This post has NOT been accepted by the mailing list yet.
log like this:
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2015.01.13 16:36:27 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[search]: D:\Java\jdk1.6.0_20\jre\bin\java -Djava.awt.headless=true -Xmx256m -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=D:\Java\findbugs-1.3.9\sonarqube-4.5.2\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Users\lztx\AppData\Local\Temp\sq-process6409619460732888583properties
2015.01.13 16:36:28 WARN  sea[o.s.p.ProcessEntryPoint]  Starting search
2015.01.13 16:36:28 INFO  sea[o.s.s.SearchServer]  Starting ES[sonarqube] on port: 9001
2015.01.13 16:36:28 INFO  sea[o.elasticsearch.node]  [sonar-1421138187627] version[1.1.2], pid[3892], build[e511f7b/2014-05-22T12:27:39Z]
2015.01.13 16:36:28 INFO  sea[o.elasticsearch.node]  [sonar-1421138187627] initializing ...
2015.01.13 16:36:28 INFO  sea[o.e.plugins]  [sonar-1421138187627] loaded [], sites []
2015.01.13 16:36:30 INFO  sea[o.elasticsearch.node]  [sonar-1421138187627] initialized
2015.01.13 16:36:30 INFO  sea[o.elasticsearch.node]  [sonar-1421138187627] starting ...
2015.01.13 16:36:32 INFO  sea[o.e.transport]  [sonar-1421138187627] bound_address {inet[/0.0.0.0:9001]}, publish_address {inet[/192.168.0.123:9001]}
2015.01.13 16:36:35 INFO  sea[o.e.cluster.service]  [sonar-1421138187627] new_master [sonar-1421138187627][pAv6AP4aS8ODzfXux1cxrA][lztx-PC][inet[/192.168.0.123:9001]]{rack_id=sonar-1421138187627}, reason: zen-disco-join (elected_as_master)
2015.01.13 16:36:35 INFO  sea[o.e.discovery]  [sonar-1421138187627] sonarqube/pAv6AP4aS8ODzfXux1cxrA
2015.01.13 16:36:35 INFO  sea[o.e.gateway]  [sonar-1421138187627] recovered [2] indices into cluster_state
2015.01.13 16:36:36 INFO  sea[o.elasticsearch.node]  [sonar-1421138187627] started
2015.01.13 16:36:36 INFO  app[o.s.p.m.Monitor] Process[search] is up
2015.01.13 16:36:36 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: D:\Java\jdk1.6.0_20\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=true -Djava.io.tmpdir=D:\Java\findbugs-1.3.9\sonarqube-4.5.2\temp -cp ./lib/common/*;./lib/server/*;D:\Java\findbugs-1.3.9\sonarqube-4.5.2\lib\jdbc\mysql\mysql-connector-java-5.1.27.jar org.sonar.server.app.WebServer C:\Users\lztx\AppData\Local\Temp\sq-process4561429732265325200properties
2015.01.13 16:36:37 WARN  web[o.s.p.ProcessEntryPoint]  Starting web
2015.01.13 16:36:37 INFO  web[o.s.s.app.Connectors]  HTTP connector is enabled on port 9000
2015.01.13 16:36:37 INFO  web[o.s.s.app.Webapp]  Webapp directory: D:/Java/findbugs-1.3.9/sonarqube-4.5.2/web
2015.01.13 16:36:37 INFO  web[o.e.plugins]  [sonar-1421138187627] loaded [], sites []
2015.01.13 16:36:38 INFO  web[o.s.s.p.ServerImpl]  SonarQube Server / 4.5.2 / 28ee49d18fd328e46de45736ac350eabb043c90d
2015.01.13 16:36:38 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.13 16:36:40 WARN  web[o.s.s.p.DatabaseServerCompatibility]  Database must be upgraded. Please browse /setup
2015.01.13 16:36:40 INFO  web[o.s.s.p.DefaultServerFileSystem]  SonarQube home: D:\Java\findbugs-1.3.9\sonarqube-4.5.2
2015.01.13 16:36:40 INFO  web[org.sonar.INFO]  Install plugins...
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Findbugs / 2.4 / a334be36ba4374bb779255272c53fb08675ac2c2
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Duplications / 4.5.2 / 28ee49d18fd328e46de45736ac350eabb043c90d
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Chinese Pack / 1.8 / f08bfe731c2db7d47a832b156d001cffcb499df6
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Core / 4.5.2 / 28ee49d18fd328e46de45736ac350eabb043c90d
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Java / 2.4 / 7e7e6335211bb9c0ff9727065f43e7010cc3df91
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Database Cleaner / 4.5.2 / 28ee49d18fd328e46de45736ac350eabb043c90d
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin English Pack / 4.5.2 / 28ee49d18fd328e46de45736ac350eabb043c90d
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Email notifications / 4.5.2 / 28ee49d18fd328e46de45736ac350eabb043c90d
2015.01.13 16:36:40 INFO  web[o.s.s.p.ServerPluginJarsInstaller]  Deploy plugin Design / 4.5.2 / 28ee49d18fd328e46de45736ac350eabb043c90d
2015.01.13 16:36:40 INFO  web[org.sonar.INFO]  Install plugins done: 187 ms
2015.01.13 16:36:40 INFO  web[o.s.s.p.RailsAppsDeployer]  Deploy Ruby on Rails applications
2015.01.13 16:36:41 INFO  web[jruby.rack]  jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) Client VM 1.6.0_20-b02 [Windows 7-x86]
2015.01.13 16:36:41 INFO  web[jruby.rack]  using a shared (threadsafe!) runtime
2015.01.13 16:36:50 INFO  web[jruby.rack]  keeping custom (config.logger) Rails logger instance
2015.01.13 16:36:51 INFO  web[o.s.s.app.Logging]  Web server is started
2015.01.13 16:36:51 INFO  app[o.s.p.m.Monitor] Process[web] is up