-
-
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]: Cannot Login Fresh Install Leantime 3.2.1 #2710
Comments
Similar story here, but run on docker on the Synology DSM. I tried a full fresh installation of 3.20 or 3.2.1, but still behave as described above. |
Do you have ssl set up? I realized this may be the source of the problem.
The cookies have the “secure” flag set in 3.2
Marcel Folaron - Co-Founder
phone. 206-371-1325
email. ***@***.***
web. https://leantime.io
…On Thu, Sep 26, 2024 at 08:38 PGostek ***@***.***> wrote:
Similar story here, but run on docker on the Synology DSM. I tried a full
fresh installation of 3.20 or 3.2.1, but still behave as described above.
—
Reply to this email directly, view it on GitHub
<#2710 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFXS4WICTHXCBGCCZPTZYP527AVCNFSM6AAAAABO2DAQD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZWHAZTMOJXGQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
no, not yet, but can we unflag the "secure" cookies by set it up in the config file or any other files? |
Same problem here on Unraid docker. |
It looks like it caused by the commit. cfe4539#diff-7d7f8f3296724f453ed9b7898d373759994164cbcb4800f014d1c5c11fcdf175 I've reverted changes in
|
Is there any way I can do that mod for the docker image? Or should we wait for the next official release ? |
You can try to download |
This doesn't work for me - replacing ConsoleKernel.php causes the same issue but with no log/error entry. Installing 3.2.0 causes the same issue, also with no log/error entry. Installing 3.1.4 causes Error 500. Does it matter if I'm running MariaDB instead of MySQL? |
I've tried everything that mention in the reply, but there is still problem and this is the only solution that can work for me. Setup the SSL |
I was looking into fixing the Cloudron package and hit this issue. It seems the CLI is throwing exceptions. Web interface generally works. The init, migrate and cron commands all fail with the same exception.
|
The commands are cached in cache store and not in session object. Fixes Leantime#2710
Can confirm setting up SSL resolved the issue. |
What is your set up?
Self Hosted Server
Version
3.2.1
Describe the issue
Hi, just trying to install leantime 3.2.1 on my own server using apache setup. Installation is successfull i think because the database is well migrated, but everytime i try to login it's always redirected to login page again and when i check th log file in leantime.log there is error like this
[2024-09-25 16:25:46] production.ERROR: foreach() argument must be of type array|object, null given {"exception":"[object] (ErrorException(code: 0): foreach() argument must be of type array|object, null given at /var/www/html/leantime/vendor/illuminate/collections/Arr.php:255) [stacktrace] #0 /var/www/html/leantime/app/Core/Exceptions/HandleExceptions.php(255): Leantime\\Core\\Exceptions\\HandleExceptions->handleError() #1 /var/www/html/leantime/vendor/illuminate/collections/Arr.php(255): Leantime\\Core\\Exceptions\\HandleExceptions->Leantime\\Core\\Exceptions\\{closure}() #2 /var/www/html/leantime/app/Core/Console/ConsoleKernel.php(154): Illuminate\\Support\\Arr::flatten() #3 /var/www/html/leantime/app/Core/Console/ConsoleKernel.php(36): Leantime\\Core\\Console\\ConsoleKernel->commands() #4 /var/www/html/leantime/app/Core/Console/ConsoleKernel.php(253): Leantime\\Core\\Console\\ConsoleKernel->bootstrap() #5 /var/www/html/leantime/app/Domain/Cron/Controllers/Run.php(60): Leantime\\Core\\Console\\ConsoleKernel->call() #6 /var/www/html/leantime/app/Core/Events/EventDispatcher.php(470): Leantime\\Domain\\Cron\\Controllers\\Run->Leantime\\Domain\\Cron\\Controllers\\{closure}() #7 /var/www/html/leantime/app/Core/Events/EventDispatcher.php(74): Leantime\\Core\\Events\\EventDispatcher::executeHandlers() #8 /var/www/html/leantime/app/Core/Events/DispatchesEvents.php(28): Leantime\\Core\\Events\\EventDispatcher::dispatch_event() #9 /var/www/html/leantime/app/Core/Http/HttpKernel.php(109): Leantime\\Core\\Http\\HttpKernel::dispatch_event() #10 /var/www/html/leantime/app/Core/Bootstrap/Bootloader.php(154): Leantime\\Core\\Http\\HttpKernel->terminate() #11 /var/www/html/leantime/app/Core/Bootstrap/Bootloader.php(129): Leantime\\Core\\Bootstrap\\Bootloader->handleRequest() #12 /var/www/html/leantime/public/index.php(13): Leantime\\Core\\Bootstrap\\Bootloader->boot() #13 {main} "} [2024-09-25 16:25:46] production.INFO: Command Output: [2024-09-25 16:25:46] production.INFO: Cron run finished
and i can't login at all
Reproduction steps
...
Additional Notes
No response
The text was updated successfully, but these errors were encountered: