Comments (4)
Is this issue consistent? Do you have any insight into which media item triggered this error?
It’s desired that Maintainerr handles the error correctly, preventing a crash. However, the presence of a media item lacking a ratingKey suggests potential corruption on Plex’s end.
Another possibility is that Maintainerr attempted to process a media item that had already been manually removed. As a consequence, it crashed because it could no longer locate the item. I’ll investigate further to determine if this is a potential cause.
from maintainerr.
I was getting this consistently until I upgraded to the latest version yesterday. Nothing changed in terms of the collection, media, or rules. I just re-deployed the container and it worked fine. Sorry, that was not helpful, but I had submitted a comment on this issue before and then deleted it after I realized I was not on the latest.
from maintainerr.
Spoke to soon...this happened to me today:
tainerr] | 25/04/2024 08:00:00 [INFO] [RuleExecutorService] Starting Execution of all active rules
[maintainerr] | 25/04/2024 08:00:00 [INFO] [RuleExecutorService] Executing rules for 'TV Shows Leaving Server Soon'
[maintainerr] | 25/04/2024 08:01:15 [INFO] [RuleExecutorService] Execution of rules for 'TV Shows Leaving Server Soon' done.
[maintainerr] | 25/04/2024 08:01:16 [INFO] [RuleExecutorService] Synced collection 'TV Shows Leaving Server Soon' with Plex
[maintainerr] | 25/04/2024 12:00:00 [INFO] [CollectionWorkerService] Start handling all collections
[maintainerr] | 25/04/2024 12:00:00 [INFO] [CollectionWorkerService] Handling collection 'TV Shows Leaving Server Soon'
[maintainerr] | 25/04/2024 12:00:00 [INFO] [CollectionsService] Removing media with id 36693 from collection..
/opt/app/server/modules/collections/collection-worker.service.js:181
: (_d = (await this.tmdbIdService.getTmdbIdFromPlexRatingKey(plexData.ratingKey))) === null || _d === void 0 ? void 0 : _d.id;
^
TypeError: Cannot read properties of undefined (reading 'ratingKey')
at CollectionWorkerService.handleMedia (/opt/app/server/modules/collections/collection-worker.service.js:181:99)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async CollectionWorkerService.execute (/opt/app/server/modules/collections/collection-worker.service.js:79:25)
from maintainerr.
Sorry for the late reply. I don't seem to have enough free time to keep up lately..
I added a potential fix in #1069
Once this PR is merged, you'd be able to validate it with the jorenn92/maintainerr:develop or ghcr.io/maintainerr:main images.
Keep me posted if you still notice this issue with these images.
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
- 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
- Movies passing the rules not being added to the Collection HOT 5
- 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.