Closed anaskanaan closed 4 years ago
Hey @anaskanaan,
Thank you for providing the .json of your Chef deployment. The URL that is being referenced in the Enterprise URL's, is this the systems FQDN, DNS Alias, or Load Balancer?
This is the fqdn
Could you perhaps elaborate a bit further on the issue we are encountering?
-Are we encountering this error during the deployment of ArcGIS Enterprise or are you deploying Enterprise successfully and then running a separate chef script (one provided) and it fails? If so, is the script's purpose to upload a license? -Are we using Chef Server for the deployment? If so, could you provide the Roles file?
Hi again, The deployment gets completed without any issue using chef but then when we try to import a license file (navigator licenses) via ArcGIS portal so we get the error mentioned.
yes, this is done using chef Server and the role file used is attached and is based on arcgis-enterprise role used in arcgis workbook 3.2.1
As mentioned when we install the portal manually without chef cookbook so we get no issue importing license files ..
Hello @anaskanaan,
Is there an error when manually browsing to https://hostname.domain.com:7443/arcgis/sharing/rest/content/listings/9f017d9f94c74154aa7b2bcd2216687f/provisionOrgEntitlements within the web browser? Does the ssl certificate match?
Hi @cameronkroeker
When chef was done installing enterprise so the pfx file was imported so yes the ssl certificate is matching
attached is the response when browsing to this url
Thanks @anaskanaan. Are there any errors within the Portal logs?
@cameronkroeker Nothing really special it is the same error message error" : "code" : 500, "message" : "java.lang.RuntimeException: java.lang.Exception: The server at 'https://hostname.domain.com:7443/arcgis/sharing/rest/content/listings/9f017d9f94c74154aa7b2bcd2216687f/provisionOrgEntitlements' returned an error. Invalid URL []", "details" : nul
@anaskanaan
Can you sign into Portal Sharing with the default portaladmin account and browse to https://hostname.domain.com:7443/arcgis/sharing/rest/content/listings, then in the 'Search Text' box enter 9f017d9f94c74154aa7b2bcd2216687f. Then switch 'My Listings' from false to true and select 'Search Listings' button, does the "Navigator for ArcGIS (Mobile Application)" appear in the search results?
Also, let's check the Index Status to see if all the items match.
Sign into portaladmin endpoint https://hostname.domain.com:7443/arcgis/portaladmin and select System -> Indexer -> Indexer Status
Hey @anaskanaan
Any update on the previous step provided by @cameronkroeker ?
If we don't see the listing, this means Portal didn't create the itemID for it.
I deployed Portal 10.6.1 successfully via Chef-Server and I am not receiving the issue being encountered.
Hi @Nickolaitc just now so we have a technical problem so we are unable to perform the steps provided by @cameronkroeker i will get back to you with more details once available Have a nice day
Hi @Nickolaitc and @cameronkroeker
attached are the result of your questions. the portal was not able to create the listing and the index has no issues thanks
@anaskanaan
Thank you for sending this information along. If you go into your content directory > items and search for "9f017d9f94c74154aa7b2bcd2216687f" do we find the item?
The Chef Cookbook 3.2.1 you are using, could you share this with us?
Hi @Nickolaitc
Yes, the item exists under content directory - items
and the chef cookbook used is https://github.com/Esri/arcgis-cookbook/tree/v3.2.1
Attaching the item found under items
Hey @anaskanaan,
Thank you for getting back to me. Any chance you could go here: https://github.com/Esri/arcgis-cookbook/releases and download the arcgis-3.2.1-cookbooks.zip and upload the entire cookbook into Chef Server and give it another go?
Thanks @Nickolaitc for your fast response
will get back to you once getting the results
Hej @Nickolaitc Actually we are using the same release which you were referring in your latest post so unfortunately this does not seem to help
Hey @anaskanaan
It is the same release, but, the location in which you got your original cookbook doesn't have all the typical cookbooks and their dependencies. If you look at the zip you download from the location I provided, you will see there is more to it then https://github.com/Esri/arcgis-cookbook/tree/v3.2.1.
Hi @Nickolaitc and thanks for your reply attaching is the cookbook we are using arcgis-enterprise-3.2.1.zip I am going to test this in my test environment and see if i can reproduce the problem Thanks in advance
@anaskanaan Perhaps try with the latest cookbook release v3.5.0. If still facing this issue feel free to reopen.
Thanks!
Hi ,
we have an issue here regarding ArcGIS Enterprise 10.6.1 installed with the help of chef ArcGIS cookbook 3.2.1.
The installation goes very well no issue at all the only thing which is does not go is when trying to import the license from the portal regardless where this operation done so we get "error" : "code" : 500, "message" : "java.lang.RuntimeException: java.lang.Exception: The server at 'https://hostname.domain.com:7443/arcgis/sharing/rest/content/listings/9f017d9f94c74154aa7b2bcd2216687f/provisionOrgEntitlements' returned an error. Invalid URL []", "details" : nul
Attaching the json attribute file used
would like to mention if portal installed manually without chef so importing the license works with no issue
Thanks in Advance //Anas Chef_attributes