Troubleshoot grafana admin passwordΒΆ
Compare the output of:
Charm action:
juju run graf/0 get-admin-passwordPebble plan:
juju ssh --container grafana graf/0 /charm/bin/pebble plan | grep GF_SECURITY_ADMIN_PASSWORDSecret content: Obtain secret id from
juju secretsand thenjuju show-secret d6buvufmp25c7am9qqtg --reveal
All 3 should be identical. If they are not identical,
Manually reset the admin password,
juju ssh --container grafana graf/0 grafana cli --config /etc/grafana/grafana-config.ini admin reset-admin-password pa55w0rdUpdate the secret with the same:
juju update-secret d6buvufmp25c7am9qqtg password=pa55w0rdRun the action so the charm updates the pebble service environment variable:
juju run graf/0 get-admin-password