Describe the bug
Not sure if it's related to #2489 ... it's very technical and on my side it seems like it does everything but create the collections
To Reproduce
Steps to reproduce the behavior:
- Setup maintainerr with jellyfin
- Test the rule, see if the rules get anything?
- Check the collections created (they are empty)
Expected behavior
Get the collections on jellyfin and the collections on maintainerr should start to say they have media.
Screenshots

Very simple .. the "test" one is literally this:
and all media is caught:
Device:
- OS: Ubuntu server (running it on the latest version on docker)
- Version 3.1.0
Additional context
Here's the logs:
[maintainerr] | 15/03/2026 08:00:11 [DEBUG] [CollectionsService] [checkAutomaticMediaServerLink] Setting mediaServerId to null — collection was empty or not found on media server
[maintainerr] | 15/03/2026 08:00:11 [ERROR] [JellyfinAdapterService] Failed to create Jellyfin collection
Error: Failed to fetch created collection
at JellyfinAdapterService.createCollection (/opt/app/apps/server/dist/modules/api/media-server/jellyfin/jellyfin-adapter.service.js:629:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:513:35)
at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:304:30)
at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:115:45)
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
[maintainerr] | 15/03/2026 08:00:11 [WARN] [CollectionsService] An error occurred while performing collection actions.
[maintainerr] | 15/03/2026 08:00:11 [WARN] [RuleExecutorService] Exception occurred while handling rule: Cannot read properties of undefined (reading 'id')
[maintainerr] | 15/03/2026 08:00:11 [INFO] [RuleExecutorService] Execution of rules for 'Sonarr to be removed' done.
[maintainerr] | 15/03/2026 08:00:11 [INFO] [RuleExecutorService] Starting execution of rule 'Radarr to be removed'
[maintainerr] | 15/03/2026 08:00:11 [INFO] [JellyfinAdapterService] Jellyfin connection test successful: Ody (10.11.6)
[maintainerr] | 15/03/2026 08:00:11 [INFO] [RuleExecutorService] Executing rules for 'Radarr to be removed'
[maintainerr] | 15/03/2026 08:00:11 [DEBUG] [CollectionsService] [checkAutomaticMediaServerLink] Collection "Radarr to be removed" (DB id: 3, mediaServerId: null)
[maintainerr] | 15/03/2026 08:00:11 [DEBUG] [CollectionsService] [checkAutomaticMediaServerLink] Setting mediaServerId to null — collection was empty or not found on media server
[maintainerr] | 15/03/2026 08:00:11 [DEBUG] [CollectionsService] [checkAutomaticMediaServerLink] Collection "Radarr to be removed" (DB id: 3, mediaServerId: null)
[maintainerr] | 15/03/2026 08:00:11 [DEBUG] [CollectionsService] [checkAutomaticMediaServerLink] Setting mediaServerId to null — collection was empty or not found on media server
[maintainerr] | 15/03/2026 08:00:11 [INFO] [RuleExecutorService] Execution of rules for 'Radarr to be removed' done.
[maintainerr] | 15/03/2026 08:00:11 [INFO] [RuleExecutorService] Starting execution of rule 'Test....'
[maintainerr] | 15/03/2026 08:00:11 [INFO] [JellyfinAdapterService] Jellyfin connection test successful: Ody (10.11.6)
[maintainerr] | 15/03/2026 08:00:12 [INFO] [RuleExecutorService] Executing rules for 'Test....'
[maintainerr] | 15/03/2026 08:00:15 [INFO] [RuleExecutorService] Adding 142 media items to 'Test....'.
[maintainerr] | 15/03/2026 08:00:15 [DEBUG] [CollectionsService] [checkAutomaticMediaServerLink] Collection "Test...." (DB id: 4, mediaServerId: null)
[maintainerr] | 15/03/2026 08:00:15 [DEBUG] [CollectionsService] [checkAutomaticMediaServerLink] Setting mediaServerId to null — collection was empty or not found on media server
[maintainerr] | 15/03/2026 08:00:15 [ERROR] [JellyfinAdapterService] Failed to create Jellyfin collection
Error: Failed to fetch created collection
at JellyfinAdapterService.createCollection (/opt/app/apps/server/dist/modules/api/media-server/jellyfin/jellyfin-adapter.service.js:629:23)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async CollectionsService.addToCollection (/opt/app/apps/server/dist/modules/collections/collections.service.js:513:35)
at async RuleExecutorService.handleCollection (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:304:30)
at async RuleExecutorService.executeForRuleGroups (/opt/app/apps/server/dist/modules/rules/tasks/rule-executor.service.js:115:45)
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
[maintainerr] | 15/03/2026 08:00:15 [WARN] [CollectionsService] An error occurred while performing collection actions.
[maintainerr] | 15/03/2026 08:00:15 [WARN] [RuleExecutorService] Exception occurred while handling rule: Cannot read properties of undefined (reading 'id')
[maintainerr] | 15/03/2026 08:00:15 [INFO] [RuleExecutorService] Execution of rules for 'Test....' done.
[maintainerr] | 15/03/2026 12:00:00 [INFO] [JellyfinAdapterService] Jellyfin connection test successful: Ody (10.11.6)
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Started handling of all collections
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Skipping collection 'Test....' as its action is 'Do Nothing'
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Handling collection 'Sonarr to be removed'
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Handling collection 'Sonarr to be removed' finished
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Handling collection 'Radarr to be removed'
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Handling collection 'Radarr to be removed' finished
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] All collections handled. No data was altered
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Updating collection size cache...
[maintainerr] | 15/03/2026 12:00:00 [INFO] [CollectionWorkerService] Collection size cache updated
Describe the bug
Not sure if it's related to #2489 ... it's very technical and on my side it seems like it does everything but create the collections
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Get the collections on jellyfin and the collections on maintainerr should start to say they have media.
Screenshots
and all media is caught:
Device:
Additional context
Here's the logs: