-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
HTTP 500 error 'Authentication user provider [ldap] is not defined', since docker version 5.5.0-beta.1 #4637
Comments
Every Docker build after March 29 includes LDAP. This was the fix in #4557. Could you delete your local images and try again with 5.5.6? I hope to release 5.5.7 later today so feel free to wait a bit. |
Get all my firefly images deleted, pull the jc5x/firefly-iii:version-5.5.6 image then. Right now I'm prefer to use 5.4.6) |
Then I don’t know. The package is there. |
Weird then, i think problem might exist in the coder differences between 5.4.6 and 5.5.0-beta.1.. |
Sorry, are you trying this with 5.4.6 or with a newer docker container? |
I'm using 5.4.6, it's OK. |
By the following I'm posting some docker log of the 5.4.6 version container, and also 5.5.7, hopes useful to check: 5.5.7, the not working one:
5.4.6, the OK one:
|
I haven't put this in the documentation yet. I'll think about what's wise. |
Waiting for any update here :) |
I can do nothing else right now. The Docker container needs to download an extra package and if the site doesn't worked or is blocked, it won't fly. All I can do for a future release is make sure that this is optional, but the download is necessary in either case. |
Is this possible to include this as some sort of dependency? for most of docker images, it's by default then, in design, workable for offline and no need of Internet contact. |
No, not at the moment. The LDAP package requires |
Nah, so sad.. Cut this feature doesn't make the image 'much slim'.If this means to make the application more 'extensible', then release the most simple image is the way. Or maybe consider a full-feature branch ? |
I get complaints either way. If it's missing people complain. If it's in there people complain. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug description
I am previous running Firefly with docker version 5.4.6, everything OK with LDAP.
And by today I was trying to get the instance upgraded, but once it goes to version 5.5.6 (latest branch), it was the very likely the same issue as previous one #4612 #4557.
My stackstrace:
`InvalidArgumentException
InvalidArgumentException:
Authentication user provider [ldap] is not defined.
at /var/www/html/vendor/laravel/framework/src/Illuminate/Auth/CreatesUserProviders.php:42
at Illuminate\Auth\AuthManager->createUserProvider()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:123)
at Illuminate\Auth\AuthManager->createSessionDriver()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:94)
at Illuminate\Auth\AuthManager->resolve()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:68)
at Illuminate\Auth\AuthManager->guard()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php:332)
at Illuminate\Auth\AuthManager->__call()
(/var/www/html/app/Exceptions/Handler.php:150)
at FireflyIII\Exceptions\Handler->report()
(/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:88)
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
`
Steps to reproduce
After get several downgrade.. it seems, the issue coming here since 5.5.0-beta.1, the very next version after 5.4.6.
During the try-out, I haven't touch my LDAP settings, so it went to the application that might have problem.
The text was updated successfully, but these errors were encountered: