I want to be able to export to excel in my web app. So, I need to publish a geoprocessing (gp) tool. Its a basic one.
My server and portal reside on AWS server. The source table is in EGDB postgresql, in different cloud.
I have been using this system for web editing, publishing services, web editing via feature Service, etc just fine. No problem so far.
After the process of publishing has finished, it throws some errors:
- Status: Failed ErrorMessage: Staging failed
- Status: Failed ErrorMessage: Consolidation failed
what is actually wrong ?
FYI, I have all configuration like this : (see pic).
Do I have to redirect the Output Excel File to "/opt/arcgis/server/usr/directories/arcgisoutput" ? How ? I am publishing from my local laptop and the Arcgis Server resides on Linux
Need advice
Would recommend sharing a lot more info on your model, publishing parameters and ArcGIS Server debug error logs.
ArcGIS Server should be ignoring the output location and repathing it on publishing. It might still be worth trying %scratchWorkspace% instead:
%scratchWorkspace%\output.xlsx