Closed minagim closed 1 week ago
Hi @minagim you will want to use your original 11.2 json configuration file for the upgrade to 11.3. A few modifications are required:
Thanks, Cameron K.
Thanks, Cameron.
I am getting the following error while installing web adaptor for portal.
Invoke-ArcGISConfiguration -ConfigurationParametersFile d:\Install\Scripts\ParksAzure_11_3_BaseDeployment-MultiMachine.json -Mode Upgrade -EnableMSILogging
Trace-DSCJob : 6/23/2024 8:10:36 PM: PowerShell DSC resource ArcGIS_Install failed to execute Set-TargetResource functionality with error message: Failed to Install WebAdaptorIIS-Portal-portal At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob
Trace-DSCJob : 6/23/2024 8:10:36 PM: The SendConfigurationApply function did not succeed. At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob
Logs Directory: C:\Windows\system32\Logs Finished DSC Job:- WebAdaptorUpgrade. Time Taken - 00:00:50.2774322 WebAdaptorUpgrade - Failed Portal WebAdaptors Upgrade Failed At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:2846 char:13
+ CategoryInfo : OperationStopped: (Portal WebAdaptors Upgrade Failed:String) [], RuntimeException
+ FullyQualifiedErrorId : Portal WebAdaptors Upgrade Failed
The following is in the error log. 6/21/2024: PowerShell DSC resource ArcGIS_Install failed to execute Set-TargetResource functionality with error message: Failed to Install WebAdaptorIIS-Portal-portal 6/21/2024: The SendConfigurationApply function did not succeed.
BaseDeployment_11_3_MultiMachine Share.json
Can you give me some guidance on this error?
Thanks,
Mina
Hi @minagim,
Can you check the MSI log for web adaptor? When passing in -EnableMSILogging
it should capture a log of the silent installation that may provide more clues on the failure. By default it gets placed in C:\Windows\Temp.
I assume all the 11.3 Prerequisites are already pre-installed because I did not see them specified in your json config. For example, Web Deploy 3.6 or 4.0, and dot net hosting bundle 8?
If not, you can have the module install them:
Here is a sample of the json: https://github.com/Esri/arcgis-powershell-dsc/blob/4e1ea910cf3c237c378dfcfc1130a296de3c4bcb/SampleConfigs/v4/v4.3.0/Base%20Deployment/BaseDeployment-SingleMachine.json#L194-L197
When those attributes are omitted from the json config it's assumed they are already installed.
Thanks, Cameron K.
The ASP.NET Core Runtime was outdated and updating it resolved the issue and I was able to finish the upgrade. Thanks for the advice, Cameron. I will close the case.
Community Note
Module Version
Affected Resource(s)
Configuration Files
Expected Behavior
Looks like upgrading order matters. Can I use the Base Deployment for multi machine sample script to upgrade from 11.2 to 11.3?
Invoke-ArcGISConfiguration -ConfigurationParametersFile C:\config\BaseDeployment.json -Mode Upgrade -EnableMSILogging
Actual Behavior
Steps to Reproduce
Important Factoids
References