I found the answer to my problem. I am trying to set up a service running quartz.net and it seems that it seems like setting quartz that's causing the problem based on some weird security settings.
Octopus deploy hangs when trying to install TopShelf app
-
29-03-2022 - |
Question
I have an service where we use TopShelf. Now I would like to install the service with Octopusdeploy but I can't get it to work. The tentacle seems to hang when I'm trying to start the service. The Deploy.ps1 looks like:
$cmd = "$OctopusPackageDirectoryPath" + "\NameOfExe.exe"
& $cmd "stop"
& $cmd "uninstall"
& $cmd "install"
& $cmd "start"
It works just fine to execut that powershell script in powershell, but the tentacle gets stuck on the last step. I can see in the log that the service is stopped, uninstalled and installed but it hangs on start.
Any recommendations?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow