SonarQube :: 当前版本太旧.请先升级到长期支持版本 [英] SonarQube :: Current version is too old. Please upgrade to Long Term Support version firstly
问题描述
我下载了 sonarqube-5.6 并配置了 sonar.properties .我的mysql版本是5.6,java版本是1.8.当我开始声纳时出现错误,当前版本太旧,而我的声纳是 5.6.这是错误日志和 sonar.properties
I downloaded sonarqube-5.6 and configured the sonar.properties . My mysql version is 5.6 and java version is 1.8. when I start sonar getting error current version is too old , while my sonar is 5.6. Here is error log and 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.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
Please note I am using 5.6 version which is latest as per http://docs.sonarqube.org
链接说你必须先升级到 4.5.x——我推荐 4.5.7——然后升级到 5.3.".我没有得到这个,我应该安装较低版本的拳头并将其升级到 5.6 还是什么
Link says "you must first upgrade to 4.5.x - I'd recommend 4.5.7 - and then upgrade to 5.3." . I am not getting this , should I install lower version fist and upgrade it 5.6 or what
推荐答案
无法从 4.5.x 之前的版本升级 5.6 版.好像是你的情况,所以你应该先升级到4.5.x(推荐最新的4.5.7)然后升级到5.6.
Version 5.6 can't be upgraded from a version previous to 4.5.x. It seems to be your case, so you should first upgrade to 4.5.x (the latest 4.5.7 is recommended) then upgrade to 5.6.
这篇关于SonarQube :: 当前版本太旧.请先升级到长期支持版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!