Ombi
Ombi copied to clipboard
Odd PlexContentSync error in logs - "The instance of entity type 'PlexServerContent' cannot be tracked because another instance with the same key value for {'Key'} is already being tracked"
Describe the bug 2023-03-11T20:00:01.114158460Z warn: Ombi.Schedule.Jobs.Plex.PlexContentSync[2008] 2023-03-11T20:00:01.137142784Z Exception thrown when attempting to cache the Plex Content in server plex-desktop
these are showing up regularly in the logs for some unknown reason
To Reproduce Steps to reproduce the behavior:
- Go to 'Ombi Logs'
- Click on 'The logs'
- Scroll down to 'The logs'
- error appears
Expected behavior A clear and concise description of what you expected to happen.
Screenshots none nneeded Logs (Logs directory where Ombi is located)
2023-03-11T20:00:01.114158460Z warn: Ombi.Schedule.Jobs.Plex.PlexContentSync[2008] 2023-03-11T20:00:01.137142784Z Exception thrown when attempting to cache the Plex Content in server plex-desktop 2023-03-11T20:00:01.137288817Z System.InvalidOperationException: The instance of entity type 'PlexServerContent' cannot be tracked because another instance with the same key value for {'Key'} is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values. 2023-03-11T20:00:01.137355816Z at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap
1.ThrowIdentityConflict(InternalEntityEntry entry)
2023-03-11T20:00:01.137374148Z at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate) 2023-03-11T20:00:01.137431443Z at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap
1.Add(TKey key, InternalEntityEntry entry)
`
Desktop (please complete the following information):
- OS: Raspberry Pi
Ombi Version (please complete the following information):
- Version 4.35.8
- Media Server Plex
- Database Type: SQLite
Additional context I'm not sure what's happening here, nor am I sure what to do to fix it. Thanks!
Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Have you looked at the wiki yet? https://docs.ombi.app/
Before posting make sure you also read our FAQ.
Make the title describe your issue. Having 'not working' or 'I get this bug' for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Thanks!
Ombi Bot.
have the same problem