Hi ESRI Community,
We recently upgraded our Pro from 3.1 to 3.4 on our server not knowing the incompatibility it had with our Enterprise version (10.9.1). We began experiencing issues such as an error when trying to publish to our Portal, which states "Python is not installed". Additionally, we see this error when trying to create a hosted feature layer from a template in the Portal. We downgraded back to 3.1 VIA and uninstall and reinstall of Pro, and have worked with tech support to solve the issue through the following means:
-Renaming python folder to Python_old and repairing the ArcGIS Server
-Removing folders related to any past installations of Enterprise aside from our current version, and repairing the ArcGIS Server
-Attempted publishing from both cloned and non cloned environments, both returning the same error
Does anyone have any ideas as to what else we can do before tech support recommends a full uninstall and reinstall of ArcGIS Server? We are pretty much at a loss as to what else we can try, so input is appreciated. Thank you!
Upgrading to a later version of ArcGIS Pro wouldn't typically disrupt publishing functionality in your ArcGIS Enterprise outside of Pro.
Is ArcGIS Pro installed on the same machine as your Hosting Server? While not recommended for various reasons, this shouldn't be the sole cause of your issue unless perhaps the Pro upgrade removed/upgraded all other Python versions on your server.
In any case, some things for you to check
I'm going under the assumption you were previously able to publish hosted feature layers. Other things to verify:
Hi Timo,
Thanks for the response! To sum up the answers to your questions:
1) Unfortunately, this would not be an option as we have dependencies specific to our current deployment of Enterprise
2) Yes, the hosting server machine does have the C:\Python27 folder
3) Yes, the ArcGIS service account has full permissions to this directory
4) Yes, the python entries are correct and show the path at C:\Python27 in regedit
5) We haven't tried this yet, but we have some services that still use ArcGIS Runtime. Would those be impacted if we completed this workflow? Additionally, how does this differ from renaming the old python directory, and running the repair to reinstall the Python 27 folder?
Additionally, all our data stores are successfully validating, including the relational datastore. We cant publish a shapefile through the Portal UI though, as we get the error that states "Python is not Installed". Existing feature layers do still (fortunately) function, but publishing any other service types (from portal UI or ArcPro) all give us the same Python is not Installed error.
What is confusing is that even after stating that a layer has failed to publish due to the Python error, we end up being able to see these test publishes in our Portal. These have the data we're publishing in them and seem to be working normally.
We have worked with Premium support and completed the disaster recovery workflow to no avail. We believe it is an issue with the server as we attempted to publish a service definition in the server manager itself, which failed with the python error. Any other ideas as to what this could be, or workflows we can test? Appreciate your input!