gpt4 book ai didi

sonarqube 6.6 升级 : Unrecoverable indexation failures

转载 作者:行者123 更新时间:2023-12-04 17:05:48 24 4
gpt4 key购买 nike

sonarqube 从 6.5(带 Debian 软件包)升级到 6.6 后,sonar 无法启动。升级前我没有更新插件。我只是让标准的 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)

任何线索或解决方法?

最佳答案

我通过尝试另一次升级(在恢复 Sonar 6.5 之后)设法克服了这个错误,并且:

  • 升级前升级插件
  • 之后删除 data/es5 文件夹遇到同样的错误并重新启动 Sonar 。

关于sonarqube 6.6 升级 : Unrecoverable indexation failures,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46915947/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com