Unable to access recently uploaded images through link

I have…

  • [:white_check_mark:] Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
  • [:white_check_mark:] Used code blocks with ``` to format my code examples like JSON or logs properly.

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • [:white_check_mark: ] Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

Since last 7 days newly uploaded/updated images are not accessible through the slug (link).
e.g. accessing https://squidex_url/api/assets/app-content/655.png via browser
results in

This page isn't working at the moment
<squidex_url> can't currently handle this request.
HTTP ERROR 500

Here is the relevant log

{"type":"SixLabors.ImageSharp.UnknownImageFormatException","message":"Image cannot be loaded. Available decoders:\n - TGA : TgaDecoder\n - BMP : BmpDecoder\n - JPEG : JpegDecoder\n - PNG : PngDecoder\n - GIF : GifDecoder\n","stackTrace":"   at SixLabors.ImageSharp.Image.Load(Configuration configuration, Stream stream, IImageFormat\u0026 format)\n   at Squidex.Infrastructure.Assets.ImageSharp.ImageSharpAssetThumbnailGenerator.\u003C\u003Ec__DisplayClass0_0.\u003CCreateThumbnailAsync\u003Eb__0() in /src/src/Squidex.Infrastructure/Assets/ImageSharp/ImageSharpAssetThumbnailGenerator.cs:line 85\n   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task\u0026 currentTaskSlot, Thread threadPoolThread)\n--- End of stack trace from previous location where exception was thrown ---\n   at Squidex.Areas.Api.Controllers.Assets.AssetContentController.ResizeAsync(IAssetEntity asset, Stream bodyStream, String fileName, ResizeOptions resizeOptions, Boolean overwrite, CancellationToken ct) in /src/src/Squidex/Areas/Api/Controllers/Assets/AssetContentController.cs:line 218\n   at Squidex.Areas.Api.Controllers.Assets.AssetContentController.\u003C\u003Ec__DisplayClass8_0.\u003C\u003CDeliverAssetAsync\u003Eb__0\u003Ed.MoveNext() in /src/src/Squidex/Areas/Api/Controllers/Assets/AssetContentController.cs:line 165\n--- End of stack trace from previous location where exception was thrown ---\n   at Squidex.Web.Pipeline.FileCallbackResultExecutor.ExecuteAsync(ActionContext context, FileCallbackResult result) in /src/src/Squidex.Web/Pipeline/FileCallbackResultExecutor.cs:line 65"}}

Mainly SixLabors.ImageSharp.UnknownImageFormatException is concerning. We have tried different formats. Even the images that worked before are now giving this error.

Expected behavior

Uploaded images are accessible through link.

Minimal reproduction of the problem

  1. Upload the image
  2. Access the image through link

Environment

It’s self-hosted in Kubernetes on Azure (AKS).

App Name:

  • [ :white_check_mark: ] Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Version: 4.5.2.0

Browser:

  • [ :white_check_mark: ] Chrome (desktop)
  • Chrome (Android)
  • Chrome (iOS)
  • Firefox
  • Safari (desktop)
  • Safari (iOS)
  • IE
  • [ :white_check_mark: ] Edge

Others:

I have no idea, perhaps the disk is broken or something like that. But your version is very old and I would probably not make a bugfix for that anyway.

This is a production cluster with thousands of active users, any help would be immensely appreciated.
Let’s say the disk has an issue.
Is there any way to solve this without losing data?

If the disk is really broken you have an issue, but you can verify that this is not the problem by just downloading the image directly from the source and verify its integrity.