Quantcast

Error while upgrading from 3.2.1 to 5.0.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error while upgrading from 3.2.1 to 5.0.1

softwareforums2013
This post has NOT been accepted by the mailing list yet.
Hi Everyone,


I am trying to upgrade my sonar to 5.0.1 form 3.2.1 but I am gettting below error while launching 5.0.1. How do i fix this error.

--> Wrapper Started as Daemon
Launching a JVM...
JVM exited while loading the application.
[ERROR] Argument error: -Xms3m
[ERROR] Specified initial heap size (3MB) is less than minimum required (8MB).
Could not create the Java virtual machine.
JVM Restarts disabled.  Shutting down.
<-- Wrapper Stopped


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while upgrading from 3.2.1 to 5.0.1

softwareforums2013
This post has NOT been accepted by the mailing list yet.
Hi Everyone,

I have increase the size by changing the value for "wrapper.java.initmemory" to 8 in wrapper.conf file.

Now I am getting below error:

--> 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.

Unknown option or illegal argument: -XX:+UseParNewGC.
Please check for incorrect spelling or review documentation of startup options.

Could not create the Java virtual machine.
2015.05.26 20:12:06 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[search]: /opt/customer/java/jrockit-jdk1.6.0_26-R28.1.4-4.0.1/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/customer/psadmin/sonarqube-5.0.1/temp -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /tmp/sq-process231061155264156050properties
<-- Wrapper Stopped
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while upgrading from 3.2.1 to 5.0.1

softwareforums2013
This post has NOT been accepted by the mailing list yet.
ok I got this taken care of this was due to java
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while upgrading from 3.2.1 to 5.0.1

softwareforums2013
This post has NOT been accepted by the mailing list yet.
Hi Everyone,

We are trying to upgrade our sonar version from 3.2.1 to 5.0.1 and we are getting below error during the upgrade process. I did make sure that es directory was not present in "data" folder before I tried upgrading my sonar version.

I have followed each and every steps mentioned on the sonarqube link below:
http://docs.sonarqube.org/display/SONAR/Upgrading#Upgrading-HowtoUpgrade


2015.05.27 04:47:56 ERROR web[o.s.s.ui.JRubyFacade]  Fail to upgrade database
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Fail to execute ES delete by query request on indices 'sourcelines'
        com.google.common.base.Throwables.propagate(Throwables.java:156)
        org.sonar.server.es.BaseIndexer.index(BaseIndexer.java:63)
        org.sonar.server.search.IndexSynchronizer.execute(IndexSynchronizer.java:71)
        org.sonar.server.platform.ServerComponents$1.doPrivileged(ServerComponents.java:664)
        org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:43)
        org.sonar.server.platform.ServerComponents.executeStartupTasks(ServerComponents.java:661)
        org.sonar.server.platform.Platform.executeStartupTasks(Platform.java:126)
        org.sonar.server.platform.Platform.startLevel34Containers(Platform.java:122)
        org.sonar.server.platform.Platform.doStart(Platform.java:81)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:440)
        org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:304)
        org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:52)
        org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:306)
        org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:136)
        org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:60)
        org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
        org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
        org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:182)
        org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:306)
        org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:136)
        org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:60)
        org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
        org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        org.jruby.ast.RescueNode.executeBody(RescueNode.java:221)
        org.jruby.ast.RescueNode.interpret(RescueNode.java:116)
        org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
        org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
        org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
        org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:384)
        org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:336)
        org.jruby.runtime.BlockBody.call(BlockBody.java:73)
        org.jruby.runtime.Block.call(Block.java:101)
        org.jruby.RubyProc.call(RubyProc.java:290)
        org.jruby.RubyProc.call(RubyProc.java:228)
        org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:97)
        java.lang.Thread.run(Thread.java:662)
Loading...