You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run Leantime on my development environment, but I am receiving the following error when trying to access the application:
InvalidArgumentException: Auth guard [web] is not defined.
Followed the installation instructions for Leantime. But when trying to access the application in the browser, I received the error mentioned.
Reproduction steps
Followed the installation instructions for Leantime
Created .env
Created first account
Then error
Error Logs (LEANTIMEFOLDER/storage/logs)
InvalidArgumentException thrown with message "Auth guard [web] is not defined."
Stacktrace: #26 InvalidArgumentException in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:86 #25 Illuminate\Auth\AuthManager:resolve in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:70 #24 Illuminate\Auth\AuthManager:guard in /home/ubuntu/leantime/vendor/laravel/sanctum/src/Guard.php:57 #23 Laravel\Sanctum\Guard:__invoke in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/RequestGuard.php:57 #22 call_user_func in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/RequestGuard.php:57 #21 Illuminate\Auth\RequestGuard:user in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/GuardHelpers.php:56 #20 Illuminate\Auth\RequestGuard:check in /home/ubuntu/leantime/app/Core/Middleware/AuthCheck.php:130 #19 Leantime\Core\Middleware\AuthCheck:authenticate in /home/ubuntu/leantime/app/Core/Middleware/AuthCheck.php:86 #18 Leantime\Core\Middleware\AuthCheck:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183 #17 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/Updated.php:41 #16 Leantime\Core\Middleware\Updated:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183 #15 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/Installed.php:60 #14 Leantime\Core\Middleware\Installed:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183 #13 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/StartSession.php:128 #12 Leantime\Core\Middleware\StartSession:handleStatefulRequest in /home/ubuntu/leantime/app/Core/Middleware/StartSession.php:95 #11 Leantime\Core\Middleware\StartSession:handleRequestWhileBlocking in /home/ubuntu/leantime/app/Core/Middleware/StartSession.php:64 #10 Leantime\Core\Middleware\StartSession:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183 #9 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/InitialHeaders.php:24 #8 Leantime\Core\Middleware\InitialHeaders:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183 #7 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/TrustProxies.php:75 #6 Leantime\Core\Middleware\TrustProxies:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183 #5 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119 #4 Illuminate\Pipeline\Pipeline:then in /home/ubuntu/leantime/app/Core/Http/HttpKernel.php:119 #3 Leantime\Core\Http\HttpKernel:sendRequestThroughRouter in /home/ubuntu/leantime/app/Core/Http/HttpKernel.php:141 #2 Leantime\Core\Http\HttpKernel:handle in /home/ubuntu/leantime/app/Core/Bootloader.php:87 #1 Leantime\Core\Bootloader:handleRequest in /home/ubuntu/leantime/app/Core/Bootloader.php:68
#0 Leantime\Core\Bootloader:boot in /home/ubuntu/leantime/public/index.php:14
The text was updated successfully, but these errors were encountered:
Curious, I was looking into the bug. Did you change the laravel config and in particular the guard definition in there?
The web guard was removed and should not even have been called.
What is your set up?
Cloud Hosted
Version
3.3.3
Describe the issue
Description:
I am trying to run Leantime on my development environment, but I am receiving the following error when trying to access the application:
InvalidArgumentException: Auth guard [web] is not defined.
Followed the installation instructions for Leantime. But when trying to access the application in the browser, I received the error mentioned.
Reproduction steps
Error Logs (LEANTIMEFOLDER/storage/logs)
InvalidArgumentException thrown with message "Auth guard [web] is not defined."
Stacktrace:
#26 InvalidArgumentException in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:86
#25 Illuminate\Auth\AuthManager:resolve in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:70
#24 Illuminate\Auth\AuthManager:guard in /home/ubuntu/leantime/vendor/laravel/sanctum/src/Guard.php:57
#23 Laravel\Sanctum\Guard:__invoke in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/RequestGuard.php:57
#22 call_user_func in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/RequestGuard.php:57
#21 Illuminate\Auth\RequestGuard:user in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Auth/GuardHelpers.php:56
#20 Illuminate\Auth\RequestGuard:check in /home/ubuntu/leantime/app/Core/Middleware/AuthCheck.php:130
#19 Leantime\Core\Middleware\AuthCheck:authenticate in /home/ubuntu/leantime/app/Core/Middleware/AuthCheck.php:86
#18 Leantime\Core\Middleware\AuthCheck:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
#17 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/Updated.php:41
#16 Leantime\Core\Middleware\Updated:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
#15 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/Installed.php:60
#14 Leantime\Core\Middleware\Installed:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
#13 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/StartSession.php:128
#12 Leantime\Core\Middleware\StartSession:handleStatefulRequest in /home/ubuntu/leantime/app/Core/Middleware/StartSession.php:95
#11 Leantime\Core\Middleware\StartSession:handleRequestWhileBlocking in /home/ubuntu/leantime/app/Core/Middleware/StartSession.php:64
#10 Leantime\Core\Middleware\StartSession:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
#9 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/InitialHeaders.php:24
#8 Leantime\Core\Middleware\InitialHeaders:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
#7 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/app/Core/Middleware/TrustProxies.php:75
#6 Leantime\Core\Middleware\TrustProxies:handle in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
#5 Illuminate\Pipeline\Pipeline:{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} in /home/ubuntu/leantime/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119
#4 Illuminate\Pipeline\Pipeline:then in /home/ubuntu/leantime/app/Core/Http/HttpKernel.php:119
#3 Leantime\Core\Http\HttpKernel:sendRequestThroughRouter in /home/ubuntu/leantime/app/Core/Http/HttpKernel.php:141
#2 Leantime\Core\Http\HttpKernel:handle in /home/ubuntu/leantime/app/Core/Bootloader.php:87
#1 Leantime\Core\Bootloader:handleRequest in /home/ubuntu/leantime/app/Core/Bootloader.php:68
#0 Leantime\Core\Bootloader:boot in /home/ubuntu/leantime/public/index.php:14
The text was updated successfully, but these errors were encountered: