-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Can't delete user #1042
Comments
I can't reproduce this on a clean instance. Anything specific on your instance ? Can you reproduce this every time? |
Yeah, tried to reboot the docker instance and same error, also on chrome on Windows. Nothing particular about my instance, running docker inside portainer |
Does the error occur for every local user you create and when you try to delete them? |
New user withouth any request history can be deleted normally. I'm trying to delete a user with 280 request in history |
Might be a corrupted user. Ill try to see if i can replicate. Meanwhile you could stop jellyseerr and edit db and delete user ID=3 |
How can I solve this? I want to delete all related requests |
|
Had the exact same problem. You need to edit the file db.sqlite3 in your config/db folder and delete the data for the user. Just google how to edit a sqlite database with a gui for easy of use, edit the dq.sqlite3 with it, delete the user, start jellseerr again - all good again, all requests by this user are gone :) |
Same error? Was that an user with a lot of requests too? |
Yes, a new jellyseerr user with about 400 movie requests within 2 days. After that i wanted to delete the user but was met with the error. Exact error was: Something went wrong deleting a user{"errorMessage":"Cannot read properties of null (reading 'id')","userId":"2"} |
Thanks. I'll take a look and see if I can replicate. |
I tried to create a new user with ~1000 requests and then delete the user. I couldn't reproduce the issue, the user and its requests are successfully deleted. |
Hello, I just encountered the same bug. Jellyseerr v2.1.0 For me it is a local user that I created to use with suggestarr. It did a dozen of requests which I all deleted using the UI. Now when I want to delete the user I'm getting I'm running jellyseerr in docker on a Synology DS224+. I tried restarting the container and am getting the same error. The call being made is the following (url and session id obfuscated) :
EDIT : I managed to delete the user by stopping the container, opening the sqlite DB in dbeaver, deleting the line in the user table and restarting the container. EDIT 2 : from what I see here in the code, user is found when first fetched otherwise the error message wouldn't know the user id. This is very strange indeed. |
Not exactly, the error is displaying |
Description
Can't delete a local Jellyseer user from the users page.
"message": "Something went wrong deleting the user"
Version
2.0.1
Steps to Reproduce
Screenshots
Logs
Platform
desktop
Device
MacBook Pro M2
Operating System
MacOs 15.1
Browser
Safari
Additional Context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: