==
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
docker image sonarqube:9.9.5-community with postgres
sonarqube@7aad142e800a:/home$ printenv | grep SONAR_VERSION
SONAR_VERSION=9.9.5.90363
sonarqube@7aad142e800a:/home$ printenv | grep JAVA_VERSION
JAVA_VERSION=jdk-17.0.11+9
sonarqube@7aad142e800a:/home$ printenv | grep sonar.jdbc.url
sonar.jdbc.url=jdbc:postgresql://dblatest:5432/sonar
-
how is SonarQube deployed: zip, Docker, Helm
docker -
what are you trying to achieve
login again with admin -
what have you tried so far to achieve this
queries against postgres from here:
Security
and
insert into user_roles(uuid, user_uuid, role) values (‘random-uuid’, (select uuid from users where login=‘root’), ‘admin’);
and
update users set crypted_password = ‘$2a$12$uCkkXmhW5ThVK8mpBvnXOOJRLd64LJeHTeCkSuB3lfaR2N0AYBaSi’, salt=null, hash_method=‘BCRYPT’ where login = ‘admin’