Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Adriano Fabri 469 posts 1633 karma points
    Jun 06, 2024 @ 21:25
    Adriano Fabri
    0

    URGENT: mediacache not work properly after upgrade from 11.5.0 to 12.3.10

    Hi, I have an urgent problem with media.

    After upgrade a website from v11.5.0 to 12.3.10, not all media are showed in media folder (grid view)

    Example:

    enter image description here

    Other media folder, instead, display correctly the images and other folders, display only some images (if I one the single image, I see the image correctly).

    Other problem is that if I upload new files, the image is loaded correctly but mediacache not update and I don't see the new image in grid view. This problem also affects the content because the images are not displayed even with the mediapicker

    Example:

    enter image description here

    There is a way to force rebuild of mediacache?

    I have this configuration: Umbraco v12.3.10 SixLabors.ImageSharp v3.1.4 SixLabors.ImageSharp.Web v3.0.1 (if I try to update this to v3.1.2, GetCropUrl() does not work anymore and throw an exception)

    Thank you Adriano

  • Adriano Fabri 469 posts 1633 karma points
    Jun 07, 2024 @ 08:26
    Adriano Fabri
    101

    Hi to all, After many attempts, I finally found the solution this morning by performing the following steps:

    • I uninstalled the ImageSharp update
    • I republished the project with Visual Studio 2022
    • I restored permissions to the entire site folder in the File System
    • I reloaded the memory cache and rebuilt the database cache
    • I refreshed the status
    • I republished the entire site in the content section

    I hope this post can help anyone who has encountered the same problem.

    Have a nice day Adriano

Please Sign in or register to post replies

Write your reply to:

Draft