SonarQube ::当前版本太旧了。请先升级到长期支持版

时间:2016-08-03 13:18:44

标签: sonarqube sonarqube5.6

我下载了 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

编辑::

请注意我使用的是根据http://docs.sonarqube.org

最新的5.6版本

Link说"您必须先升级到4.5.x - 我建议4.5.7 - 然后升级到5.3。" 。我没有得到这个,我应该安装较低版本的拳头并升级它5.6或什么

1 个答案:

答案 0 :(得分:3)

版本5.6无法从4.5.x之前的版本升级。这似乎是你的情况,所以你应该首先升级到4.5.x(建议最新的4.5.7),然后升级到5.6。