Giter VIP home page Giter VIP logo

Comments (4)

cameronkroeker avatar cameronkroeker commented on June 26, 2024

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:

  • Change ConfigData.Version to 11.3
  • Add ConfigData.OldVersion and set to 11.2
  • Update license files to 11.3
  • Update installation files to 11.3
  • Delete original module on orchestrating machine and all target nodes, and replace with latest module v4.30
  • If ConfigData.DownloadSetups is set to true then add ConfigData.Server.Installer.VolumePaths and ConfigData.Portal.Installer.VolumePaths attributes so that will download the .exe.001 files.

Thanks,
Cameron K.

from arcgis-powershell-dsc.

minagim avatar minagim commented on June 26, 2024

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

  • Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • 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

  • Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • 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

  •         throw "Portal WebAdaptors Upgrade Failed"
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • 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

from arcgis-powershell-dsc.

cameronkroeker avatar cameronkroeker commented on June 26, 2024

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?

https://enterprise.arcgis.com/en/system-requirements/latest/windows/arcgis-web-adaptor-system-requirements.htm#ESRI_SECTION1_B79830AA8CCE4FE4AD1E0981E8BAA2D1

Screenshot 2024-06-24 at 2 07 48 PM

If not, you can have the module install them:

https://github.com/Esri/arcgis-powershell-dsc/wiki/v4.3.0-Variables-reference-page-for-JSON-configuration-files

Screenshot 2024-06-24 at 2 04 51 PM

Here is a sample of the json:

"DotnetHostingBundlePath": "[Dotnet Hosting Bundle Installer Path]",
"DotnetHostingBundleDownloadUrl": "[Dotnet Hosting Bundle Installer Download Url]",
"WebDeployPath": "[Web Deploy Installer Path]",
"WebDeployDownloadUrl": "[Web Deploy Installer Download Url]",

When those attributes are omitted from the json config it's assumed they are already installed.

Thanks,
Cameron K.

from arcgis-powershell-dsc.

minagim avatar minagim commented on June 26, 2024

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.

from arcgis-powershell-dsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.