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
  • Brite
  • 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. Rainloop
  3. admin panel - authentication failed

admin panel - authentication failed

Scheduled Pinned Locked Moved Rainloop
14 Posts 4 Posters 5.0k 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.
  • girishG girish

    @perler rainloop (upstream) is not actively maintained, snappymail is the maintained fork.

    P Offline
    P Offline
    perler
    wrote on last edited by
    #5

    @girish thanks, good to know (maybe put it prominently into the rainloop installer..)

    but.. having switched to snappymail I can't get into the ../?admin area, whatever I try.

    • I tried with admin/12345
    • I added admin_password = "12345"
    • I added a cloudron admin as an operator and tried to login as such

    what am I doing wrong here?

    P 1 Reply Last reply
    1
    • P perler

      @girish thanks, good to know (maybe put it prominently into the rainloop installer..)

      but.. having switched to snappymail I can't get into the ../?admin area, whatever I try.

      • I tried with admin/12345
      • I added admin_password = "12345"
      • I added a cloudron admin as an operator and tried to login as such

      what am I doing wrong here?

      P Offline
      P Offline
      perler
      wrote on last edited by
      #6

      @perler ok, snappymail does things different and you document this here: https://docs.cloudron.io/apps/snappymail/

      but the applications.ini looks different and holds something that looks like a password hash to me:

      61b8c98b-8889-4e70-8472-66df94bb6091-image.png

      anyways, I just don't get into the admin panel in snappymail.

      necrevistonnezrN 1 Reply Last reply
      0
      • P perler

        @perler ok, snappymail does things different and you document this here: https://docs.cloudron.io/apps/snappymail/

        but the applications.ini looks different and holds something that looks like a password hash to me:

        61b8c98b-8889-4e70-8472-66df94bb6091-image.png

        anyways, I just don't get into the admin panel in snappymail.

        necrevistonnezrN Online
        necrevistonnezrN Online
        necrevistonnezr
        wrote on last edited by
        #7

        @perler As mentioned in the docu: Don't use the admin password in /app/data/_data_/_default_/configs/application.ini but in /app/data/_data_/_default_/admin_password.txt! Works fine for me. Also, don't forget to restart the App in between.

        Step by step:

        • To enable it, open a File manager and edit the file /app/data/_data_/_default_/configs/application.ini. Set the value of allow_admin_panel to On.
        • restart app
        • You can now login with the username admin. The password is located at /app/data/_data_/_default_/admin_password.txt.
        P 1 Reply Last reply
        2
        • necrevistonnezrN necrevistonnezr

          @perler As mentioned in the docu: Don't use the admin password in /app/data/_data_/_default_/configs/application.ini but in /app/data/_data_/_default_/admin_password.txt! Works fine for me. Also, don't forget to restart the App in between.

          Step by step:

          • To enable it, open a File manager and edit the file /app/data/_data_/_default_/configs/application.ini. Set the value of allow_admin_panel to On.
          • restart app
          • You can now login with the username admin. The password is located at /app/data/_data_/_default_/admin_password.txt.
          P Offline
          P Offline
          perler
          wrote on last edited by
          #8

          @necrevistonnezr ok, restarting the app was new to me, but so I did. no success.

          I have the feeling something is messed up here. whe having /app/data/data/default/admin_password.txt

          AND the

          admin_password =
          

          line in application.ini? which one is it? I followed the documentation to the letter, multiple times and tried some combinations of passwords in admin_password.txt and/or/not in application.ini - no dice.

          @support ?

          jdaviescoatesJ necrevistonnezrN 2 Replies Last reply
          0
          • P perler

            @necrevistonnezr ok, restarting the app was new to me, but so I did. no success.

            I have the feeling something is messed up here. whe having /app/data/data/default/admin_password.txt

            AND the

            admin_password =
            

            line in application.ini? which one is it? I followed the documentation to the letter, multiple times and tried some combinations of passwords in admin_password.txt and/or/not in application.ini - no dice.

            @support ?

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

            @perler said in admin panel - authentication failed:

            which one is it?

            Both. You turn it on in one, set what it is in the other as per:

            @necrevistonnezr said in admin panel - authentication failed:

            To enable it, open a File manager and edit the file /app/data/data/default/configs/application.ini. Set the value of allow_admin_panel to On.
            restart app
            You can now login with the username admin. The password is located at /app/data/data/default/admin_password.txt.

            I use Cloudron with Gandi & Hetzner

            P 1 Reply Last reply
            0
            • jdaviescoatesJ jdaviescoates

              @perler said in admin panel - authentication failed:

              which one is it?

              Both. You turn it on in one, set what it is in the other as per:

              @necrevistonnezr said in admin panel - authentication failed:

              To enable it, open a File manager and edit the file /app/data/data/default/configs/application.ini. Set the value of allow_admin_panel to On.
              restart app
              You can now login with the username admin. The password is located at /app/data/data/default/admin_password.txt.

              P Offline
              P Offline
              perler
              wrote on last edited by
              #10

              that's not my point. there is a line

              admin_password =

              (not allow_admin_panel = ) AND the file admin_password.txt which seems redundant.

              I will open a thread in the snappymail categorie, thanks @jdaviescoates

              jdaviescoatesJ 1 Reply Last reply
              1
              • P perler

                that's not my point. there is a line

                admin_password =

                (not allow_admin_panel = ) AND the file admin_password.txt which seems redundant.

                I will open a thread in the snappymail categorie, thanks @jdaviescoates

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

                @perler said in admin panel - authentication failed:

                that's not my point. there is a line
                admin_password =
                (not allow_admin_panel = ) AND the file admin_password.txt which seems redundant.
                I will open a thread in the snappymail categorie, thanks @jdaviescoates

                I see what you mean.

                But on a new install I don't have any admin_password =

                But nor do I have any admin_password.txt file to edit!

                Ah, I think that file gets created on the restarted after enabling allow_admin_panel = On

                I had manually created and written a pw just before the restart, but that didn't work because the restart generated the pw and inserted it into that file.

                But now I'm in:

                Screenshot from 2022-08-08 14-41-32.png

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • P perler

                  @necrevistonnezr ok, restarting the app was new to me, but so I did. no success.

                  I have the feeling something is messed up here. whe having /app/data/data/default/admin_password.txt

                  AND the

                  admin_password =
                  

                  line in application.ini? which one is it? I followed the documentation to the letter, multiple times and tried some combinations of passwords in admin_password.txt and/or/not in application.ini - no dice.

                  @support ?

                  necrevistonnezrN Online
                  necrevistonnezrN Online
                  necrevistonnezr
                  wrote on last edited by
                  #12

                  @perler said in admin panel - authentication failed:

                  @necrevistonnezr ok, restarting the app was new to me, but so I did. no success.

                  I have the feeling something is messed up here. whe having /app/data/data/default/admin_password.txt

                  AND the

                  admin_password =
                  

                  line in application.ini? which one is it? I followed the documentation to the letter, multiple times and tried some combinations of passwords in admin_password.txt and/or/not in application.ini - no dice.

                  @support ?

                  I would say, documentation is pretty clear:

                  The password is located at /app/data/data/default/admin_password.txt.

                  It's quite possible it is necessary to have this in a separate file due to Cloudron specifics (read only file system etc.) but it is what it is.

                  girishG 1 Reply Last reply
                  1
                  • necrevistonnezrN necrevistonnezr

                    @perler said in admin panel - authentication failed:

                    @necrevistonnezr ok, restarting the app was new to me, but so I did. no success.

                    I have the feeling something is messed up here. whe having /app/data/data/default/admin_password.txt

                    AND the

                    admin_password =
                    

                    line in application.ini? which one is it? I followed the documentation to the letter, multiple times and tried some combinations of passwords in admin_password.txt and/or/not in application.ini - no dice.

                    @support ?

                    I would say, documentation is pretty clear:

                    The password is located at /app/data/data/default/admin_password.txt.

                    It's quite possible it is necessary to have this in a separate file due to Cloudron specifics (read only file system etc.) but it is what it is.

                    girishG Do not disturb
                    girishG Do not disturb
                    girish
                    Staff
                    wrote on last edited by
                    #13

                    @necrevistonnezr said in admin panel - authentication failed:

                    It's quite possible it is necessary to have this in a separate file due to Cloudron specifics (read only file system etc.) but it is what it is.

                    This comes from the upstream project - https://snappymail.eu/install.html . The author changed how admin login works (for security reasons).

                    1 Reply Last reply
                    0
                    • jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #14

                      The solution is here:

                      https://forum.cloudron.io/post/51750

                      @staff ought to update the docs to make it clearer

                      1. after enabling the admin panel you have to visit /?admin in order for the admin_password.txt file to be created

                      2. the admin username is admin

                      I use Cloudron with Gandi & Hetzner

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