I need to reset the admin password for grafana that is deployd with victron docker container.
Does anyone know how to do this?
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
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.
Oh, I didn't read that you're running docker.
Maybe this is of help: Reset Grafana password when running in Docker on Raspberry Pi
Yea, i've been trying that aswell. Whatever command i try to execute in the container i get the following error:
root@mqtt:/home/ehsab# docker exec -ti bb34e6ad0df2 grafana-cli admin reset-admin-password admin failed to create runc console socket: mkdir /tmp/pty359940191: read-only file system: unknown
This is the status atm:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 0ad583d6531d victronenergy/venus-docker-server:latest "docker-entrypoint.s…" 6 weeks ago Up 5 weeks 0.0.0.0:8088->8088/tcp ehsab_server_1 d88de9699d7b influxdb:1.7 "/entrypoint.sh infl…" 6 weeks ago Up 5 weeks 0.0.0.0:8086->8086/tcp ehsab_influxdb_1 bb34e6ad0df2 victronenergy/venus-docker-grafana:latest "/entrypoint.sh" 6 weeks ago Up 5 weeks 0.0.0.0:3000->3000/tcp ehsab_graphing_1 7a680d9f59c9 victronenergy/venus-docker-upnp:latest "docker-entrypoint.s…" 6 weeks ago Up 5 weeks ehsab_upnp_1
Heres a link to a better view of the above: http://p.ip.fi/R6Yf
I see and must admit that it goes beyond my knowledge.
Hopefully @Scott Bender is a better help here.
22 People are following this question.