Unable to login with admin user to new install


(Paul Saunders) #1

Must-share information:

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    7.1 docker image of SonarQube.

  • what are you trying to achieve
    Used the helm chart (https://github.com/kubernetes/charts/tree/master/stable/sonarqube) to install into a kubernetes cluster. Both Sonar and Postgres start up fine, but I’m then unable to login with admin/admin. I just get an Authorization Failed message.

  • what have you tried so far to achieve this
    I’ve reset the password by

update users set crypted_password = '88c991e39bb88b94178123a849606905ebf440f5', salt='6522f3c5007ae910ad690bb1bdbf264a34884c6d' where login = 'admin';

I’ve deleted and recreated several times now.

Any help appreciated.

(G Ann Campbell) #2

Hi Paul,

Are you sure the admin user still exists in your database? Also, do you see any errors in the server-side logs when you try to authenticate?


(Paul Saunders) #3

Hi Ann. The user definitely exists, and there’s nothing at all in the logs. :frowning:

Might also be worth noting that the alpine variant fails with a missing java library (something to do with logging)


(G Ann Campbell) #4

Hi Paul,

You’re not configured for LDAP, are you?

Also, any errors in your browser console?


(Paul Saunders) #5

No, not on LDAP. No other errors that I noted. When I get my cluster back, I’ll try again and give you what I can. from the console. I must admit I didn’t even think to look there :confused:

(Paul Saunders) #6

The problem seems to have disappeared. I’ll re-open if it happens to me again. Thanks for your time.