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. AdGuard Home
  3. Adguard Password Change Issue

Adguard Password Change Issue

Scheduled Pinned Locked Moved Solved AdGuard Home
9 Posts 3 Posters 3.3k Views 3 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.
    • M Offline
      M Offline
      MichaelF
      wrote on last edited by
      #1

      So I have followed the instructions for setting up the password on a new install and if fails everytime. The initial password works but everytime I change it I get the following: Error: control/login | invalid username or password | 400

      I run the command I copy with encrypted password and paste it into the yaml file. I have tried with and without quotes. I restart the app and up pops that error.

      So any tips would be appreciated.

      Thanks!

      ? 1 Reply Last reply
      0
      • M MichaelF

        So I have followed the instructions for setting up the password on a new install and if fails everytime. The initial password works but everytime I change it I get the following: Error: control/login | invalid username or password | 400

        I run the command I copy with encrypted password and paste it into the yaml file. I have tried with and without quotes. I restart the app and up pops that error.

        So any tips would be appreciated.

        Thanks!

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #2

        @michaelf I used this to generate one: https://hostingcanada.org/htpasswd-generator/

        M 1 Reply Last reply
        1
        • ? A Former User

          @michaelf I used this to generate one: https://hostingcanada.org/htpasswd-generator/

          M Offline
          M Offline
          MichaelF
          wrote on last edited by
          #3

          @atridad Thanks that worked!

          Would you know why the instructions about using htpasswd didnt?

          Your help was much appreciated!

          girishG 1 Reply Last reply
          0
          • M MichaelF

            @atridad Thanks that worked!

            Would you know why the instructions about using htpasswd didnt?

            Your help was much appreciated!

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @michaelf I tried the instructions again and they do seem to work.

            root@e473a918-365d-4989-afb4-7358cdcc8768:/app/code# htpasswd -nbB admin newpass
            admin:$2y$05$On66DNnwebuYBJufvoKBF.7lD00Qlq9wtkbncXvbJiaFo3.wirBJ2
            

            I then pasted the above in the config file. I can then login with 'newpass' as the password. Just to double check, did you strip out the 'admin:' prefix in the output above before putting it into the yaml?

            users:
            - name: admin
              password: $2y$05$On66DNnwebuYBJufvoKBF.7lD00Qlq9wtkbncXvbJiaFo3.wirBJ2
            
            M ? 2 Replies Last reply
            0
            • girishG girish

              @michaelf I tried the instructions again and they do seem to work.

              root@e473a918-365d-4989-afb4-7358cdcc8768:/app/code# htpasswd -nbB admin newpass
              admin:$2y$05$On66DNnwebuYBJufvoKBF.7lD00Qlq9wtkbncXvbJiaFo3.wirBJ2
              

              I then pasted the above in the config file. I can then login with 'newpass' as the password. Just to double check, did you strip out the 'admin:' prefix in the output above before putting it into the yaml?

              users:
              - name: admin
                password: $2y$05$On66DNnwebuYBJufvoKBF.7lD00Qlq9wtkbncXvbJiaFo3.wirBJ2
              
              M Offline
              M Offline
              MichaelF
              wrote on last edited by
              #5

              @girish Using the Cloudron instructions for htpasswd did not work for me on several tries and yes I did not copy over admin.

              Using the tool that @atridad provided did work though so with that I was able to change the password.

              1 Reply Last reply
              0
              • girishG girish

                @michaelf I tried the instructions again and they do seem to work.

                root@e473a918-365d-4989-afb4-7358cdcc8768:/app/code# htpasswd -nbB admin newpass
                admin:$2y$05$On66DNnwebuYBJufvoKBF.7lD00Qlq9wtkbncXvbJiaFo3.wirBJ2
                

                I then pasted the above in the config file. I can then login with 'newpass' as the password. Just to double check, did you strip out the 'admin:' prefix in the output above before putting it into the yaml?

                users:
                - name: admin
                  password: $2y$05$On66DNnwebuYBJufvoKBF.7lD00Qlq9wtkbncXvbJiaFo3.wirBJ2
                
                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #6

                @girish The guide in the docs works unless you have certain special characters in the password. For example, for me it broke on an exclamation mark.

                girishG 1 Reply Last reply
                2
                • ? A Former User

                  @girish The guide in the docs works unless you have certain special characters in the password. For example, for me it broke on an exclamation mark.

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  @atridad Oh, maybe that's what I was missing. Let me check. I don't like people putting in their password in external sites!

                  1 Reply Last reply
                  1
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by girish
                    #8

                    I updated the docs to quote the password - https://docs.cloudron.io/apps/adguard-home/#change-password

                    M 1 Reply Last reply
                    1
                    • girishG girish

                      I updated the docs to quote the password - https://docs.cloudron.io/apps/adguard-home/#change-password

                      M Offline
                      M Offline
                      MichaelF
                      wrote on last edited by
                      #9

                      @girish I know I seen it somewhere about the quotes and I did try it but it also did not work.
                      Maybe I missed something but will keep that in mind.

                      1 Reply Last reply
                      0
                      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