Unable to start Octopus deploy service in windows -Error 1053

After rebooting the server, we tried to start the Octopus service, but it’s not starting and throwing an error:

"The service did not respond to the start or control request in a timely fashion. "

In the event log, we found the following error:

Description: A .NET Core application failed.
Application: Octopus.Server.exe
Path: D:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe
Message: A fatal error was encountered. The library ‘hostpolicy.dll’ required to execute the application was not found in ‘C:\Program Files\dotnet’.
Failed to run as a self-contained app.

The application was run as a self-contained app because ‘D:\Program Files\Octopus Deploy\Octopus\Octopus.Server.runtimeconfig.json’ did not specify a framework.
If this should be a framework-dependent app, specify the appropriate framework in ‘D:\Program Files\Octopus Deploy\Octopus\Octopus.Server.runtimeconfig.json’.

Installed Octopus version :20201.1

Here is the content of the Octopus.Server.runtimeconfig.json file:

{
“runtimeOptions”: {
“tfm”: “netcoreapp3.1”,
“includedFrameworks”: [
{
“name”: “Microsoft.NETCore.App”,
“version”: “3.1.1”
},
{
“name”: “Microsoft.AspNetCore.App”,
“version”: “3.1.1”
}
]
}
}

The mentioned dotnet versions are installed in the servers.

After re-installing the dotnet versions getting below error while restarting the service

event view error: Description: A .NET Core application failed. Application: Octopus.Server.exe Path: D:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe Message: Error: An assembly specified in the application dependencies manifest (Octopus.Server.deps.json) was not found: package: ‘AWSSDK.Core’, version: ‘3.3.104.32’ path: ‘lib/netstandard2.0/AWSSDK.Core.dll’

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.