0

We are using sitecore ship package for doing smart publish. We are calling the smart publish post method from octopus. But Its not working. Not seeing any errors in the sitecore logs.

I analyzed the issue and noticed its calling the publish smart method. Sitecore publish smart handle is getting completed successfully. But still i don't see the items getting published. Is there any know issue with the PublishSmart method.

Since we are not passing the rootitem to this method, what item it will take its a root item?

We are using sitecore version 8.1 .

1

Smart publishing works in next way: It comes through all items in master database and compare "revision" field of item in web and master databases. If revision is different then item should be published. Otherwise publish of item should not happen.

I suggest you to compare revision field(turn on checkbox "Standard Fields", Statistics section, Revision field) on items that you think should be published. If revision is the same then there is something wrong with creation of package, you have same revisions. You need to figure out how package is created and why you get same revisions.

If revisions are different, but you still have the issue: try to change any item and make Smart publishing. May be smart publishing doesn't work on your environment at all. And Sitecore.Ship and package is not a problem.

2
  • Thanks. I created new item modified the revision, also updated its fields but still its not working. Smart publishing through sitecore ui is working fine. But when we calling SmartPublish method in post request, its not publishing the items as expected. Its sending back status like publish job is done but it not moving the item from master to web database.
    – Sundar Ram
    Apr 26 '19 at 20:01
  • Can you update question with details how you "are calling the smart publish post method from octopus"? I assume that there is something wrong with it.
    – Anton
    May 3 '19 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.