在使用外部MySQL
数据库设置Sonarqube v7.1时,出现以下错误:
2018.06.04 19:11:27 WARN web[][o.s.s.p.DatabaseServerCompatibility] Database must be upgraded. Please backup database and browse /setup
2018.06.04 19:11:27 WARN app[][startup]
Database must be upgraded.Please backup database and browse /setup
2018.06.04 19:11:27 INFO web[][o.s.s.p.ServerPluginRepository] Deploy plugin Dependency-Check / 1.1.0 / fe3b031e72cf8026980aa916d4a8de32cac1dabc
2018.06.04 19:11:27 INFO web[][o.s.s.p.Platform] Database needs migration
2018.06.04 19:11:27 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.ws.WebServiceFilter@7439197 [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/properties*, ...]}]
2018.06.04 19:11:27 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
任何指针如何解决这个问题。感谢
答案 0 :(得分:2)
这不是错误,您必须打开浏览器并转到$SONARQUBE_URL/setup
并验证表单以启动数据库升级。