Comments (5)
Hey! It seems that the rule encountered an undefined statistics object, which is unexpected considering the object is initialized at the start. While it's possible that this issue could stem from a sluggish Plex server response, the error isn't what i'd expect in such scenarios.
API calls to Plex are configured with a timeout value of 5 seconds. If this limit is exceeded, the returned item is likely to be null. Although some calls are retried, not all Plex calls benefit from this mechanism. Maintainerr relies on an external library for Plex API communication, which currently lacks a built-in retry feature.
Is this the first time you encountered this issue? Does the problem resolve itself upon next rule executions?
from maintainerr.
Hi--
I've had the issue since 5/1/24 when you see from the screenshot that items were mysteriously removed but are still resolving as true when evaluated individually. The error I posted only occurs once. I have not been able to reproduce that error since the one occurrence.
To test, I restarted the Maintainerr container and manually ran the Movies Rules. I only see this in my logs, it's been 5 hours since I ran the rules manually:
[maintainerr] | 03/05/2024 16:34:54 [INFO] [NestApplication] Nest application successfully started [maintainerr] | 03/05/2024 16:35:11 [INFO] [RuleExecutorService] Starting Execution of all active rules [maintainerr] | 03/05/2024 16:35:11 [INFO] [RuleExecutorService] Executing rules for 'Movies Leaving Plex Soon' [maintainerr] | 03/05/2024 19:27:12 [WARN] [RadarrGetterService] [TMDb] Failed to fetch TMDb id for 'Bon Jovi Unplugged on VH1'
Is there any way I can increase the logging to see what's happening?
from maintainerr.
After another day, the movies returned to the Collection. The countdown dates are reset, but they are back. I'm fine with closing this, or I can provide some logs to help track down if there is a bug. Thanks again.
from maintainerr.
The only method to enhance logging is by enabling the 'DEBUG' flag in your Docker Compose/run command. However, I'm uncertain if this will provide additional information in this scenario.
If you encounter this issue again, it would be great if you were able to obtain some debug logs from Maintainerr and Plex's side. But it may not be straightforward to gather them when the problem doesn't happen consistently.
I'll leave this issue open for a few weeks. Please keep me informed if it reoccurs. Otherwise, I'll close it later.
Thank you for reporting this!
from maintainerr.
Hi there--
Sadly, the issue has reoccurred twice.
As you can see from the screenshot, all of the movies in my collection were removed. However, the movies that were removed were not processed (they had several days remaining), but are still passing the rule.
Here is my rules, it's fairly straightforward:
mediaType: MOVIES
rules:
- "0":
- firstValue: Plex.viewCount
action: EQUALS
customValue:
type: number
value: 0
- operator: OR
firstValue: Plex.lastViewedAt
action: BEFORE
customValue:
type: custom_days
value: "180"
- "1":
- operator: AND
firstValue: Radarr.tags
action: NOT_CONTAINS_PARTIAL
customValue:
type: text
value: never_expire
- "2":
- operator: AND
firstValue: Plex.addDate
action: BEFORE
customValue:
type: custom_days
value: "335"
Another odd thing -- My rules are set to process at 6am. Collections are set to 7am. Unless the timezone is off, it shouldn't be running at 3pm like the Logs say. I'm passing my timezone in through my docker-config like so:
environment:
- "PUID=${PUID}"
- "PGID=${PGID}"
- "TZ=${TZ}"
.env file:
TZ=America/New_York
from maintainerr.
Related Issues (20)
- Q: Need some help - Connecting to Sonarr, Radarr, Overseeer HOT 1
- Q: I got the collections working, but when does it start to delete movies? HOT 1
- Possibly a bug but more likely i'm doing something wrong and it's not working. HOT 6
- Support Multiple versions of Radarr and Sonarr HOT 1
- Will not connect to Radarr or Sonarr HOT 2
- Handling collections failure causing collection handling to stall HOT 4
- Setup on Synology / Docker HOT 3
- Include all users in playlist rule HOT 1
- Hide Collection on Plex HOT 3
- Respect hostname/IP address settings HOT 3
- Support for Plex Watchlists HOT 2
- Feature Requests
- New Rule drop-downs should match the selected library
- Synology Permission Query - Could not create or access (files in) the data directory. Please make sure the necessary permissions are set HOT 11
- Data directory issue when using docker-compose HOT 5
- [Feature Request] Configuration of collection visibility HOT 2
- Interesting Feature request (like NETFLIX) HOT 3
- Localhost error in logs HOT 1
- Error: getaddrinfo EAI_AGAIN Maintainerr HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maintainerr.