Hi, all experts.
I want to reset admin password at grafana.
So, the following command was executed,
grafana-cli --homepath "/usr/local/opt/grafana/share/grafana" admin reset-admin-password "admin"
, and the results were returned.
INFO [11-28|18:40:33] Starting Grafana logger=settings version= commit= branch= compiled=1970-01-01T09:00:00+09:00
INFO [11-28|18:40:33] Config loaded from logger=settings file=/usr/local/opt/grafana/share/grafana/conf/defaults.ini
INFO [11-28|18:40:33] Path Home logger=settings path=/usr/local/opt/grafana/share/grafana
INFO [11-28|18:40:33] Path Data logger=settings path=/usr/local/opt/grafana/share/grafana/data
INFO [11-28|18:40:33] Path Logs logger=settings path=/usr/local/opt/grafana/share/grafana/data/log
INFO [11-28|18:40:33] Path Plugins logger=settings path=/usr/local/opt/grafana/share/grafana/data/plugins
INFO [11-28|18:40:33] Path Provisioning logger=settings path=/usr/local/opt/grafana/share/grafana/conf/provisioning
INFO [11-28|18:40:33] App mode production logger=settings
INFO [11-28|18:40:33] Connecting to DB logger=sqlstore dbtype=sqlite3
INFO [11-28|18:40:33] Starting DB migrations logger=migrator
INFO [11-28|18:40:33] migrations completed logger=migrator performed=0 skipped=452 duration=526.375µs
INFO [11-28|18:40:33] Envelope encryption state logger=secrets enabled=true current provider=secretKey.v1
WARN [11-28|18:40:33] Skipping finding plugins as directory does not exist logger=plugin.finder path=/usr/local/opt/grafana/share/grafana/plugins-bundled
WARN [11-28|18:40:33] Skipping finding plugins as directory does not exist logger=plugin.finder path=/usr/local/opt/grafana/share/grafana/data/plugins
Admin password changed successfully ✔
I thought the password was set to admin so , I tried to access http://grafana.staged-by-discourse.com with browser but could not.
How do I reset the admin password?
Would you give me some advices, please.
Configurations
- Mac OS Monterey (12.4, M1)
- The version of grafana is 9.2.6. (installed by homebrew)