Plaidstallion

Ombi first time errors v3

Oct 31st, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 KB | None | 0 0
  1. We are running on http://*:3579
  2. /opt/ombi
  3. Application startup exception: System.InvalidOperationException: The instance of entity type 'GlobalSettings' cannot be tracked because another instance with the same key value for {'Id'} 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.
  4. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.ThrowIdentityConflict(InternalEntityEntry entry)
  5. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate)
  6. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTracking(InternalEntityEntry entry)
  7. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges)
  8. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Nullable`1 forceStateWhenUnknownKey)
  9. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.PaintAction(EntityEntryGraphNode node, Boolean force)
  10. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityEntryGraphIterator.TraverseGraph[TState](EntityEntryGraphNode node, TState state, Func`3 handleNode)
  11. at Microsoft.EntityFrameworkCore.DbContext.SetEntityState[TEntity](TEntity entity, EntityState entityState)
  12. at Ombi.Store.Repository.SettingsJsonRepository.Update(GlobalSettings entity) in C:\projects\requestplex\src\Ombi.Store\Repository\SettingsJsonRepository.cs:line 100
  13. at Ombi.Settings.Settings.SettingsService`1.SaveSettings(T model) in C:\projects\requestplex\src\Ombi.Settings\Settings\SettingsService.cs:line 91
  14. at Ombi.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IMemoryCache cache, IServiceProvider serviceProvider) in C:\projects\requestplex\src\Ombi\Startup.cs:line 163
  15. --- End of stack trace from previous location where exception was thrown ---
  16. at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
  17. at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
  18.  
  19. Unhandled Exception: System.InvalidOperationException: The instance of entity type 'GlobalSettings' cannot be tracked because another instance with the same key value for {'Id'} 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.
  20. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.ThrowIdentityConflict(InternalEntityEntry entry)
  21. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate)
  22. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTracking(InternalEntityEntry entry)
  23. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges)
  24. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Nullable`1 forceStateWhenUnknownKey)
  25. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.PaintAction(EntityEntryGraphNode node, Boolean force)
  26. at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityEntryGraphIterator.TraverseGraph[TState](EntityEntryGraphNode node, TState state, Func`3 handleNode)
  27. at Microsoft.EntityFrameworkCore.DbContext.SetEntityState[TEntity](TEntity entity, EntityState entityState)
  28. at Ombi.Store.Repository.SettingsJsonRepository.Update(GlobalSettings entity) in C:\projects\requestplex\src\Ombi.Store\Repository\SettingsJsonRepository.cs:line 100
  29. at Ombi.Settings.Settings.SettingsService`1.SaveSettings(T model) in C:\projects\requestplex\src\Ombi.Settings\Settings\SettingsService.cs:line 91
  30. at Ombi.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IMemoryCache cache, IServiceProvider serviceProvider) in C:\projects\requestplex\src\Ombi\Startup.cs:line 163
  31. --- End of stack trace from previous location where exception was thrown ---
  32. at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
  33. at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
  34. at Microsoft.AspNetCore.Hosting.Internal.WebHost.StartAsync(CancellationToken cancellationToken)
  35. at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String shutdownMessage)
  36. at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
  37. at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
  38. at Ombi.Program.Main(String[] args) in C:\projects\requestplex\src\Ombi\Program.cs:line 130
  39. Hello, welcome to Ombi
  40. Valid options are:
  41. Ombi 3.0.5223-master
  42. Copyright (C) 2020 Ombi
Add Comment
Please, Sign In to add comment