7

由于我升级到最新版本(通过 apt-get upgrade),ubuntu 12.1 上的声纳实例已损坏。Web-UI 不可访问,并返回 503:

HTTP ERROR: 503

Problem accessing /. Reason:

    Service Unavailable
Powered by Jetty://

这是错误日志:

STATUS | wrapper  | 2013/10/24 08:56:11 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2013/10/24 08:56:11 | Launching a JVM...
INFO   | jvm 1    | 2013/10/24 08:56:12 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2013/10/24 08:56:12 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2013/10/24 08:56:12 | 
INFO   | jvm 1    | 2013/10/24 08:56:12 | 2013-10-24 08:56:12.314:INFO:oejs.Server:jetty-7.6.11.v20130520
2013.10.24 08:56:14 INFO  o.s.s.p.ServerImpl  SonarQube Server / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:14 INFO  o.s.c.p.Database  Create JDBC datasource for jdbc:mysql://127.0.0.1:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
2013.10.24 08:56:16 INFO  o.s.s.p.DefaultServerFileSystem  SonarQube home: /opt/sonar
2013.10.24 08:56:16 INFO  o.s.s.p.DefaultServerFileSystem  Deploy dir: /opt/sonar/war/sonar-server/deploy
2013.10.24 08:56:16 INFO  org.sonar.INFO  Install plugins...
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Findbugs / 1.3 / 4d7d78e9340e39f53bbf202ed16d1253e6507c36
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin JaCoCo / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin English Pack / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin SCM Activity / 1.6 / 98fb6ca20f0829d6ead2ab029221ddd781b6e971
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Maven Batch Plugin / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Surefire / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Duplications / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Checkstyle / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin PMD / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Java / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Core / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Database Cleaner / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Technical Debt / 1.2.1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Squid for Java / 1.3 / 4d7d78e9340e39f53bbf202ed16d1253e6507c36
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Design / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Email notifications / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  org.sonar.INFO  Install plugins done: 264 ms
2013.10.24 08:56:16 ERROR o.s.s.p.Platform  The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
org.sonar.updatecenter.common.exception.IncompatiblePluginVersionException: The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
    at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:132) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40) ~[classes/:na]
    at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48) ~[classes/:na]
    at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37) ~[classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_27]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_27]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_27]
    at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_27]
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.Stored.start(Stored.java:110) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766) ~[picocontainer-2.14.3.jar:na]
    at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91) ~[sonar-plugin-api-3.7.3.jar:na]
    at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251) ~[classes/:na]
    at org.sonar.server.platform.Platform.init(Platform.java:189) ~[classes/:na]
    at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33) [classes/:na]
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) [jetty-webapp-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) [jetty-webapp-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.Server.doStart(Server.java:281) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67) [sonar-application-3.7.3.jar:na]
    at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-3.7.3.jar:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_27]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_27]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_27]
    at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_27]
    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3]
    at java.lang.Thread.run(Thread.java:679) [na:1.6.0_27]
Caused by: java.util.NoSuchElementException: null
    at org.sonar.updatecenter.common.Artifact.getRelease(Artifact.java:68) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:130) ~[sonar-update-center-common-1.8.jar:na]
    ... 41 common frames omitted
INFO   | jvm 1    | 2013/10/24 08:56:16 | 2013-10-24 08:56:16.508:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/opt/sonar/war/sonar-server/},file:/opt/sonar/war/sonar-server
INFO   | jvm 1    | 2013/10/24 08:56:16 | org.sonar.updatecenter.common.exception.IncompatiblePluginVersionException: The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.init(Platform.java:189)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.Server.doStart(Server.java:281)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.StartServer.main(StartServer.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.Thread.run(Thread.java:679)
INFO   | jvm 1    | 2013/10/24 08:56:16 | Caused by: 
INFO   | jvm 1    | 2013/10/24 08:56:16 | java.util.NoSuchElementException
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.Artifact.getRelease(Artifact.java:68)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:130)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.init(Platform.java:189)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.Server.doStart(Server.java:281)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.StartServer.main(StartServer.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.Thread.run(Thread.java:679)
INFO   | jvm 1    | 2013/10/24 08:56:16 | 2013-10-24 08:56:16.533:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9000

我试过的:

将插件文件夹中的软件包更新到Sonar Ecosystem的最新版本,不,它们都是 sonar-*-1.4.jar

如何在不访问声纳的情况下更新 findbugs 和 java 插件?

4

3 回答 3

8

更新后

/opt/sonar/extensions/plugins

带有来自SonarEcosystem的 jar 的目录,确保权限正确,在我的情况下:

ls -lsa
44 -rw-r--r-- 1 sonar adm   44212 Oct 24 09:34 sonar-java-plugin-1.4.jar

重新启动时,请确保等到声纳启动:

 tail -f /opt/sonar/logs/sonar.log
于 2013-10-24T07:44:47.193 回答
4

如果您使用新的 2.4 Java 插件,您可以删除 Squid、Surefire 和 Jacoco 插件。它们现在都集成到一个插件中:

http://docs.sonarqube.org/display/SONAR/Java+Plugin

2.4 版将 Java 从一个由多个插件组成的“生态系统”转变为一个单一的、独立的插件,该插件包含以前包含在生态系统中的大部分功能。具体来说,Squid、Surefire 和 Jacoco 已被纳入 Java 插件。FindBugs 已被拆分为一个独立的可选插件。要继续使用它,请将其升级到 2.4 版。不幸的是,SonarQube 的更新中心无法优雅地处理切换。您可以使用更新中心下载插件的新版本。但是,您必须从 $SONARQUBE_HOME/extensions/plugins 手动删除 Surefire、JaCoCo 和 Squid for Java 插件。

要修复 2.4 版本的问题,需要删除Squid、Surefire 和 Jacoco 。

于 2014-09-24T19:49:48.273 回答
4

按照插件文档中的粗体指示:

升级到 2.4 您不能自动升级到 2.4 版本 2.4 将 Java 从一个由多个插件组成的“生态系统”转变为一个包含以前包含在生态系统中的大部分功能的单个独立插件。具体来说,Squid、Surefire 和 Jacoco 已被纳入 Java 插件。FindBugs 已被拆分为一个独立的可选插件。要继续使用它,请将其升级到 2.4 版。不幸的是,SonarQube 的更新中心无法优雅地处理切换。您可以使用更新中心下载插件的新版本。但是,您必须从 $SONARQUBE_HOME/extensions/plugins 手动删除 Surefire、JaCoCo 和 Squid for Java 插件。

rm /opt/sonar/extensions/plugins/sonar-surefire-plugin-*
rm /opt/sonar/extensions/plugins/sonar-jacoco-plugin-*
rm /opt/sonar/extensions/plugins/sonar-squid-plugin-*
于 2014-10-03T01:22:52.180 回答