Tentacle error after powershell upgrade

octopusdeployAs of version 4 NServiceBus has powershell commandlets to install the infrastructure items like MSMQ, MSDTC and RavenDB. This replaces the /installinfrastructure option.

For this to work I installed powershell v3 on my Windows 2008 R2 machine which comes with powershell v2. This can be done by downloading and installing Windows Management Framework 3.0 found on Microsoft TechNet.

But now my deployments fail on Powershell scripts that used to work. The error message:

Error when attempting to execute powershell.exe: The system cannot find the file specified

Is the tentacle looking in the wrong directory?

The solution is to reinstall the tentacle service.
tentacle.reinstall
After that everything works as before. The reinstall changes nothing in your configuration but just fixes things that are messed up, like a moved powershell executable. 😉

Unknown's avatar

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged , . Bookmark the permalink.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.