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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Grafana
  3. You can change the username but not the password

You can change the username but not the password

Scheduled Pinned Locked Moved Solved Grafana
12 Posts 4 Posters 2.1k Views 4 Watching
  • 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.
    • marcusquinnM Offline
      marcusquinnM Offline
      marcusquinn
      wrote on last edited by
      #1

      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

      Web Design https://www.evergreen.je
      Development https://brandlight.org
      Life https://marcusquinn.com

      1 Reply Last reply
      0
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #2

        @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
        0
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #3

          @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
          0
          • girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #4

            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
            1
            • marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by marcusquinn
              #5

              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.
              

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              A 1 Reply Last reply
              0
              • girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #6

                @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.

                marcusquinnM 1 Reply Last reply
                1
                • girishG girish

                  @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.

                  marcusquinnM Offline
                  marcusquinnM Offline
                  marcusquinn
                  wrote on last edited by
                  #7

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

                  Web Design https://www.evergreen.je
                  Development https://brandlight.org
                  Life https://marcusquinn.com

                  rmdesR 1 Reply Last reply
                  0
                  • marcusquinnM marcusquinn

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

                    rmdesR Offline
                    rmdesR Offline
                    rmdes
                    wrote on last edited by
                    #8

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

                    marcusquinnM 1 Reply Last reply
                    0
                    • rmdesR rmdes

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

                      marcusquinnM Offline
                      marcusquinnM Offline
                      marcusquinn
                      wrote on last edited by
                      #9

                      @rmdes Magic! 🙂

                      Web Design https://www.evergreen.je
                      Development https://brandlight.org
                      Life https://marcusquinn.com

                      1 Reply Last reply
                      0
                      • marcusquinnM 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.
                        
                        A Offline
                        A Offline
                        AmbroiseUnly
                        wrote on last edited by
                        #10

                        @marcusquinn Thanks for this, I couldn't find any way to authenticate to my Grafana instance before reading your post.

                        The Grafana Cloudron app documentation is lacking basic information such as admin/admin for logging in admin user. I searched for it for too long before getting lucky here. It wasn't part of the post-install guidelines as usual (or I missed it)

                        https://docs.cloudron.io/apps/grafana/

                        1 Reply Last reply
                        1
                        • girishG Do not disturb
                          girishG Do not disturb
                          girish
                          Staff
                          wrote on last edited by
                          #11

                          @AmbroiseUnly did you not see a dialog when you clicked the app after installation without the default credentials ?

                          image.png

                          In Cloudron 8, the postinstall is put into the admin notes as well.

                          image.png

                          Finally, this dialog is also in First time setup:

                          image.png

                          1 Reply Last reply
                          1
                          • A Offline
                            A Offline
                            AmbroiseUnly
                            wrote on last edited by AmbroiseUnly
                            #12

                            I think I probably closed the modal too quickly and missed that. And then I couldn't find it back.
                            I'm not on Cloudron 8 yet, but good to know discovery has been improved!

                            Taking note of the "First Time Setup", I hadn't known that was there!

                            1 Reply Last reply
                            1
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Bookmarks
                              • Search