Hi Daniel Sotreanu & Randall Williams,
The issue is not just with this tool. We are facing the same issue with any tool (OOTB tools also, for eg., Enable Attachments tool). The issue is with the tool "Upload Service Definition" which needs value for the input parameter "Server" (Which is mandatory) (This tool is executed in the scenes behind when a GP Service is being published by sharing the results) . Value for this parameter is not being supplied. This can be observed from below screen capture.
We published the tool (Delta_Extract_Changes, custom GP Tool) successfully in other servers (ArcGIS Desktop on Windows OS and ArcGIS Server also on Windows OS). Is it because the ArcGIS Server is installed on Linux machine and which may need any specific special permissions?
Just to test, I have written a Python script which executes UploadServiceDefinition GP tool. Below is the code of that. Through this also, UploadServiceDefinition tool failed to publish.
import arcpy
from arcpy import env
env.workspace = "C:/data"
inSdFile = "ExtractDeltaChanges.sd"
inServer = "GIS Servers/MyServer"
arcpy.UploadServiceDefinition_server(inSdFile, inServer)
Randall Williams, could you please throw some light on this.
Thanks in advance!
With Regards,
Vara Prasad