The correct way to reset the admin password is through the use of grafana-cli
as many posters here are suggesting. This thread includes mentions of the --homepath
argument to override the home path value. If you use the --homepath
flag, as a global option it needs to come first. A full correct example is as follows:
grafana-cli --homepath "/usr/share/grafana" admin reset-admin-password <new password>
Note that the --homepath
argument is only needed if you are not in the installation directory.
Documentation can be found here: