You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New Plex Users no longer being imported when trying to manually import, or allowing for regular scheduled imports.
To Reproduce:
Go to Ombi settings
Click on Configuration
finally click on "Run Importer" at bottom of screen.
Message comes back saying "Plex Users import started" but nothing happens.
Expected Behavior:
Any new plex users added my plex server since last import should be added to Ombi.
Logs:
2024-09-07 23:26:46.970 -06:00 [ERR] StatusCode: UnprocessableEntity, Reason: Unprocessable Entity, RequestUri: https://plex.tv/users/account.json
2024-09-07 23:26:46.973 -06:00 [ERR] Job Plex.IPlexUserImporter threw an unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Func2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201 at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74 at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23 at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken) 2024-09-07 23:26:46.974 -06:00 [ERR] Job Plex.IPlexUserImporter threw an exception. Quartz.SchedulerException: Job threw an unhandled exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.<ImportAdmin>b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202 at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Func2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate) at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74
at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23
at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken)
--- End of inner exception stack trace --- [See nested exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Func2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List`1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74
at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23
at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken)]
Ombi Version
4.46.3
What platform(s) does this occur on?
Linux
What database are you using?
MySQL
Relevant log output
2024-09-07 23:26:46.970 -06:00 [ERR] StatusCode: UnprocessableEntity, Reason: Unprocessable Entity, RequestUri: https://plex.tv/users/account.json
2024-09-07 23:26:46.973 -06:00 [ERR] Job Plex.IPlexUserImporter threw an unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.<ImportAdmin>b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List`1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201 at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74 at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23 at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken)2024-09-07 23:26:46.974 -06:00 [ERR] Job Plex.IPlexUserImporter threw an exception.Quartz.SchedulerException: Job threw an unhandled exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.<ImportAdmin>b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202 at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List`1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201 at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74 at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23 at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken) --- End of inner exception stack trace --- [See nested exception: System.NullReferenceException: Object reference not set to an instance of an object. at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.<ImportAdmin>b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202 at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List`1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201 at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74 at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23 at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken)]
The text was updated successfully, but these errors were encountered:
Same thing is happening here. I had a user reach out stating they don't use their old email any longer. So I removed the friend in Plex and added him with his new email. He accepted and is working in Plex.
So I went to ombi to check and he had not been imported yet. I went ahead and did the "run importer" manually. Ombi stated it would do so.
Summary
New Plex Users no longer being imported when trying to manually import, or allowing for regular scheduled imports.
To Reproduce:
Message comes back saying "Plex Users import started" but nothing happens.
Expected Behavior:
Any new plex users added my plex server since last import should be added to Ombi.
Logs:
2024-09-07 23:26:46.970 -06:00 [ERR] StatusCode: UnprocessableEntity, Reason: Unprocessable Entity, RequestUri: https://plex.tv/users/account.json
2024-09-07 23:26:46.973 -06:00 [ERR] Job Plex.IPlexUserImporter threw an unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable
1 source, Func
2 predicate, Boolean& found)at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable
1 source, Func
2 predicate)at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List
1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201 at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74 at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23 at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken) 2024-09-07 23:26:46.974 -06:00 [ERR] Job Plex.IPlexUserImporter threw an exception. Quartz.SchedulerException: Job threw an unhandled exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.<ImportAdmin>b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202 at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable
1 source, Func2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable
1 source, Func2 predicate) at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List
1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74
at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23
at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken)
--- End of inner exception stack trace --- [See nested exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.<>c__DisplayClass10_0.b__0(OmbiUser x) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 202
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable
1 source, Func
2 predicate, Boolean& found)at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable
1 source, Func
2 predicate)at Ombi.Schedule.Jobs.Plex.PlexUserImporter.ImportAdmin(UserManagementSettings settings, PlexServers server, List`1 allUsers) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 201
at Ombi.Schedule.Jobs.Plex.PlexUserImporter.Execute(IJobExecutionContext job) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs:line 74
at Ombi.Schedule.QuartzJobRunner.Execute(IJobExecutionContext context) in /home/runner/work/Ombi/Ombi/src/Ombi.Schedule/QuartzJobRunner.cs:line 23
at Quartz.Core.JobRunShell.Run(CancellationToken cancellationToken)]
Ombi Version
4.46.3
What platform(s) does this occur on?
Linux
What database are you using?
MySQL
Relevant log output
The text was updated successfully, but these errors were encountered: