Hello Community,
We are on ArcGIS Enterprise 10.9.1 and today we discovered that all of a sudden our hosted services are not loading.
Things that we have checked so far:
Is there anything else that needs to be checked.
Any suggestions on how to resolve this would be really helpful.
Hoo boy, I used to struggle with this a bunch too--hosted services would run fine for months and months, only to one day inexplicably crash. Turns out any time I needed to restart my Enterprise Windows services on the application server for Portal, Server, and Data Store I hadn't been doing it in the right order, causing the crashes at a later date. This made it a bear to diagnose but I finally figured out that one needs to bring the services back up in a very specific way. If your problem is the same as mine then I recommend following the steps below:
Now that I follow these steps I've not had hosted services randomly crash for over a year now, and it used to happen every few months. Good luck!
-Ben
Thanks @BenClark for sharing this with me. Will look into this.
Followed the above steps and still could not establish a connection to datastore hosted services.
Restarted the ArcGIS License Manager Service and problem fixed.
Note that the issue was presenting itself around the time that our Enterprise License was due to rollover into a new Licensing Agreement.
This just solved our problem as well. Thanks for posting this.
We had a problem with random seemingly services stopping a while back and we were also running 10.9.1 Enterprise. After a lot of head scratching, we found that we needed to update our SQL Enterprise Geodatabase. After the database update, we haven't had any problems with services stopping or not loading. This might not be relative to your issue, but possibly worth checking. Good luck!
@DavidLight Thank you for sharing your experience with me we are using PostgreSQL Geodatabase. Will look into it.
Was your ArcGIS Server recently restarted? If so it might be related to the ArcGIS Server Hosted Services Restart Patch.
https://support.esri.com/en-us/patches-updates/2023/arcgis-server-hosted-services-restart-patch
@JohnLivengood The only change that has taken place is that our IT team took the backup of the entire machine along with OS and related data and restored on a new machine and since then we are observing this issue on the new machine. So am not sure would this backup and restore would be considered as restart of ArcGIS Server.
I also tried publishing cities layer (template data) as a hosted feature service with following error message in the logs : Error executing tool. Publish Portal Service Job ID: j25e501827b384a25baa5b0a35f247818 : ERROR 001369: Failed to create the service. Failed to execute (PublishServiceDefinition). ERROR 001369: Failed to create the service. Failed to execute (PublishServiceDefinition). Failed to execute (Publish Portal Service).
My recommendation is to log into the ArcGIS Server machine and open the Task Manager > Services, look for the ArcGIS Server service and restart it (right click). If that resolves the issue, installing the patch may help with future outages.