Select to view content in your preferred language

Registered Feature Service not Publishing Correctly in 11.5

83
3
yesterday
Ariggs
by
Occasional Contributor

Hi All,

I have just installed Enterprise 11.5 in a cloned lab environment, multi-machine deployment. It is a fresh install of 11.5, not installed on top of my 11.3 environment, which is still in Production. I did this because trying to install on top of 11.3 gave me weeks of issues. This is all to establish that I am now trying to republish my content in the 11.5 environment from scratch, and because my machines all have the same domain names, I can't use the easier methods.

My hosted feature services are migrating no problem using the service definition files. However, trying to publish referenced feature services from Pro is resulting in blank feature layers. The logs in Server Manager and in Pro are not indicating that there are any issues with the publishing itself. I'm wondering whether I made some mistake with configuring my 11.5 environment. I tried all the following yesterday with Tech Support. 

I'm wondering whether anyone has seen this before and knows what causes it?

  • We discussed that the referenced feature services in Portal for ArcGIS are not rendering in Map Viewer
  • The same data, when published as a hosted feature service from the same database from ArcGIS Pro, it does renders as expected
  • Clicking on the service URL directly from the item's overview page in Portal for ArcGIS does not load
  • However, manually going to the respective service directly from the REST endpoint, the page loads
  • The issue occurs with the US Cities data I shared is also working as expected
  • The URLs in Portal properties observed in Server Admin > Security> Config are configured correctly
  • Opening the same service in JavaScript Map Viewer also renders without any issue when tried from the REST endpoint
  • A Restart of the Portal for ArcGIS, followed by ArcGIS Server, has been done
  • Folder permissions for the SSA account for the ArcGIS Server's and Portal for ArcGIS's install directory and content directory have also been done
  • We tried opening them in an incognito window; however, the issue still persists
  • It could also be observed that the feature layers are not listed under the layers section in the Overpage of the item in Portal for ArcGIS
  • Permissions for the user over the database and user mapping to the user to the database are also correct
  • We did observe in DevTools, URL https://gis.pmlp.com/portal/sharing/proxy?https://gis-s.pmlp.com/server/rest/service/CitiesTest/Feat...  has failed with 500 Internal Server Error
  • Since the issue occurred after upgrading, we confirmed all three components' versions are at 11.5
  • Tried from a different database, the issue still occurs
  • Discussed all the patches that were installed for both Portal for ArcGIS and ArcGIS Server

 

Ariggs_0-1760714102595.png

Ariggs_1-1760714129601.png

Ariggs_2-1760714151817.png

 

0 Kudos
3 Replies
CodyPatterson
MVP Regular Contributor

Hey @Ariggs 

From just the view and your description so far, I'm guessing that this is an issue with either the datastore hosting the service, the ArcGIS Server not being able to publish or negotiate, or possibly the Publishing Service not working correctly.

I had this same issue when a service did not publish correctly the first sign is the missing layers from the feature service item page preview.

Here's some things I'd try, checking server and portal logs between each:

  1. Does the Feature Service appear in ArcGIS Server Manager
  2. If it does, try changing the Feature Services > Capabilities to turn off feature access and save and restart
  3. In the Server Manager, if you go to Site > Server Configuration > Data Stores and validate through there, they all show up?
  4. Have you tried to use describedatastore on the datastore machine? I'm curious if the version may be incorrect, or if it may not be started.
  5. In the Portal > Organization > Settings > Servers have you checked to see if there are any errors in the federation section?

I will update with more as I think of them, but this is what I would try first myself!

Cody

Ariggs
by
Occasional Contributor

Hi Cody,

1, the Feature Service does appear in Server Manager.

2, I just tried this, and then re-enabled, no changes.

3, yes, they all are there and validate successfully!

4, I just tried describedatastore, the datastore is started and is the correct 11.5 version.

5, Yes, I have checked for errors there, both solo and with tech support. 

 

Thank you for these! All data helps 🙂

0 Kudos
TimoT
by
Frequent Contributor

Hi @Ariggs 

Layer info not showing up in rest endpoint is something I've seen before when there are issues with ArcSOC instances not firing up.

Some questions for you:

  1. What errors are you getting in your server logs?
  2. Are your non-hosted feature services configured to use Dedicated Instances or the Shared Instance Pool?
  3. If using the Shared Instance Pool, open ArcGIS Server Manager > Site > Settings and check the value for 'Number of shared instances per machine'. On the ArcGIS Server machine, open task manager and by the ArcSOC.exe processes, check the command line column for -Dservice=System.DynamicMappingHost.MapServer. The number of these ArcSOCs should match the shared instance pool setting
  4. If using Dedicated instances, do a similar check with task manager and check the command line column for something like -Dservice=YourServiceName.MapServer. The number of ArcSOCs here should at least match the minimum dedicated instances configured for your service
  5. Did you copy the service URL from your dev tool logs properly? You wrote https://gis-s.pmlp.com/server/rest/service/CitiesTest/FeatureServer?f=json, but typically it should be /rest/services 

This Esri blog explains how to enable the command line column and includes some screenshots of the -Dservice section to look out for:

Overview of processes that run to support ArcGIS Enterprise components | Esri Australia Technical Bl...