Invalid profile picture breaks login! #6534

Open
opened 2025-12-22 04:24:30 +01:00 by backuprepo · 0 comments
Owner

Originally created by @raldone01 on GitHub (Dec 1, 2024).

Description of the bug

  1. I uploaded an image with 30MB which was a mistake.
  2. I noticed it but I jellyfin somehow now has a broken image set for the profile.
  3. Deleting the image fails with the attached error.
  4. The user can no longer login. The account is completely broken.

What is the current bug behavior?

Can't delete the broken profile picture.

What is the expected correct behavior?

Too large profile pictures should be scaled down or rejected.
Broken images should be deleteable.

I also noticed that profile picture rotation exif data is not respected in the profile overview.

Jellyfin Server version

10.10.0+

Specify the build version

10.10.3

Environment

- OS: Arch
- Linux Kernel: `Linux argon 6.11.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:17 +0000 x86_64 GNU/Linux`
- Virtualization: docker
- Browser: Firefox

Jellyfin logs

jellyfin-1  | [10:47:02] [ERR] [114] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Request body too large. The max request body size is 30000000 bytes. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | [10:47:27] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed
jellyfin-1  | [10:47:27] [INF] [114] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request
jellyfin-1  | [10:47:47] [ERR] [246] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId)
jellyfin-1  |    at lambda_method2180(Closure, Object)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin-1  |    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
jellyfin-1  | [10:48:07] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed
jellyfin-1  | [10:48:07] [INF] [114] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request
jellyfin-1  | [10:48:14] [INF] [114] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed
jellyfin-1  | [10:48:14] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request
jellyfin-1  | [10:48:31] [INF] [167] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed
jellyfin-1  | [10:48:31] [INF] [167] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request
jellyfin-1  | [10:48:31] [ERR] [167] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId)
jellyfin-1  |    at lambda_method2180(Closure, Object)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin-1  |    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
jellyfin-1  | [10:48:34] [ERR] [167] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId)
jellyfin-1  |    at lambda_method2180(Closure, Object)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin-1  |    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
jellyfin-1  | [10:48:38] [ERR] [244] Jellyfin.Drawing.ImageProcessor: Error encoding image
jellyfin-1  | System.IO.InvalidDataException: Skia unable to read image /config/config/users/Robert Wisböck/profile.png
jellyfin-1  |    at Jellyfin.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, DateTime dateModified, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat outputFormat)
jellyfin-1  |    at Jellyfin.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options)
jellyfin-1  | [10:48:44] [ERR] [262] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL DELETE /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.DeleteUserImage(Nullable`1 userId)
jellyfin-1  |    at lambda_method2233(Closure, Object)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin-1  |    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
jellyfin-1  | [10:49:04] [ERR] [262] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL DELETE /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.DeleteUserImage(Nullable`1 userId)
jellyfin-1  |    at lambda_method2233(Closure, Object)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin-1  |    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
jellyfin-1  | [10:49:29] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed
jellyfin-1  | [10:49:29] [INF] [262] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request
jellyfin-1  | [10:49:54] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed
jellyfin-1  | [10:49:55] [INF] [233] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request
jellyfin-1  | [10:49:59] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:917c:db58:6f6e:d440 closed
jellyfin-1  | [10:50:01] [INF] [264] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:917c:db58:6f6e:d440 request
jellyfin-1  | [10:50:01] [ERR] [83] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Could not find file '/config/config/users/Robert Wisböck/profile.png'. URL GET /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | [10:50:06] [ERR] [228] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL DELETE /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary.
jellyfin-1  | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value)
jellyfin-1  |    at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user)
jellyfin-1  |    at Jellyfin.Api.Controllers.ImageController.DeleteUserImage(Nullable`1 userId)
jellyfin-1  |    at lambda_method2233(Closure, Object)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin-1  | --- End of stack trace from previous location ---
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1  |    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin-1  |    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin-1  |    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
jellyfin-1  |    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin-1  |    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
jellyfin-1  | [10:51:07] [INF] [102] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed
jellyfin-1  | [10:51:07] [INF] [239] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request
jellyfin-1  | [10:51:07] [INF] [223] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Finished creation of trickplay files for /servarr_en/movies/The Twilight Saga New Moon (2009)/The Twilight Saga New Moon (2009) [imdbid-tt1259571] - [German DL][Remux-2160p][DV HDR10][DTS-HD MA 5.1][DE+EN][10bit][HEVC]-pmHD.mkv
jellyfin-1  | [10:51:07] [INF] [223] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for /servarr_en/movies/The Italian Job (1969)/The Italian Job (1969) [imdbid-tt0064505] - [Bluray-2160p][HDR10][DTS-HD MA 5.1][10bit][x265]-BeiTai.mkv [ID: 830c9dc0-bfde-b3e7-6e01-71ac94d3ba6d]
jellyfin-1  | [10:51:07] [INF] [223] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 4 -i file:"/servarr_en/movies/The Italian Job (1969)/The Italian Job (1969) [imdbid-tt0064505] - [Bluray-2160p][HDR10][DTS-HD MA 5.1][10bit][x265]-BeiTai.mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 4 -c:v mjpeg -qscale:v 4 -fps_mode passthrough -f image2 "/tmp/jellyfin/2fe7a077c1374065b6e5100375bbc40c/%08d.jpg"

Client / Browser logs

Image

Relevant screenshots or videos

No response

Originally created by @raldone01 on GitHub (Dec 1, 2024). ### Description of the bug 1. I uploaded an image with 30MB which was a mistake. 2. I noticed it but I jellyfin somehow now has a broken image set for the profile. 3. Deleting the image fails with the attached error. 4. The user can no longer login. The account is completely broken. ### What is the current _bug_ behavior? Can't delete the broken profile picture. ### What is the expected _correct_ behavior? Too large profile pictures should be scaled down or rejected. Broken images should be deleteable. I also noticed that profile picture rotation exif data is not respected in the profile overview. ### Jellyfin Server version 10.10.0+ ### Specify the build version 10.10.3 ### Environment ```markdown - OS: Arch - Linux Kernel: `Linux argon 6.11.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:17 +0000 x86_64 GNU/Linux` - Virtualization: docker - Browser: Firefox ``` ### Jellyfin logs ```shell jellyfin-1 | [10:47:02] [ERR] [114] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Request body too large. The max request body size is 30000000 bytes. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | [10:47:27] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed jellyfin-1 | [10:47:27] [INF] [114] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request jellyfin-1 | [10:47:47] [ERR] [246] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property. jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value) jellyfin-1 | at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId) jellyfin-1 | at lambda_method2180(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [10:48:07] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed jellyfin-1 | [10:48:07] [INF] [114] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request jellyfin-1 | [10:48:14] [INF] [114] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed jellyfin-1 | [10:48:14] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request jellyfin-1 | [10:48:31] [INF] [167] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed jellyfin-1 | [10:48:31] [INF] [167] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request jellyfin-1 | [10:48:31] [ERR] [167] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property. jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value) jellyfin-1 | at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId) jellyfin-1 | at lambda_method2180(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [10:48:34] [ERR] [167] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property. jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value) jellyfin-1 | at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.PostUserImage(Nullable`1 userId) jellyfin-1 | at lambda_method2180(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [10:48:38] [ERR] [244] Jellyfin.Drawing.ImageProcessor: Error encoding image jellyfin-1 | System.IO.InvalidDataException: Skia unable to read image /config/config/users/Robert Wisböck/profile.png jellyfin-1 | at Jellyfin.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, DateTime dateModified, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat outputFormat) jellyfin-1 | at Jellyfin.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options) jellyfin-1 | [10:48:44] [ERR] [262] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL DELETE /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property. jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value) jellyfin-1 | at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.DeleteUserImage(Nullable`1 userId) jellyfin-1 | at lambda_method2233(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [10:49:04] [ERR] [262] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL DELETE /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property. jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value) jellyfin-1 | at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.DeleteUserImage(Nullable`1 userId) jellyfin-1 | at lambda_method2233(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [10:49:29] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed jellyfin-1 | [10:49:29] [INF] [262] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request jellyfin-1 | [10:49:54] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed jellyfin-1 | [10:49:55] [INF] [233] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request jellyfin-1 | [10:49:59] [INF] [246] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:917c:db58:6f6e:d440 closed jellyfin-1 | [10:50:01] [INF] [264] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:917c:db58:6f6e:d440 request jellyfin-1 | [10:50:01] [ERR] [83] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Could not find file '/config/config/users/Robert Wisböck/profile.png'. URL GET /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | [10:50:06] [ERR] [228] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL DELETE /Users/788d13f01a4143dba114ace06e0d3859/Images/Primary. jellyfin-1 | System.InvalidOperationException: The property 'ImageInfo.Id' has a temporary value while attempting to change the entity's state to 'Deleted'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property. jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable`1 forceStateWhenUnknownKey, Nullable`1 fallbackState) jellyfin-1 | at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value) jellyfin-1 | at Microsoft.EntityFrameworkCore.DbContext.Remove[TEntity](TEntity entity) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Server.Implementations.Users.UserManager.ClearProfileImageAsync(User user) jellyfin-1 | at Jellyfin.Api.Controllers.ImageController.DeleteUserImage(Nullable`1 userId) jellyfin-1 | at lambda_method2233(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() jellyfin-1 | --- End of stack trace from previous location --- jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [10:51:07] [INF] [102] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b closed jellyfin-1 | [10:51:07] [INF] [239] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 2a02:1748:fafe:d360:957b:b75f:9f3e:254b request jellyfin-1 | [10:51:07] [INF] [223] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Finished creation of trickplay files for /servarr_en/movies/The Twilight Saga New Moon (2009)/The Twilight Saga New Moon (2009) [imdbid-tt1259571] - [German DL][Remux-2160p][DV HDR10][DTS-HD MA 5.1][DE+EN][10bit][HEVC]-pmHD.mkv jellyfin-1 | [10:51:07] [INF] [223] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for /servarr_en/movies/The Italian Job (1969)/The Italian Job (1969) [imdbid-tt0064505] - [Bluray-2160p][HDR10][DTS-HD MA 5.1][10bit][x265]-BeiTai.mkv [ID: 830c9dc0-bfde-b3e7-6e01-71ac94d3ba6d] jellyfin-1 | [10:51:07] [INF] [223] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 4 -i file:"/servarr_en/movies/The Italian Job (1969)/The Italian Job (1969) [imdbid-tt0064505] - [Bluray-2160p][HDR10][DTS-HD MA 5.1][10bit][x265]-BeiTai.mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 4 -c:v mjpeg -qscale:v 4 -fps_mode passthrough -f image2 "/tmp/jellyfin/2fe7a077c1374065b6e5100375bbc40c/%08d.jpg" ``` ### Client / Browser logs ![Image](https://github.com/user-attachments/assets/72f8e03d-299d-4819-be6d-cb4b2f34ff4e) ### Relevant screenshots or videos _No response_
backuprepo added the
confirmed
bug
regression
labels 2025-12-22 04:24:30 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#6534
No description provided.