那真不是插件问题了,是不是之前你手动删数据,留下了啥脏数据;等文档更新到7.6,直接重装吧
什么时候更新?仓库里有吗?
好 我试下
019.06.25 15:21:15 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://sonarqube-postgresql:5432/sonarDB
2019.06.25 15:21:16 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2019.06.25 15:21:16 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2019.06.25 15:21:16 ERROR web[][o.s.s.p.Platform] Web server startup failed
java.lang.IllegalStateException: Unable to read plugin manifest from jar : /opt/sonarqube/extensions/plugins/sonar-gitlab-plugin-4.0.0.jar
at org.sonar.updatecenter.common.PluginManifest.<init>(PluginManifest.java:125)
at org.sonar.core.platform.PluginInfo.create(PluginInfo.java:395)
at org.sonar.server.plugins.ServerPluginRepository.loadPreInstalledPlugins(ServerPluginRepository.java:135)
at org.sonar.server.plugins.ServerPluginRepository.start(ServerPluginRepository.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
at org.picoco
启动报错了
改成4.1 解决了
看上去像是被意外kill掉了,尝试加大pod内存限制试一试呢?
资源调大就可以了
cpu_limit = "4"
cpu_request = "4"
memory_request = "4Gi"
memory_limit = "4Gi"
service_cpu_limit = "500m"
service_cpu_request = "100m"
service_memory_limit = "800Mi"
service_memory_request = "500Mi"
helper_cpu_limit = "4"
helper_cpu_request = "4"
helper_memory_limit = "4Gi"
helper_memory_request = "4Gi"
helper_image = "gitlab/gitlab-runner-helper:x86_64-7f00c780"
1 个赞
谢谢反馈
部署sonar 新建项目 项目名称要求 文档中要写进去说明,不然压根不知道怎么关联
sonar 新建项目时 得说明 项目 命名规则