How can we help you today? How can we help you today?

Octopus Tentacle Error - DLM-Automation not installed - Yet it is

Hi,
I have an octopus server set up to deploy to a tentacle on another server and the tentacle is complaining that DLM automation is not installed, which I suppose it isn't as I have now switched to SQL Change Management as requested.  Is there anything I need to change now the DLM Automation tools have moved to a new path?

The process worked before I changed to SQL Change Management.

cheers,
Anthony
Ant
0

Comments

7 comments

  • PeterG
    Hi Anthony,

    Sorry about that. We are currently working on a fix to the step templates that will address this issue. In the mean time you can modify the step template by going to Library > Step Templates and selecting our template for edit. Then replace the following line
    $dlmAutomationModule = Get-Module -ListAvailable -Name DLMAutomation

    with

    $dlmAutomationModule = Get-Module -ListAvailable -Name SQLChangeAutomation
    PeterG
    0
  • Ant
    Yep I eventualy found this, I also need to change the 
    Import-Module DLMAutomation
    to SQLChangeAutomation
    Ant
    0
  • Ant
    Is there any way to change the template without ceating a copy?
    Ant
    0
  • PeterG
    As it stands no. I was remembering this from an older version of Octopus.

    Aplogies.
    PeterG
    0
  • Ant
    I found a way to do it. 
    Update [dbo].[ActionTemplate]
    SET json = REPLACE (REPLACE([JSON],'Import-Module DLMAutomation','Import-Module SQLChangeManagement'),'Get-Module -ListAvailable -Name DLMAutomation','Get-Module -ListAvailable -Name SQLChangeManagement')
    where [Id] = 'ActionTemplates-1'
    Ant
    0
  • PeterG
    That's great to hear. Hope it all works for you now.
    PeterG
    0
  • Ant
    Actual changes required are :
    Update [dbo].[DeploymentProcess]
    SET json = REPLACE (REPLACE(REPLACE([JSON],'Cannot find DLM Automation','Cannot find SQL Change Management'),'Import-Module DLMAutomation','Import-Module SqlChangeAutomation'),'Get-Module -ListAvailable -Name DLMAutomation','Get-Module -ListAvailable -Name SqlChangeAutomation')
    where [Id] = 'deploymentprocess-Projects-1'
    Update [dbo].[ActionTemplate]
    SET json = REPLACE (REPLACE(REPLACE([JSON],'Cannot find DLM Automation','Cannot find SQL Change Automation'),'Import-Module DLMAutomation','Import-Module SQLChangeAutomation'),'Get-Module -ListAvailable -Name DLMAutomation','Get-Module -ListAvailable -Name SQLChangeAutomation')
    where [Id] = 'ActionTemplates-1'
    Ant
    0

Add comment

Please sign in to leave a comment.