Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
300 stars 116 forks source link

ArcGIS Enterprise recipe fails at extracting the setups of ArcGIS Enterprise components #313

Closed Ayushyadav19 closed 2 years ago

Ayushyadav19 commented 2 years ago

Hi,

We are using the recommended version (16.16.13) of cinc-client to deploy ArcGIS Enterprise version 10.9.1 and it fails at extracting the ArcGIS enterprise components setups. We are using the _setuparchive key in our role files. We have encountered this error several times.

Kindly help us in resolving the issue.

Any help will be highly appreciated.

cameronkroeker commented 2 years ago

Hi,

We are using the recommended version (16.16.13) of cinc-client to deploy ArcGIS Enterprise version 10.9.1 and it fails at extracting the ArcGIS enterprise components setups. We are using the _setuparchive key in our role files. We have encountered this error several times.

Kindly help us in resolving the issue.

Any help will be highly appreciated.

Hi @Ayushyadav19,

Could you provide the error message, and/or chef run logs? Also, if possible your json file as well (scrub out sensitive information such as passwords, usernames, and machine names).

Thanks, Cameron K.

Ayushyadav19 commented 2 years ago

Hi @cameronkroeker,

The script fails at extracting Portal web styles setup. Please find the error log messages for the same below in the screenshot.:-

Capture

Please find the JSON file in the below screesnshot.

image image image image

Let me know if anything else required

cameronkroeker commented 2 years ago

Hi @Ayushyadav19,

Thanks for provided those additional details. Looks like the "webstyles": { } is embedded inside the "portal": {}attribute bracket. Lets move it outside into its own. For example:

"arcgis":  {
   "version": "10.9.1",
   "server": {
      "setup_archive": ""
   },
   "portal": {
      "setup_archive": ""
   },
   "webstyles": {
      "setup_archive": ""
   },
   "repository": {
      "patches": ""
   }
},
"run_list": [

]

Thanks, Cameron K.

cameronkroeker commented 2 years ago

Hi @Ayushyadav19,

I just wanted to follow up, did the suggestion above help resolve the issue with ArcGIS WebStyles not extracting?

Thanks, Cameron K.

Ayushyadav19 commented 2 years ago

Hi @cameronkroeker,

Sorry, I missed your reply, I will try the steps that you can have recommended and will let you know soon.

Thanks Ayush

Ayushyadav19 commented 2 years ago

Hi @cameronkroeker,

I followed the same procedure you recommended moving webstyles outside the portal and it worked for us.

Thanks for the help. I really appreciated it. You can go ahead and mark this case as closed

Thanks Ayush