Hi
On our deployment targets, we’ve noticed that the C:\Octopus\Upgrade folder is growing quite significantly. Each day a few folders are added which are each just under 500MB.
There is an install log in each folder where it appears that the upgrade was attempted but failed:
Octopus.Tentacle.Upgrader 6.1.670 started…
Octopus upgrader version 6.1.670.0
Current directory: C:\Octopus\Upgrade\20210621231938-54M8H
Arguments:
[0] = “OctopusDeploy Tentacle”
[1] = “C:\Octopus\Upgrade\20210621231938-54M8H\Octopus.Tentacle.msi”
[2] = “C:\Octopus\Upgrade\20210621231938-54M8H\Octopus.Tentacle-x64.msi”
Upgrade mutex acquired
Stopping Tentacle services
Stopping service: OctopusDeploy Tentacle
Stopping service…
Waiting for service to stop. Current status: StopPending
Waiting for service to stop. Current status: Stopped
Service stopped
Starting MSI installer
Running MSIEXEC on MSI: C:\Octopus\Upgrade\20210621231938-54M8H\Octopus.Tentacle-x64.msi, output will go to: UpgradeLog-MsiExec-0c45447a-3bab-4d90-a6ff-c361ae3a62c5.txt
MSIEXEC exit code was: 1603
Tentacle upgrade attempt #1 faulted, retrying in 00:00:01
Running MSIEXEC on MSI: C:\Octopus\Upgrade\20210621231938-54M8H\Octopus.Tentacle-x64.msi, output will go to: UpgradeLog-MsiExec-0c45447a-3bab-4d90-a6ff-c361ae3a62c5-1.txt
MSIEXEC exit code was: 1603
Tentacle upgrade attempt #2 faulted, retrying in 00:00:01
Running MSIEXEC on MSI: C:\Octopus\Upgrade\20210621231938-54M8H\Octopus.Tentacle-x64.msi, output will go to: UpgradeLog-MsiExec-0c45447a-3bab-4d90-a6ff-c361ae3a62c5-2.txt
MSIEXEC exit code was: 1603
Tentacle upgrade attempt #3 faulted, retrying in 00:00:01
Running MSIEXEC on MSI: C:\Octopus\Upgrade\20210621231938-54M8H\Octopus.Tentacle-x64.msi, output will go to: UpgradeLog-MsiExec-0c45447a-3bab-4d90-a6ff-c361ae3a62c5-3.txt
MSIEXEC exit code was: 1603
Tentacle upgrade attempt #4 faulted, retrying in 00:00:01
Running MSIEXEC on MSI: C:\Octopus\Upgrade\20210621231938-54M8H\Octopus.Tentacle-x64.msi, output will go to: UpgradeLog-MsiExec-0c45447a-3bab-4d90-a6ff-c361ae3a62c5-4.txt
MSIEXEC exit code was: 1603
Tentacle upgrade attempt #5 faulted, retrying in 00:00:01
Tentacle upgrade failed. This may be due to a pending reboot of this server.
Starting: OctopusDeploy Tentacle
Waiting for service to start. Current status: StartPending
Waiting for service to start. Current status: Running
Service started
The corresponding MSI logs had this:
MSI (s) (78:24) [01:21:20:938]: Product: Octopus Deploy Tentacle – Error 1714. The older version of Octopus Deploy Tentacle cannot be removed. Contact your technical support group. System Error 1612.
On one server this grew so much it consumed nearly all available hard disk space.
How do we stop this from happening? Should a failed tentacle upgrade not clean up all files (possibly excluding the log files)?
Thanks
Guy