Login failed Invalid username or password

Hello,

I am running grafana inside a container. The same docker container run in 2 other VMs runs perfectly, on one of them it fails to login.

These are the logs that are outputed:
logger=authn.password t=2024-09-05T12:23:46.964261807Z level=debug msg=“Failed to authenticate password identity” client=grafana error=“[identity.not-found] no user found: user not found”
logger=authn.service t=2024-09-05T12:23:46.964309398Z level=info msg=“Failed to authenticate request” client=auth.client.form error=“[password-auth.failed] failed to authenticate identity: [identity.not-found] no user found: user not found”
logger=context userId=0 orgId=0 uname= t=2024-09-05T12:23:46.964394224Z level=info msg=Unauthorized error=“[password-auth.failed] failed to authenticate identity: [identity.not-found] no user found: user not found” remote_addr=10.28.31.24 traceID=
logger=context userId=0 orgId=0 uname= t=2024-09-05T12:23:46.964432911Z level=info msg=“Request Completed” method=POST path=/login status=401 remote_addr=x.x.x.x time_ms=1 duration=1.064489ms size=107 referer=http://x.x.x.x:3000/login handler=/login status_source=server

It seems as the password and username that I set up during built are not taken into account, and we can not log in.

Tried modifying them directly on grafana.ini, but nothing works. Tried even to access the grafana.db and there for some reason the username is empty …

There is nothing we haven’t tried.

Some help on resolving this issue would be greatly appreciated