sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.76k stars 437 forks source link

Can't delete user #3518

Open stonedemoman opened 1 year ago

stonedemoman commented 1 year ago

Description

Overseerr user can't be deleted.

Version

1.33.0

Steps to Reproduce

  1. Attempt to delete user

Screenshots

2023-06-23 (2)

Logs

2023-06-23T10:14:12.719Z [error][API]: Something went wrong deleting a user{"errorMessage":"Cannot read properties of null (reading 'id')","userId":"5"}

Platform

desktop

Device

PC

Operating System

Windows 11

Browser

Firefox, Edge

Additional Context

No response

Code of Conduct

stale[bot] commented 1 year ago

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.

stonedemoman commented 1 year ago

Three months later and I still can't delete this user

FlexibleToast commented 10 months ago

I have this same problem. A user of mine had troubles requesting through the Plex watchlist. I tried to look at their account and just get an 'Oops' page. I tried to remove the account to recreate it and it fails in the same way as this issue.

mrjohnpoz commented 9 months ago

I just ran into this as well.. Running 1.33.2, doing a bit of cleanup of old users, etc. 1 user deleted fine.. But this user that was just a test account of mine using a company address I no longer work at.. Can not delete, in the log I see this

2023-12-13T02:18:57.056Z [error][API]: Something went wrong deleting a user{"errorMessage":"Cannot read properties of null (reading 'id')","userId":"11"}

Can I somehow manually edit the db or something to remove this user?

stale[bot] commented 6 months ago

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.

danshilm commented 5 months ago

Looking into this, I'm very surprised that an error happened when trying to delete a user. The code for it is pretty short and straightforward. And this isn't something that I can reproduce on my end. I think I might need someone who has this issue to help me with debugging this. Will circle back soon.

mrjohnpoz commented 5 months ago

Happy to provide whatever info I can - just let me know what you want to see, need?

I just tried it again.. And this user fails

https://i.imgur.com/rGnUUz2.jpeg