ArpitaS
(Arpita)
April 18, 2024, 12:31pm
1
Hi Team,
I have installed sonar in my local Mac machine with homebrew. Here are commands I used
brew install sonarqube
brew install sonar-scanner
Sonar version - 10.4.1
Sonar scanner - 5.0.1
Java install - 17
When I start the service and try login with admin/admin it always gives authentication failed though its a new setup.
So far tried with java 11, reinstalling. Any help is appreciated.
ganncamp
(G Ann Campbell)
April 19, 2024, 2:46pm
2
Hi,
Welcome to the community!
What do your server logs say?
Ann
ArpitaS
(Arpita)
April 24, 2024, 5:21am
3
Nothing suspicious in logs. I dont see any error/exceptions.
ganncamp
(G Ann Campbell)
April 24, 2024, 11:43am
4
Hi,
You say your SonarQube is a new installation. Are you using the embedded H2 DB, or pointing to an external DB? And if the latter, perhaps you need to reinstate admin access .
HTH,
Ann
ArpitaS
(Arpita)
April 25, 2024, 3:52pm
5
Yes its using embedded H2 DB. Connected to that and resetting admin password helped.
1 Like
ganncamp
(G Ann Campbell)
April 25, 2024, 3:53pm
6
Hi,
Iām glad you worked through this.
Just be very aware that H2 is provided only for evaluation and is not supported for production.
Ann