Git Product home page Git Product logo

Comments (4)

jorenn92 avatar jorenn92 commented on May 26, 2024

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.

astrodad avatar astrodad commented on May 26, 2024

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.

astrodad avatar astrodad commented on May 26, 2024

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.

jorenn92 avatar jorenn92 commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.