Hi,
I am attempting to perform an in place upgrade from 2.6 to 3.0 by following the instructions found here.
The Hydra Script Template does not appear to have a powershell script body included in it. The step runs successfully but the tentacle on the “canary” machine is not updated, presumably because there is no deployment script to be executed. I see a post deployment script, but shouldn’t there be a deployment script for this step? Am I using the correct Hydra Script Template?
That’s correct, the step is actually based on a Nuget Package step which means it will deploy the package (containing the Hydra exe), then run the PostDeploy script which will run Hydra - scheduling an upgrade for 1min in the future.
You mentioned the update failed. Can you give some more details? If you RDP into the server and have a look at the logs mentioned in the Troubleshooting documentation, it should give you some more information about what could have gone wrong.
That log looks perfect, so it may just be the Tentacle service that hasn’t updated properly.
Open up Services on your Tentacle machine and look for the OctopusDeploy Tentacle service. If you right-click on it and choose Properties, it should show you the “Path to executable”. If you look at the properties of the Tentacle.exe it points to, can you confirm it’s a 3.0.6 version? See the attached screenshot for an example.
If it’s not pointing at a 3.0.6 version, it may be that the service just needs reconfiguring. In Tentacle Manager, click the Reinstall link (instructions here). If you refresh the Services window, the Tentacle exe should hopefully be pointing at the 3.0.6 version then.
Thanks Damo,
The tentacle service was still pointing to 2.6. When I reinstalled, using the tentacle manager, it updated to version 3. Then I removed the “canary” scope and deployed the Hyrda project to the remaining 17 machines. 11 machines downloaded the Hydra package successfully, but did not upgrade the tentacle. Logging into each of those and reinstalling the tentacle, as I had on the “canary” machine, worked fine and upgraded the tentacle version. 4 machines did not indicate failure, but did not download the Hydra package. I downloaded the Hydra msi and manually upgraded each of those. The remaining 3 machines had their tentacle versions successfully updated automatically using the Hydra package.
One thing I noticed was, the servers whose tentacles were successfully updated using the Hydra package are all Win 2012. The others are running Win 2008 r2. I have no idea if that has anything to do with it, but just thought I’d pass that along.
Anyway, things are back up and code is being happily deployed now. Thanks so much for you help.
Thanks for the reply! I’m glad you’re back up and running!
Unfortunately the automatic upgrade is a bit of a best effort and there are a few things that can prevent it working. It’s interesting it didn’t succeed in Windows 2008 - something for us to look at.