Missing images after patching Kentico

Mike Livingston asked on October 7, 2025 19:51

We recently patched Kentico from 13.0.133 to 13.0.193 (https://devnet.kentico.com/download/hotfixes) as well as updated the Kentico nuget packages to 13.0.193. We're using MVC methodology with the app being .NET 8.0 and Azure App Service/Azure SQL for hosting.

After the patching, we ran a crawler against stage to see if there were any 404s caused by the upgrade/clean-up effort... and there were some images missing. This seems to be where users have entered images inline, rather than using a component (which forces the URL to be relative).

An example is: 'src="/getattachment/cc677e39-a856-40b4-9b57-793bed2978ef/name-of-image-1.jpg"'

The URLs DO NOT work when trying to get them from www.{{OurSite}}.com, but they do work when trying to get them from cms.{{OurSite}}.com which is our Kentico admin. (we also cleared the cache on both to make sure, and it doesn't work on www.{{OurSite}}.com when the cache is cleared, but it does continue to work on cms.{{OurSite}}.com). So, the files are not gone, but maybe the URL just has to change to a different method or something.

We'd like to figure out the cause rather than implementing a hacky method of injecting "cms.{{OurSite}}.com" into every path when the image locations are rendered. (e.g cms.{{OurSite}}.com/getattachment/cc677e39-a856-40b4-9b57-793bed2978ef/name-of-image1.jpg)

Any help would be appreciated.

Recent Answers


Juraj Ondrus answered on October 8, 2025 05:09

What was the hotfixing process - please describe all the steps and actions you did. I would say this is a coincidence as the hotfix is not changing this. There must have been changed something else. Are you able to reproduce the issue consistently at will after you restore the backups and apply the hotfix following all the instructions to the point? Including the additional notes. How was the hotfixed project deployed to Azure. How was the hotfix SQL script applied on Azure SQL?

Where are the files stored? Are you storing files in the DB or in the file system? IF on file system, are the files present in the front end app's file system?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.