Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved You can change the username but not the password

    Grafana
    3
    9
    408
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcusquinn
      marcusquinn last edited by

      Great working getting this packaged!

      I'm guessing LDAP isn't hooked up yet from the initials install instructions?

      You can change the username, did that and tested logging out and back in.

      However, this is what I get for the password edit page:

      9c176727-b6b8-4d82-9cca-fa3b9c7965c7-image.png

      We're not here for a long time - but we are here for a good time :)
      Jersey/UK
      Work & Ecommerce Advice: https://brandlight.org
      Personal & Software Tips: https://marcusquinn.com

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        @marcusquinn Oh, looks like a limitation of grafana that if LDAP is enabled, it cannot set the password of an admin user.

        LDAP is enabled, are you not able to login with Cloudron credentials?

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          @marcusquinn Ah, the trick is to go the Users management page and not via the profile page.

          ec46043a-bfb6-49ee-9a20-98dc3e1b7fc0-image.png

          The password change in the above screen shot where you manage users there works. I will make a note in the postinstall message.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            You can also reset password via CLI like this:

            /app/code/bin/grafana-cli --homepath /app/code  --config /run/grafana/custom.ini admin reset-admin-password secret123
            
            1 Reply Last reply Reply Quote 1
            • marcusquinn
              marcusquinn last edited by marcusquinn

              Got it, recommended update to the Instructions:

              This app is pre-setup with an admin account. The initial Admin user credentials are:
              
              Username: admin
              Password: admin
              
              1. Login with your Cloudron LDAP credentials. This creates your user record.
              2. Logout and login with user:admin / pass:admin.
              3. Set your user to Admin permissions.
              4. Logout and login with your Cloudron LDAP user/pass.
              5. Delete the admin/admin user. You are now the Admin.
              6. New users will need to login with their Cloudron LDAP user/pass first, then you can update their permissions too as required.
              

              We're not here for a long time - but we are here for a good time :)
              Jersey/UK
              Work & Ecommerce Advice: https://brandlight.org
              Personal & Software Tips: https://marcusquinn.com

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                @marcusquinn I think it's OK to keep the admin user around. Especially, when we go multi-host, the admin user is useful if the LDAP is down.

                marcusquinn 1 Reply Last reply Reply Quote 1
                • marcusquinn
                  marcusquinn @girish last edited by

                  @girish Except that you can't change the admin user's password currently 😉

                  We're not here for a long time - but we are here for a good time :)
                  Jersey/UK
                  Work & Ecommerce Advice: https://brandlight.org
                  Personal & Software Tips: https://marcusquinn.com

                  rmdes 1 Reply Last reply Reply Quote 0
                  • rmdes
                    rmdes @marcusquinn last edited by

                    @marcusquinn You can, check out my screen here : https://cloud.armada.digital/s/bRF8p7Xm9PqokYb

                    marcusquinn 1 Reply Last reply Reply Quote 0
                    • marcusquinn
                      marcusquinn @rmdes last edited by

                      @rmdes Magic! 🙂

                      We're not here for a long time - but we are here for a good time :)
                      Jersey/UK
                      Work & Ecommerce Advice: https://brandlight.org
                      Personal & Software Tips: https://marcusquinn.com

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB