We have created a dynamic CT to publish the multimedia components to the structure group that have same relative path as the folders using this example .
Everything works well except when we try to publish images with similar file names, were we get a ‘Committing Deployment Failed’ error.
The log :
Attempting to deploy a binary 78675 to a location where a different binary is already stored Existing binary: 78718:tcm:30-78267-32.
This happens even when the files are in different publications.
This publishing setup is fully on file system.
So investigating further, I found on CDS that the file(image) is also created at
D:\data\binaryvariant\binaryurl apart from the actual website folder. (
D:\data\ is the
defaultstorage path in storage config and websites are at
This file in binaryurl folder is just 1kb and looks like a temporary file. However this is location where I believe I am getting the deploying error.
Strangely if I schedule publishing of all these multimedia components (with similar file names) at a same time, publishing works fine.
Eg. Consider Multimedia Component MM1 with filename
Image.jpg present in Pub A at Building Blocks - Content - Websitecontent.
Publish this Component and it gets published to
Consider another Multimedia component MM2 with same filename
Image.jpg present in Pub B at Building Blocks - Content - Websitecontent.
Publish this Component and it should be published to
D:\Websites\PubB\Websitecontent. But it doesn't and gives the error mentioned above.