Duplicate Variables warning - Built in step template

JoeBurnside's Avatar


14 Sep, 2017 08:41 AM

We have encountered a warning message that seem to have come from nowhere.

While using the built in Octopus step "Acquire Package" we are suddenly getting the warning
You have a duplicate variable 'Octopus.Tentacle.CurrentDeployment.PackageFilePath' between the Step Template used in the 'Acquire Package' step and your Project or Variable Sets in use. Be aware that the latter will prevail over the values entered on the step.

There are no variables named "PackageFilePath" used anywhere within the project and this seems to have popped up between two deployments an hour and a half apart with no significant code changes or any changes to the Project process. The verbose logs offer no clues as the only difference between them is that this warning appears.

While this originally caused the process to fail, a workaround was found and the project now deploys correctly. However this warning still shows on every deployment made afterwards.

Any ideas on what may have suddenly caused this warning to appear?

  1. 1 Posted by JoeBurnside on 14 Sep, 2017 09:06 AM

    JoeBurnside's Avatar

    This has now been resolved. The role set to the offline drop location was also set on the Cloud region causing a duplicate variable.

  2. Support Staff 2 Posted by Alex Rolley on 15 Sep, 2017 04:01 AM

    Alex Rolley's Avatar

    Hi Joe,

    Thanks for getting in touch!

    I'm glad to hear that you resolved your issue, please let us know if there is anything else we can assist with! In case you missed it in the release notes if you encounter this in future and it is the result of a deliberate choice you can suppress these warnings by setting OctopusSuppressDuplicateVariableWarning to TRUE as a project variable.

    Happy deploying!



  3. Paul Stovell closed this discussion on 19 Dec, 2017 08:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac