美文网首页SonarQube
SonarQube升级步骤

SonarQube升级步骤

作者: 戈壁堂 | 来源:发表于2020-10-28 20:37 被阅读0次

备份数据库在SQ8.4版本,恢复在8.3版本时报错:Database was upgraded to a more recent version of SonarQube. A backup must probably be restored or the DB settings are incorrect.

如果版本不一致,可能涉及到升级问题,查看sonar.log即可

...
2020.10.21 11:14:27 ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Database was upgraded to a more recent version of SonarQube. A backup must probably be restored or the DB settings are incorrect.
2020.10.21 11:14:27 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2020.10.21 11:14:27 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process
...

使用相同的SQ,可正常启动——备份恢复成功。

使用SQ8.5版本时,启动后首页提示:

SonarQube is under maintenance

While waiting, you might want to investigate new plugins to extend the current functionality.

If you are an administrator and have no idea why this message is being shown, you should read the upgrade guide.

官方指导upgrade guide.

  • 下载、解压
  • 根据兼容性列表复制对应的插件到插件目录extensions/plugins
  • 更新对应的配置文件sonar.propertieswrapper.conf
  • 停止旧版本、启动新版本
  • 访问http://yourSonarQubeServerURL/setup目录根据提示进行升级操作

相关文章

网友评论

    本文标题:SonarQube升级步骤

    本文链接:https://www.haomeiwen.com/subject/mdczmktx.html