Copied to clipboard

Flag this post as spam?

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


  • Marco Teodoro 74 posts 149 karma points c-trib
    Jun 21, 2023 @ 17:59
    Marco Teodoro
    0

    Database cache is NOT ok

    Hi Community. We've recently deployed a big website and can't get the database cache refreshed. I can replicate this on my dev setup with one backup from the live SQL server.

    Published Cache Status Screenshot

    After clicking on the btn the same message cames back the same. On azure I got a timeout exception. did anyone had a similar problem? btw I'm on version 10.4.2

  • Jonas Peterson 1 post 71 karma points notactivated
    Dec 06, 2024 @ 09:43
    Jonas Peterson
    0

    I have the same problem on Umbraco version 9.5.4. I have emptied the recycle bin, where there were some problems in deserializing data but got around that. There are no errors in the logs just a similar response in Published Cache Status.

  • Marco Teodoro 74 posts 149 karma points c-trib
    Dec 06, 2024 @ 10:26
    Marco Teodoro
    0

    Hi Jonas,

    I wanted to share some information about a specific issue we encountered. The website was storing a large amount of JSON data as property information in Umbraco. The client was using Umbraco in a way it wasn't originally designed for, which often leads to challenges.

    I recommended that the client remove the JSON data from Umbraco and instead utilize custom tables or an alternative storage solution. The JSON was exclusively used to import data that would later be exposed as API data and did not relate to standard CMS pages.

    To identify the specific node or document type causing the issue, I manually deleted entries. Before doing that, I searched for properties of type 'ntext' and ordered them by size in SQL. This process helped pinpoint the particular node(s) that, when removed, allowed the cache to function correctly again. Additionally, reducing the number of versions stored might also alleviate some of the issues.

    It's important to thoroughly investigate the data to understand the source of the error, and that’s the approach I took. I also cloned the Umbraco repository and the specific version I was using, then debugged it with that database to understand the exact query or code block where it was failing. I hope this information is helpful to you.

Please Sign in or register to post replies

Write your reply to:

Draft