Login issue with Grafana

I started having login issues on my localhost:3000
it also fails to send email to reset password.
Problem !
Failed to send email

I tried and changed my account password too but that didnt help too.

Hi,

What version of Grafana? Check the Grafana server log and include any related messages here when you’re signing in and/or sending an email.

Marcus

grafana 4.3.2
Running on MAC

t=2018-03-15T10:25:49+1100 lvl=eror msg=“Invalid username or password” logger=context userId=0 orgId=0 uname= error=“Invalid Username or Password”
t=2018-03-15T10:25:49+1100 lvl=info msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=401 remote_addr=[::1] time_ms=68 size=42
t=2018-03-15T10:25:49+1100 lvl=info msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=GET path=/api/login/ping status=401 remote_addr=[::1] time_ms=5 size=26
t=2018-03-15T10:25:58+1100 lvl=eror msg=“Failed to send email” logger=context userId=0 orgId=0 uname= error=“SMTP not configured, check your grafana.ini config file’s [smtp] section.”
t=2018-03-15T10:25:58+1100 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/api/user/password/send-reset-email status=500 remote_addr=[::1] time_ms=9 size=34

I also created a test account and it sends email but I receive nothing.
I hope we can fix this as I need one of the dashboards urgently.
Is there any chance that we can rectify this ?

Hi,

Did you change any configuration prior to your problems started? Not sure what database you’re using, but I would suggest to have a look at these links for help resetting admin account:

Marcus

faced same issue.
apparently you need to login as below first:
username: admin
password: admin
then set new password

5 Likes

Hi !

In effect, this solution works for me, thanks a lot :slight_smile: