cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

activegate install failing

Don
Newcomer

Getting this error when trying to run the installer on a AG Windows VM

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://{environmentid}.live.dynatrace.com/api/v1/deployment/installer/gateway/windows/latest?arch=x86' -Headers @{ 'Authorization' = 'Api-Token dt0c01.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' } -OutFile 'Dynatrace-ActiveGate-Windows-x86-1.287.31.exe'.\Dynatrace-ActiveGate-Windows-x86-1.287.31.exe : The term '.\Dynatrace-ActiveGate-Windows-x86-1.287.31.exe' is not 
recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if 
a path was included, verify that the path is correct and try again.
At C:\Packages\Plugins\Microsoft.CPlat.Core.RunCommandWindows\1.1.18\Downloads\script12.ps1:2 char:1
+ .\Dynatrace-ActiveGate-Windows-x86-1.287.31.exe
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\Dynatrace-Act...86-1.287.31.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException 

 

3 REPLIES 3

rastislav_danis
DynaMight Pro
DynaMight Pro

Any chance, that mentioned version was not yet on server ? Have you tried to download installer via gui?

Btw: i suggest to clear token in your post.

Alanata a.s.

Miguel_RinconG
Dynatrace Advisor
Dynatrace Advisor

Hi @Don ,

 

The command for download is:

 

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://{environmentid}.live.dynatrace.com/api/v1/deployment/installer/gateway/windows/latest?arch=x86' -Headers @{ 'Authorization' = 'Api-Token ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••' } -OutFile 'Dynatrace-ActiveGate-Windows-x86-version.exe'

 

Then you can run:

 

.\Dynatrace-ActiveGate-Windows-x86-version.exe

 

 

the problem is this part:

Miguel_RinconG_1-1712324851426.png

 

 

Miguel_RinconG
Dynatrace Advisor
Dynatrace Advisor

Hi @Don ,

The problem is in this part:

Miguel_RinconG_2-1712325407815.png

Download installer first:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://{environmentid}.live.dynatrace.com/api/v1/deployment/installer/gateway/windows/latest?arch=x86' -Headers @{ 'Authorization' = 'Api-Token dt0c01.***.************' } -OutFile 'Dynatrace-ActiveGate-Windows-x86-1.287.31.exe'

Then you can run the installer:

.\Dynatrace-ActiveGate-Windows-x86-1.287.31.exe

 

 

 

 

 

Featured Posts