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. Listmonk
  3. After updating password no credentials needed to login

After updating password no credentials needed to login

Scheduled Pinned Locked Moved Listmonk
34 Posts 5 Posters 1.8k 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.
  • BrutalBirdieB BrutalBirdie

    @jdaviescoates
    I think the problem might not be the length.

    Try to use single quotes with the variable:

    export LISTMONK_app__admin_password='sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'
    

    There is a special char which breaks the bash with no quotes.
    This should do the trick.


    If you try the command in a bash shell without the single quotes you get this:

    export LISTMONK_app__admin_password=sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&
    bash: !W8VwB: event not found
    

    Which breaks the export statement and leaves the variable empty / not defined.
    Which would explain why no password is needed, if none is set because of the bash error.

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by jdaviescoates
    #9

    @BrutalBirdie yep, it's the &

    Having an & at the end of the pw turns off auth.

    Having an & somewhere in the middles seems to stop the app starting at all.

    I use Cloudron with Gandi & Hetzner

    BrutalBirdieB 1 Reply Last reply
    0
    • jdaviescoatesJ jdaviescoates

      @BrutalBirdie yep, it's the &

      Having an & at the end of the pw turns off auth.

      Having an & somewhere in the middles seems to stop the app starting at all.

      BrutalBirdieB Offline
      BrutalBirdieB Offline
      BrutalBirdie
      Partner
      wrote on last edited by
      #10

      @jdaviescoates it should work with single quotes tho even with the & char.

      Good explanation here:
      https://stackoverflow.com/questions/6697753/difference-between-single-and-double-quotes-in-bash

      Like my work? Consider donating a drink. Cheers!

      jdaviescoatesJ 1 Reply Last reply
      0
      • BrutalBirdieB BrutalBirdie

        @jdaviescoates it should work with single quotes tho even with the & char.

        Good explanation here:
        https://stackoverflow.com/questions/6697753/difference-between-single-and-double-quotes-in-bash

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by jdaviescoates
        #11

        @BrutalBirdie said in After updating password no credentials needed to login:

        @jdaviescoates it should work with single quotes tho even with the & char.

        It doesn't. Adding single (or double) quotes makes no difference whatsoever in the testing I just did.

        Hmz, scrap that. I think that was because I was simultaneously experiementing with quotes around admin too.

        Wait, now I'm really confused.

        Using this as a password works:

        'apwwith&'

        (hence why I crossed that bit out above)

        But this still turns auth off completely:

        'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

        I use Cloudron with Gandi & Hetzner

        BrutalBirdieB 2 Replies Last reply
        1
        • jdaviescoatesJ jdaviescoates

          @BrutalBirdie said in After updating password no credentials needed to login:

          @jdaviescoates it should work with single quotes tho even with the & char.

          It doesn't. Adding single (or double) quotes makes no difference whatsoever in the testing I just did.

          Hmz, scrap that. I think that was because I was simultaneously experiementing with quotes around admin too.

          Wait, now I'm really confused.

          Using this as a password works:

          'apwwith&'

          (hence why I crossed that bit out above)

          But this still turns auth off completely:

          'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

          BrutalBirdieB Offline
          BrutalBirdieB Offline
          BrutalBirdie
          Partner
          wrote on last edited by BrutalBirdie
          #12

          @jdaviescoates
          Then there is also a bug in the listmonk software itself.

          You can try the referenced line of code in your shell and it should return the correct string.

          export LISTMONK_app__admin_password='sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'
          
          echo $LISTMONK_app__admin_password
          sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&
          

          If the Bash does this correctly but the software has an issue, there might be a similar issue there.

          Like my work? Consider donating a drink. Cheers!

          1 Reply Last reply
          1
          • jdaviescoatesJ jdaviescoates

            @BrutalBirdie said in After updating password no credentials needed to login:

            @jdaviescoates it should work with single quotes tho even with the & char.

            It doesn't. Adding single (or double) quotes makes no difference whatsoever in the testing I just did.

            Hmz, scrap that. I think that was because I was simultaneously experiementing with quotes around admin too.

            Wait, now I'm really confused.

            Using this as a password works:

            'apwwith&'

            (hence why I crossed that bit out above)

            But this still turns auth off completely:

            'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

            BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #13

            @jdaviescoates
            So just to make it clear.
            Single quotes work now, even with the & char?

            Like my work? Consider donating a drink. Cheers!

            jdaviescoatesJ BrutalBirdieB 2 Replies Last reply
            0
            • BrutalBirdieB BrutalBirdie

              @jdaviescoates
              So just to make it clear.
              Single quotes work now, even with the & char?

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by jdaviescoates
              #14

              @BrutalBirdie said in After updating password no credentials needed to login:

              @jdaviescoates
              So just to make it clear.
              Single quotes work now, even with the & char?

              Sometimes.

              Using this as a password works:

              'apwwith&'

              But this still turns auth off completely:

              'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

              I use Cloudron with Gandi & Hetzner

              BrutalBirdieB girishG 2 Replies Last reply
              1
              • BrutalBirdieB BrutalBirdie

                @jdaviescoates
                So just to make it clear.
                Single quotes work now, even with the & char?

                BrutalBirdieB Offline
                BrutalBirdieB Offline
                BrutalBirdie
                Partner
                wrote on last edited by
                #15

                @girish
                Please don't JUST fix the issue, I have a trainee right now perfect task for him to start learning 😉

                I will not show him this conversation and will use this as a little benchmark for his skillset 😛

                Like my work? Consider donating a drink. Cheers!

                1 Reply Last reply
                1
                • jdaviescoatesJ jdaviescoates

                  @BrutalBirdie said in After updating password no credentials needed to login:

                  @jdaviescoates
                  So just to make it clear.
                  Single quotes work now, even with the & char?

                  Sometimes.

                  Using this as a password works:

                  'apwwith&'

                  But this still turns auth off completely:

                  'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

                  BrutalBirdieB Offline
                  BrutalBirdieB Offline
                  BrutalBirdie
                  Partner
                  wrote on last edited by
                  #16

                  @jdaviescoates said in After updating password no credentials needed to login:

                  Sometimes.
                  Using this as a password works:
                  'apwwith&'
                  But this still turns auth off completely:
                  'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjjGfk62nzW@M!W8VwBepYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

                  I will have to test this when I am at home.

                  Like my work? Consider donating a drink. Cheers!

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • BrutalBirdieB BrutalBirdie

                    @jdaviescoates said in After updating password no credentials needed to login:

                    Sometimes.
                    Using this as a password works:
                    'apwwith&'
                    But this still turns auth off completely:
                    'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjjGfk62nzW@M!W8VwBepYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

                    I will have to test this when I am at home.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #17

                    @BrutalBirdie seems it has something to do with the % too (or perhaps that is the main culprit?)

                    Anyways, if I remove the % from:

                    sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&

                    It works with single quotes (but not without).

                    But with the % included it breaks the auth even with the single quotes.

                    I use Cloudron with Gandi & Hetzner

                    jdaviescoatesJ 1 Reply Last reply
                    0
                    • jdaviescoatesJ jdaviescoates

                      @BrutalBirdie seems it has something to do with the % too (or perhaps that is the main culprit?)

                      Anyways, if I remove the % from:

                      sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&

                      It works with single quotes (but not without).

                      But with the % included it breaks the auth even with the single quotes.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by jdaviescoates
                      #18

                      But then this pw works fine too:

                      apwwith%&

                      So perhaps it a combination of having % ending with & and length as well? 🤷

                      But it can't be that either because this also works fine:

                      apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&apwwith%&

                      🤷

                      I've got to collect children from school now so will have to stop testing, hopefully @BrutalBirdie will be able to figure out what's going on!

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @BrutalBirdie said in After updating password no credentials needed to login:

                        @jdaviescoates
                        So just to make it clear.
                        Single quotes work now, even with the & char?

                        Sometimes.

                        Using this as a password works:

                        'apwwith&'

                        But this still turns auth off completely:

                        'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

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

                        @jdaviescoates said in After updating password no credentials needed to login:

                        But this still turns auth off completely:
                        'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjjGfk62nzW@M!W8VwBepYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

                        I can't reproduce this. This is what I have:

                        export LISTMONK_app__admin_username=admin
                        export LISTMONK_app__admin_password='sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'
                        
                        jdaviescoatesJ 1 Reply Last reply
                        1
                        • girishG girish

                          @jdaviescoates said in After updating password no credentials needed to login:

                          But this still turns auth off completely:
                          'sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjjGfk62nzW@M!W8VwBepYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

                          I can't reproduce this. This is what I have:

                          export LISTMONK_app__admin_username=admin
                          export LISTMONK_app__admin_password='sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'
                          
                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #20

                          @girish said in After updating password no credentials needed to login:

                          export LISTMONK_app__admin_username=admin
                          export LISTMONK_app__admin_password='sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjjGfk62nzW@M!W8VwBepYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

                          Odd. I can reproduce it over and over again.

                          Just did so again:

                          I use Cloudron with Gandi & Hetzner

                          humptydumptyH 1 Reply Last reply
                          1
                          • nebulonN nebulon referenced this topic on
                          • jdaviescoatesJ jdaviescoates

                            @girish said in After updating password no credentials needed to login:

                            export LISTMONK_app__admin_username=admin
                            export LISTMONK_app__admin_password='sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjjGfk62nzW@M!W8VwBepYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&'

                            Odd. I can reproduce it over and over again.

                            Just did so again:

                            humptydumptyH Offline
                            humptydumptyH Offline
                            humptydumpty
                            wrote on last edited by humptydumpty
                            #21

                            @jdaviescoates I'm way off here but... my router's admin page auto logs me in at work if I'm signed in to my vault even though I have auto-fill disabled. Try logging in in a private window (or with all extensions disabled). It also happens to me on Costco dot com. Do you have the passwords saved in your vault?

                            Edit: I can't reproduce it either on a fresh install. I copied Girish's code like you did in your video. Works fine 😵

                            Another thought, check Firefox's native password manager if it's still on and it's auto-filling the pass.

                            I can reproduce it if the code is like this:

                            export LISTMONK_app__admin_username=admin
                            export LISTMONK_app__admin_password=sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&
                            

                            Maybe it's a visual bug because of the double ' ' that gets auto-completed as you type ' in the web terminal at the end of the pass.

                            recording here: https://ufile.io/24rtfp8a (1MB).

                            jdaviescoatesJ 1 Reply Last reply
                            0
                            • humptydumptyH humptydumpty

                              @jdaviescoates I'm way off here but... my router's admin page auto logs me in at work if I'm signed in to my vault even though I have auto-fill disabled. Try logging in in a private window (or with all extensions disabled). It also happens to me on Costco dot com. Do you have the passwords saved in your vault?

                              Edit: I can't reproduce it either on a fresh install. I copied Girish's code like you did in your video. Works fine 😵

                              Another thought, check Firefox's native password manager if it's still on and it's auto-filling the pass.

                              I can reproduce it if the code is like this:

                              export LISTMONK_app__admin_username=admin
                              export LISTMONK_app__admin_password=sBd@ni7fjTo2J3KGRKprGm@YXPxXh7FkJzhatxGgvKJ69gAKA^gu4zfBMYjj*Gfk62nzW@M!W8VwB*epYDtPp%QApFVELKmtwkY63LJYVv@DAsMHwxucNHYFjRxT&
                              

                              Maybe it's a visual bug because of the double ' ' that gets auto-completed as you type ' in the web terminal at the end of the pass.

                              recording here: https://ufile.io/24rtfp8a (1MB).

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by
                              #22

                              @humptydumpty said in After updating password no credentials needed to login:

                              Try logging in in a private window (or with all extensions disabled).

                              Tried all that, and same in mobile browsers too.

                              I use Cloudron with Gandi & Hetzner

                              BrutalBirdieB 1 Reply Last reply
                              0
                              • jdaviescoatesJ jdaviescoates

                                @humptydumpty said in After updating password no credentials needed to login:

                                Try logging in in a private window (or with all extensions disabled).

                                Tried all that, and same in mobile browsers too.

                                BrutalBirdieB Offline
                                BrutalBirdieB Offline
                                BrutalBirdie
                                Partner
                                wrote on last edited by
                                #23

                                All I can say is that with single quotes all is working fine.
                                Tested and pushed by my trainee.

                                Like my work? Consider donating a drink. Cheers!

                                1 Reply Last reply
                                0
                                • P Offline
                                  P Offline
                                  privsec
                                  wrote on last edited by
                                  #24

                                  I am running into this myself.

                                  I have used far more complicated combinations than the following, but I have it set
                                  export LISTMONK_app__admin_username="Gently2729"
                                  export LISTMONK_app__admin_password="ThemePavilionCare"

                                  I have also tried
                                  export LISTMONK_app__admin_username='Gently2729'
                                  export LISTMONK_app__admin_password='ThemePavilionCare'

                                  I am not prompted for a sign in with an incognito window

                                  P 1 Reply Last reply
                                  1
                                  • P privsec

                                    I am running into this myself.

                                    I have used far more complicated combinations than the following, but I have it set
                                    export LISTMONK_app__admin_username="Gently2729"
                                    export LISTMONK_app__admin_password="ThemePavilionCare"

                                    I have also tried
                                    export LISTMONK_app__admin_username='Gently2729'
                                    export LISTMONK_app__admin_password='ThemePavilionCare'

                                    I am not prompted for a sign in with an incognito window

                                    P Offline
                                    P Offline
                                    privsec
                                    wrote on last edited by
                                    #25

                                    After many different tests, the username was the cause.

                                    Once the username is all in lowercase, it would work.

                                    girishG 1 Reply Last reply
                                    3
                                    • P privsec

                                      After many different tests, the username was the cause.

                                      Once the username is all in lowercase, it would work.

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

                                      @privsec scary. I will test and put a warning in the docs and the config file.

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

                                        I can't really reproduce this. It works just fine with capital case usernames. I used the same creds as in the report:

                                        export LISTMONK_app__admin_username="Gently2729"
                                        export LISTMONK_app__admin_password="ThemePavilionCare"
                                        
                                        BrutalBirdieB 1 Reply Last reply
                                        0
                                        • girishG girish

                                          I can't really reproduce this. It works just fine with capital case usernames. I used the same creds as in the report:

                                          export LISTMONK_app__admin_username="Gently2729"
                                          export LISTMONK_app__admin_password="ThemePavilionCare"
                                          
                                          BrutalBirdieB Offline
                                          BrutalBirdieB Offline
                                          BrutalBirdie
                                          Partner
                                          wrote on last edited by
                                          #28

                                          Maybe to reproduce this:

                                          1. Correct Username + Broken Password
                                          2. Same Username + Fixed Password
                                          3. Still no login needed?

                                          I will try this out.

                                          Like my work? Consider donating a drink. Cheers!

                                          girishG BrutalBirdieB 2 Replies 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