Esri / Esri/network-analysis-services

publishing/paths issue with supporting files

Open
#16 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I've run into this issue a few times with the v1.2 of the tools (running ArcGIS 10.4.1). I think it is isolated to arcgis server sites where the config-store and directories locations have been reconfigured to us a shared drive location such as a NAS file share. I have one system where the config-store and directories are local (C:\) and another system where they are in a shared location. This issue only seems to happen with the shared location configuration.

The issue is a failure to update the published path of the "ndsupportingfiles" folder in the serves. This causes failures with the routing tool and other solvers. Digging through the network traffic I've found an error where the services are trying to find the "defaulttravelmodes.json" file this path:

"original publishing location"\0\v101\ndsupportingfiles

rather than where they should be found in:

\\"sharedrivelocation"\arcgisserver\directories\arcgissystem\arcgisinput\Routing\NetworkAnalysis.GPServer\extracted\v101\ndsupportingfiles

If I replicate the exact path the service is looking for (path to original publication location) on the server and copy the ndsupportingfiles into that location, this repairs the issues with the services not functioning properly.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure on ArcGIS 10.4.1 with the config-store and directories on a shared drive, then compare the published paths for the ndsupportingfiles folder. Done means services resolve defaulttravelmodes.json from the shared arcgisinput extracted path rather than the original publication location.

Written by the indexing model from the issue text.

Assessment

Domain
backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.