"Publish Related Items" Not working with Sitecore Publishing Service

I am running Sitecore 9.3 and installed SPS and here is the problem if I create/upload media item in SItecore and reference that media to any of content item Image field.


Now if I am publishing that item with checkbox checked "Publish Related Item" in SPS it is not publishing Image item.


Does anyone had similar issue or anyone can help on the same?

  • In reply to Christoph Brunner:

    Christoph Brunner (ChristophBrunner_570788835)  - I finally found the solution for this - so in my case set up was wrong and I got below steps from Sitecore -

    I have checked the PS log files and noticed that the service was down:

    2020-08-07 14:27:53.470 +00:00 [Information] Service Version : "4.2.0"

    2020-08-07 14:27:54.126 +00:00 [Information] Environment type : "Production"

    2020-08-07 14:27:54.126 +00:00 [Information] Log Level Filter : "Default" => Warning

    2020-08-07 14:27:54.126 +00:00 [Information] Log Level Filter : "Microsoft" => Warning

    2020-08-07 14:27:54.142 +00:00 [Information] Log Level Filter : "Sitecore" => Information

    2020-08-07 14:27:54.142 +00:00 [Information] Instance name :2020-08-07 14:27:57.251 +00:00 [Error] Health check "database schema check" completed after 1131.0474ms with status Unhealthy and '"Invalid schema version installed. Upgrade from version 0 to 1

    Please run the 'Sitecore.Framework.Publishing.Host.exe schema upgrade' command to upgrade"'

    2020-08-07 14:27:57.267 +00:00 [Error] One or more health checks failed during startup

    System.InvalidOperationException: Operation is not valid due to the current state of the object.

    2020-08-07 14:27:57.267 +00:00 [Warning] Service is shutting down..

    I double-checked it via the status page(https://hostname/api/publishing/operations/status) and indeed it was down.

    Note: If you receive a value of { "status" : 0 }, the application is

    installed correctly. If you receive any other value, check the application logs for further


    I have tried to force update schemas and it didn't work.

    So I reset them via the following command: .\Sitecore.Framework.Publishing.Host schema reset –-force

    More about command itself in the "3.5.3 Reset" section of the Installation Guide.