-
-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Can't login after upgrade from 3.1.1 to 3.2.0-beta-2" #2582
Comments
Create a "sessions" directory in leantime/cache with good permissions solve the problem (blank page or can't login) |
Ah, thanks for pointing that out. I will have to make sure this gets added
to the docs and repo.
…On Mon, Jul 15, 2024 at 12:40 PM tech62 ***@***.***> wrote:
Create a "sessions" in cache directory with good permissions solve the
problem (blank page or can't login)
—
Reply to this email directly, view it on GitHub
<#2582 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFQAT36TBN4TGICGC2LZMP3Q3AVCNFSM6AAAAABK44YVGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYHE2DAMZZHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I have this problem as well, and the sessions folder does not fix it. |
Hello, without logs (from app, webserver ...) dev' can't help you. |
I don't think it's the sessions folder, I just don't get logged in. I have the sessions folder, and the permissions are good. I set it up, i run the install script from
|
Thank you. Very odd. Which version are you using? Can you try to pull the Just to confirm. The session folder is inside of the cache folder, correct? The error logs above are just related to the cron execution which is fine Sincerely, |
I am up to date on master, Docker install, and the user is in the db and set to active. |
Oh that’s bizarre. Sorry for the remote debug steps but this is the first time we are seeing Marcel Folaron - Co-Founder phone. 206-371-1325 email. marcel@leantime.io web. https://leantime.io |
There is no session id in my cookies. But no error notification either, and php says nothing. I am running firefox but I tried it in chrome as well. |
The session id should be called ltid: [image: image.png] |
I reinstalled leantime entirely again and it now works. :) thanks for the help. |
I'm experiencing the same issue as reported here after upgrading to 3.2.0-beta-2. Despite verifying that the session ID (ltid) exists, I'm unable to log in. Instead, I'm redirected to the home page or the two-factor authentication page (?redirect=%2Fauth%2FtwoFA), where the login form is displayed, but I'm unable to authenticate. I've also checked the server logs, but there are no error messages indicating the cause of the issue. Update: The issue is related to the cache/sessions folder not being created properly. Specifically, the problem lies in the Dockerfile, which is creating the sessions directory at /sessions instead of app_path/cache/sessions. This is preventing the sessions from being created correctly, resulting in the issue. |
@khalid-tian thanks for the additional info. I will go ahead and update the docker image to ensure the session folder exists. |
Fixed as of 3.2.0 |
@marcelfolaron i am still facing this issue in the latest release , i can see a session id with ltid= but i am again redirecting to the login page , my user has already been created i check in the mysql db under zp_user, session is active also a session id has also been created. ltid=<session_id>; expires=Sat, 14 Sep 2024 06:44:31 GMT; Max-Age=1728000; path=/; domain=10.241.11.53; secure; httponly; samesite=lax it is also getting created under /cache/sessions |
Same issue here. Login does not work after updating from 3.1.4 to 3.20. Using the latest Docker image on Synology DSM. Two systems, both behave the same. |
The same, after pressing login with user credentials I'm getting back to login page with redirect url
Using leantime/leantime:latest docker image, created 2024-09-22T00:09:52.012616598Z (Leantime v3.2.1) |
Thanks. Quick update on this issue. 3.2 introduced additional
security features one of them being that cookies were set to "secure" which
means they have to be sent via ssl.
I will add a new config option to turn this off in our next release. In the
meantime you can either set up ssl to ensure Leantime works properly or
update the config session config "secure" inside
app/Core/Configuration/laravelConfig.php to false.
…On Sun, Oct 20, 2024 at 6:48 PM yvatyan ***@***.***> wrote:
The same, after pressing login with user credentials I'm getting back to
login page with redirect url
<host>:<port>/auth/login?redirect=%2F%2Fdashboard%2Fhome.
- I checked cookies: Each timeltid is changing
- I checked /cache/sessions folder: 5 new session-id folders are being
created where ltid is being one of them
Using leantime/leantime:latest docker image, created
2024-09-22T00:09:52.012616598Z (Leantime v3.2.1)
—
Reply to this email directly, view it on GitHub
<#2582 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFTFWOYSNLYHUDWHRN3Z4QXNFAVCNFSM6AAAAABK44YVGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGI3TAMJSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Marcel Folaron - Co-Founder
phone. 206-371-1325
email. ***@***.***
web. https://leantime.io
|
Thanks for your reply. I found |
If you have problems with the installation please use our community forum
What set up are you using
Describe the bug
After upgrade to 3.2.0-beta-2 from 3.1.1, login not working
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Login successfully
Leantime Version
3.2.0-beta-2"
Server
Apache
PHP / MySQL Version
php-fpm 8.2 and mysql last version
The text was updated successfully, but these errors were encountered: