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

Plex Availability Cacher wont run #1162

Closed
kentromox opened this issue Feb 20, 2017 · 21 comments
Closed

Plex Availability Cacher wont run #1162

kentromox opened this issue Feb 20, 2017 · 21 comments

Comments

@kentromox
Copy link

Ombi Version:

V 2.1.1430

Update Branch:

Tried Stable and Early Access Preview

Media Sever:

Plex

Media Server Version:

Version 1.4.1.3362

Operating System:

Unraid 6.3.1 Using Docker Container

Applicable Logs (from /logs/ directory or the Admin page):


System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexAvailabilityChecker+<>c__DisplayClass44_0.b__0 (Ombi.Store.Models.Plex.PlexContent x) <0x405bef40 + 0x00044> in :0 at System.Linq.Enumerable.Any[TSource] (IEnumerable`1 source, System.Func`2 predicate) <0x41e9ebc0 + 0x00090> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.IsAlbumAvailable (Ombi.Store.Models.Plex.PlexContent[] plexAlbums, System.String title, System.String year, System.String artist) <0x405beb10 + 0x0015b> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.CheckAndUpdateAll () <0x405ba730 + 0x007cf> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.Start () <0x405ba590 + 0x00043> in :0

Problem Description:

Hi
Seems that Plex Availability Cacher doesnt quite work. Tried looking on the other post on githuh to see if someone has similar issue, and cant seems to find anything that can fix the issue.
Have tried on all log levels and still doesnt run properly.
And it wont update Movie requested that has been downloaded and appeared in the Plex library.

Reproduction Steps:

  1. Happens every time the Job Plex Availability Cacher is running.
@Ombi-robot
Copy link

Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Before posting make sure you also read our FAQ and known issues.
Make the title describe your issue. Having "not working" or "I get this bug" for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Cheers!
Ombi Support Team

@Magikarplvl4
Copy link
Contributor

Hi, can you put the trace log on and run the cacher manualy and post the error over here?

@kentromox
Copy link
Author

This is what I get:

System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexAvailabilityChecker+<>c__DisplayClass44_0.b__0 (Ombi.Store.Models.Plex.PlexContent x) <0x405bef40 + 0x00044> in :0 at System.Linq.Enumerable.Any[TSource] (IEnumerable1 source, System.Func2 predicate) <0x41e9ebc0 + 0x00090> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.IsAlbumAvailable (Ombi.Store.Models.Plex.PlexContent[] plexAlbums, System.String title, System.String year, System.String artist) <0x405beb10 + 0x0015b> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.CheckAndUpdateAll () <0x405ba730 + 0x007cf> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.Execute (IJobExecutionContext context) <0x403cad60 + 0x00043> in :0

@Magikarplvl4
Copy link
Contributor

Magikarplvl4 commented Feb 20, 2017

To be sure, can you force to get a new api key from your plex server?
Some times re-authenticate will solve the problem.

@kentromox
Copy link
Author

Done and got this error from the log:

System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexAvailabilityChecker+<>c__DisplayClass44_0.b__0 (Ombi.Store.Models.Plex.PlexContent x) <0x405bef40 + 0x00044> in :0 at System.Linq.Enumerable.Any[TSource] (IEnumerable1 source, System.Func2 predicate) <0x41e9ebc0 + 0x00090> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.IsAlbumAvailable (Ombi.Store.Models.Plex.PlexContent[] plexAlbums, System.String title, System.String year, System.String artist) <0x405beb10 + 0x0015b> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.CheckAndUpdateAll () <0x405ba730 + 0x007cf> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.Start () <0x405ba590 + 0x00043> in :0

@Magikarplvl4
Copy link
Contributor

I think the api is changed by plex. Jamie need to look at this one.

@kentromox
Copy link
Author

Sweet, Ill keep you updated if anything happens.

@Magikarplvl4
Copy link
Contributor

Workaround is to downgrade you plex server back to 1.3.3 but i don't you like that do that :P

@kentromox
Copy link
Author

Would be impractical, I dont mind waiting for a update to fix this. I can still do it manually till its fixes. Love this project. Does everything I need and want. Keep up the good work folks.

@Magikarplvl4
Copy link
Contributor

We will give you a update if there is a progress for a fix :) Thanks for you report anyway.

@tidusjar
Copy link
Member

It's crashing when looking for an album... I'm thinking about removing headphones support.

@smcpeck
Copy link
Contributor

smcpeck commented Feb 24, 2017

@tidusjar I can maybe look at Headphones stuff at some point. I've been meaning to add it to my setup, so I have an interest. 😃

@smcpeck
Copy link
Contributor

smcpeck commented Mar 1, 2017

@danilitland Can you verify that this is still an issue for you in EAP? There have been a good handful of changes around the HP integration that should make things much better. Thanks!

@kentromox
Copy link
Author

I'll give it a try after work.

@kentromox
Copy link
Author

kentromox commented Mar 1, 2017

Still getting issues. Been trying with HP on and off

System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexAvailabilityChecker+<>c__DisplayClass44_0.b__0 (Ombi.Store.Models.Plex.PlexContent x) <0x40bebd00 + 0x00044> in :0 at System.Linq.Enumerable.Any[TSource] (IEnumerable1 source, System.Func2 predicate) <0x42061bc0 + 0x00090> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.IsAlbumAvailable (IEnumerable`1 plexAlbums, System.String title, System.String year, System.String artist) <0x40bebb50 + 0x0015b> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.CheckAndUpdateAll () <0x40be7520 + 0x007cf> in :0 at Ombi.Services.Jobs.PlexAvailabilityChecker.Start () <0x40be6760 + 0x00043> in :0

This is the error message that is showing.

Version nr is 2.1.1482.

@kentromox
Copy link
Author

This is interesting, might wanna read this, Ive removed all the request I had on the Album Section. Its runs fine now. Ill keep testing around in coming days to see where the breaking point is.

@tidusjar
Copy link
Member

Any luck?

@kentromox
Copy link
Author

Yes and no, seems to partially work from time to time, havent had much time lately do deal with cause of work.

@tidusjar
Copy link
Member

Ok no problem. Would be interesting to find out why it's not working sometimes with some logs when you get the chance.

@kentromox
Copy link
Author

Seems the problem has disappeard, I completely removed it and reinstalled it. But got new issues that is already on the forum.

@Magikarplvl4
Copy link
Contributor

cool 👍 i will close this one

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

No branches or pull requests

5 participants