【问题标题】:SonarQube :: Current version is too old. Please upgrade to Long Term Support version firstlySonarQube :: 当前版本太旧。请先升级到长期支持版本
【发布时间】:2016-12-09 05:56:15
【问题描述】:

我下载了 sonarqube-5.6 并配置了 sonar.properties 。我的mysql版本是5.6,java版本是1.8。当我开始声纳时出现错误,当前版本太旧,而我的声纳是 5.6。这是错误日志和 sonar.properties

 2016.08.03 18:30:13 INFO  web[o.s.s.p.ServerImpl] SonarQube Server / 5.6 / 074f3d1169f9688d15af4aff67e7e672cbeed782
    2016.08.03 18:30:13 INFO  web[o.sonar.db.Database] Create JDBC data source for jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
    2016.08.03 18:30:13 ERROR web[o.a.c.c.C.[.[.[/sonar]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.PlatformServletContextListener
    org.sonar.api.utils.MessageException: Current version is too old. Please upgrade to Long Term Support version firstly.

Sonar.properties

sonar.jdbc.username=sonar
sonar.jdbc.password=sonar
sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEn
coding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance

编辑 ::

请注意我使用的是最新的 5.6 版本,根据 http://docs.sonarqube.org

Link 说“你必须先升级到 4.5.x - 我推荐 4.5.7 - 然后升级到 5.3。” .我没有得到这个,我应该安装较低版本的拳头并将其升级到 5.6 还是什么

【问题讨论】:

标签: sonarqube sonarqube5.6


【解决方案1】:

5.6 版无法从 4.5.x 之前的版本升级。好像是你的情况,所以你应该先升级到4.5.x(推荐最新的4.5.7)然后升级到5.6。

【讨论】:

  • 你好,我很困惑。之前没有安装过旧版本,也出现同样的错误,是不是必须先安装旧版本?
  • 您可能连接到与另一个版本的 SonarQube 相关的数据库架构。
  • 检查 2 个表中的数据,它应该让您对数据库版本有一个很好的了解 - “properties”和“schema_migrations”
猜你喜欢
  • 2021-07-14
  • 2018-07-03
  • 1970-01-01
  • 2018-04-03
  • 2014-02-20
  • 1970-01-01
  • 2016-06-27
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多