question

ehsab avatar image
ehsab asked

Reset admin password grafana docker

Hi,
I need to reset the admin password for grafana that is deployd with victron docker container.

Does anyone know how to do this?

Kind Regards

ehsab

grafana
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
Stefanie (Victron Energy Staff) avatar image
Stefanie (Victron Energy Staff) answered ·

Hi @ehsab,

you can try this from the console (depending on your OS) supposed you're on the machine you're running Grafana on:

grafana-cli admin reset-admin-password <new password>

I did this just yesterday evening and it worked for me.

See also: Grafana reset admin password

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ehsab avatar image ehsab commented ·

Hi and thanks for replying.
Shouldn't that command be issued inside the container? Not on the host where the containers are running?

I'm running this on a ubuntu server if that helps.

0 Likes 0 ·
Show more comments
Ole Saether avatar image
Ole Saether answered ·

Try logging into the docker container and change the password there:

docker exec -it bb34e6ad0df2 /bin/bash
grafana-cli admin reset-admin-password <new password>


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.