can't enable 2FA, now can't log in! --- Redis issues
-
wrote on Jul 28, 2023, 5:39 PM last edited by humptydumpty Jul 28, 2023, 5:41 PM
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.
-
wrote on Jul 29, 2023, 12:30 PM last edited by
-
Redis didn't crash (yet) but it's getting there. Now it's 95% full and I haven't been using the app!
wrote on Jul 29, 2023, 12:40 PM last edited by@humptydumpty What happens when you restart Redis?
-
wrote on Jul 29, 2023, 2:32 PM last edited by humptydumpty Jul 29, 2023, 2:33 PM
-
wrote on Jul 29, 2023, 6:20 PM last edited by robi Jul 29, 2023, 10:33 PM
It looks like the Leantime app using redis is not using it well, not freeing memory. Needs to be more lean with Redis
-
It looks like the Leantime app using redis is not using it well, not freeing memory. Needs to be more lean with Redis
wrote on Jul 29, 2023, 7:15 PM last edited by@robi can this be fixed in the packaging or should I report this upstream?
-
@robi can this be fixed in the packaging or should I report this upstream?
wrote on Jul 29, 2023, 10:32 PM last edited by@humptydumpty upstream.
-
@humptydumpty upstream.
wrote on Jul 30, 2023, 2:15 AM last edited by@robi Thanks. I reported this upstream here: https://github.com/Leantime/leantime/issues/1780
-
wrote on Aug 3, 2023, 4:28 AM last edited by
It looks like this will take a while to get fixed upstream. Is it possible to disable Redis for now?
-
It looks like this will take a while to get fixed upstream. Is it possible to disable Redis for now?
@humptydumpty we have a build now without redis, will publish shortly.
-
-
wrote on Aug 5, 2023, 4:13 AM last edited by
@girish Thanks for the update!
-
-
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.
wrote on Aug 30, 2023, 9:15 AM last edited by@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.
-
wrote on Aug 30, 2023, 11:16 AM last edited by
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.