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. Leantime
  3. can't enable 2FA, now can't log in! --- Redis issues

can't enable 2FA, now can't log in! --- Redis issues

Scheduled Pinned Locked Moved Solved Leantime
18 Posts 5 Posters 2.0k Views 5 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.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by humptydumpty
    #8

    If I restart Redis, it goes down a bit, but rises after a while.

    image.png

    1 Reply Last reply
    1
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by robi
      #9

      It looks like the Leantime app using redis is not using it well, not freeing memory. Needs to be more lean with Redis ๐Ÿ˜†

      Conscious tech

      humptydumptyH 1 Reply Last reply
      3
      • robiR robi

        It looks like the Leantime app using redis is not using it well, not freeing memory. Needs to be more lean with Redis ๐Ÿ˜†

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

        @robi can this be fixed in the packaging or should I report this upstream?

        robiR 1 Reply Last reply
        1
        • humptydumptyH humptydumpty

          @robi can this be fixed in the packaging or should I report this upstream?

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #11

          @humptydumpty upstream.

          Conscious tech

          humptydumptyH 1 Reply Last reply
          2
          • robiR robi

            @humptydumpty upstream.

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

            @robi Thanks. I reported this upstream here: https://github.com/Leantime/leantime/issues/1780

            1 Reply Last reply
            2
            • humptydumptyH Offline
              humptydumptyH Offline
              humptydumpty
              wrote on last edited by
              #13

              It looks like this will take a while to get fixed upstream. Is it possible to disable Redis for now?

              girishG 1 Reply Last reply
              2
              • humptydumptyH humptydumpty

                It looks like this will take a while to get fixed upstream. Is it possible to disable Redis for now?

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

                @humptydumpty we have a build now without redis, will publish shortly.

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

                  Published new package.

                  humptydumptyH 1 Reply Last reply
                  3
                  • girishG girish has marked this topic as solved on
                  • girishG girish

                    Published new package.

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

                    @girish Thanks for the update!

                    1 Reply Last reply
                    0
                    • humptydumptyH humptydumpty

                      I created a new user. I clicked on the invite email that Leantime sent and set a password for the new account. Then, I activated 2FA. I logged out and tried to log back in and ran into the same login error. However, resetting the password seems to fix the issue permanently. Something is corrupting the passwords on newly create accounts including the admin account that the package creates on first install.

                      To make this short, there are two issues that need looking into:

                      • Redis OOM - I have it set to 1GB, and it's 80% full on idle.
                      • Password Corruption - for all accounts and can be fixed by resetting the password and issue is gone permanently.
                      L Offline
                      L Offline
                      LoudLemur
                      wrote on last edited by
                      #17

                      @humptydumpty Did you manage to get Two Factor Authentication (2FA) working?

                      After initial creation of an account, I tried to set up 2FA, but it wouldn't let me.

                      1 Reply Last reply
                      0
                      • humptydumptyH Offline
                        humptydumptyH Offline
                        humptydumpty
                        wrote on last edited by
                        #18

                        Yes, itโ€™s working fine. Youโ€™re probably running into the issue where the password gets corrupted on first login. Log out, reset the password using the forgot pass button and try 2fa again. Iirc, this is fixed in the next upstream update.

                        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