Try our conversational search powered by Generative AI!

Content improperly synced between Azure instances

Vote:
 

This might be somewhat of an abstract question but any lead or clue of some sort will be of help.

We have an app service on Azure running 2 instances and when we restart the Azure site then some of EPiServer content is not properly "published" for one of the instances.

What happens is that a few images are missing for most of the markets but only on one of the instances. The images that are missing are somewhat random and they do appear for some of the markets. When we republish the pages (master language) that contains the images then the images reappear for all markets. However restarting the site will, once again, cause images to disappear on one instance.

The EPiServer logs does not indicate that anything went wrong unfortunately. There's also nothing to see in the network traffic other than there isn't any call being made to fetch the missing images (which explains why they are missing on the site).

Do any of you have any lead as to why this might happen or have you had similar issues?

#215834
Edited, Jan 15, 2020 13:41
Vote:
 

Hi Flemming,

Which blob provider you are using for your site?

#215865
Jan 16, 2020 7:48
Vote:
 

Hi Ravindra,

The images are saved in a Blob Container in Azure and are cached using Azure CDN.

#215883
Jan 16, 2020 12:50
Vote:
 

Most probably this seems to be a configuration issue. I am not sure but following link might be helpful or you should contact support for more information

https://github.com/episerver/EPiServer.CdnSupport

Thanks

#216332
Feb 04, 2020 8:22
Vote:
 

Have you confirmed that you have the service bus set up and configured properly as configured here:

https://world.episerver.com/documentation/developer-guides/CMS/Deployment/deployment-scenarios/Deploying-to-Azure-webapps/

#216337
Feb 04, 2020 11:47
Vote:
 

Bumping as the issue has been resolved.

A scheduled job was causing the images to disappear due to a recent change in our code and the following bug: https://world.episerver.com/support/Bug-list/bug/COM-10234

For these reasons an event was not properly triggered which caused the Service Bus to no react. This removed the images from only the instance that was running the job.

The issue was resolved by fixing the code and upgrading EPiServer Commerce to a newer version.

#218240
Edited, Mar 09, 2020 10:08
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.