Hi there,
I'm currently having some trouble with a site we build in Umbraco 7.3.4.
The logs are currently flooded with this message:
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 108450 from Examine index, reverting to looking up media via legacy library.GetMedia method
*media ID changes for every line
It has a lot of images in a specific folder within the Media section.
So far, I've located the node which is using a certain mediaID (I pick one from the logfile). The media items is present on that content-node.
It also exists within the Media section, and all files are in place.
At this point, I'm out of idea's. The only thing I can think of, is a timeout occuring when the indexer is trying to retrieve media items. And therefore doesn't include these items in the index.
I've rebuild the indexes (even excluded the images in the indexes), but the logs keep filling up.
I have some code here. It's from on of the pages which should get the images that are mentioned in the logfiles.
(disclaimer: it's old, and made by an ex-colleague :D )
Could not retrieve media 0000 from Examine index
Hi there, I'm currently having some trouble with a site we build in Umbraco 7.3.4.
The logs are currently flooded with this message:
*media ID changes for every line
It has a lot of images in a specific folder within the Media section.
So far, I've located the node which is using a certain mediaID (I pick one from the logfile). The media items is present on that content-node. It also exists within the Media section, and all files are in place.
At this point, I'm out of idea's. The only thing I can think of, is a timeout occuring when the indexer is trying to retrieve media items. And therefore doesn't include these items in the index.
What could cause this? Has anybody any idea?
Hi Jeroen
Di you try to rebuild examine indexes? How do you render images? Can you show the code?
Alex
Hi Alex,
I've rebuild the indexes (even excluded the images in the indexes), but the logs keep filling up.
I have some code here. It's from on of the pages which should get the images that are mentioned in the logfiles. (disclaimer: it's old, and made by an ex-colleague :D )
is working on a reply...