Now, on another instance we have the same assets in same locations. We also transfer the newly created contend in /var/dam/share to the second instance. The second instance runs on port 4503. Then we try the same generated link with modified port number, or:
The link works and we see the list of assets on the second instance but they have no thumbnails generated. Opening the link or trying to open or download asset does not work and results in an error in the error.log of the sort:
com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.
Our question is then is it possible at all to transfer the link share from one instance to another and if so is there something else we are missing.
This is not the designed behavior. Linkshare URL is pre-authenticated for a particular instance and should not be used for a different instance as per error at . Replicating /var/dam/share is a hack that should not be used.
What is the usecase for transferring the linshare generated from one instance to another?
 19.06.2019 20:49:52.196 *ERROR* [0:0:0:0:0:0:0:1  GET /libs/dam/gui/content/assets/assetlinkshare.html/content/dam/we-retail/en/activities/hiking/hiking_4.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.