Maintainerr icon indicating copy to clipboard operation
Maintainerr copied to clipboard

Rules not working

Open adrianguanipa opened this issue 1 year ago • 8 comments

Hey there,

Could I get some help here, I have a test rule configured for movies added after March 25th, and when testing my media against that rule they are coming back as "true" but when running the rule manually nothing is happening, I don't see the movies being added to the collection, what am I missing here?

image

image

Thanks.

adrianguanipa avatar Mar 27 '24 15:03 adrianguanipa

Hey!

Are you certain the ‘rule handler’ execution is finished? It might take a while on big libraries.

jorenn92 avatar Mar 27 '24 18:03 jorenn92

Hey!

Are you certain the ‘rule handler’ execution is finished? It might take a while on big libraries.

I only have two movies in this Plex instance, as I want to see it in action first :), I also left it running overnight and still shows this way.

adrianguanipa avatar Mar 27 '24 18:03 adrianguanipa

Can you share logs? It should log the execution of your rules. Perhaps they encountered an error.

jorenn92 avatar Mar 27 '24 18:03 jorenn92

Good idea, I see it complaining about applications not being reachable, I don't have it connected to Radarr but just Plex, the rule is only set to delete not to unmonitor the files, does this means having Radarr or Sonarr connect is a requirement?

2024/03/27 14:51:13 stdout [maintainerr] | 27/03/2024 18:51:13  [INFO] [RuleExecutorService] Not all applications are reachable.. Skipped rule execution. 2024/03/27 14:51:03 stdout [maintainerr] | 27/03/2024 18:51:03  [INFO] [RuleExecutorService] Starting Execution of all active rules

adrianguanipa avatar Mar 27 '24 18:03 adrianguanipa

You can attempt to connect other apps and observe if it behaves differently. I don't have access to the code currently, so i can’t verify if it's necessary. But it shouldn't be required.

jorenn92 avatar Mar 27 '24 19:03 jorenn92

Will do, thank you.

adrianguanipa avatar Mar 27 '24 19:03 adrianguanipa

That was the problem, I've added Radarr and Sonarr and now I see it working, so it does seem like those are a requirement.

Thank you

adrianguanipa avatar Mar 28 '24 03:03 adrianguanipa

That was the problem, I've added Radarr and Sonarr and now I see it working, so it does seem like those are a requirement.

Thank you

No problem, I'll investigate why they're necessary later. They shouldn't be mandatory.

jorenn92 avatar Mar 28 '24 06:03 jorenn92