Configuration in config files, registry, ... => cleanup

Jan V's Avatar

Jan V

06 Jan, 2017 12:33 PM

Version: 3.latest @ 2017/01/06

I have the following combination of settings on a Tentacle:
HKEY_LOCAL_MACHINE\SOFTWARE\Octopus -> Tentacle.Deployment.ApplicationDirectory :C:\Octopus\Applications

HKEY_LOCAL_MACHINE\SOFTWARE\Octopus\Tentacle\Tentacle -> ConfigurationFilePath : C:\Octopus\Tentacle\Tentacle.config

Config file "C:\Octopus\Tentacle\Tentacle.config":
<set key="Tentacle.Deployment.ApplicationDirectory">E:\Octopus\Applications</set>

What takes precedence? Registry or config file?

  1. Support Staff 1 Posted by Dalmiro Grañas on 06 Jan, 2017 04:42 PM

    Dalmiro Grañas's Avatar

    Hi Jan,

    Thanks for reaching out! The one you should pay attention to is the one on the Config file. Those values you see on the Manager in your screenshot come straight from the config file and not from the registry.

    Octopus only uses the registry for 2 things:

    • Figuring out where the Octopus Server/Tentacle binaries where installed. You can find that on the InstallLocation key.

    • Figuring out where the config file for a specific instance was dropped. This is what the ConfigurationFile key is for.

    I searched in 3 of my Octopus lab instances, and in none of them I could find a key called Tentacle.Deployment.ApplicationDirectory under HKEY_LOCAL_MACHINE\SOFTWARE\Octopus. I'm wondering if perhaps that was created in an (way) older version of Octopus like 2.6 or something like that? In any case, the one that matters is the config file :)

    Hope that helps!

  2. 2 Posted by Jan V on 06 Jan, 2017 05:47 PM

    Jan V's Avatar


    Thank you for the clarification.

    I can confirm your hunch about 2.6.
    I upgraded our tentacles from 2.6 to 3.<latest> yesterday and saw remnants of Octopus installations on the C and E drives that made me wonder...



Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • octo1.png 5.54 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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