Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Umbraco - The Xml cache is corrupt. Use the Health Check data integrity dashboard to fix it

I am getting this error after deploying Umbraco website to the shared hosting site.

Couldn't able to find any solution. Tried refreshing App Pool

The Xml cache is corrupt. Use the Health Check data integrity dashboard to fix it.

enter image description here

Please if anyone can help, I am on production server now. Local is running perfectly fine.

like image 243
Khawaja Asim Avatar asked Apr 18 '18 19:04

Khawaja Asim


2 Answers

We've had the same issue recur a few times over the last few weeks, with content editors suddenly unable to preview anything.

  • "Republish entire site" - doesn't work
  • Restarting the site / recycle app pool - doesn't work
  • Deleting Umbraco's cache - doesn't work
  • umbracoUseSSL is already set correctly

What does work, every time: Empty Umbraco's recycle bin!

Can anyone provide some insight as to why that's a solution, or anything we can do about it? How could the recycle bin's contents even be involved in the previewing functionality?


Edit: the issue we were experiencing was fixed in the 7.15.1 update, as mentioned by Steve Megson here:

There was an issue with preview in 7.15.0 (fixed in 7.15.1) which would throw this exception when it failed to generate the preview version of the XML cache

like image 55
Matt Wanchap Avatar answered Sep 30 '22 01:09

Matt Wanchap


Are you able to access the URL "/umbraco/dialogs/republish.aspx?xml=true" on your production server?

I've had this happen in the past on earlier versions of Umbraco, and after running this I have been able to go into the backoffice and address the issues with the XML data integrity.

Outside of this, I echo Robert's point on posting on Our.

like image 31
Mike B Avatar answered Sep 30 '22 01:09

Mike B