-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Error when trying to delete users #2766
Comments
"File "/usr/local/lib/python3.5/dist-packages/sqlalchemy/orm/session.py", line 1992, in delete Looks like the user info is coming in as null, check You can check the tables users and user_info to see if there is any mismatch in username... and cleanup . |
Thank you for the suggestion. There was indeed a mismatch in usernames. The one in |
Were you able to run native authenticator? |
Bug Description
I'm running a jupyterHub + jupyterLab setup and during testing found out that I encounter problems when deleting users. I use NativeAuthenticator.
When I click delete on a user (authorised or unauthorised), the panel shows a
API request failed (500): Internal Server error
and the user does not get deleted, cluttering the database and the interface.Any idea how to fix this? Or how to get the user out manually, at least?
Log says the following (with substitutions for USER, HOST and ADMIN):
To Reproduce
adduser
to create unix system userdeluser
the system user.System Information
I'm on Debian 9 and I'm running the following package versions:
jupyter-client (5.3.3)
jupyter-core (4.5.0)
jupyterhub (1.0.0)
jupyterhub-nativeauthenticator (0.0.4, /root/nativeauthenticator)
jupyterlab (1.1.4)
jupyterlab-server (1.0.6)
The text was updated successfully, but these errors were encountered: