Closed rohansnaik closed 6 years ago
ArcGIS Chef cookbooks v3.2.0 and all the dependent cookbooks are packaged in https://github.com/Esri/arcgis-cookbook/releases/download/v3.2.0/arcgis-3.2.0-cookbooks.zip. You will need to extract the archive to C:\chef directory.
@pbobov Thanks for your help. I have extracted all the cookbooks, and now getting an error - FATAL: UncaughtThrowError: uncaught throw "Unsupport ed ArcGIS version". Here is the error log -
uncaught throw "Unsupported ArcGIS version"
c:/chef/cache/cookbooks/arcgis-enterprise/attributes/default.rb:81:in throw' c:/chef/cache/cookbooks/arcgis-enterprise/attributes/default.rb:81:in
from_fi
le'
c:/chef/cache/cookbooks/arcgis-enterprise/attributes/default.rb:
74: end 75: 76: case node['arcgis']['desktop']['version'] 77: when '10.5.1' 78: default['arcgis']['desktop']['product_code'] = '{4740FC57-60FE-45BB- B513-3309F6B73183}' 79: default['arcgis']['licensemanager']['product_code'] = '{DF06C3DC-54B 5-49A1-9756-B68FD65A0AD0}' 80: else 81>> throw 'Unsupported ArcGIS version' 82: end 83: 84: 85: 86:
chef_version=13.8.5 platform=windows platform_version=6.3.9600 ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32] program_name=C:/opscode/chefdk/embedded/bin/chef-solo executable=C:/opscode/chefdk/embedded/bin/chef-solo
Running handlers: [2018-04-11T12:31:16+00:00] ERROR: Running exception handlers Running handlers complete [2018-04-11T12:31:16+00:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated in 08 seconds [2018-04-11T12:31:16+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stack trace.out [2018-04-11T12:31:16+00:00] FATAL: Please provide the contents of the stacktrace .out file if you file a bug report [2018-04-11T12:31:16+00:00] FATAL: UncaughtThrowError: uncaught throw "Unsupport ed ArcGIS version"
What ArcGIS version do you use? ArcGIS Chef Cookbook v3.2.0 support ArcGIS 10.4 to 10.6. Did you set the ArcGIS version in the JSON file?
{
"arcgis":{
"run_as_password":"Run_As_Pa$$w0rd",
"run_as_user":"arcgis",
"version":"10.5.1",
...
}
@pbobov : I am trying to install ArcGIS Server 10.5.1. The recipe is executing, but it is prompting for the destination path to extract the files, and I need to click on next. Is there a way to proceed automatically, without prompting the user? Am I missing some attributes? Here is the error log -
* windows_feature_dism[IIS-BasicAuthentication] action install[2018-04-13T05
:22:38+00:00] INFO: Processing windows_feature_dism[IIS-BasicAuthentication] act ion install (c:/chef/cache/cookbooks/windows/resources/feature.rb line 60) (up to date) (up to date)
windows_feature[IIS-WindowsAuthentication] action install[2018-04-13T05:22:3 8+00:00] INFO: Processing windows_feature[IIS-WindowsAuthentication] action inst all (esri-iis::default line 33)
windows_feature[IIS-Metabase] action install[2018-04-13T05:22:38+00:00] INFO : Processing windows_feature[IIS-Metabase] action install (esri-iis::default lin e 33)
windows_service[W3SVC] action enable[2018-04-13T05:22:38+00:00] INFO: Proces sing windows_service[W3SVC] action enable (esri-iis::default line 38) (up to date)
windows_service[W3SVC] action start[2018-04-13T05:22:38+00:00] INFO: Process ing windows_service[W3SVC] action start (esri-iis::default line 38) (up to date)
openssl_x509[c:/chef/cache/servername.pem] action create [2018-04-13T05:22:38+00:00] INFO: Processing openssl_x509[c:/chef/cacheservername.pem] action create (esri-iis::default line 42) (skipped due to only_if)
ruby_block[Convert to PKCS12] action nothing[2018-04-13T05:22:38+00:00] INFO : Processing ruby_block[Convert to PKCS12] action nothing (esri-iis::default lin e 52) (skipped due to action :nothing)
esri_iis_iis[Configure HTTPS Binding] action configure_https[2018-04-13T05:2 2:38+00:00] INFO: Processing esri_iis_iis[Configure HTTPS Binding] action config ure_https (esri-iis::default line 71) (up to date) Recipe: arcgis-enterprise::server
arcgis_enterprise_server[Update ArcGIS Server service logon account] action nothing[2018-04-13T05:22:38+00:00] INFO: Processing arcgis_enterprise_server[Upd ate ArcGIS Server service logon account] action nothing (arcgis-enterprise::serv er line 21) (skipped due to action :nothing)
arcgis_enterprise_server[Install System Requirements:server] action system[2 018-04-13T05:22:38+00:00] INFO: Processing arcgis_enterprise_server[Install Syst em Requirements:server] action system (arcgis-enterprise::server line 31)
windows_firewall_rule[ArcGIS Server] action create[2018-04-13T05:22:38+00: 00] INFO: Processing windows_firewall_rule[ArcGIS Server] action create (c:/chef /cache/cookbooks/arcgis-enterprise/providers/server.rb line 39) [2018-04-13T05:22:38+00:00] INFO: Firewall rule "ArcGIS Server" already exists.
windows_firewall_rule[ArcGIS GeoAnalytics Server] action create[2018-04-13 T05:22:38+00:00] INFO: Processing windows_firewall_rule[ArcGIS GeoAnalytics Serv er] action create (c:/chef/cache/cookbooks/arcgis-enterprise/providers/server.rb line 48) [2018-04-13T05:22:38+00:00] INFO: Firewall rule "ArcGIS GeoAnalytics Server" alr eady exists.
arcgis_enterprise_server[Unpack ArcGIS Server Setup] action unpack[2018-04-1 3T05:22:38+00:00] INFO: Processing arcgis_enterprise_server[Unpack ArcGIS Server Setup] action unpack (arcgis-enterprise::server line 36) (skipped due to only_if)
arcgis_enterprise_server[Setup ArcGIS Server] action install[2018-04-13T05:2 2:38+00:00] INFO: Processing arcgis_enterprise_server[Setup ArcGIS Server] actio n install (arcgis-enterprise::server line 53)
The dialog most likely pops up because the ArcGIS Server installation directory is not accessible. By default arcgis-enterprise Chef cookbook installs ArcGIS Server in C:\\Program Files\\ArcGIS\\Server
. You can change the installation directory by setting arcgis/server/install_dir
attribute in the JSON file.
{
"arcgis" : {
...
"server" : {
"install_dir" : "C:\\ArcGIS",
...
}
...
}
@pbobov - I have changed the installation directory in the json file and checked the permissions, and the folder and drive in which I am trying to install ArcGIS Server is accessible and has the required permissions.For extraction of ArcGIS to happen at custom location , e.g E:\ArcGIS, and installation should begin from the same location automatically, do we need to use windows-package with installation type custom? Or is there anything else I need to check?
I'm not sure what windows-package with installation type custom
means...
This issue probably duplicates https://github.com/Esri/arcgis-cookbook/issues/129.
Hi @pbobov , I am getting the following error while executing the ArcGIS Enterprise recipe. Can you please help me in resolving the issue?
Missing Cookbooks:
Could not satisfy version constraints for: esri-iis
Expanded Run List:
System Info:
chef_version=13.8.5 platform=windows platform_version=6.3.9600 ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x64- program_name=C:/opscode/chefdk/embedded/bin/chef-solo executable=C:/opscode/chefdk/embedded/bin/chef-solo