Cauchy 安装sonarqube时,postgresql启动失败,请问这个是什么原因?

[root@crm-server logs]# kubectl logs -n kubesphere-devops-system sonarqube-postgresql-0 -f
postgresql 07:38:18.62 
postgresql 07:38:18.62 Welcome to the Bitnami postgresql container
postgresql 07:38:18.63 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
postgresql 07:38:18.63 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
postgresql 07:38:18.63 Send us your feedback at containers@bitnami.com
postgresql 07:38:18.63 
postgresql 07:38:18.64 INFO  ==> ** Starting PostgreSQL setup **
postgresql 07:38:18.73 INFO  ==> Validating settings in POSTGRESQL_* env vars..
postgresql 07:38:18.73 INFO  ==> Loading custom pre-init scripts...
postgresql 07:38:18.74 INFO  ==> Initializing PostgreSQL database...
postgresql 07:38:18.77 INFO  ==> postgresql.conf file not detected. Generating it...
postgresql 07:38:18.78 INFO  ==> pg_hba.conf file not detected. Generating it...
postgresql 07:38:18.79 INFO  ==> Generating local authentication configuration
postgresql 07:38:19.46 INFO  ==> Stopping PostgreSQL...
1 个月 后
23 天 后

[root@k8s-node1 k8s]# helm upgrade –install sonarqube sonarqube –repo https://charts.kubesphere.io/main -n kubesphere-devops-system –create-namespace –set service.type=NodePort
Error: unknown shorthand flag: ‘n’ in -n

shaowenchen 您好,我就是参考这篇文章安装的,sonarqube也分析完了代码,webhook也执行了,但是kubesphere的前端没有显示出来

shaowenchen 您好,是不是我只要修改了ks-console的配置文件就可以在界面上看到【质量分析】这个选项卡了吗?还是必须要执行成功才可以看到。我现在执行成功也看不到,下面是我的配置情况,麻烦大佬帮忙看看



    nanjofan

    配置完了,需要重启服务。还可以检查一下 yaml的格式,主要是对齐问题。

    执行成功一次之后,才会显示,默认不会显示。

      8 天 后

      nanjofan 你好,我的前端也不展示,可否请教一下installer的token位置有什么问题,我看看是否也是同样的错误.

        MrZhooou 就是写yaml文件的时候yaml的格式有点不对,不知道你是这个问题不

        1 个月 后

        执行后报错:
        ERROR: SonarQube installation defined in this job (sonar) does not match any configured installation. Number of installations that can be configured: 1.

        If you want to reassign jobs to a different SonarQube installation, check the documentation under https://redirect.sonarsource.com/plugins/jenkins.html

        Finished: FAILURE

        同样的命令,单独把分支拉取下来,是可以执行的

                stage('sonarqube analysis') {
                    steps {
                        withSonarQubeEnv('sonar') {
                            container('maven') {
                                sh """
                                    ls -l .
                                    mvn sonar:sonar -Dsonar.projectKey=devops -Dsonar.host.url=http://10.1.1.12:31132 -Dsonar.login=103b6fd12510e31d992674ae5ec402bb7f43b2b0
                                """
                            }
                        }
                    }
                }
        10 天 后

        shaowenchen

        Cauchy
        大佬们好,我想问一下,kubesphere 2.1开启DevOps时,没有安装对应的sonarqube,请问我需要怎么在2.1 安装sonarqube,用kubesphere 3.0安装sonarqube会不会有冲突?

        4 个月 后
        20 天 后

        shaowenchen

        Cauchy

        大佬,问一下,是不是helm是2.16版本不支持你上述的安装,使用helm 2.16应该怎么安装?


        还有我不太懂,helm怎么升级到3版本?

          johnniang 谢谢,我发现了是这个原因,我想知道的是helm 2.16版本怎么下载sonarqube,大哥你懂吗?