Secure Token Server fails on upgrade/install

Version 9

    Verified Product Versions

    Service Desk 7.7.xService Desk 7.8.xService Desk 2016.xAsset Manager 2016.x

    Error message: Configuring Secure Token Server fails during upgrade

    Configuring Secure Token Server fails during install/upgrade of Service Desk. 



    --If you're encountering the error "Configuring Security Token Service certificate" while upgrading to 2016.4 see this document: Upgrade Issue with "Configuring Security Token Service certificate" or "Installing Identity Server"


    The Secure Token Server can fail during the install/upgrade process if the default site in IIS has been modified.




    Currently the Secure Token Server installer does not detect if the site has been changed from "Default Web Site" and assumes it still the original name. The xml file that handles the install can be modified to the correct the issue.


    Solution / Workaround:

    To correct this issue you can leave the installer open at the "Failed to upgrade secure Token Server" screen.

    Open the setup.xml configuration file located at C:\ProgramData\LANDESK\ServiceDesk\Install\x.x.x  (x.x.x will depend on the version of Service Desk you are attempting to upgrade to)

    At the bottom of the xml file locate the section    <Section Name="Configure_SecureTokenServer" State="Failure">

    Now in the <Parameters> section you are going to specify the website your severer is configured to run as.

    Add in the statement --website="servicedesk" between the --mode=install and --stsAppName="STS" where "servicedesk" is your default website and save the file.


    You should end up with something similar to this:

    <Parameters>--mode=install --website="servicedesk" --stsAppName="STS"  --stsDir="C:\Program Files (x86)\LANDESK\SecureTokenServer" --bridgeItDir="C:\Program Files (x86)\LANDESK\BridgeIT" --webdeskDir="C:\Program Files (x86)\LANDESK\Service Desk\WebApp\WebAccess"</Parameters>


    Now on the install window you can press Try Again and the installer will complete.

    If you continue to experience issues please contact your local support representative.