Skip to content

Default patch url has changed which causes patch downloads to fail #421

@cameronkroeker

Description

@cameronkroeker

The following error will occur when using the recipe[arcgis-repository::patches] recipe to download patches for all versions and products:

FATAL: RuntimeError: arcgis_repository_patches[Download ArcGIS patches from remote repository] (arcgis-repository::patches line 27) had an error: RuntimeError: URL https://downloads.esri.com/patch_notification/patches.json is not available.

This is because https://downloads.esri.com/patch_notification/patches.json now redirects to https://content.esri.com/patch_notification/patches.json.

Workaround option 1: Most recommended approach

Add attribute node['arcgis']['repository']['patch_notification']['url'] to the chef json config file and set its value to https://content.esri.com/patch_notification/patches.json so that it will override the default. For example:

{
   "arcgis": {
      "repository": {
         "patch_notification": {
            "url": "https://content.esri.com/patch_notification/patches.json"
          }
      }
   }
}

Workaround option 2: Requires modifying the cookbook

Change this:

repository['patch_notification']['url'] = 'https://downloads.esri.com/patch_notification/patches.json'

to:

repository['patch_notification']['url'] = 'https://content.esri.com/patch_notification/patches.json'

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions