Skip to content
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

Login stopped working #10454

Open
lifeofguenter opened this issue Nov 3, 2024 · 5 comments
Open

Login stopped working #10454

lifeofguenter opened this issue Nov 3, 2024 · 5 comments

Comments

@lifeofguenter
Copy link

Error:

{"level":"error","service":"idp","error":"ldap identifier backend get user connect error: context canceled","time":"2024-11-03T22:24:59Z","line":"github.com/owncloud/ocis/v2/ocis-pkg/log/logrus_wrapper.go:50","message":"IdentifierIdentityManager: fetch failed to get user from userID"}

seems like the userdb went corrupt?

@micbar
Copy link
Contributor

micbar commented Nov 4, 2024

This error message shows up when the backend cannot connect to the LDAP server. Can you check if the idmservice is up and running?

@lifeofguenter
Copy link
Author

It is up & running but it is unable to find the user or respond to the request. My guess is the boltdb is corrupt. Most likely during a deployment where the container did not exit cleanly.

ocis is too brittle unless you use external openid or ldap, but running own ldap or openid is too complex. Would have been great if ocis could offer at least a simple local user auth based on mysql/postgres.

@micbar
Copy link
Contributor

micbar commented Nov 5, 2024

@lifeofguenter The error message suggests a network or connection issue, not a boltdb issue.

@lifeofguenter
Copy link
Author

@micbar I don't think its a network issue. I think this log is still from the beginning where the service was not up yet, but then even later it throws a 500 while being able to "query" it.

In initially thought it was the same issue as #7025

@rhafer
Copy link
Contributor

rhafer commented Nov 5, 2024

@lifeofguenter To really tell what's going on we would need logs. Ideally with OCIS_LOG_LEVEL sets to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants