Esri / arcgis-powershell-dsc

This repository contains scripts, code and samples for automating the install and configuration of ArcGIS (Enterprise and Desktop) using Microsoft Windows PowerShell DSC (Desired State Configuration).
Apache License 2.0
113 stars 61 forks source link

4.2.0: WebAdaptor not upgraded or not installed #505

Closed Biboba closed 10 months ago

Biboba commented 10 months ago

Community Note

Module Version

Affected Resource(s)

Configuration Files

MapsStbDeploymentAnonymous_11_2.txt

Expected Behavior

Portal and Server WebAdaptor should be upgraded.

Actual Behavior

Portal and Server WebAdaptor remain at 11.1.

Steps to Reproduce

Run the configure file above with the flag " -Mode Upgrade"

Important Factoids

I carrefully read the new webadaptor format change available here and hope I did not miss anything: https://github.com/Esri/arcgis-powershell-dsc/wiki/ArcGIS-Web-Adaptor-Node-Configuration

In the upgrade process logs, there is no mention of the WebAdaptor as if it had been completely discarded. WebAdaptor resources was never invoked.

Thanks !

Biboba commented 10 months ago

My webadaptor configuration must be somehow wrong because even after having manually uninstalled the 11.1 webadaptors and running once again the configuration, 11.2 webadaptors are not installed.

In the log, I have the following:

24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Set      ]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]ServerInstall]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]ServerInstall]
24.11.2023 17:20:14: [PORTAL01]:                            [[ArcGIS_Install]ServerInstall] Installed Version 11.2.49116
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_Install]ServerInstall]  in 0.2260 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Skip   Set      ]  [[ArcGIS_Install]ServerInstall]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_Install]ServerInstall]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_InstallPatch]ServerInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_InstallPatch]ServerInstallPatch]
24.11.2023 17:20:14: [PORTAL01]:                            [[ArcGIS_InstallPatch]ServerInstallPatch] Installed Version 11.2.49116
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_InstallPatch]ServerInstallPatch]  in 0.0490 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Skip   Set      ]  [[ArcGIS_InstallPatch]ServerInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_InstallPatch]ServerInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]PortalInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]PortalInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]:                            [[ArcGIS_Install]PortalInstallmapsportalstb03] Installed Version 11.2.49116 11.2.49116
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_Install]PortalInstallmapsportalstb03]  in 0.0150 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Skip   Set      ]  [[ArcGIS_Install]PortalInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_Install]PortalInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]WebStylesInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]WebStylesInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]:                            [[ArcGIS_Install]WebStylesInstallmapsportalstb03] Installed Version 11.2.49116
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_Install]WebStylesInstallmapsportalstb03]  in 0.0070 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Skip   Set      ]  [[ArcGIS_Install]WebStylesInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_Install]WebStylesInstallmapsportalstb03]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_InstallPatch]PortalInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_InstallPatch]PortalInstallPatch]
24.11.2023 17:20:14: [PORTAL01]:                            [[ArcGIS_InstallPatch]PortalInstallPatch] Installed Version 11.2.49116 11.2.49116
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_InstallPatch]PortalInstallPatch]  in 0.0110 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Skip   Set      ]  [[ArcGIS_InstallPatch]PortalInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_InstallPatch]PortalInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]DataStoreInstall]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]DataStoreInstall]
24.11.2023 17:20:14: [PORTAL01]:                            [[ArcGIS_Install]DataStoreInstall] Installed Version 11.2.49116
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_Install]DataStoreInstall]  in 0.0530 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Skip   Set      ]  [[ArcGIS_Install]DataStoreInstall]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_Install]DataStoreInstall]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_InstallPatch]DataStoreInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_InstallPatch]DataStoreInstallPatch]
24.11.2023 17:20:14: [PORTAL01]:                            [[ArcGIS_InstallPatch]DataStoreInstallPatch] Installed Version 11.2.49116
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_InstallPatch]DataStoreInstallPatch]  in 0.0120 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Skip   Set      ]  [[ArcGIS_InstallPatch]DataStoreInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_InstallPatch]DataStoreInstallPatch]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Resource ]  [[ArcGIS_InstallPatch]WebAdaptorIIS-InstallPatches]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Test     ]  [[ArcGIS_InstallPatch]WebAdaptorIIS-InstallPatches]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Test     ]  [[ArcGIS_InstallPatch]WebAdaptorIIS-InstallPatches]  in 0.0050 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ Start  Set      ]  [[ArcGIS_InstallPatch]WebAdaptorIIS-InstallPatches]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Set      ]  [[ArcGIS_InstallPatch]WebAdaptorIIS-InstallPatches]  in 0.0090 seconds.
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Resource ]  [[ArcGIS_InstallPatch]WebAdaptorIIS-InstallPatches]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Set      ]
24.11.2023 17:20:14: [PORTAL01]: LCM:  [ End    Set      ]    in  0.8870 seconds.
24.11.2023 17:20:14: L’opération « Invoquer une méthode CIM » est terminée.

It mentions webadaptor patches (WebAdaptorIIS-InstallPatches) but not WebAdaptorIIS-Install.

Apologize in advance if I missed anything obvious !

Biboba commented 10 months ago

OK, my bad. I updated the library without reloading Powershell GUI... Sorry for the noise