Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-4881

Changing forgotten admin password in PMM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PMM Server

      Description

      PMM does not allow to easily configure email server so "forgot password" function does not work. 

       

      The other potential way to do it would be  to use grafana cli

      https://grafana.com/docs/administration/cli/

       

      This however does not work out of the box.  It is not clear how to run it so it detects and updates correct file. 

       

      We should either make it work out of the box or document proper process.

       

      I made it work with 

      grafana-cli --homepath "/usr/share/grafana" admin reset-admin-password admin

       

      And creating symlink from default grafana.db file to  /srv/grafana/grafana.db   but I'm not sure if this is the best option

       

       

       

       

       

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              roma.novikov Roma Novikov
              Reporter:
              pz Peter Zaitsev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: