Skip to content

Same items keep geting added to collection #2412

@michaelwijnands

Description

@michaelwijnands

Describe the bug
Every time Maintainerr sends me notifications for movies saying movie x has been added to my collection. A few hours later on the next interval, it once again tells me the item has been added to the collection. It keeps doing this, making me having to remove the item manually.

Screenshots
Image

Device (please complete the following information):

  • OS: Docker running in Debian 13 through Proxmox LXC
  • Version: 2.26.1

Additional context
My logs keep showing things like:

8:00:00 AMINFOStarting execution of rule 'Binnenkort verwijderd - Films'
8:00:04 AMINFOExecuting rules for 'Binnenkort verwijderd - Films'
8:00:05 AMINFOAdding 6 media items to 'Binnenkort verwijderd - Films'.
8:00:05 AMINFOSending Discord notification
8:00:05 AMINFOAdding media with id 17971 to collection..
8:00:05 AMERRORPlex api communication failure.. Is the application running?
Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17971 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
    at PlexApi._request (/opt/app/apps/server/dist/modules/api/lib/plexApi.js:158:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async PlexApiService.addChildToCollection (/opt/app/apps/server/dist/modules/api/plex-api/plex-api.service.js:452:30)
    at async CollectionsService.addChildToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:601:34)
    at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:439:25)
    at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:264:30)
    at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:105:21)
    at async RuleExecutorJobManagerService.executeJob (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:135:13)
    at async /opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:118:21
8:00:05 AMWARNCouldn't add media to collection: 
          Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17971 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
8:00:05 AMINFOAdding media with id 17964 to collection..
8:00:05 AMERRORPlex api communication failure.. Is the application running?
Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17964 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
    at PlexApi._request (/opt/app/apps/server/dist/modules/api/lib/plexApi.js:158:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async PlexApiService.addChildToCollection (/opt/app/apps/server/dist/modules/api/plex-api/plex-api.service.js:452:30)
    at async CollectionsService.addChildToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:601:34)
    at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:439:25)
    at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:264:30)
    at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:105:21)
    at async RuleExecutorJobManagerService.executeJob (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:135:13)
    at async /opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:118:21
8:00:05 AMWARNCouldn't add media to collection: 
          Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17964 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
8:00:05 AMINFOAdding media with id 17811 to collection..
8:00:05 AMERRORPlex api communication failure.. Is the application running?
Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17811 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
    at PlexApi._request (/opt/app/apps/server/dist/modules/api/lib/plexApi.js:158:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async PlexApiService.addChildToCollection (/opt/app/apps/server/dist/modules/api/plex-api/plex-api.service.js:452:30)
    at async CollectionsService.addChildToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:601:34)
    at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:439:25)
    at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:264:30)
    at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:105:21)
    at async RuleExecutorJobManagerService.executeJob (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:135:13)
    at async /opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:118:21
8:00:05 AMWARNCouldn't add media to collection: 
          Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17811 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
8:00:05 AMINFOAdding media with id 17769 to collection..
8:00:05 AMERRORPlex api communication failure.. Is the application running?
Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17769 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
    at PlexApi._request (/opt/app/apps/server/dist/modules/api/lib/plexApi.js:158:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async PlexApiService.addChildToCollection (/opt/app/apps/server/dist/modules/api/plex-api/plex-api.service.js:452:30)
    at async CollectionsService.addChildToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:601:34)
    at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:439:25)
    at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:264:30)
    at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:105:21)
    at async RuleExecutorJobManagerService.executeJob (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:135:13)
    at async /opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:118:21
8:00:05 AMWARNCouldn't add media to collection: 
          Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17769 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
8:00:05 AMINFOAdding media with id 17945 to collection..
8:00:05 AMERRORPlex api communication failure.. Is the application running?
Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17945 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
    at PlexApi._request (/opt/app/apps/server/dist/modules/api/lib/plexApi.js:158:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async PlexApiService.addChildToCollection (/opt/app/apps/server/dist/modules/api/plex-api/plex-api.service.js:452:30)
    at async CollectionsService.addChildToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:601:34)
    at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:439:25)
    at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:264:30)
    at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:105:21)
    at async RuleExecutorJobManagerService.executeJob (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:135:13)
    at async /opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:118:21
8:00:05 AMWARNCouldn't add media to collection: 
          Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17945 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
8:00:05 AMINFOAdding media with id 17973 to collection..
8:00:05 AMERRORPlex api communication failure.. Is the application running?
Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17973 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
    at PlexApi._request (/opt/app/apps/server/dist/modules/api/lib/plexApi.js:158:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async PlexApiService.addChildToCollection (/opt/app/apps/server/dist/modules/api/plex-api/plex-api.service.js:452:30)
    at async CollectionsService.addChildToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:601:34)
    at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:439:25)
    at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:264:30)
    at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:105:21)
    at async RuleExecutorJobManagerService.executeJob (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:135:13)
    at async /opt/app/apps/server/dist/modules/rules/tasks/rule-executor-job-manager.service.js:118:21
8:00:05 AMWARNCouldn't add media to collection: 
          Error: PUT http://192.168.1.12:32400/library/collections/15152/items?uri=server://02af92e6c41d226579ff38861ec828e7b6375454/com.plexapp.plugins.library/library/metadata/17973 failed with exception: Plex Server didnt respond with a valid 2xx status code, response code: 400
8:00:05 AMINFOExecution of rules for 'Binnenkort verwijderd - Films' done.
8:00:05 AMINFOSynced collection 'Binnenkort verwijderd - Films' with Plex
8:00:05 AMINFOStarting execution of rule 'Binnenkort verwijderd - Series'
8:00:05 AMINFOExecuting rules for 'Binnenkort verwijderd - Series'
8:00:14 AMINFOExecution of rules for 'Binnenkort verwijderd - Series' done.
8:00:14 AMINFOSynced collection 'Binnenkort verwijderd - Series' with Plex

For my TV shows it always works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions