在sonarqube 6.6从6.5(使用Debian软件包)升级后,声纳无法启动。我没有在升级之前更新插件。我只是让标准的Debian包升级了。我正在使用外部数据库(Postgresql)。 我在web.log中发现了以下错误:
2017.10.24 18:12:34 ERROR web[][o.s.s.es.BulkIndexer] index [components], type [component], id [AVgpp1_-x6lKXwnU0BYQ], message [java.lang.IllegalArgumentException: can't specify parent if no parent field has been configured] 2017.10.24 18:12:34 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube java.lang.IllegalStateException: Unrecoverable indexation failures at org.sonar.server.es.IndexingListener$1.onFinish(IndexingListener.java:39) at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:117) at org.sonar.server.component.index.ComponentIndexer.doIndexByProjectUuid(ComponentIndexer.java:149) at org.sonar.server.component.index.ComponentIndexer.indexOnStartup(ComponentIndexer.java:71) at org.sonar.server.es.IndexerStartupTask.indexUninitializedTypes(IndexerStartupTask.java:68) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at org.sonar.server.es.IndexerStartupTask.execute(IndexerStartupTask.java:55) at java.util.Optional.ifPresent(Optional.java:159) at org.sonar.server.platform.platformlevel.PlatformLevelStartup$1.doPrivileged(PlatformLevelStartup.java:91) at org.sonar.server.user.DoPrivileged.execute(DoPrivileged.java:45) at org.sonar.server.platform.platformlevel.PlatformLevelStartup.start(PlatformLevelStartup.java:87) at org.sonar.server.platform.Platform.executeStartupTasks(Platform.java:196) at org.sonar.server.platform.Platform.access$400(Platform.java:46) at org.sonar.server.platform.Platform$1.lambda$doRun$1(Platform.java:121) at org.sonar.server.platform.Platform$AutoStarterRunnable.runIfNotAborted(Platform.java:371) at org.sonar.server.platform.Platform$1.doRun(Platform.java:121) at org.sonar.server.platform.Platform$AutoStarterRunnable.run(Platform.java:355) at java.lang.Thread.run(Thread.java:748)
任何线索或解决方法?
答案 0 :(得分:4)
我设法通过尝试另一次升级(恢复声纳6.5之后)和
来克服此错误