Web Farm Sync issue

Vishal Bhatt asked on February 4, 2025 07:59

I have the Kentico 13 application below is the URL format of the application. I recently updated the version to the latest 13.0.173 after that my media files sync is not working when i am uploading a new media file. I have set the Web farm to Automatic and previously it was working fine.

Below are the examples of my site URL

Live Site 1 - Test.com

Admin - test.com/admin (Admin)

Live Site 2 - test2.com

Admin - test2.com/admin (Admin)

Note: I am using the single CMS admin application for both Site Admin Panel.

Error in web farm task is below

Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'CMS.MediaLibrary.UpdateMediaWebFarmTask' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List

Correct Answer

Juraj Ondrus answered on February 4, 2025 09:32

Was the backup rolled back and then applied hotfix again? I would maybe try clearing the data in the CMS_WebFarmTask table and then restart all web farm servers.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on February 4, 2025 08:15

How is the admin app configured in the IIS? From the URL format it seems that the app is nested underneath the live site app. This is not supported. The apps must be running side-by-side!
Although this should not be the cause of the issue, it can cause issues with page builder and others. I would recommend to host the admin app in a separate site and then just use the /admin redirect on the live site to the admin site.
The error you are getting - I would recommend restoring backups and following the hotfix instructions closely, as it looks like the hotfix was not applied correctly. Including the steps after the hotfix was applied and additional notes.
It seems that some data in the DB were not updated.

0 votesVote for this answer Mark as a Correct answer

Vishal Bhatt answered on February 4, 2025 09:15

Hello, @Juraj thanks for your response i have checked and set up the application separately in my local IIS and applied the hotfix. But still, the sync is not working.

0 votesVote for this answer Mark as a Correct answer

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