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

Ombi Importing Plex Users That Don't Exist #5064

Open
ThePiombino opened this issue Jan 3, 2024 · 7 comments
Open

Ombi Importing Plex Users That Don't Exist #5064

ThePiombino opened this issue Jan 3, 2024 · 7 comments

Comments

@ThePiombino
Copy link

Summary

When User Importer is run, Ombi imports users that do not currently exist on my Plex Server (PS). These are users that previously existed, but have since bee removed. On my PS, I currently share libraries with 12 users (not including myself), also included in "My Friends" list; however, after running Ombi User Importer, Ombi shows 16 users. I have confirmed/attempted:

  • The +4 users do NOT exist in either the PS "Accounts with Library Access" or "My Friends" lists
  • Ombi "User Importer Settings" include the following enabled: "Import Plex Users", "Import Plex Admin", "Cleanup Plex Users"
  • If I manually delete the +4 users from Ombi, then run the import, they are added again
  • I have attempted to re-sync w/the PS

Ombi Version

4.43.10

What platform(s) does this occur on?

Docker

What database are you using?

SQLite (Default)

Relevant log output

No response

@ThePiombino
Copy link
Author

Will add that the only way to keep said users from being added to the users lists is to include them in the "Plex Users excluded from Import" field on the user settings page. This works, which is great; however, I'm assuming I shouldn't have to do this...

@tidusjar
Copy link
Collaborator

tidusjar commented Jan 3, 2024

Ombi grabs the list straight from the Plex API for your server. So I can only assume Plex is still reporting those users.

Are you happy to run a few API calls to see what’s going on?

@ThePiombino
Copy link
Author

ThePiombino commented Jan 4, 2024 via email

@enormouspoon
Copy link

Any further updates to this? I'm seeing the same results on 4.43.14. I'll add the users to the exclude list for now.

@tidusjar
Copy link
Collaborator

tidusjar commented Mar 8, 2024

You need to check if your user is in the list returned from this API call (You can just put the URL in the browser)

https://plex.tv/api/users?X-Plex-Token=AUTH_TOKEN

Replace AUTH_TOKEN with the Plex auth token you find in the Plex settings in Ombi.

That will give you a XML list of users so search for the users. If the user is present in that list that is coming from Plex.tv then Ombi will import that user.

@ThePiombino
Copy link
Author

ThePiombino commented Mar 9, 2024 via email

@enormouspoon
Copy link

Appreciate the help diagnosing. Seems it's a Plex issue. I'll continue using Ombi's exclude from import feature. Thanks for everything Jamie!

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

No branches or pull requests

3 participants