0
votes

I just upgraded a Sitecore site from version 6.5 to version 7.2.

The site has 1 CMS server and 2 CD servers with standard scalability configuration setting. The CMS server has 3 publishing targets (web_external01 -> CD1, web_external02 -> CD2, staging -> CMS / preview). Media items are stored in database.

After the upgrade, I cannot view the newly upload media items anymore from CD servers after publishing (images, pdfs,etc), but they are displaying properly on the web target.

Scenario :

  1. upload a test.png under Media Library -> publish to 3 publishing targets -> browse to http://cms.xxxxx.com/~/media/test.png -> WORKS !

  2. browse to http://xxxxx.com/~/media/test.png -> Sitecore Document Not found error

Accessing the existing media items (the items that are already exist before upgrade) works.

Anyone has idea what might cause this issue?

1
If you switch to the CD1/CD2 databases in the Sitecore desktop, are the media items there?Martin Davies
Did you run all the required SQL scripts on the web databases as well?jammykam
Do your have separate web databases for CD1, CD2, Preview? If yes then check again your publishing targets. Try publishing content Item I'll bet it will not work on CD's. Check web config or AppConfig/Includes folder (it may be possible the upgrade to overwrite your config), you can do that via cms.SilentTremor
@MartinDavies, Yes the media items are in CD1, CD2 publishing targets after switching targetsalotofnoodles
@jammykam Yes, There is only one SQL script for upgrading 6.5 to 7.2 rev.140526 (from 6.5 to 6.6)alotofnoodles

1 Answers

0
votes

This seems that your media item did not get published to your CD servers.

Please check the following:

  1. Check if the item is found on your external DB for the CD servers.

  2. Scalability setting well setup. For more info about how to setup the scalability setting, you can read my post Sitecore Scalability Setting Configuration

  3. If you are using CDN, check if the image is available when using the CDN link, if not, do an invalidate CDN on the image path

  4. Check your Site definition to see where your site is taking the image, i.e, the media library path